2020-08-08 22:19:31 +10:00
|
|
|
lbluflw BSET ( abortUnderflow )
|
2020-08-15 22:11:48 +10:00
|
|
|
DE BIN( @ 0x06 ( uflw ) + LDd(i),
|
2020-08-08 22:19:31 +10:00
|
|
|
JR, lblexec BWR
|
2020-07-06 03:41:12 +10:00
|
|
|
lblchkPS BSET ( chkPS )
|
|
|
|
( Note that you only need to call this in words that push
|
|
|
|
back to PSP. If they don't, calling chkPS is redundant with
|
|
|
|
check in next )
|
|
|
|
EXX,
|
|
|
|
( We have the return address for this very call on the stack
|
|
|
|
and protected registers. 2- is to compensate that. )
|
2020-08-15 22:11:48 +10:00
|
|
|
HL PS_ADDR 2- LDdi,
|
2020-07-06 03:41:12 +10:00
|
|
|
SP SUBHLd,
|
|
|
|
EXX,
|
|
|
|
CNC RETc, ( PS_ADDR >= SP? good )
|
2020-08-08 22:19:31 +10:00
|
|
|
JR, lbluflw BWR
|