Tandy 1000 HX Technical Reference Manual page 208

Table of Contents

Advertisement

M
PD765A/
M
PD7265
Table 3. Status Register Identification
Table 3. Status Register Identification (cont)
No.
Pin
Nan*
Status Register 0
D
7
,D
6
D
4
D
3
D
2
Di
D o
i
IC
(Interrupt Code)
SE
(Seek End)
EC
(Equipment Check)
NR
(Not Ready)
HD
(Head Address)
us,
(Unit Select 1)
us
0
(Unit Select 0)
Status Register 1
D
7
D
6
05
D
4
D
3
EN
(End of Cylinder)
DE
(Data Error)
O R
(Overrun)
Function
D
7
=0andD6=0
Normal termination of command, (NT).
Command was completed and properly ex-
ecuted.
D
7
=0andD
6
=1
Abnormal termination of command, (AT).
Execution of command was started but
was not successfully completed.
D
7
= 1andD
6
=0
Invalid command issue, (IC). Command
which was issued was never started.
D
7
=1andD
6
=1
Abnormal termination because during
command execution the ready signal from
FDD changed state.
When the FDC completes the Seek com-
mand, this flag is set to 1 (high).
If a fault signal is received from the FDD, or
if the track 0 signal fails to occur after 77
step pulses (Recalibrate Command) then
this flag is set.
When the FDD is in the not-ready state and
a Read or Write command is issued, this
flag is set. If a Read or Write command is
issued to side 1 of a single-sided drive,
then this flag is set.
This flag is used to indicate the state of the
head at interrupt.
This flag is used to indicate a drive unit
number at interrupt.
This flag is used to indicate a drive unit
number at interrupt.
When the FDC tries to access a sector be-
yond the final sector of a cylinder, this flag
is set.
Not used. This bit is always 0 (low).
When the FDC detects a CRC(1) error in ei-
ther the ID field or the data field, this flag is
set.
If the FDC is not serviced by the host sys-
tem during data transfers within a certain
time interval, this flag is set.
Not used. This bit is always 0 (low).
No.
Pin
Nam*
Status Register 1 (cont)
D
2
D o
ND
(No Data)
NW
(Not Writable)
MA
(Missing Address
Mark)
Status Register 2
D
7
D
6
D
5
D
4
D
3
D
2
Di
D o
CM
(Control Mark)
DD
(Data Error in
Data Field)
w e
(Wrong Cylinder)
SH
(Scan Equal Hit)
SN
(Scan Not Satisfied)
BC
(Bad Cylinder)
MD
(Missing Address
Mark in Data Field)
Function
During execution of Read Data, Write De-
leted Data or Scan command, if the FDC
cannot find the sector specified in the
IDR(2) Register, this flag is set.
During execution of the Read ID command,
if the FDC cannot read the ID field without
an error, then this flag is set.
During execution of the Read A Cylinder
command, if the starting sector cannot be
found, then this flag is set.
During execution of Write Data, Write De-
leted Data or Format A Cylinder command,
if the FDC detects a write protect signal
from the FDD, then this flag is set.
If the FDC cannot detect the data address
mark or deleted data address mark, this
flag is set. Also at the same time, the MD
(missing address mark in data field) of
status register 2 is set.
Not used. This bit is always 0(low).
During execution of the Read Data or Scan
command, if the FDC encounters a sector
which contains a deleted data address
mark, this flag is set.
If the FDC detects a CRC error in the data
field then this flag is set.
This bit is related to the ND bit, and when
the contents of C(3) on the medium is dif-
ferent from that stored in the IDR, this flag
is set.
During execution of the Scan command, if
the condition of "equal" is satisfied, this
flag is set.
During execution of the Scan command, if
the FDC cannot find a sector on the cylin-
der which meets the condition, then this
flag is set.
This bit is related to the ND bit, and when
the contents of C on the medium is differ-
ent from that stored in the IDR and the con-
tents of C is FFH, then this flag is set.
When data is read from the medium, if the
FDC cannot find a data address mark or
deleted data address mark, then this flag
is set.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents