mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-28 23:08:05 +11:00
440ea43a88
Initially, I used the same letters as those used in the z80 ref docs, but it makes the different assemblers harder to use than they should. Having consistent "argtype" rules across assemblers should help.
13 lines
199 B
Plaintext
13 lines
199 B
Plaintext
: LINES 24 ; : COLS 80 ;
|
|
CODE BYE
|
|
HL 0 LDdn,
|
|
A 0x16 LDri, ( @EXIT )
|
|
0x28 RST,
|
|
CODE @DCSTAT ( drv -- f )
|
|
BC POP,
|
|
chkPS,
|
|
A 0x28 LDri, ( @DCSTAT )
|
|
0x28 RST,
|
|
PUSHZ,
|
|
;CODE
|