You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: