volume -- nzones is the total number of blocks.
This commit is contained in:
parent
9cfa444088
commit
f73e1e20e1
16
volume.aii
16
volume.aii
|
@ -162,23 +162,17 @@ do_block_size proc
|
||||||
endp
|
endp
|
||||||
|
|
||||||
do_total_blocks proc
|
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 dp
|
||||||
with fst_parms
|
with fst_parms
|
||||||
|
|
||||||
phy ; save
|
phy ; save
|
||||||
|
|
||||||
lda #2 ; boot block, super block.
|
|
||||||
clc
|
|
||||||
|
|
||||||
; pull from vcr?
|
|
||||||
ldy #vcr.super.nzones
|
ldy #vcr.super.nzones
|
||||||
adc [my_vcr],y
|
lda [my_vcr],y
|
||||||
ldy #vcr.super.imap_blocks
|
|
||||||
adc [my_vcr],y
|
|
||||||
ldy #vcr.super.zmap_blocks
|
|
||||||
adc [my_vcr],y
|
|
||||||
|
|
||||||
ply
|
ply
|
||||||
sta [param_blk_ptr],y
|
sta [param_blk_ptr],y
|
||||||
|
@ -275,7 +269,7 @@ do_vol_name_1 procname
|
||||||
|
|
||||||
cmp length
|
cmp length
|
||||||
; branch after length stored...
|
; branch after length stored...
|
||||||
|
|
||||||
lda length
|
lda length
|
||||||
ldy #2
|
ldy #2
|
||||||
sta [dest],y
|
sta [dest],y
|
||||||
|
|
Loading…
Reference in New Issue