mirror of
https://github.com/ksherlock/minix.fst.git
synced 2024-06-11 14:29:31 +00:00
load_inode uses 512byte block
This commit is contained in:
parent
7d11ece6a8
commit
ebfd77cf69
|
@ -129,6 +129,10 @@ load_inode proc export
|
||||||
lda [my_vcr],y
|
lda [my_vcr],y
|
||||||
asl a ; x 2
|
asl a ; x 2
|
||||||
sta dev_blk_num
|
sta dev_blk_num
|
||||||
|
;lda #0
|
||||||
|
;rol a
|
||||||
|
;sta dev_blk_num+2
|
||||||
|
stz dev_blk_num+2 ; should be less than 0xffff inode blocks!
|
||||||
|
|
||||||
; 32 inodes per block.
|
; 32 inodes per block.
|
||||||
; however, I'd rather read half-block chunks, with means
|
; however, I'd rather read half-block chunks, with means
|
||||||
|
@ -147,6 +151,7 @@ load_inode proc export
|
||||||
|
|
||||||
lda #512
|
lda #512
|
||||||
sta dev_req_cnt
|
sta dev_req_cnt
|
||||||
|
sta dev_blk_size
|
||||||
|
|
||||||
lda device
|
lda device
|
||||||
sta dev_num
|
sta dev_num
|
||||||
|
|
Loading…
Reference in New Issue
Block a user