1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-07-23 18:00:19 +10:00
collapseos/blk/500
2020-05-14 12:08:17 -04:00

8 lines
203 B
Plaintext

: FD@ ['] @RDSEC SWAP FD@! ;
: FD! ['] @WRSEC SWAP FD@! ;
: FD$ ['] FD@ BLK@* ! ['] FD! BLK!* ! ;
: _err LIT" *CLerr" ERR ;
: *CL< 0 BEGIN DROP 0x0238 @GET UNTIL ;
: *CL> 0x0238 @PUT NOT IF _err THEN ;