Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE: Semi-implement READ_VERIFY and suppress debug output #557

Merged
merged 4 commits into from Feb 26, 2022

Conversation

alexoughton
Copy link
Contributor

This is a solution for using NTFS under Windows NT on ao486.

Without supporting ATA command 0x40 (READ_VERIFY), NTFS conversion in Windows NT setup (or using convert.exe) gets stuck in an infinite loop. This PR provides an OK response to the 0x40 command although it does not actually provide any verification of a good read.

Additionally there are other unsupported commands which are called by NT during the conversion process which are OK to ignore/fail. However, they occur so rapidly during the conversion loop that this causes a flood of printf debug messages which cause significant slowdown to IDE access. This PR therefore also moves "unknown command" to dbg_printf so they are suppressed by default.

@sorgelig
Copy link
Member

what is the purpose to patch debug output in cdrom?
These prints were intentionally left, so it will be easy to see on user side if game misbehaves.
As long as it doesn't add problem in your specific case, it doesn't need to be changed.

@alexoughton
Copy link
Contributor Author

The only reason I changed it in ide_cdrom as well was to be consistent between the two. I have reverted the file.

@sorgelig sorgelig merged commit 41b8b1f into MiSTer-devel:master Feb 26, 2022
theypsilon pushed a commit to MiSTer-unstable-nightlies/Main_MiSTer that referenced this pull request Feb 26, 2022
dentnz pushed a commit to dentnz/Main_MiSTer that referenced this pull request May 12, 2022
dentnz pushed a commit to dentnz/Main_MiSTer that referenced this pull request May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants