1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-14 19:28:06 +11:00
collapseos/blk/323
Virgil Dupras d041b91846 Optimize chkPS
Use EXX instead of the stack for HL protection and remove all
spurious uses of chkPS,

I wanted to inline chkPS in next because of its "tight loop" status,
but for reasons I don't understand, doing so breaks Collapse OS.
Later...
2020-05-22 23:12:03 -04:00

14 lines
145 B
Plaintext

CODE C!
HL POPqq,
DE POPqq,
(HL) E LDrr,
;CODE
CODE C@
HL POPqq,
chkPS,
L (HL) LDrr,
H 0 LDrn,
HL PUSHqq,
;CODE