Skip to content

Conversation

@ghaerr
Copy link
Owner

@ghaerr ghaerr commented Oct 15, 2024

Allows comparison between DF and BIOS driver track cache code.

Currently, the BIOS driver is booting in 4.5s while DF is taking 6.1s. This is because the DF driver is still track-caching entire tracks, rather than caching from the requested start sector to end of track. Change coming, along with consideration of TLVC track cache changes in Mellvik/TLVC#88.

Also fixes IODELAY calculation for drive 1 in BIOS driver.

It was also noted that setup_DMA() enabled interrupts before reseting the driver interrupt handler to rw_interrupt. This introduced a small race condition that likely never mattered, unless the DMA controller were to signal an interrupt immediately after being programmed (likely for an error).

@ghaerr ghaerr merged commit a52e853 into master Oct 15, 2024
@ghaerr ghaerr deleted the df branch October 15, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants