mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 05:48:06 +11:00
17 lines
208 B
Plaintext
17 lines
208 B
Plaintext
: BLK! ( -- )
|
|
BLK> @ BLK!* @ EXECUTE
|
|
0 BLKDTY !
|
|
;
|
|
: FLUSH BLKDTY @ IF BLK! THEN ;
|
|
: BLK@ ( n -- )
|
|
DUP BLK> @ = IF DROP EXIT THEN
|
|
FLUSH DUP BLK> ! BLK@* @ EXECUTE ;
|
|
|
|
: BLK!! 1 BLKDTY ! ;
|
|
|
|
|
|
|
|
|
|
|
|
|