1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-05 22:30:54 +11:00
collapseos/blk/418

14 lines
207 B
Plaintext
Raw Normal View History

: BLK! ( -- )
BLK> @ BLK!* @ EXECUTE
0 BLKDTY !
;
: FLUSH BLKDTY @ IF BLK! THEN ;
: BLK@ ( n -- )
FLUSH
DUP BLK> @ = IF DROP EXIT THEN
DUP BLK> ! BLK@* @ EXECUTE
;
: BLK!! 1 BLKDTY ! ;