1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-30 20:58:05 +11:00
collapseos/blk/157
Virgil Dupras 838c88459b Make BLK@ FLUSH only if loading a different block
Otherwise, when editing a file with VE, we would constantly write
to disk, which is a bit inefficient.
2020-06-11 21:42:52 -04:00

17 lines
97 B
Plaintext

: WIPE BLK( 1024 0 FILL BLK!! ;
( src dst -- )
: COPY FLUSH SWAP BLK@ BLK> ! BLK! ;