Skip to content

Conversation

@Rhialto
Copy link

@Rhialto Rhialto commented Jul 1, 2025

#52

What I see is that the drive wants to save its data, so the qnice code iterates over the track buffer to fetch all the data. However when it is finished, and the address is pointing at the last byte of the track buffer, it strobes the ACK signal. And since the write enable is still on, this actually activates a write into the track buffer... corrupting it.

Fix: explicitly reset write enable VD_B_WREN (sd_buff_wr in the drive). Leave the XOR bug as it is, so that write enable remains on all the time during writing into the disk's buffer.

sy2002#52

What I see is that the drive wants to save its data, so the qnice code
iterates over the track buffer to fetch all the data.
However when it is finished, and the address is pointing at the last
byte of the track buffer, it strobes the ACK signal. And since the write
enable is still on, this actually activates a write into the track
buffer... corrupting it.

Fix: explicitly reset write enable VD_B_WREN (sd_buff_wr in the drive).
Leave the XOR bug as it is, so that write enable remains on all the time
during writing into the disk's buffer.
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.

1 participant