Adriano Camargo Rodrigues da Cunha wrote:
> 
>         Hi, folks.
> 
>         I was making some proggies for MSXDOS and tried using the MSX2
> SUBROM under DOS2. Simple like this:
> 
>         LD IY,(FAF7h)
>         LD IX,subrom_routine_i_want_to_call
>         CALL 001Ch
> 
>         Well, what is the result?
>         For some routines, a great CRASH.
>         For setting palette, NOTHING.
>         For reading VDP registers, in some MSX, CRASH.
>         For saving a screen area (copy(x,y) to "file.pic"), CRASH.
> 
>         Anybody knows what I'm doing wrong?

I've experienced the same problem; I've traced the whole stuff and I
found the following: in MSXDOS 1 the slotroutines (like #001C) corrupt
the IY register during the slotswitching!

CU
jon



>         Or I can't access some SUBROM routines due to system vars, DOS
> environment, etc, etc, etc?
> 
>         Thanks,
> 
> Adriano Camargo Rodrigues da Cunha               ([EMAIL PROTECTED])
> Engenharia de Computacao - UNICAMP
> http://www.adrpage.cjb.net                       MSX-TR:I have one.And you?
> 
> * The Artificial Inteligence doesn't work due to the Natural Stupidity. *
> 
> ****
> 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