11.47 Write DMA (Cah/CBh)
Command Block Output Registers
Register
Data
Feature
Sector Count
Sector Number
Cylinder Low
Cylinder High
Device/Head
Command
Error Register
7
6
5
CRC UNC
0
V
0
0
Table 167 Write DMA Command (Cah/CBh)
The Write DMA command transfers one or more sectors of data from the host to the device, then the data is
written to the disk media.
The sectors of data are transferred through the Data Register 16 bits at a time.
The host initializes a slave-DMA channel prior to issuing the command. Data transfers are qualified by DMARQ
and are performed by the slave-DMA channel. The device issues only one interrupt per command to indicate
that data transfer has terminated and status is available.
If an uncorrectable error occurs, the write will be terminated at the failing sector.
7
6
5
4
3
2
1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
1
L
1
D
H
H
H
1
1
0
0
1
0
1
4
3
2
1
IDN
0
ABT T0N AMN
V
0
V
0
Hitachi hard disk drive specifications
Command Block Input Registers
0
Register
7
-
Data
-
-
Error
V
Sector Count
V
V
Sector Number
V
V
Cylinder Low
V
V
Cylinder High
V
H
Device/Head
-
R
Status
Status Register
0
7
6
5
BSY RDY
DF
0
0
V
0
235
6
5
4
3
2
1
-
-
-
-
-
-
...See Below...
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
-
-
-
H
H
H
...See Below...
4
3
2
1
DSC DRQ COR IDX ERR
V
-
0
-
0
-
V
V
V
V
H
0
V