2020-04-22 21:19:12 -04:00
|
|
|
PC ORG @ 0x1e + ! ( chkPS )
|
|
|
|
HL PUSHqq,
|
|
|
|
( We have the return address for this very call on the stack
|
2020-05-11 21:08:24 -04:00
|
|
|
and protected registers. 4 - is to compensate that. )
|
|
|
|
HL PS_ADDR 4 - LDddnn,
|
2020-04-22 21:19:12 -04:00
|
|
|
SP SUBHLss,
|
|
|
|
HL POPqq,
|
2020-05-11 21:08:24 -04:00
|
|
|
CNC RETcc, ( PS_ADDR >= SP? good )
|
2020-04-22 21:19:12 -04:00
|
|
|
JR, L2 BWR ( abortUnderflow-B298 )
|
|
|
|
|