|
|
@@ -1,10 +1,7 @@ |
|
|
|
lbluflw BSET ( abortUnderflow ) |
|
|
|
DE BIN( @ 0x06 ( uflw ) + LDd(i), |
|
|
|
JR, lblexec BWR |
|
|
|
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 ) |
|
|
|
( thread carefully in there: sometimes, we're in the |
|
|
|
middle of a EXX to protect BC. BC must never be touched |
|
|
|
here. ) |
|
|
|
EXX, |
|
|
|
( We have the return address for this very call on the stack |
|
|
|
and protected registers. 2- is to compensate that. ) |
|
|
@@ -12,4 +9,7 @@ lblchkPS BSET ( chkPS ) |
|
|
|
SP SUBHLd, |
|
|
|
EXX, |
|
|
|
CNC RETc, ( PS_ADDR >= SP? good ) |
|
|
|
JR, lbluflw BWR |
|
|
|
( continue to uflw ) |
|
|
|
lbluflw BSET ( abortUnderflow ) |
|
|
|
DE BIN( @ 0x06 ( uflw ) + LDd(i), |
|
|
|
JR, lblexec BWR |