mirror of
https://github.com/Tolik-Trek/Shared_Includes.git
synced 2026-06-15 00:51:32 +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
|
||||
DeviceHeadByte:
|
||||
.LBA EQU #40
|
||||
.Slave EQU #10
|
||||
.Obsolute EQU #A0
|
||||
.LBA EQU #40 + .Obsolute
|
||||
.CHS EQU #00 + .Obsolute
|
||||
.Master EQU #00 + .Obsolute
|
||||
.Slave EQU #10 + .Obsolute
|
||||
;
|
||||
DeviceHeadBit:
|
||||
.LBA EQU 6 ; LBA = 1
|
||||
.Slave EQU 4 ; Slave = 1
|
||||
;
|
||||
Drive:
|
||||
.Master EQU DeviceHeadByte.Master
|
||||
.Slave EQU DeviceHeadByte.Slave
|
||||
|
||||
|
||||
DeviceControlBit:
|
||||
.Always_Set EQU 3
|
||||
@ -1874,10 +1882,8 @@ ATAPI EQU 2
|
||||
.UNKNOWN EQU #1F
|
||||
ENDMODULE
|
||||
;
|
||||
Drive:
|
||||
.Master EQU %1010'0000
|
||||
.Slave EQU %1011'0000
|
||||
|
||||
;
|
||||
MODULE CMD
|
||||
ATAPI:
|
||||
.Reset EQU #08
|
||||
|
||||
Loading…
Reference in New Issue
Block a user