This commit is contained in:
Anatoliy Belyanskiy 2023-08-17 02:52:33 +10:00
parent 3bb9484295
commit dd98f391c9

View File

@ -1643,17 +1643,17 @@ Read:
.CylinderLow EQU #0054 ; HDR_CLL R174 - #1F4 Cylinder Low .CylinderLow EQU #0054 ; HDR_CLL R174 - #1F4 Cylinder Low
.CylinderHigh EQU #0055 ; HDR_CLH R175 - #1F5 Cylinder High .CylinderHigh EQU #0055 ; HDR_CLH R175 - #1F5 Cylinder High
ControlBit: ; Bits for HardDrive.Read.Status ControlBit: ; 0000 0000 ; Bits for HardDrive.Read.Status
.Busy EQU 7 ; BSY .Busy EQU 7;ÄÄÄÄÄÄÄÄÙ³³³ ³³³³ ; BSY
.Ready EQU 6 ; RDY .Ready EQU 6;ÄÄÄÄÄÄÄÄÄÙ³³ ³³³³ ; RDY
.Fault EQU 5 .Fault EQU 5;ÄÄÄÄÄÄÄÄÄÄ´³ ³³³³
.StreamErrror EQU .Fault .StreamErrror EQU .Fault;ÄÄÄÄÄÙ³ ³³³³
.DeferredWriteError EQU 4 .DeferredWriteError EQU 4;ÄÄÄÄÄÄÄÄÄÄÄÙ ³³³³
.DataRequest EQU 3 ; DRQ .DataRequest EQU 3;ÄÄÄÄÄÄÄÄÄÄÄÄÄÙ³³³ ; DRQ
.AlignmentError EQU 2 .AlignmentError EQU 2;ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ³³
.SenseDataAvailable EQU 1 .SenseDataAvailable EQU 1;ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ³
.Error EQU 0 ; Indicates an error occurred. Send a new command to clear it (or nuke it with a Software Reset). .Error EQU 0;ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ; Indicates an error occurred. Send a new command to clear it (or nuke it with a Software Reset).
.CheckCondition EQU .Error .CheckCondition EQU .Error;
/* /*
Bit Abbreviation Function Bit Abbreviation Function
0 ERR Indicates an error occurred. Send a new command to clear it (or nuke it with a Software Reset). 0 ERR Indicates an error occurred. Send a new command to clear it (or nuke it with a Software Reset).
@ -1675,6 +1675,10 @@ Device:
.HDD EQU 1 .HDD EQU 1
.CDROM EQU 2 .CDROM EQU 2
.NONE EQU #FF .NONE EQU #FF
ATA
.Master EQU #A0
.Slave EQU #B0
ENDMODULE ENDMODULE
;----------------------------------------------------------------------- ;-----------------------------------------------------------------------