At 06:35 PM 3/24/99 +0100, you wrote:
>ld (SAVESP),sp
>ld sp,NEWSP+100
>push all
>.
>. (changes slot and segment on page 2, do stuff and restores old status)
>.
>pop all
>ld sp,(SAVESP)
>jp old interrupt hook
Is it possible that another interrupt is granted while the '...' section is
executed?
If that happens, SAVESP will be overwritten.
Another option: 100 bytes is not enough and you get a stack overflow. But
you probably thought of that.
Bye,
Maarten
****
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/)
****