1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-05 21:40:56 +11:00
collapseos/blk/299

15 lines
376 B
Plaintext
Raw Normal View History

2020-04-23 11:19:12 +10:00
PC ORG @ 0x1e + ! ( chkPS )
HL PUSHqq,
RAMSTART LDHL(nn), ( RAM+00 == INITIAL_SP )
( We have the return address for this very call on the stack
and protected registers. Let's compensate )
HL DECss,
HL DECss,
HL DECss,
HL DECss,
SP SUBHLss,
HL POPqq,
CNC RETcc, ( INITIAL_SP >= SP? good )
JR, L2 BWR ( abortUnderflow-B298 )