11.5 Execute Device Diagnostic (90h)
Command Block Output Registers
Register
Data
Feature
Sector Count
Sector Number
Cylinder Low
Cylinder High
Device/Head
Command
Error Register
Diagnostic Code
Table 73 Execute Device Diagnostic Command (90h)
The Execute Device Diagnostic command performs the internal diagnostic tests implemented by the device. The
results of the test are stored in the Error Register.
The normal Error Register bit definitions do not apply to this command. Instead, the register contains a
Table 30 Diagnostic
diagnostic code. See
7
6
5
4
3
2
1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1
-
1
-
-
-
-
1
0
0
1
0
0
0
Codes" on the page 57 for its definition.
Hitachi hard disk drive specifications
Command Block Input Registers
0
Register
7
-
Data
-
-
Error
-
Sector Count
-
-
Sector Number
-
-
Cylinder Low
-
-
Cylinder High
-
-
Device/Head
-
0
Status
Status Register
7
6
5
BSY RDY
DF
DSC DRQ COR IDX ERR
0
V
0
120
6
5
4
3
2
1
0
-
-
-
-
-
-
-
...See Below...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
...See Below...
4
3
2
1
0
-
-
0
-
0