1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-20 22:28:05 +11:00
collapseos/blk/310
Virgil Dupras eba83fa9a9 z80: use named labels for boot routines
The usage of numerotated labels for this was becoming severly
confusing.
2020-06-18 07:16:40 -04:00

17 lines
282 B
Plaintext

CODE PICK
HL POPqq,
( x2 )
L SLAr, H RLr,
SP ADDHLss,
C (HL) LDrr,
HL INCss,
B (HL) LDrr,
( check PS range before returning )
EXDEHL,
HL PS_ADDR LDddnn,
DE SUBHLss,
CC lblofl @ JPccnn, ( abortUnderflow-B298 )
BC PUSHqq,
;CODE