mirror of
https://github.com/Tolik-Trek/Shared_Includes.git
synced 2026-06-15 17:11:33 +03:00
...
This commit is contained in:
parent
3bb9484295
commit
dd98f391c9
@ -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
|
||||
;-----------------------------------------------------------------------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user