1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-03 02:18:07 +11:00
collapseos/blk/466

14 lines
207 B
Plaintext
Raw Normal View History

2020-04-26 11:54:07 +10:00
: BLK! ( -- )
BLK> @ BLK!* @ EXECUTE
0 BLKDTY !
;
2020-04-30 10:21:18 +10:00
: FLUSH BLKDTY @ IF BLK! THEN ;
2020-04-26 11:54:07 +10:00
: BLK@ ( n -- )
2020-04-30 10:21:18 +10:00
FLUSH
2020-04-26 11:54:07 +10:00
DUP BLK> @ = IF DROP EXIT THEN
DUP BLK> ! BLK@* @ EXECUTE
;
: BLK!! 1 BLKDTY ! ;