mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-29 00:18:04 +11:00
d041b91846
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...
16 lines
190 B
Plaintext
16 lines
190 B
Plaintext
CODE !
|
|
HL POPqq,
|
|
DE POPqq,
|
|
(HL) E LDrr,
|
|
HL INCss,
|
|
(HL) D LDrr,
|
|
;CODE
|
|
CODE @
|
|
HL POPqq,
|
|
chkPS,
|
|
E (HL) LDrr,
|
|
HL INCss,
|
|
D (HL) LDrr,
|
|
DE PUSHqq,
|
|
;CODE
|