ytmytm / 1571-TrackCacheROM

A firmware patch for Commodore 1571 drive and internal C128D drive enabling RAM expansion use for track cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need to update current track & sector number ($18/$19) as well here

ytmytm opened this issue · comments

sta hdroffs // keep it here

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!