1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-06 03:30:55 +11:00
collapseos/blk/496

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-02 04:38:31 +10:00
CODE @GET ( a -- c f )
DE POP,
2020-05-02 04:38:31 +10:00
chkPS,
A 0x03 LDri, ( @GET )
0x28 RST,
2020-05-02 04:38:31 +10:00
PUSHA, PUSHZ,
;CODE