fix placement of drive-prep

This commit is contained in:
Peter Ferrie 2021-03-03 10:49:04 -08:00
parent d3728ebcc5
commit ff4fa45512
1 changed files with 6 additions and 6 deletions

View File

@ -1226,11 +1226,6 @@ foundname iny
jmp rdwrfilei
rdwrfile
!if allow_multi = 1 {
ldy driveind + 1
} ;allow_multi = 1
jsr prepdrivei
!if allow_subdir = 1 {
clc
} ;allow_subdir = 1
@ -1255,6 +1250,11 @@ unrdrvoff3 = unrelocdsk + (* - reloc)
+
} ;no_interrupts = 1
!if allow_multi = 1 {
ldy driveind + 1
} ;allow_multi = 1
jsr prepdrivei
rdwrfilei
!if (override_adr + allow_subdir + allow_saplings + allow_trees + (aligned_read xor 1)) > 0 {
;restore load offset
@ -1915,7 +1915,7 @@ seekrdwr
sta reqsec
!if allow_multi = 1 {
driveind ldy #0
ldy driveind + 1
ldx trackd1, y
} else { ;allow_multi = 0
trackd1 = * + 1