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