1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 20:48:06 +11:00
collapseos/blk/464

14 lines
298 B
Plaintext
Raw Normal View History

: BLKMEM+ 0x59 RAM+ @ + ;
2020-04-26 11:54:07 +10:00
( n -- Fetches block n and write it to BLK( )
: BLK@* 0 BLKMEM+ ;
( n -- Write back BLK( to storage at block n )
: BLK!* 2 BLKMEM+ ;
( Current blk pointer in ( )
: BLK> 4 BLKMEM+ ;
( Whether buffer is dirty )
: BLKDTY 6 BLKMEM+ ;
: BLK( 8 BLKMEM+ ;
2020-05-02 11:52:38 +10:00
: BLK) BLK( 1024 + ;
2020-04-26 11:54:07 +10:00