mirror of
https://github.com/Tolik-Trek/Shared_Includes.git
synced 2026-06-15 09:01:33 +03:00
...
This commit is contained in:
parent
d464c878bb
commit
72b28f7d64
@ -1837,12 +1837,20 @@ CtrlByte: ; Bytes for IDE.Read.Status
|
|||||||
|
|
||||||
; device/head register bits
|
; device/head register bits
|
||||||
DeviceHeadByte:
|
DeviceHeadByte:
|
||||||
.LBA EQU #40
|
.Obsolute EQU #A0
|
||||||
.Slave EQU #10
|
.LBA EQU #40 + .Obsolute
|
||||||
|
.CHS EQU #00 + .Obsolute
|
||||||
|
.Master EQU #00 + .Obsolute
|
||||||
|
.Slave EQU #10 + .Obsolute
|
||||||
;
|
;
|
||||||
DeviceHeadBit:
|
DeviceHeadBit:
|
||||||
.LBA EQU 6 ; LBA = 1
|
.LBA EQU 6 ; LBA = 1
|
||||||
.Slave EQU 4 ; Slave = 1
|
.Slave EQU 4 ; Slave = 1
|
||||||
|
;
|
||||||
|
Drive:
|
||||||
|
.Master EQU DeviceHeadByte.Master
|
||||||
|
.Slave EQU DeviceHeadByte.Slave
|
||||||
|
|
||||||
|
|
||||||
DeviceControlBit:
|
DeviceControlBit:
|
||||||
.Always_Set EQU 3
|
.Always_Set EQU 3
|
||||||
@ -1874,10 +1882,8 @@ ATAPI EQU 2
|
|||||||
.UNKNOWN EQU #1F
|
.UNKNOWN EQU #1F
|
||||||
ENDMODULE
|
ENDMODULE
|
||||||
;
|
;
|
||||||
Drive:
|
|
||||||
.Master EQU %1010'0000
|
|
||||||
.Slave EQU %1011'0000
|
|
||||||
|
|
||||||
|
;
|
||||||
MODULE CMD
|
MODULE CMD
|
||||||
ATAPI:
|
ATAPI:
|
||||||
.Reset EQU #08
|
.Reset EQU #08
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user