mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-30 22:48:08 +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 ! ;
|
||
|
|