Hitachi C4K60 Specifications - Page 74

Initialize Device Parameters [91h], 5.14. Read Buffer [E4h]

Page 74 highlights

7.5.13. Initialize Device Parameters [91h] Task File Registers Command LBA High LBA Mid LBA Low Device/Head Sector Count Features 7 6 5 4 3 2 1 0 91h XX XX XX X 0 X DRV number of heads minus 1 per cylinder Number of sectors per track XX These parameters allow the host to set the number of sectors per track and the number of heads per cylinder. Upon receipt of the command, the device sets BSY, saves the specified parameters, clears BSY, and generates an interrupt. The only two register values that this command uses are the Sector Count Register that specifies the number of sectors per track, and the Device/Head Register that specifies the number of heads minus 1. The sector count and head values are not checked for validity by this command. If they are invalid, no error will be posted until an illegal access is made by some other command. 7.5.14. Read Buffer [E4h] Task File Registers Command LBA High LBA Mid LBA Low Device/Head Sector Count Features 7 6 5 4 3 2 1 0 E4h XX XX XX X X X DRV X X X X XX XX The READ BUFFER command enables the host to read the current contents of the device's sector buffer. When this command is issued, the device sets BSY, sets up the sector buffer for a read operation, sets DRQ, clears BSY, and generates an interrupt. The host then reads up to 512 bytes of data from the sector buffer. K6610170 Rev.2 Dec 22, 2004 - 74 -

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145

K6610170
Rev.2
Dec 22, 2004
- 74 -
7.5.13. Initialize Device Parameters [91h]
Task File Registers
7
6
5
4
3
2
1
0
Command
91h
LBA High
XX
LBA Mid
XX
LBA Low
XX
Device/Head
X
0
X
DRV
number of heads
minus 1 per cylinder
Sector Count
Number of sectors per track
Features
XX
These parameters allow the host to set the number of sectors per track and the number of heads per
cylinder. Upon receipt of the command, the device sets BSY, saves the specified parameters, clears BSY,
and generates an interrupt. The only two register values that this command uses are the Sector Count
Register that specifies the number of sectors per track, and the Device/Head Register that specifies the
number of heads minus 1. The sector count and head values are not checked for validity by this command. If
they are invalid, no error will be posted until an illegal access is made by some other command.
7.5.14. Read Buffer [E4h]
Task File Registers
7
6
5
4
3
2
1
0
Command
E4h
LBA High
XX
LBA Mid
XX
LBA Low
XX
Device/Head
X
X
X
DRV
X
X
X
X
Sector Count
XX
Features
XX
The READ BUFFER command enables the host to read the current contents of the device's sector buffer.
When this command is issued, the device sets BSY, sets up the sector buffer for a read operation,
sets DRQ, clears BSY, and generates an interrupt. The host then reads up to 512 bytes of data from
the sector buffer.