collapseos/blk/376

13 lines
274 B
Plaintext
Raw Normal View History

( n -- Fetches block n and write it to BLK( )
2020-05-14 14:49:16 -04:00
: BLK@* 0x34 RAM+ ;
( n -- Write back BLK( to storage at block n )
2020-05-14 14:49:16 -04:00
: BLK!* 0x36 RAM+ ;
( Current blk pointer in ( )
2020-05-14 14:49:16 -04:00
: BLK> 0x38 RAM+ ;
( Whether buffer is dirty )
2020-05-14 14:49:16 -04:00
: BLKDTY 0x3a RAM+ ;
: BLK( 0x3c RAM+ @ ;
: BLK) BLK( 1024 + ;
2020-04-25 21:54:07 -04:00