mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 19:20:55 +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 ! ;
|
||
|
|