>where it will execute the routine and
> > return with a RET.
>
>Actually, an RST #38 (otherwise the PC will be lost).

*sigh* we can't use RST's remember?!! And don't say we can remap it!! it's 
NOT practical.

Besides, we can just store the PC after the 'switch'-opcode. Or what about:
         CALL    BLA
BLA:    POP     HL
         DEC     HL
         DEC     HL
         DEC     HL
         RET
A bit long, but it works :) (I think)

>Go on with that until you have processed everything.

But what about routines that only get called from user input? or 
interrupts? or user-generated interrupts?!

>Another possibility is hacking into the game by
>hand.
>
>First thing: yes, possibly.
>Second thing: no way!

Heh, why not? It's easy to replace a JR 0FEh with a HALT! (okay, that would 
be normal optimizing patches, not what we are talking about now)

                 Patriek


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
 The MSX faq: http://www.faq.msxnet.org/
 The MSX newsgroup: comp.sys.msx
 The MSX IRC channel: #MSX on Undernet
****

Reply via email to