-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Windows alignment (raw isrcs) #45
base: isrc_raw
Are you sure you want to change the base?
Conversation
@phw: Unfortunately I only know this compiles. I couldn't test this with any drive since I don't have a windows machine available again. |
Did just a quick test. Both my infamous problem device and the external drive, for which the raw SCSI code works, fail in |
I made some fixes. So gathering the alignment seems to work, but either aligning doesn't help or I am not doing it correctly. EDIT: |
That helped for getting the alignment. Result on the problem device:
Same result as Stalker-X got I suppose. The external drive also returns the alignment now (0 in that case), rest still works as expected. |
Well, having alignment on the failing drives and no alignment on the working drives (we only tested on of the working drives though) is an indicator that this might go into the right direction. Possibly we need to do something with the buffer length, too.
I didn't find out how to get the preferred chunk length. This is possibly the same as the alignment. |
Trying a multiple of 512 for data length. Just because this is an often used power of 2.. |
Download not working: http://mbsandbox.org/~jonnyjd/dev/libdiscid-w32-align.zip I want to test on old Nakamichi drive in Windows 98 and on Teac on Windows XP. |
This branch hopefully fixes issues with some drives on Windows.
The first step is to get the alignment from the adapter and the next to use that alignment when issuing scsi commands like mentioned in http://msdn.microsoft.com/en-us/library/windows/hardware/ff560521%28v=vs.85%29.aspx.