This commit is contained in:
Anatoliy Belyanskiy 2023-07-30 03:54:14 +10:00
parent b25c3779d6
commit 6174606ba7

View File

@ -1604,9 +1604,19 @@ ControlBit: ; Bits for HardDrive.Read.Status
.DataRequest EQU 3 ; DRQ .DataRequest EQU 3 ; DRQ
.AlignmentError EQU 2 .AlignmentError EQU 2
.SenseDataAvailable EQU 1 .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 .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: Chanel:
.Set_0: EQU #20BC ; ¤«ï ¨á¯®«ì§®¢ ­¨ï á ¯®«­®©  ¤à¥á æ¨¥© (ॣ BC), § á« âì '1' .Set_0: EQU #20BC ; ¤«ï ¨á¯®«ì§®¢ ­¨ï á ¯®«­®©  ¤à¥á æ¨¥© (ॣ BC), § á« âì '1'
.Set_1: EQU #00BC ; ¤«ï ¨á¯®«ì§®¢ ­¨ï á ¯®«­®©  ¤à¥á æ¨¥© (ॣ BC), § á« âì '1' .Set_1: EQU #00BC ; ¤«ï ¨á¯®«ì§®¢ ­¨ï á ¯®«­®©  ¤à¥á æ¨¥© (ॣ BC), § á« âì '1'