![]() |
![]() |
#1 |
Registered User
![]() Join Date: May 2020
Location: Iowa, USA
Posts: 142
|
Diagrom Gayle Test
I am working on a 68030 expansion card for the A2000 and all that is left is the pseudo-Gayle ATA port. Diagrom gives me the output in the attached screen shot. Looks to be reading $FF50 from the drive status register, which, according to the ATA specifications, indicates the drive is responding and ready to accept commands. Can someone let me know what value Diagrom is expecting to read? Am I misinterpreting the diagrom information?
Edit to add...A600 vs A1200 Gayle has no effect. |
![]() |
![]() |
#2 |
Registered User
![]() Join Date: May 2020
Location: Iowa, USA
Posts: 142
|
Just to follow up...I dug into the diagrom code and I gather it wants the lower byte to be $40. My 68000 assembly is not great.
I have several ATA devices that all assert $50 on the lower byte of the status register. I am not sure why the discrepancy. |
![]() |
![]() |
#3 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 13,846
|
Is it worth reading the HDL for an open source Gayle IDE controller?
http://www.mklboards.fi/ide/ide68k.html It's written in ABEL but you can easily convert to Verilog (I just noticed, this is what I wrote last time you posted, sorry ![]() Last edited by alexh; 28 November 2022 at 17:38. |
![]() |
![]() |
#4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 25,950
|
$50 is normal result (bit 6 = $40 = Drive Ready, bit 4 = $10 = Drive Seek Complete). $10 is obsolete but most devices still set it (and many old IDE drivers expect it)
Only important bits are 7 (BSY), 6 (DRDY) and 0 (ERR). Other bits should be masked when testing drive ready state. |
![]() |
![]() |
#5 | |
Registered User
![]() Join Date: May 2020
Location: Iowa, USA
Posts: 142
|
Quote:
I'll post an issue on the Diagrom github page. |
|
![]() |
![]() |
#6 |
Registered User
![]() Join Date: May 2020
Location: Iowa, USA
Posts: 142
|
So...when Gayle hunts for a ready drive, does it also look for $40 on the status register? If yes, it may explain Gayle's affinity for certain brands/models of ATA devices.
Edit: Maybe not Gayle...but Amiga OS. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A2000 Repair - Help translating diagrom monitor output for chipram test issue | snowpile79 | support.Hardware | 6 | 02 September 2021 08:23 |
Gayle in A500+ | bebek | Hardware mods | 14 | 25 May 2019 00:36 |
In search for defective custom ICs to test DiagROM | Chucky | support.Hardware | 2 | 11 May 2015 18:49 |
Overheating Gayle | tygre | support.Hardware | 9 | 16 May 2011 05:04 |
Gayle Datasheet: Thanks | Oli_HD | support.Hardware | 2 | 05 March 2008 23:43 |
|
|