At command issuance (I/O registers setting contents)
1F7H(CM) | 0 | 0 | 1 |
| 1 | 0 | 0 | 1 | R | ||
|
|
|
|
|
|
|
|
| |||
1F6H(DH) | × | L |
| × |
| DV |
| Head No. /LBA [MSB] | |||
|
|
|
|
|
|
|
|
|
| ||
1F5H(CH) |
|
| Cylinder No. [MSB] | / LBA |
|
| |||||
1F4H(CL) |
|
| Cylinder No. [LSB] / LBA |
|
| ||||||
1F3H(SN) |
|
| Sector No. |
|
| / LBA [LSB] |
|
| |||
1F2H(SC) |
|
| Number of sectors to be transferred |
| |||||||
1F1H(FR) |
|
|
|
|
|
| xx |
|
|
|
R = 0 or 1
At command completion (I/O registers contents to be read)
1F7H(ST) |
|
|
| Status information | |||
|
|
|
|
|
|
|
|
1F6H(DH) | × | L |
| × |
| DV | Head No. /LBA [MSB] |
|
|
|
|
|
|
| |
1F5H(CH) |
|
| Cylinder No. [MSB] / LBA | ||||
1F4H(CL) |
|
| Cylinder No. [LSB] / LBA | ||||
1F3H(SN) |
|
| Sector No. |
| / LBA [LSB] | ||
1F2H(SC) |
|
|
|
|
| 00 (*1) | |
1F1H(ER) |
|
|
| Error information |
*1 If the command is terminated due to an error, this register indicates 01.
(20)READ BUFFER (X'E4')
The host system can read the current contents of the sector buffer of the device by issuing this command. Upon receipt of this command, the device sets the BSY bit of Status register and sets up the sector buffer for a read operation. Then the device sets the DRQ bit of Status register, clears the BSY bit, and generates an interrupt. After that, the host system can read up to 512 bytes of data from the buffer.
At command issuance (I/O registers setting contents)
1F7H(CM) | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | |
|
|
|
|
|
|
|
|
|
|
1F6H(DH) | × | × | × | DV |
|
|
| xx |
|
|
|
|
|
|
|
|
|
|
|
1F5H(CH) |
|
|
|
| xx |
|
|
| |
1F4H(CL) |
|
|
|
| xx |
|
|
| |
1F3H(SN) |
|
|
|
| xx |
|
|
| |
1F2H(SC) |
|
|
|
| xx |
|
|
| |
1F1H(FR) |
|
|
|
| xx |
|
|
| |
|
|
|
|
|
|
|
|
|
|
| 5 - 41 |