mirror of
https://github.com/ksherlock/minix.fst.git
synced 2024-06-14 02:29:27 +00:00
volume -- nzones is the total number of blocks.
This commit is contained in:
parent
9cfa444088
commit
f73e1e20e1
14
volume.aii
14
volume.aii
|
@ -162,23 +162,17 @@ do_block_size proc
|
|||
endp
|
||||
|
||||
do_total_blocks proc
|
||||
; total blocks = 2 + imap_blocks + zmap_blocks + nzones. I think.
|
||||
; total blocks = nzones.
|
||||
|
||||
; should this ask the driver?
|
||||
|
||||
with dp
|
||||
with fst_parms
|
||||
|
||||
phy ; save
|
||||
|
||||
lda #2 ; boot block, super block.
|
||||
clc
|
||||
|
||||
; pull from vcr?
|
||||
ldy #vcr.super.nzones
|
||||
adc [my_vcr],y
|
||||
ldy #vcr.super.imap_blocks
|
||||
adc [my_vcr],y
|
||||
ldy #vcr.super.zmap_blocks
|
||||
adc [my_vcr],y
|
||||
lda [my_vcr],y
|
||||
|
||||
ply
|
||||
sta [param_blk_ptr],y
|
||||
|
|
Loading…
Reference in New Issue
Block a user