collapseos/recipes/trs80/blk/606

17 lines
295 B
Plaintext
Raw Normal View History

CODE @WRSEC ( drv cylsec addr -- f ) EXX, ( protect BC )
HL POP,
DE POP,
BC POP,
chkPS,
A 0x35 LDri, ( @WRSEC )
0x28 RST,
PUSHZ,
EXX, ( unprotect BC ) ;CODE
2020-05-01 14:38:31 -04:00
CODE @GET ( a -- c f )
DE POP,
2020-05-01 14:38:31 -04:00
chkPS,
A 0x03 LDri, ( @GET )
0x28 RST,
2020-05-01 14:38:31 -04:00
PUSHA, PUSHZ,
;CODE