On Tue, 15 Jun 1999, Adriano Camargo Rodrigues da Cunha wrote:

> 
>       Jon,
> 
> > Slotswitching routines (like #001C) in MSXDOS1 destroy the IY register.
> > That explains everything.
> 
>       Nice. But it raises two questions:
>       a) What if IY is destroyed? It's only used by #001C, not by the
> subrom routine;

oops; indeed IY is required by the #001C routine itself;

but I remember -last summer- when I was busy with Compass #2.0 (be patient
people :) ) I had a same sort of bug when setting the palette through the
subrom. Everything worked fine (in DOS2), but when I tested the whole
thing in DOS1 it crashed. After many hours of searching for the bug, it
was something with the IY register... I will look it up in my docs...

jon



>       b) This crash also happens with DOS2 in my MSX; :(
> 
> > possible solution: page the subrom in with #0024 en call the routine
> > directly.
> 
>       Nice idea... I didn't try it... Thanks!
> 
> 
> Adriano Camargo Rodrigues da Cunha               ([EMAIL PROTECTED])
> Engenharia de Computacao - UNICAMP
> http://www.adrpage.cjb.net                     MSX-TR:I have one.And you?
> 
> * ----->8----- Don't cut here or you'll destroy your monitor! ----->8----- *
> 
> 
> ****
> MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
> in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
> quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
> ****
> 


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to