mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 16:18:05 +11:00
14 lines
192 B
Plaintext
14 lines
192 B
Plaintext
|
: BLK! ( -- )
|
||
|
BLK> @ BLK!* @ EXECUTE
|
||
|
0 BLKDTY !
|
||
|
;
|
||
|
|
||
|
: BLK@ ( n -- )
|
||
|
DUP BLK> @ = IF DROP EXIT THEN
|
||
|
BLKDTY @ IF BLK! THEN
|
||
|
DUP BLK> ! BLK@* @ EXECUTE
|
||
|
;
|
||
|
|
||
|
: BLK!! 1 BLKDTY ! ;
|
||
|
|