Need to update current track & sector number ($18/$19) as well here
ytmytm opened this issue · comments
1571-TrackCacheROM/rampatch.asm
Line 251 in 586dfb0
ReadCache:
**sta $18 // track that we want to read, LF510 (read sector header puts it here for encoding, but some fastloaders might need it (SpeedDOS))**
iny // yes, track is cached, just put GCR data back and jump into ROM
lda (HDRPNT),y // needed sector number
sta hdroffs // keep it here
**sta $19 // sector number that we want to read, LF510 (read sector header puts it here for encoding, but some fastloaders might need it (SpeedDOS))**
SpeedDOS relies on having sector number here, so some other random code might too
Same in native 1571 part!