mirror of
https://github.com/Tolik-Trek/Shared_Includes.git
synced 2026-06-16 01:21:07 +03:00
...
This commit is contained in:
parent
b25c3779d6
commit
6174606ba7
@ -1604,9 +1604,19 @@ ControlBit: ; Bits for HardDrive.Read.Status
|
||||
.DataRequest EQU 3 ; DRQ
|
||||
.AlignmentError EQU 2
|
||||
.SenseDataAvailable EQU 1
|
||||
.Error EQU 0 ; ERR
|
||||
.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).
|
||||
1 IDX Index. Always set to zero.
|
||||
2 CORR Corrected data. Always set to zero.
|
||||
3 DRQ Set when the drive has PIO data to transfer, or is ready to accept PIO data.
|
||||
4 SRV Overlapped Mode Service Request.
|
||||
5 DF Drive Fault Error (does not set ERR).
|
||||
6 RDY Bit is clear when drive is spun down, or after an error. Set otherwise.
|
||||
7 BSY Indicates the drive is preparing to send/receive data (wait for it to clear). In case of 'hang' (it never clears), do a software reset.
|
||||
*/
|
||||
Chanel:
|
||||
.Set_0: EQU #20BC ; ¤«ï ¨á¯®«ì§®¢ ¨ï á ¯®«®© ¤à¥á 樥© (ॣ BC), § á« âì '1'
|
||||
.Set_1: EQU #00BC ; ¤«ï ¨á¯®«ì§®¢ ¨ï á ¯®«®© ¤à¥á 樥© (ॣ BC), § á« âì '1'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user