ATA Bus Interface and ATA Commands
6-36 Quantum Fireball Plus AS 10.2/20.5/30.0/40.0/60.0 GB AT
6.7.7
6.7.76.7.7
6.7.7 INITIALIZE DRIVE PARAMETERS
INITIALIZE DRIVE PARAMETERSINITIALIZE DRIVE PARAMETERS
INITIALIZE DRIVE PARAMETERS
COMMAND CODE – 91h
DESCRIPTION – The INITIALIZE DRIVE PARAMETERS command enables the
host to set the logical number of heads and the logical number of sectors per track.
On receiving the command, the drive sets the BSY bit, saves the parameters, clears
the BSY, and generates an interrupt.
The only two register values used by this command are the Sector Count register,
which specifies the number of sectors; and the Drive/Head register, which
specifies the number of heads, minus 1. The DRV bit assigns these values to drive
0 or drive 1.
This command does not check the sector count and head values for validity. If these
values are invalid, the drive will not report an error until another command causes
an illegal access.
INPUTS
OUTPUTS
Register
RegisterRegister
Register 7
77
76
66
65
55
54
44
43
33
32
22
21
11
10
00
0
Features na
Sector Count Logical sectors per logical track
Sector Number na
Cylinder Low na
Cylinder High na
Device/ Head obs na obs DEV na Max head
Command 91h
Register
RegisterRegister
Register 7
77
76
66
65
55
54
44
43
33
32
22
21
11
10
00
0
Error nananananaABRTnana
Sector Count na
Sector Number na
Cylinder Low na
Cylinder High na
Device/Head Obs na Obs DEV Na na na na
Status BSY na DF na DRQ na na ERR