mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 23:30:54 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
278 B
Plaintext
17 lines
278 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 L2 @ JPccnn, ( abortUnderflow-B298 )
|
|
BC PUSHqq,
|
|
;CODE
|
|
|