mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 15:48: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...
15 lines
143 B
Plaintext
15 lines
143 B
Plaintext
CODE PC!
|
|
BC POPqq,
|
|
HL POPqq,
|
|
L OUT(C)r,
|
|
;CODE
|
|
|
|
CODE PC@
|
|
BC POPqq,
|
|
chkPS,
|
|
H 0 LDrn,
|
|
L INr(C),
|
|
HL PUSHqq,
|
|
;CODE
|
|
|