
IT8673F
8
11.4.11.7
The SCAN command allows the data read from the disk to be compared with the data sent from the system.
There are three SCAN commands:
SCAN EQUAL Disk Data = System Data
SCAN
SCAN HIGH OR EQUAL Disk Data
≥
System Data
SCAN LOW OR EQUAL Disk Data
≤
System Data
The SCAN command execution continues until the scan condition has been met, or the EOT has been
reached, or if TC is asserted. Read errors on the disk have the same error condition as the READ DATA
command. If the SK bit is set, sectors with deleted data address marks are ignored. If all sectors read are
skipped, the command terminates with the D3 bit of the ST2 being set. The Result phase of the command is
shown below:
Table 11-17. SCAN Command Result
Status Register
Command
D2
0
D3
1
Condition
Disk = System
SCAN EQUAL
1
0
Disk
≠
System
0
1
Disk = System
0
0
Disk > System
SCAN HIGH OR EQUAL
1
0
Disk < System
0
1
Disk = System
0
0
Disk < System
SCAN LOW OR EQUAL
1
0
Disk > System
11.4.11.8
The VERIFY command is used to read logical sectors containing a Normal Data AM from the selected drive
without transferring the data to the host. This command acts like a READ DATA command except that no
data is transferred to the host. This command is designed for post-format or post write verification. Data is
read from the disk, as the controller checks for valid Address Marks in the Address and Data Fields. The
CRC is computed and checked against the previously stored value. Because no data is transferred to the
host, the TC (Terminal Count of DMA) cannot be used to terminate this command. An implicit TC will be
issued to the FDC by setting the EC bit. This implicit TC will occur when the SC value has decremented to
0. This command can also be terminated by clearing the EC bit and when the EOT value equals to the final
sector to be checked.
VERIFY