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
ca86cde6b2
commit
5ae09d139a
@ -1648,10 +1648,16 @@ Read:
|
|||||||
.CylinderHigh EQU #0055 ; cnf 25 ; HDR_CLH R175 ; #1F5 Cylinder High register
|
.CylinderHigh EQU #0055 ; cnf 25 ; HDR_CLH R175 ; #1F5 Cylinder High register
|
||||||
.Control EQU #4052 ; cnf 26 ; HDR_DRV R176 ; #1F6 Device/Head register
|
.Control EQU #4052 ; cnf 26 ; HDR_DRV R176 ; #1F6 Device/Head register
|
||||||
.Status EQU #4053 ; cnf 27 ; HDR_CTL P_HDST R177 ; #1F7 Status (Control) register
|
.Status EQU #4053 ; cnf 27 ; HDR_CTL P_HDST R177 ; #1F7 Status (Control) register
|
||||||
.AltControl EQU #4054 ; cnf 28 ; ; #3F6 Alternate Status register
|
.AltStatus EQU #4054 ; cnf 28 ; ; #3F6 Alternate Status register
|
||||||
.DrvAddress EQU #4055 ; cnf 29 ; ; #3F7
|
.DrvAddress EQU #4055 ; cnf 29 ; ; #3F7
|
||||||
|
|
||||||
ControlBit: ; 0000 0000 ; Bits for HardDrive.Read.Status
|
ErrorBit:
|
||||||
|
.Abort EQU 2
|
||||||
|
|
||||||
|
ErrorByte:
|
||||||
|
.Abort EQU #04
|
||||||
|
|
||||||
|
ControlBit: ; 0000 0000 ; Bits for IDE.Read.Status
|
||||||
.Busy EQU 7;ÄÄÄÄÄÄÄÄÙ³³³ ³³³³ ; BSY
|
.Busy EQU 7;ÄÄÄÄÄÄÄÄÙ³³³ ³³³³ ; BSY
|
||||||
.Ready EQU 6;ÄÄÄÄÄÄÄÄÄÙ³³ ³³³³ ; RDY
|
.Ready EQU 6;ÄÄÄÄÄÄÄÄÄÙ³³ ³³³³ ; RDY
|
||||||
.Fault EQU 5;ÄÄÄÄÄÄÄÄÄÄÙ³ ³³³³
|
.Fault EQU 5;ÄÄÄÄÄÄÄÄÄÄÙ³ ³³³³
|
||||||
@ -1663,14 +1669,14 @@ ControlBit: ; 0000 0000 ; Bits for HardDrive.Read.Status
|
|||||||
.CheckCondition EQU .Error
|
.CheckCondition EQU .Error
|
||||||
.StreamError EQU .Fault
|
.StreamError EQU .Fault
|
||||||
|
|
||||||
ControlByte: ; Bits for HardDrive.Read.Status
|
ControlByte: ; Bytes for IDE.Read.Status
|
||||||
.Busy EQU #80 ; BSY
|
.Busy EQU #80 ; BSY
|
||||||
.Ready EQU #40 ; RDY
|
.Ready EQU #40 ; RDY
|
||||||
.Fault EQU #20
|
.Fault EQU #20
|
||||||
.DeferredWriteError EQU #10
|
.SeekComplete EQU #10
|
||||||
.DataRequest EQU #08 ; DRQ
|
.DataRequest EQU #08 ; DRQ
|
||||||
.AlignmentError EQU #04 ; obsolete
|
.CorrectedData EQU #04 ; obsolete
|
||||||
.SenseDataAvailable EQU #02 ; obsolete
|
.Index EQU #02 ; obsolete
|
||||||
.Error EQU #01 ; Indicates an error occurred. Send a new command to clear it (or nuke it with a Software Reset).
|
.Error EQU #01 ; Indicates an error occurred. Send a new command to clear it (or nuke it with a Software Reset).
|
||||||
.CheckCondition EQU .Error
|
.CheckCondition EQU .Error
|
||||||
.StreamErrror EQU .Fault
|
.StreamErrror EQU .Fault
|
||||||
@ -1701,6 +1707,9 @@ Drive:
|
|||||||
.Master EQU #A0
|
.Master EQU #A0
|
||||||
.Slave EQU #B0
|
.Slave EQU #B0
|
||||||
|
|
||||||
|
ATAPI:
|
||||||
|
.IdentifyPackedDevice EQU #A1
|
||||||
|
;
|
||||||
ATA:
|
ATA:
|
||||||
; ATA-2 commands ************************
|
; ATA-2 commands ************************
|
||||||
.ExecuteDeviceDiagnostic EQU #90
|
.ExecuteDeviceDiagnostic EQU #90
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user