move buffers

This commit is contained in:
Peter Ferrie 2019-06-18 17:55:44 -07:00
parent 7be18b8ce1
commit 98ed226562

View File

@ -2691,6 +2691,7 @@ hddresparse
bne hddrdwrloop bne hddrdwrloop
} ;aligned_read } ;aligned_read
hddrdwrdone hddrdwrdone
bit $c08b ;restore banks
!if allow_aux = 1 { !if allow_aux = 1 {
ldx #0 ldx #0
hddsetaux sta CLRAUXWR, x hddsetaux sta CLRAUXWR, x
@ -2829,6 +2830,7 @@ hddseekrdwr
stx bloklo stx bloklo
sta blokhi sta blokhi
bit $c083 ;switch banks
unrunit1 = unrelochdd + (* - reloc) unrunit1 = unrelochdd + (* - reloc)
lda #$d1 lda #$d1
@ -3003,7 +3005,7 @@ hdddataend
!warn "initial reloc too low, adjust to ", (0 - (((hdddataend + $ff) & -256) - reloc)) & $ffff !warn "initial reloc too low, adjust to ", (0 - (((hdddataend + $ff) & -256) - reloc)) & $ffff
} ;hdddataend } ;hdddataend
} ;enable_floppy } ;enable_floppy
hdddirbuf = reloc - $200 hdddirbuf = $d200
!if aligned_read = 0 { !if aligned_read = 0 {
hddencbuf = hdddirbuf - $200 hddencbuf = hdddirbuf - $200
} ;aligned_read } ;aligned_read