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

Gayle Test Issue #19

Open
jasonsbeer opened this issue Nov 28, 2022 · 1 comment
Open

Gayle Test Issue #19

jasonsbeer opened this issue Nov 28, 2022 · 1 comment

Comments

@jasonsbeer
Copy link

In testing some different CF card and ATA hard drives, Diagrom indicates "No Drive". I believe this implementation has an error in interpreting the status register of the ATA device. My 68k assembly is not great, but it seems to be expecting $40 when reading the status register of the drive. I'm looking at line 14458 in the source code.

Assuming I have interpreted the code correctly...$40 is not correct for many drives in practice where bit 4 (DSC) may also be set as part of normal functioning. Specifically, bits 7 (BSY), 6 (DRDY), and 0 (ERR) need to be evaluated individually for the presence of a "ready" drive.

In my testing, this is what is displayed by Diagrom in the "Waiting for drive RDY" test...

San Disk = $FF50
Generic CF = $0050
Maxtor ATA Drive = $FF50
Seagate ATA Drive = $0F50

Here is a short thread on this topic: https://eab.abime.net/showthread.php?t=112640

@jasonsbeer
Copy link
Author

Withdrawn. This was due to a hardware issue on my part and not an issue with Diagrom.

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

No branches or pull requests

1 participant