intended to provide the user with sufficient information to correctly set up and operate
PDP-II,
PDP-8,
or LSI-II computers. The manual presents general, installation, user, programming
PDP-II,
and LSI-II computer systems.
PREFACE
of
the various configurations that are available for use with the
RX02 Floppy Disk System and the interface options associated
Page 14
GENERAL INFORMATION
1.1
INTRODUCTION
The RX02
flexible diskettes with preformatted industry standard headers.
PDP-8, a
puter being used
is
a low cost, random access mass memory device
PDP-II,
or
an
and
either single
LSI-II system. Various interface modules are selected according to the com-
or
double density recording.
that
CHAPTER
stores
The
data
in fixed length blocks on
The
RX02 interfaces with either a
various configurations are:
1
Designation
RX8E
RX28
RXII
RX211
RXVII
RXV21
The
RX02 consists
programmed controller module, and a power supply, enclosed in a rack-mountable,
cooled chassis. A cable
interface module,
varies according
512K 8-bit bytes
retrieved.
12-bit words (PDP-8) can be stored and retrieved.
when single density data recording
for each drive.
For
of
one
or
an
LSI-It
to
the configuration.
of
data (PDP-8,
each drive system using single density recording, up to 256K 8-bit bytes
Computer
PDP-8
PDP-8
PDP-II
PDP-II
LSI-II
LSI-ll
The single density recording configurations RX8E,
RXII,
Floppy Disk System
module has been switched to be compatible with
these configurations. (See
is
and
RXVII
or
two flexible disk drives, a single
included for connection to either a PDP-8 interface module, a
interface module. The amount
For
PDP-It,
is
used.
Interface
Module
M8357
M8357
M7846
M8256
M7946
M8029 Single
NOTE
are compatible with the RXOI
when
each drive system using double density recording, up to
LSI-ll)
If
two drives are used, the recording density can be different
the M7744 controller
Table 2-2.)
or
256K 12-bit words (PDP-8) can be stored and
The
RX02 interfaces with IBM-compatible devices
Recording
Density
Single
Single
Single
Single
Single
read/write
of
data
that
or
Double
or
Double
or
Double
electronics module, a micro-
can be stored on the RX02
10-1/2 inch, self-
PDP-II
of
data
or
128
For
single
or
double density recording, the RX02
8),
an M8256 interface module
ules convert the
the interrupts to the
and the host computer. Each interface module
RX02
I/O
CPU initiated by the RX02 and handles the data interchange between the RX02
(PDP-Il),
bus to the bus structure
or
an M8029 interface module (LSI-II). The interface mod-
is
used with either an M8357 interface module (PDPof
the computer being used. Each module controls
is
powered by the host processor.
1-1
Page 15
In addition, the RX02
the
RXOI. The interface module used
is
used for single density recording when it
is
either an M8357 (PDP-8), an M7846 (PDP-II), or an M7946
is
configured to be compatible with
(LSI-II).
To
record
or
retrieve data the RX02 performs implied seeks. Given an absolute sector address, the
RX02 locates the desired sector and performs the indicated function, including automatic head position verification and hardware calculation and verification
character. The
CRC
character that
is
read
and
generated
of
the cyclic redundancy check (CRC)
is
compatible with IBM 3740 equipment.
1.2 GENERAL DESCRIPTION
An RX02 Floppy Disk System consists
of
the following components:
M7744 Controller Module
M7745 Read/Write Electronics Module
H771-A, -C,
RX02-CA Floppy Disk Drive (60 Hz max
RX02-CC Floppy Disk Drive (50
or
-D Power Supply
Hz
max
of
of
2)
2)
One interface module
M8357
M7846
(PDP-8, Programmed
(PDP-II,
M7946 (LSI-II, Programmed
All components except the interface modules are housed in a 10-1/2 inch rack-mountable box.
is
used:
Programmed
I/O)
I/O)
I/O)
M8256
(PDP-II
with DMA)
M8029 (LSI-II with DMA)
The
power supply, M7744 module, and M7745 module are mounted above the drives. Interconnection
from the
Figure I-I is a configuration drawing
with DMA; part B shows the configuration for all
shows the configuration for a bus interface (programmed
front
RX02 to the interface is with a 40-conductor BC05L-15 cable
of
the system:
part
A shows the configuration for a bus interface
Omnibus interfaces (programmed I/O);
I/O)
that
view
of
a dual drive system.
is
RXOI
of
standard length
compatible. Figure
(15
part
1-2
ft).
C
is
1.2.1 Interrace Modules
The interface modules plug into a slot on the bus for
1-3
shows the outline
1.2.2 Microprogrammed
of
the various modules
Controiier
and
The M7744 microprogrammed controller module
1-4.
The
M7744
is
hinged on the left side and lifts up for access to the M7745 read/write electronics
module.
PDP-8,
areas
is
located in the RX02 cabinet as shown in Figure
of
interest
PDP-II,
on
and LSI-II computers. Figure
each module.
.
a
1.2.3 Read/Write Electronics
is
The M7745 read/write electronics module
located in the RX02 cabinet as shown in Figure
1.2.4 Electromechanical Drive
A maximum
of
two drives can be attached to the read/write electronics. The electromechanical drives
are mounted side by side under the read/write electronics board (M7745). Figure
view
of
the drive showing the drive motor connected to the spindle by a belt. (This belt and the drive
on
the
50
Hz
and
60
Hz
pulley are different
units; see Paragraph 2.1.3.2 for complete input power
modification requirements.)
1-2
1-5
is
1-4.
an underside
Page 16
POWER
SUPPLY H771
DISKETTE
DISKETTE
JlCPU
CONTROLLER
M7744 *
M8029
BUS
INTERFACE
M8256
UNIBUS
INTERFACE
L
I S I
I
I B I
I U I
I S I
UI
NI
I .
I B I
lui
S
LSI-l1
PDP-11
POWER
SUPPLY H771
DRIVE
DRIVE
# 0
# 1
DISKETTE
IA
7015-580
B.
Omnibus Interface, Programmed
DISKETTE
A. Bus Interface with
BC05L-15
JlCPU
CONTROLLER
M7744 *
JlCPU
CONTROLLER
M7744 *
DMA
OR
--
I/O
M8357
OMNIBUS
INTERFACE
____
M8357
OMNIBUS
INTERFACE
M7846
UNIBUS
INTERFACE
....-1
o
MI
~
B I
I U I
S
0
M
I N I
I I I
I
~
I S I
U
N I
I
I I
I B I
U
I S I
I
PDP-8
PDP-8
I
I
PDP-11
POWER
SUPPLY H771
C. Bus Interface, Programmed
Figure
I/O
(RXOI
Compatible)
I-I Floppy Disk Configuration
1-3
M7946
BUS
INTERFACE
L I
I
I s I
I I I
B .
I U I
s
LSI-11
Page 17
_ama
RX02
~
•
II
l[
l
I
I
/
Figure
1.2.5 Power Supply
The H771 power supply is mounted
H771-A
at
is
rated
50
Hz
+ 1/2
90-120 Vac
100-128 Vac
at
60
Hz
Hz
over four voltage ranges:
}
1-2
±1/2
Hz
over a voltage range
3.5 A circuit breaker; H771-C
Front
at
the rear
View
]
I[
l
of
the Floppy Disk System
of
the
RX02 cabinet as shown in Figure
of
90-128 Vac. The H771-C and
,
,
J
I
J
\
MA-1824
-D
1-4.
The
are rated
184-240 Vac
200-256 Vac
Two configuration plugs are provided
applicable
1.3
The optional interface modules
are listed in Paragraphs
selected
IBM system
M7744 controller module's configuration switch
RXO
The
module configuration switch is positioned
figurations.
to
the H771-A.
OPTION DESCRIPTION
is
determined by the computer being used and whether the data interchange
3740 compatible devices
l.
The RX02 interfaces with IBM compatible devices when single density
RX02 interfaces with
}
1.75 A circuit breaker; H771-D
to
adapt
that
are used to interface the RX02 with a PDP-8,
1.1
and
1.2. (Each module
or
DIGITAL
DIGITAL
system double density recording devices when the controller
to
be
the H771-C
is
system double density devices. Also, when an
is
set
compatible with RX28, RX211, and RXV21 con-
1-4
or
-D
to each voltage range. This
PDP-II,
powered by the
to
be compatible, the RX02 can operate as an
host
processor.) The module
data
recording
and
LSI-II
is
between either
is
is
not
used.
Page 18
BC05L-15
CABLE
W7
.....
W8
.....
W16 ....
W1D
....
Wll
....
W12
REV B
CONNECTION
W13
W14
W9
W17
W15
..
W1.
W2
W4
....
....
BC05L - 15
CABLE
}~
CONNECTION
DEVICE CODE SWITCH
PRIORITY
PLUG
BC05L - 15
CABLE
CONNECTION
r7~
...
W3
W5
W6
---,
I
I
M8357
E33
MODULE (RX8E
OR
RX28)
M7846
MODULE
(RXll)
~
ElCOoL-l b
CABLE CONNECTION
.......
.......
·······W3
.......
·······W5
BC10L-15
CABLE CONNECTION
W7
W8
W9
....
.
Wl0
....
.
Wll _ ...
.
W12
....
.
M7946 MODULE
Wl
W2
W4
Wl
W2
W3
W4
W5.
W6
....
....
....
....
...
.
.
.
.
{RXVlll---'
---1
ADDRESS
SWITCH
OFF
= 1
BC05L -
15
CABLE CONNECTION
I
M8256 MODULE {RX2111
BC05L-
15
CABLE
CONNECTlO",!
V2
~r(A3
l~
~!
ADDRESS.......-I
JUMPERS
M8029 MODULE (RXV21)
L:;t
V8
~
·All
0
00/
00
__
_
MA-2496
Figure
1-3
Interface Modules
1-5
Page 19
M7745
~
REAO/'NRITE
ELECTRONICS
MODULE
MA-1751
For
1.3.1 Operation
1.3.1.1
ule converts the RX02
initiated by the RX02, controls
I/O,
1.3.1.2
converts the RX02
the
RX02
PDP-8
and
handles
PDP-II
RX02, decodes
and
the
host
Single Density Recording Only (RX8E,
Operation -
input/output
Operation -
I/O
Unibus
CPU
The
I/O
bus
The
bus to
addresses for register selection,
main memory
Figure 1-4
RX02 connects
to
PDP-8 family
data
interchange between the RX02
transfers used for maintenance status conditions.
RX02 connects
PDP-II
Unibus structure. It controls interrupts
by
Top
View
to
the M8357 Omnibus interface module. This mod-
Omnibus
to
the M7846 Unibus interface module. This module
programmed
1-6
of
RX02
RXll,
structure. It controls interrupts
and
I/O.
RXVll)
and
handles
the host
data
to
the
CPU
CPU
by programmed
to
the
CPU
initiated by
interchange between the
Page 20
DRIVE
BELT PULLEY
AC
DRIVE
MOTOR~ITIrGtJ1rtrr-4--
AC
POWER
CONNECTOR"
DC
STEPPER
MOTOR
MOTOR
______
DRIVE SPINDLE
l
Figure
1.3.1.3
module converts the
initiated
the
LSI-II
by
Operation - The RX02 connects to the M7946
RX02
I/O
the RX02, decodes LSI-II bus addresses for register selection,
RX02 and the host CPU main memory by programmed
1-5
Underside View
of
Drive
bus to the LSI-II bus structure.
I/O.
1.3.2 Operation For Single or Double Density Recording (RXl8,
1.3.2.1 PDP-8 Operation - The
ule converts the RX02
initiated
and handles
1.3.2.2
converts the
the
between the
1.3.2.3
by
the RX02, controls transfer
input/output
PDP-II
RX02
RX02, decodes Unibus addresses for register selection, and initiates
RX02 and the host CPU main memory.
LSI-II
module converts the
initiated
by
the RX02, decodes LSI-II bus addresses for register selection, and initiates
I/O
transfer used to test status conditions.
Operation - The RX02 connects to the M8256 Unibus interface module. This module
I/O
bus to
Operation - The RX02 connects to the M8029 LSI-II bus interface module. This
RX02
to transfer data between the
RX02 connects to the M8357 Omnibus interface module. This mod-
bus to PDP-8 family Omnibus structure.
of
data between the RX02 and host
PDP-II
I/O
RX02 and the host
Unibus structure.
It
controls interrupts to the
bus to the LSI-II bus structure. It controls interrupts to the
CPU
main memory.
MA-1850
LSI-ll
It
RXlII,
bus interface module. This
controls interrupts to the CPU
and
transfers data between
RXV21)
It
controls interrupts to the
CPU
by programmed
CPU
initiated by
NPR
requests to transfer data
NPR
requests
CPU
I/O,
CPU
1-7
Page 21
1.4 SPECIFICATIONS
System Reliability
Minimum number
lutions per track
Seek error rate
Soft data error rate
Hard
data error rate
Drive Performance
of
revo-
The above error rates only apply to
media that is properly cared for. Seek error and soft
data errors are usually attributable to random effects
in the head/media interface, such as electrical noise,
dirt, or dust. Both are called
ror is recoverable in
"Hard"
ries should be preceded
3 million/media (head loaded)
1()6
1 in
1 in
1 in
errors cannot be recovered. Seek error ret-
seeks
1()9
bits read
12
10
bits read
NOTE
10 additional tries or less.
by
or
written
or
written
DEC
"soft"
a recalibrate.
errors if the er-
approved
Capacity
Per diskette
Per track
Per sector
Data
transfer rate
Diskette to controller buffer
Buffer to
Track-to-track move
Head settle time
Rotational speed
Recording surfaces per disk
Tracks per disk
Sectors per track
Recording technique
Bit density maximum on
inner track
Track density
A verage access
CPU interface
Recording
FM
MFM
FM
MFM
FM
MFM
4
~s/data
2
~s/data
1.2
~s/bit
PDP-8 interface can operate in 8- or 12-bit modes
under software control.
6 msitrack maximum
25
ms maximum
360 rpm
1
77
(0-76)
26 (1-26)
Double frequency (FM)
3200 bpi
48
tracks/inch
262
ms, computed as follows:
r
77
_ 6,656
bit (FM)
bit
NOTE
±
2.5%;
or
or
(FM)
Seek
tks/3
8-bit bytes
256,256
512,512
3,328
128
256
(MFM)
166
(0-1148)
(0-328)
or
modified
A
X
,
6ms
12-bit words
128,128
256,256
1,664
3,328
64
128
ms/rev nominal
or
modified M
(MFM)
Settle
~
+
25ms
FM
+
Rotate
~
166
ms/2 =
262
ms
1-8
Page 22
Environmental Characteristics
Temperature
RX02, operating
RX02, nonoperating
Media, nonoperating
Media temperature must be within operating temperature range before use.
Heat
Dissipation (RX02 System)
150 to
320 C (590 to
maximum
-350 to
-350 to
Less
+600 C
+520 C
than
temperature
(-300 to
(-300 to + 125
NOTE
225
Btu/hr
900 F)
ambient;
gradient =
+ 140
0
0
F)
F)
110 C/hr
(20
0
F
/hr)
Relative humidity
RX02, operating
RX02, nonoperating
Media, nonoperating
Magnetic field
Interface modules
Operating temperature
Reiative humidity
Maximum
wet
Minimum dew
F1ectrical
Power consumption
RX02
PDP-II
interface (M7846,
M8256)
PD
P-8 interface (M 8357)
LSI-II
interface (M7946,
M8029)
AC
power
bulb
point
250 C (77
20 C (36
20%
5%
10%
Media
greater
50
to
10%
0
32
0
F)
0
F)
to
80% relative humidity
to
98% relative humidity
to
80% relative humidity
exposed
may
500 C
to
~O%
C (900 F)
20 C (360 F)
5 A
at
+5
Vdc,
31
W
1.8 A at
1.5 A at
1.8 A
4 A
2 A
at
at
115
at
230 Vac
5 Vdc
5 Vdc
5 Vdc
Vac
maximum wet bulb
minimum dew
to
a magnetic field strength
lose
data.
(410 to
122
25
W; 0.14 A
0
point
F)
at
(no
condensation)
-5
Vdc, 0.7 W;
of
50 oersteds
1.3
A t
+24
or
Vdc,
1.5
SYSTEMS COMPATIBILITY
This section describes the physical, electrical,
with IBM system
3740 devices
and
for
and
logical aspects
data
interchange with
of
compatibility for
double
1.5.1 Media
The media used on the RX02 Floppy Disk system is compatible with
and
is
ment
shown in Figure 1-6.
disk architecture, resulting in a flexible oxide-on-mylar surface.
envelope with a hole for the
index mark. The envelope
to
the
supplied
customer preformatted
is
The
read/write
"diskette"
head, a hole for
media was designed by applying
lined with a fiber material
and
pretested.
1-9
The
the
drive spindle hub,
that
cleans
the
density devices.
the
IBM
3740 family
tape
diskette
is
encased in a plastic
and
a hole for
diskette surface.
data
interchange
technology
The
of
equip-
the
hard
media is
to
Page 23
INDEX
....
HOLE
______
__+_
REGISTRATION
HOLE
....
-------+-HEAD
Figure
1-6
Diskette Media
1.5.2 Recording Scheme
There are two recording schemes used in the
(MFM). The
system
Figure
3740 devices. (When this recording scheme
t -t
density data recording which
FM
part
C, the RX02
scheme is used for single density data recording which is compatible with IBM
is
compatible with the RXOl.) The
is
compatible with
RX02: double frequency (FM) and modified Miller code
is
used and the RX02
DIGITAL
double density devices but
patible with other manufacturers.
1.5.2.1 Double Frequency (FM) tween bits
reversal every four
of
a constant clock stream. The clock stream consists
J.l.S
(Figure i-7). A data Hone" is indicated by an additional reversal between docks
For
the double frequency recording scheme data
(Le., doubling the bit stream frequency; hence the name). A data
between clocks.
READ/WRITE
APERTURE
MA-1750
is
configured as shown in
MFM
of
"zero"
scheme
a continuous pattern
is
indicated by no flux reversal
is
used for double
is
not
is
recorded be-
of
one flux
com-
A continuous stream
bit stream, and a continuous stream
"IF"
or
as a
fundamental frequency bit stream.
1.5.2.2 Miller Code
data stream. The data stream consists
"zero."
A clock is recorded only between
data fields map into a preamble
of
ones, shown in the bottom waveform in Figure
of
zeros, shown in the top waveform in Figure
(MFM) -MFM
and
or
Miller code encodes clocks between data bits
of
flux reversals for a data
data
"zeros." Because it
ID
mark, the
MFM
encoding is modified slightly to prevent a
"one"
false header from being detected within a double density data field.
NOTE
De
modified
other manufacturers.
MFM
encoding is not compatible with
•
1-10
1-7,
would appear as a
1-7,
would appear
of
a continuous
and no flux reversal for a data
is
possible to have double density
"2F"
Page 24
--1
0'
,
0
0
I
I
I
--+l4~sec
I
I+-
0
0
0 0
ALL
ZEROS
PATTERN
0
0
0
0
0
0
0
0 0
I
I
I
0
CHANGING
PATTERN
0
1
0
ALL
ONES
PATTERN
CP-1506
Figure
The encoding algorithms for implementing modified
Encoding Algorithm
On
0
1
#1
(MFM
Data
Dn+
0
0 1
or
1
1-7
Flux Reversal Patterns for
Miller
Code
Algorithm)
0 1
I
Encoding Algorithm
On
#2
I
(MFM
Dn+
Modified Algorithm)
Data
1·
Dn+2 Dn+3
o
FM
MFM
are:
Encoded
On
0
Data
I
Cn
0
0 0 I
1 0 1
Dn+4
Cn+3
Dn+4
On + 1
0
0
Dn+5
o
Cn+4
Dn+5
o
The decoding algorithm used in
o
On
o
0 0 0
0 1
1
0
1 0
o
data
separation is:
Encoded
Cn
0
0
o o
On + 1
o o
Decoded
On On + 1
1
0 0
0
1 0 1
1
1-11
1
1 1
I
0
0
Page 25
Figure
MFM code, and modified
1-8
shows the waveforms that are generated for a data stream
MFM
code are used.
of
zeros and ones when FM code,
1.5.3 Logical Format
Data
is
recorded on only one side
"tracks" numbered 0-76. Each track
sector contains two major fields: the header field and the data field (Figure
of
the diskette. This surface
is
divided into
26
is
divided into
sectors numbered 1-26 (Figure
77
concentric circles or
1-9).
1-10).
Each
DATA
F M
MFM
MODIFIED
MFM
DATA
MODIFIED n n
MFM
0
,
I
I
I
I
~
I
I
I
--.J
*
001 1 101
I I I I I I I I I I I I I
I I I I I I I I I I I I I
I I I I I I I I I I I I I
..J
U
WHERE/DATA
0
I
I
I
L..J
1 1
r1
* =
Figure
1000
n r
W U
2/DATA
1-8
FM
1111114~--MODIFYING
ALGORITHM
Versus
MFM
Encoding
---4
..... 1
'""--
.....
MA·1856
L
I
I
I
r
SECTOR PRE-IN
#
26
1
----'----'
.r
,
HARD
INDEX
MARK
l
J
DEX
GAP
~320
B
YTES
I
)
SOFT
INDEX
4 ROTATION
Figure
L.E.D. TRANSDUCER OUTPUT
SECTOR
#1
SECTOR
#2
t
MARK
1 BYTE
1-9
Track Format (Each Track)
1-12
SECTOR
#3
SECTOR
#4
\\
1
"
CP·1507
Page 26
W
....J
II>
alO
2w
«I-
1->-
~al
a..~
II
II
INTERSECTOR GAP
BYTES
26
1'5 OR 0'5
o
Lti
-en
u.w
(.)1z>-
>-al
en
en
0 2
to
~
a:
«
en
en
w
a:
Ow
01«>-
e~
al
en
en
w
a:
o
o
«
G~
«>-
a:al
I-~
HEADER
FIELD
en
en
w
a:
o
o
«
a:
w
01-
1->-
~al
en~
_ w
'(nl-
->-
;'al
-
-----'"")
HEADER
CRC
2
BYTES
DATA
II
"
r-----------II-~~----------~
o
«
....J
I-
W
«
128
U.
o
10
DATA
OR
256
10
(MODIFIED)
DATA
I.
BYTES
BYTES
FIELD
OF
OF
FM
MFM
DATA
CRC
2
BYTES
I"
WRITE
FOR
DATA
"
GATE
WRITE
OF PRECEEDING
FIELD
TURN
L
PREAMBLE
OFF
I
~
t
Figure
1.5.3.1 Header Field Description -
information
its preamble
1
~
.
2.
3.
and
is preceded by a field
are
always recorded in
Byte
~~
o.
bits)
that
FE
hex, clock =
Byte
No.2:
contains
Byte
No.3: -Zeros
1:
ID
Address r"lark -
is decoded by the
C7
hex.)
Track
track
Address - This is
address
information
+-
ROTATION
1-10 Sector
The
header
of
at least six bytes
FM.
Thi~
i~
controller
the
to
"
11
BYTES
--1.J
IDGAP
"5
OR 0'5
Format
field is
a uni4 ue stream
to
identify
L
(Each
broken
of
Sector)
into
zeros for synchronization.
of
the
beginning
absolute (0-1148)
identify its location
II
L--
6
BYTES
WRITE
GATE
FIELD
TURN
OF
NEXT
FOR
DATA
WRITE
seven bytes (eight
flux reversais
of
the
header
binary
track
on 1 of
the
ON
bits/byte)
The
header
(not
a string
field.
(Data
address. Each
77 tracks.
MA-1827
and
of
data
sector
of
=
4.
Byte
No.4:
Sector Address - This
contains sector address
is
no
5.
6,7.
sector
Byte
No.5: -Zeros
Bytes
No.6
O.
and
7:
CRC
each sector from the first five
1.5.3.2 Data Field Description -
depending
the
header
on
the recording scheme.
field (Figure 1-10).
1.
Byte
No.1:
unique because
beginning
RX02 can identify
a unique address
is
the first byte
Data
or
it
of a data
mark
of
Deleted
contains missing clocks. It
field.
and
each
is
information
- This is
the
header
The
data
field contains either
This
field is preceded by a field
Data
Address
The
deleted
write deleted
the absolute
to
identify its circumferential position
cyclic
redundancy
bytes using the
mark
data
mark
data
marks
binary
sector address (1-328). Each sector
check
IBM
character
3740 polynomial.
13110
or
25910
of
zeros for synchronization
- This byte is always recorded in
is
decoded by the controller
is
not
under
used during
program
normal
control
for each density as shown in the following table.
data
field.
1-13
on
a track.
that
is calculated for
bytes
of
information
to
identify the
operation
as required.
One
of
these
FM
There
There
and
and
but
the
marks
is
is
Page 27
Table
1-1
Data Address
Mark
Code
Hex Byte
Mark
Density
FM
Data
FB C7
Clock
Data
C7
C7
C7
the data field and it can be
128
or
25610
10
DELETED
DATA
2.
Bytes
No.2:
-129 (FM) or -257
recorded in either FM
upon encoding) 8-bit bytes
MFMmod.
FM
MFMmod.
or
MFM
of
(MFM
(modified).
information.
FD
F8
F9
modified) - This
It
is
used to store
is
NOTE
Partial data fields are not recorded.
3. Bytes No.
calculated for each sector from the first
ard polynomial division algorithm designed to detect the types
130
and
131
or
258
and
259
- These bytes comprise the CRC character that
129
or
257
data field bytes using the industry stand-
of
failures most likely to
occur in recording on the floppy media. These bytes will be recorded with the same encoding
scheme as the data field.
(depending
is
1.5.3.3 Track Usage - In the IBM 3740 system, some tracks are commonly designated for special
purposes such as error information, directories, spares, or unused tracks. The
recreating any system structure through the use
of
make use
all the available tracks as data tracks. Any special
of
special systems programs, but normal operation will
file
structures must be accomplished
RX02
is
capable
of
through user software.
1.5.3.4
CRC
write operation and checked to ensure all bits were read correctly during a read operation. The
character
eRC
Capability
~
Each sector has a two-byte header
character to ensure data integrity. The
is
the same as that used in IBM 3740 series equipment.
CRC
characters are generated
eRe
character and a two-byte data
by
the hardware during a
eRe
1-14
Page 28
2.1
SITE PREPARATION
This chapter contains information
testing
configurations that are available.
of
the RX02 Floppy Disk System. Information
CHAPTER 2
INSTALLATION
that
is required for site preparation, unpacking, installation, and
is
also provided
to
identify the various system
2.1.1
The RX02
ration cabinet. This rack-mountable version is approximately
(19
Space
is
a cabinet-mountable unit that may be installed in a standard Digital Equipment Corpo-
inches) and
42
cm deep (16-1/2 inches) as shown in Figure 2-1.
Iluimll~mm~~lmllllllllglllllll~~1
19"
(FRONT VIEW)
17.0"
(4302Cmll
0
0
--
--
--
--
--
--
--
--
(FRONT)
.. (48.3cm) •
I
I~
-
0
28
cm high, (10-1/2 inches),
Ii
I
10.5"
~l
I
SEE
NOTE
TR
ACK
I
0
,INSIDE
CIl :J
48
cm wide,
26.5"
I:
NOTE: DUST COVER ATTACHED TO CABINET NOT RX02
Figure
2-1
RX02 Outline Dimensions
(66.3cm)
(SIDE VIEW)
2-1
..
MA-1825
Page 29
When the RX02
of
approximately
is
mounted in a cabinet (Figure 2-2), provision should be made for service clearances
56
cm (22 inches)
at
the front
extended or the cabinet rear door opened.
and
rear
of
the cabinet so that the RX02 can be
REMOVABLE_
END
PANEL
CABLE
CASTER
RADIUS
(6.12 em)
(4) CASTERS
ACCESS-~I+--i"
S~IVEL
2\
132
WINGING
\
-=:::::....... -::--=- -
q "
1/
~
~
I \
DOOR
R.H. OR L.H.
......
//
\
:::::;~-::;...-
~"
/.
:;;"
..........
:;..-
"
"
I
rt'~'
~~~~~~~~f-
....
,
r-
I
I
I
I
+
21
11/16
(54.87em)
RX02
EXTENDED
FROM
i I
L-
______
CABiNET
SWINGING
FRAME
'\
DOOR R.H. OR
~\
'\
\
--------+-
t'
I
I
I
J
____
MOUNTING
REMOVABLE
END
PANEL
-'--_
L.
H.
187132"
(46.35em)
48
( 122.47em)
3.0"
(76.2em)
7
132"
CABINET
(FLOOR
71
LINE
7/16"
(182.28 em) HIGH
TO
CABINET
TOP)
Figure 2-2 Cabinet Layout Dimensions
2.1.2 Cabling
The standard interface cable provided with an RX02 (BC05L-15)
ing
of
the RX02 in relation to the central processor should
RX02 should be placed near the control console
The
access to load
cord
is
about 2.7 m (9 ft) long.
or
unload disks. The position immediately above the
be
planned to take this into consideration.
or
keyboard so that the operator
2-2
is
4.6 m
(15
CPU
ft)
in
length; the position-
will
have easy
is
preferred. The ac power
Page 30
2.1.3 AC Power
2.1.3.1 Power Requirements - The
The
60
Hz version
operating. The
will
50
Hz version
operate from 90-128 Vac, without modifications, and
fication/modification to ensure that the correct voltage option
90-120 Vac and 184-240 Vac
200-256 Vac
will
use
less than 2
will
power from an ac source (e.g.,
2.1.3.2 Input Power Modification Requirements - The
power supply and
power source
will
operate on 90-128 Vac, without modification. To convert to operate on a
in
the field, the H771-A supply must be replaced with an H771-C
RX02
will
operate within four voltage ratings and
is
designed to use either a 60 Hz
is
use less than 4 A operating. The voltage ranges
A.
Both versions
861
power control) that
of
the RX02
is
60
will
controlled by the system's power switch.
Hz version
the drive motor belt and drive motor pulley must be replaced (Figure
90-120
power source.
ranges, the power harness and circuit breaker must be changed.
Vac
or 100-128 Vac power source. The H771-0 operates on a 184-240 Vac
To
convert the H771-C to the higher voltage ranges
or
See
jumper and circuit breaker.
~~~~_
.... _ ...
~
__
... _ ...
JUMPER
_.~._
.... _ ...
~
__
..
_._L_
.....
__ .........
__
P1
.. _ ..... _ ..
or
a 50 Hz power source.
will
use less than 4 A
will
require field veri-
selected. The voltage ranges
of
100-128 Vac and
of
be required to receive the input
of
the RX02 uses the H771-A
50
Hz
or
-0
(Figure
1-5).
The H771-C operates on a
or
1-4)
and
200-256 Vac
the H771-0 to the lower voltage
Figure
.
2-3
for the appropriate
SHIPPING
RESTRAINT
VOLTAGE
90-120
100-128
184-240
200-256
(RED)
(VAC)
JUMPER
70-10696-02
70-10696-01
70-10696-04
1 0696-03
70-
Figure
2-3
POWER
CIRCUIT
3.5 A, 12-12301-01
3.5 A, 12-12301-01
1.75
1.
RX02 Rear
2-3
PLUGS
BREAKER
A,
12-12301-00
75 A, 12-12301-00
View
MA·1866
Page 31
2.1.4 Fire and Safety Precautions
The
RX02 Floppy Disk System presents no additional fire
system. Wiring should be carefully checked, however, to ensure
and
added load
2.2
CONFIGURATION GUIDELINES
The
most common RX02 Floppy Disk System configurations available are listed in Table 2-1. Each
for any contemplated expansion.
interface module listed in the table plugs into a computer bus; it
that
there
is
computer so
interface module and the
cable which
is
4.6 m (15 ft) maximum. (See Table 2-2 for the controller module configuration switch
adequate power
RX02 controller for each
to
operate each module. The interconnections between each
of
or
safety hazards to an existing computer
that
the capacity
is
compatible with the applicable
the configurations in Table
is
adequate for the
2-1
is
by a BC05L-15
positions. )
NOTE
For single drive configurations, the drive will be identified as drive
0 and will be mounted as the left drive.
For dual drive configurations, the left drive will be
identified as drive
fied as drive
0 and the right drive will be identi-
1.
2.3 ENVIRONMENTAL CONSIDERATIONS
2.3.1 General
The
RX02
operating environment must be determined by the most restrictive facets
is
capable
of
efficient operation in computer environments; however, the parameters
of
the system, which in this
case are the diskettes.
of
the
2.3.2 Temperature, Relative Humidity
The
operating ambient temperature range
of
imum temperature gradient
is
age)
increased
to
-34.40 to
110 C/hr
51.60 C (-300 to
has stabilized within the operating temperature range before use. This range will ensure
will not be operated above its absolute temperature limit
Humidity control is
with memory. The RX02
percent, with a maximum wet bulb temperature
0
(36
F).
2.3.3
The
Heat
Dissipation
heat dissipation factor for the RX02 Floppy Disk System
important
is
designed
in any system because static electricity can cause errors in any
figure to the total heat dissipation for
compensate for such factors as the number
of
the diskette is
(200 F
/hr).
The
1250 F),
to
operate efficiently within a relative humidity range
of
250 C (770 F) and a minimum dew point
the
other
system components
of
personnel, the heat radiation from adjoining areas,
150 to
320 C (590 to
900 F) with a max-
media nonoperating temperature range (stor-
but
care must be taken
of
51.60 C (1250 F).
is
less
than
and
to
ensure
225
Btu/hr.
then adjusting the result
that
the media
that
the media
of
20 to
By
adding this
of
CPU
80
20 C
and
sun exposure through windows, the approximate cooling requirements for the system can be deter-
mined.
advisable
to
allow a safety margin
of
at
least
25
percent above the maximum estimated
It
is
requirements.
2.3.4 Radiated Emissions
Sources
close to the computer system, may affect
the
50 oersteds or greater might destroy all or some
of
radiation, such as
FM
radio broadcasts, vehicle ignitions, and radar transmitters located
the
performance
of
the RX02 Floppy Disk System because
possible adverse effects magnetic fields· can have on diskettes. A magnetic field with
moving magnetic media, such as the RX02. Diskettes are not sealed units and are vulnerable to
dirt. Such minute obstructions as dust specks or fingerprint smudges may cause data errors. Therefore,
the
RX02 should
sive airborne particles.
RXII,
is
important in all facets
not
be sUbjected
RXVII,
Removable media
nance which are beyond DIGITAL's direct control.
DIGITAL disclaims responsibility for performance
of the equipment
meeting DIGITAL specifications
maintained in accordance with procedures approved
by
DIGITAL. DIGITAL shall not be liable for damages to the equipment or to media resulting from
such operation.
SI-1
OFF
ON
OFF
to
unusually contaminated atmospheres, especially one with abra-
involve
SI-2
ON
OFF
OFF
of
a computer system, it
NOTE
use, handling, and mainte-
when
operated with media not
or
with media not
2
1
ON
is
SI
Top
View
particularly important in the
2.4 UNPACKING AND INSPECTION
2.4.1 General
The
RX02 Floppy Disk System can be shipped in a cabinet as an integral part
separate container.
installation location before proceeding with the installation.
2.4.2 Tools
Installation
tools are all
for receiving and installing a cabinet-mounted system.
2.4.3 Unpacking
2.4.3.1 Cabinet-Mounted
I.
2.
3.
4. Remove the shipping restraint from the
of
that
Remove the protective covering over the cabinet.
Remove the restraint
Carefully roll the cabinet off the pallet; if a forklift
move the cabinet.
If
the RX02
an RX02 Floppy Disk System requires no special tools
are necessary. However, a forklift truck
is
shipped in a cabinet, the cabinet should be positioned in the final
or
pallet handling equipment may be needed
on
the rear
door
latch
and
open the door.
is
available, it should be used to lift and
RX02 and save it for possible reuse.
of
a system or in a
or
equipment. Normal hand
5.
Slide the RX02
Paragraph 2.4.3.3.
out
on
the chassis slides and visually inspect for any damage as indicated in
2-6
Page 34
2.4.3.2 Separate Container
1.
Open the
2.
Lift the RX02
3.
Remove the shipping fixtures from
as indicated in
4.
Attach
5.
Locate the proper holes in
cabinet.
6.
Place the tracks attached to the RX02 inside the extended cabinet tracks
until the tracks lock in the extended position.
7.
Attach the front bezel with
8.
Locate the RX02 cover in the cabinet above the unit
2-5).
2.4.3.3 Inspection
1.
Inspect the front cover(s)
allows the spring-loaded front cover
carton
out
Paragraph
the inside tracks
(Figure 2-4)
of
the carton.
2.4.3.3.
of
the chassis slides provided in the
the
of
the RX02 to be sure it operates freely. Compress the latch which
and
remove the packing pieces.
both
sides
of
the RX02
cabinet rails (Figure 2-5)
the
screws supplied.
to
open.
and
and
inspect for shipping damage
carton
and
secure it
to
the
RX02 (Figure 2-1).
attach the outside tracks
and
to
the
cabinet rails (Figure
to
the
slide the unit in
2.
Inspect the
sure the fuse
3.
Visually inspect
4. Loosen the screws securing the hinged
modules M7744 and M7745
5.
Verify
interface cable (BC05L-15)
2.5
INST
ALLA
1.
Ensure
2.
Loosen the screws securing the upper module (M7744)
3.
Inspect the wiring and connectors for
rectly.
rear
of
the RX02 chassis
is
not
damaged.
the
interior
that
the items listed
If
any shipping damage is found, the customer should
be notified
and record the information on the acceptance form.
TION
that
power for the system is off.
on
at
to
be sure there are
of
the unit for damaged wires
upper
can
be inspected for damaged components
the shipping
and
the
appropriate
NOTE
this time so he can contact the carrier
proper
module (M7744)
order
are
interface module are included.
routing
no
broken
or
included in
and
swing it up
and
ensure
or
bent
plugs. Also, be
loose hardware.
and
raise the module so
or
wires.
the
shipment. Be sure the
on
the hinge.
that
they
are
that
seated cor-
4. This step
jumpers
is
for 50
and
Hz
versions only. Check the power configuration to ensure
the correct circuit breaker
are
installed (Figure 2-3).
2-7
that
the
proper
Page 35
---SLIDES
DUST
COVER
ONE
PIECE
FOLDER
\
BRACE
WOOD
---JI"..--
/
___
-:..---
SCOR
ED
SHEET
REGULAR
SLOTTED
CARTON
Figure 2-4 RX02 Unpacking
2-8
SHiPPiNG
CARTON
MA-1854
Page 36
....;.-....--
COVE
R
CP-1594
Figure
5.
Connect the BC05L-15 cable
chassis through the back of the RX02
for the
PDP-S,
The cable
PDP-II,
is
connected to the M7744 module with the red stripe on the left, looking from the
component side
toward the center
6.
Refer to Table
7.
Refer to Table
S.
Insert the interface module into the Omnibus (PDP-S), available SPC slot (PDP-II), or LSI
2-2
2-3
bus (LSI-II). The
numbered available option location. Modules that use
higher priority than programmed
PDP-II
SPC slot, ensure that the
2-5
RX02 Cabinet Mounting Information
to
the M7744 module and route it along the near side
to
the CPU; then connect it to the interface module
or LSI-II.
of
board; the cable
of
the module.
is
connected to the interface module with the red stripe
for the correct controller configuration switch positions.
for correct device code or addressing jumpers on the interface module.
PDP-II
and
LSI-II interface modules must be inserted
I/O
NPG
devices.
(NPG
For
modules using
IN,
NPG
DMA
OUT) line
processing should have a
DMA
processing in the
(CAI-CBI)
in
is
backplane.
9.
Connect the RX02
ac
power cord into a switched power source.
of
the
the lowest
cut on the
10.
Turn the power on, watching for head movement on the drive(s) during the power up,
initialize phase. The head(s) should move one track toward the center and back to track
zero.
The exterior
the diskettes are handled and stored properly in order to prevent errors
when recording
of
the RX02 should be kept clean. Also, it
or
reading data; diskette handling procedures are described in Paragraph 3.2.
3.2 CARE OF MEDIA
that
the RX02 is located and operated in an area that
or
exceeds the environmental conditions listed in Paragraph
is
the user's responsibility to ensure that
CHAPTER 3
or
data loss which might occur
is
free
3.2.1
To prolong the diskette life and prevent errors when recording
taken when handling the media. The following handling recommendations should
prevent unnecessary loss
Handling Practices
1.
Do
not write on the envelope containing the diskette. Write any information on a label prior
to affixing it to the diskette.
2.
Paper clips should not be used on the diskette.
3.
Do not use writing instruments that leave flakes (such as lead
of
the media.
4.
Do not touch the disk surface exposed
5.
Do not clean the disk
6. Keep the diskette away from magnets
exposed to a magnetic
7.
Do not expose the diskette to a heat source or sunlight.
8.
Always return the diskette to the envelope supplied with it to protect the disk from dust and
dirt. Diskettes not being used should be stored in a
and
of
data
Precautions
or
interruptions
in
any manner.
field
may lose information.
or
reading, reasonable care should be
of
system operation.
or
grease pencils) on thejacket
in
the diskette slot or index hole.
or
tools that may have become magnetized. Any disk
file
box
if
possible.
be
followed to
9.
When the diskette
materials.
10.
Do not place heavy items on the diskette.
11.
Do not store diskettes on top
fans into the diskette interior.
is
in use, protect the empty en velope from liquids, dust, and metallic
of
computer cabinets or
3-1
in
places where dirt can be blown
by
Page 40
12.
If
a diskette has been exposed to temperatures outside the operating range, allow five minutes for thermal stabilization before use. The diskette should
during this time.
Do not use paper
•
dips
• Do not expose the diskette to a heat source
light.
• Keep the diskettes from magnetic fields.
•
Do
not write on the diskette with an instrument
that leaves an impression
3.2.2 Diskette Storage
3.2.2.1 Short Term (Available for Immediate Use)
1.
Store diskettes in their envelopes.
2.
Store horizontally, in piles
be supported so
forces.
3.
Store in an environment similar
Permanent deformation
that
of
they do
ten
not
may
or
less.
lean
or
result from improper storage.
to
that
of
the operating environment range.
be removed from its packaging
CAUTION
on diskettes.
or
sun-
or
Oakes.
If
vertical storage is necessary, the diskettes should
sag,
but
should
the operating system;
not
be subjected
at
to
compressive
a minimum, store within
3.2.2.2 Long
stored in their original shipping containers within
Term
- When diskettes
do
not
need to be available for immediate use, they should be
the
nonoperating range
3.2.3 Shipping Diskettes
Data
recorded
contact with the disk surface.
precautions against possible exposure
netic source
least 3 inches within the
sources likely
on
disks may
is
the best protection against accidental erasure
to
be encountered during transportation, making it generally unnecessary
be
degraded by exposure
If
diskettes are
to
magnetic sources. Because physical separation from the mag-
outer
box. This separation should be adequate
to
to
be shipped in the cargo hold
any sort
of
of
small magnet
a diskette, diskettes should be packed at
to
ettes in specially shielded boxes.
to
When shipping, be sure
DO
NOT
EXPOSE
label the package:
TO
PROLONGED
HEA T OR
SUNLIGHT.
When received, the carton should be examined for damage. Deformation
receiver
the diskette
to
possible damage
or
for future shipping.
of
the diskette.
The
carton
should be retained, if it is intact, for storage
of
the media.
brought
of
an aircraft, take
into close
protect against any magnetic
to
ship disk-
of
the carton should alert the
of
3-2
Page 41
3.3 OPERATING INSTRUCTIONS
NOTE
The left drive is always identified as drive
The
RX02 has no operator controls
pressing the latch to allow the spring-loaded front cover to open. Place the diskette with the label
top
up (the jacket seams are on the
is
automatically lock when it
audible clicking sounds which indicate the head
Data
storage
and
retrieval is controlled by the user's program.
pushed down. Initialize the system (from the computer) and listen for
Do not open the drive door while the diskette is
use; this results in errors.
and
indicators. The diskette is inserted on a drive after com-
bottom)
on the drive spindle. Close the front cover which will
is
moving over the diskette; the RX02
CAUTION
O.
in
is
ready for use.
or
3.4 OPERATOR
Table
problem cannot
No
3-1
is
a list
be
Problem
power
(drive inoperative)
Drive not ready
Error in recording
TROUBLESHOOTING
of
possible problems and some probable causes the operator may encounter.
corrected, refer the problem to
Table
3-1
Operator Troubleshooting Guide
Probable Cause
a. Power cord disconnected
b. Blown fuse
c.
Circuit breaker open
a. Drive
b. Diskette improperly in-
stalled
a. Diskette wear
b. Diskette mounting hole
c. Mismatch in recording
density on a diskette
door
open
DIGITAL
Field Service.
I Correction
a. Connect power cord
b. Replace fuse
c.
Close circuit breaker
a. Close
b. Properly seat diskette
If
a.
If
b.
centric, replace diskette
c.
If
not compatible with
to be recorded, replace
diskette with a new preformatted diskette.
door
worn, replace
the hole is not con-
diskette data density
If
the
is
data
3-3
Page 42
CHAPTER 4
PROGRAMMING
This chapter contains programming information for the following interface options: RX8E, RX28,
RXll,
first, followed by the
presented. The RX8E,
patible with the
single or double density recording.
4.1
The RX8E interface allows two modes
the 12-bit mode,
information. The diskette capacity
transfer mode,
a
IBM-compatible diskettes, since 12-bit mode does
puts
bit mode
RX02 and servicing
RX02 to be interrupted without loss
RXVll,
RX8E and RX28 PROGRAMMING INFORMATION
33
percent increase
in
the extra
(18
RX211, and RXV21. The RX8E and RX28 programming information
RXll
RXOI
64
words are written in a diskette sector, thus requiring 2 sectors
128
8-bit words are written in each sector. Disk capacity
in
Os.
Data
ms for 8-bit mode). There
of
and
RXVll
RXll,
Floppy Disk System. The RX28E, RX211, and RXV21 can be used for either
disk capacity over the 12-bit mode. The 8-bit mode must be used for generating
that
and
transier requests occur
request by the host processor. This allows the data transfer to and from the
information, and then the RX211 and RXV21 information
RXVll
in
options are used for single density recording and are com-
of
data transfer: 8-bit word length
this mode is 128,128 12-bit words
not
23
ms aiter the previous request was serviced ior
is
no maximum time between the transfer request from the
of
data.
is
presented
is
and
12-bit word length. In
to
store 1 page
(1001
is
256,256 8-bit words, which
fully pack the sectors with data. The hardware
pages). In the 8-bit
of
12-
is
The
RX28 interface allows two modes
each mode
12-bit mode single density recording,
ity
is
capacity
written
8-bit bytes written in a sector with a diskette capacity
12-bit data words are loaded into the buffer and then the hardware forces zeros to
of
end
4.1.1 Device Codes
The eight possible device codes that can be assigned to the interface are
define address locations
a single PDP-8. These multiple device codes are also shared with
other devices are on the system, the
to the
The
device codes are selected by switches according to Table 4-1. These switches control ac bits 6-8,
while ac bits 3-5 are fixed at
connected and will not affect the device selection code.
switch package
of
data transfer there can be either single density
128,128 12-bit words; for double density, there are
of
256,256 12-bit words. In the 8-bit word mode single density recording,
in
each sector and the diskette capacity is 256,256 8-bit bytes; for double density, there are 256
the buffer so
P D P-8 Small Computer Handbook for specific device codes.)
that
that
the buffer
of
a specific device and allow up to eight
Is. The device code
is
located on the M8357
of
data
transfer: 8-bit word length and 12-bit word length.
or
double density storage
64
words are written in a diskette sector,
128
words written in a sector with a diskette
of
512,512 8-bit bytes.
is
filled.)
RX8E/RX28
other
RX8E/RX28
device code can be selected to avoid conflicts. (Refer
is
initially selected to be
The
switches are all located on a single
RX8E/RX28
interface board.
of
data. In the
and
the diskette capac-
128
8-bit bytes are
(For
the 12-bit mode, all
add
extra bits to the
70-77. These device codes
interfaces to be used on
devices. Depending on what
70.
Switches 7 and 8 are not
For
DIP
4-1
Page 43
Table 4-1 Device Code Switch Selection
Device
SI
S2
Code
77
76 0 0
75
74
73
72
71
70 1
4.1.2 Instruction Set
The
RX8E/RX28
operating as an RX28, for the 8-bit mode, all instruction set commands are transferred in two 8-bit
bytes.
Skip on Transfer Request Flag, Clear Flag
Skip on
Skip
Initialize Controller
S5
S6 S7
1 I
1 1
1
0
0
0 1 1 X
0 0
Operation
Data
Error
on
Done
or
Disable Disk Interrupts
X
1
0 X
X
1
X
0
X
0
X
1
X
0
and
Register
Flag, Clear Flag
Flag, Clear Flag
S8
X
X
X
X
X
X
X
X
described in the following paragraphs. When
AC
and
Interface
o (OFF) 1
(ON)
SI
S2
S3
S4
S5
S6
S7
S8
4.1.2.1 RX8E
interface register and clears the AC.
10
on the drive specified by AC
the previous function.
described in greater detail in Paragraph 4.1.3.1.
Load Command (LCD) -
The
7.
A new function
The
command word
00
01
02
03
T
NOT
USED
Figure
4-1
67xlRX02 begins
is
defined as shown in Figure 4-1.
05
04
18/121
I
,
1 I I
MAINT
LCD
This command transfers the contents
to
execute the function specified in AC
cannot
06
NOT
USED
Word
4-2
be initiated unless the RX02 has completed
The
command word is
08
07
I~:~I
FUNCTION
Format
(RX8E)
09
10
11
I
NOT
USED
MA·1853
I
of
the AC to the
8,
9,
and
Page 44
4.1.2.2 RX28 Load Command - (First byte
contents
specified in AC
the
and
of
the
AC
to the interface register and clears the AC. The RX02 begins to execute the function
8,9,
and
10
on the drive specified by AC
RX02 has completed the previous function. The command word
is
described in greater detail in Paragraph 4.1.3.1.
02
IDENI
I
(XDR)
03
12
BIT
MODE
8
BIT
MODE
00
NOT RESERVED
USED
TRANSFER
BYTE 1
TRANSFER
BYTE 2
01
!
6701
6702
67xl,
04
Is
I
MAINT
0
0
Second byte 67x2) - This command transfers the
7.
07 08 09
06
05
1121
I
i
UNIT
SEL
2
2 3
3
A new function cannot be initiated unless
is
defined as shown in Figure 4-2
11
10
FUNCTION
I
7
4
4
6
5
04:
11
7
6
5
00:03
MA·1792
Figure 4-2 Command Word
When operating in the 8-bit mode, the Load command
of
the command word (shown as bits 4-11 in Figure 4-2) are stored; then
performed
justified.
of
the second 8-bit byte, Done
to
transfer the remaining bits
The
extra bits in the second 8-bit transfer are filled with zeros.
is
asserted to end the function.
of
data
(bit 3,
Format
is
stored in two 8-bit transfers.
DEN,
(RX28)
and bit
TR
is
asserted and an
2,
as shown in Figure 4-2) right-
Upon
completing the transfer
The
first 8 bits
XDR
4.1.2.3 Transfer Data Register (XDR) - 67x2 - With the maintenance flip-flop cleared, this instruction operates as follows. A word
of
transfer
is
governed by the RX02 and the length
selected (8-bit or 12-bit). When
I.
The last
can proceed,
2.
The data
data
word supplied by the RX02 has been accepted by the
or
or
address word requested by the RX02 has been provided by the PDP-8,
transferred between the
Done
is
negated, executing this instruction indicates to the RX02 that:
AC
and the interface register. The direction
of
the word transferred
is
governed by the mode
PD
P-8, and the RX02
and
the
is
RX02 can proceed.
AC
A data transfer (XDR) from the
AC
0-3 are transferred to the interface register but are ignored by the RX02. Transfers into the AC are
12-bit
jam
and AC
transfers when
0-3 remain unchanged. When the RX02
in
12-bit mode. When in 8-bit mode, the 8-bit word
RXES status word from the interface register
always leaves the AC unchanged.
is
done, this instruction can be used to transfer the
to
the AC. The selected mode controls this transfer as
If
operation
is
in 8-bit mode,
is
ORed into AC 4-11
indicated above.
is
4-3
Page 45
4.1.2.4
(TR) flag has been set by
data
transferred,
where an
4.1.2.5
been set by an error condition in the
set
STR -67xl
or
address words with the
or
XD
R follows an
SER
- 67x4 - This instruction causes the next instruction to be skipped
(Paragraph 4.1.3.6).
- This instruction causes the next instruction
after
an
RX02
LCD
LCD,
and
XD
instruction
the
clears the flag.
R instruction
to
ensure the command is in the interface register. In cases
TR
flag needs
RX02
and
clears the flag.
to
be skipped
The
TR
flag should be tested prior
to
ensure the
to
be tested only once between the two instructions.
data
or
address has been received
An
error also causes the done flag to be
if
the transfer request
to
transferring
if
the error flag has
or
4.1.2.6
been set by the
done flag is set, it
4.1.2.7 INTR - 67x6 - This instruction enables interrupts by the done flag if AC
interrupts
4.1.2.8 INIT - 67x7 - The instruction initializes the RX02 by moving the head position mechanism
drive I (if drive 1
status register
before the
Omnibus Initialize.
4.1.3 Register Description
Oniy one physicai register (the interface register) exists in the RX8E/RX28,
the six RX02 registers described in the following paragraphs, according to the protocol
in progress.
4.1.3.1 Command Register (Figures 4-3 and
by the
graphs 4. i .2. i and
SDN - 67x5 - This instruction causes the next instruction
RX02, indicating
is
cleared by the
if
AC
11
=0.
is
available)
and
sets Done upon successful completion
RX02 returns to the
LCD
instruction for RXSE and by a load command
4.
i .2.2).
the
to
SON
track
Done
completion
instruction. This flag will interrupt
O.
It
state. Initialize can
of
a function
reads track
4-4) - The command is loaded into the interface register
1,
sector I
of
Initialize.
be
or
(LCD
to
be skipped if the done flag has
detection
generated by the program
of
and
of
an error condition.
if
interrupts are enabled.
II
=
l.
drive
O.
It
zeros the error
Up
to 1.8 seconds may elapse
but
it may represent one
of
the function
XDR)
for the RX28 (Para-
It
disables
or
by the
If
and
the
of
of
00
01
02
03
04
05
ISI12I
J
I
NOT
USED
Figure 4-3 Command Register
MAINT
07
06
I~:~I
09
08
FUNCTION
10
I
NOT
USED
Format
4-4
(RXSE)
11
I
I
NOT
USED
MA·1793
Page 46
00
01
02 03 04 05 06 07 08 09 10
11
12-BIT
The function codes (bits
Code
000
001
010
011
100
101
110
111
MODE
8-BIT MODE
I !
,----;
NOT RESERVED
USED
{
Figure 4-4 Command Register Format (RX2SF)
8,
9,
10)
Function
Fill Buffer
Empty Buffer
Write Sector
Read Sector
Not
Read Status
Write Deleted
Read Errror Register
IDENI
I I I
1ST
BYTE
181121
MAINT
o
I!
NOT
USED
2 3 4 5 6
FUNCTION
C::
UNIT
SEL NOT
o
2ND BYTE
T
NOT
USED
are suummarized below and described in Paragraph 4.1.4.
used (RXSE) - Set Density (RX2S)
Data
Sector
I
I
7
USED
04:
00:03
MA-1794
11
The
DR V (UNIT)
performed:
AC7
AC7
The
8/12
bit (bit
AC5
AC5=1
The
DEN
bit (bit
double). The RX8E/RX28
4.1.3.2 Error Code Register (Figure 4-5) - Specific error codes can be accessed
code function (111) (Paragraph 4.1.4.9). The specific octal error codes are given in Paragraph 4.1.5.
The maintenance bit (M bit) can be used to diagnose the
conditions. The off-line condition exists when the BC05L-15 cable
on-line condition exists when the cable
SEL bit (bit
=0
= 1
5)
selects the length
=0
3)
for RX2S indicates the density for the function to be performed
7)
selects one
Select drive
Select drive 1
12-bit mode selected
8-bit mode selected
will
initialize into 12-bit mode.
0
of
the
is
connected to the RX02.
of
data
4-5
the two drives upon which the function will be
word.
RXSE interface under off-line and on-line
is
disconnected from the RX02; the
by
(0
use
of
the read error
= single, 1 =
Page 47
00
01
02 03 04 05 06 07 08 09 10
11
Figure 4-5
If
an
LCD
lOT
(I/O
maintenance flip-flop
data
register transfers
to
be written
a
Load
and
Command
read for maintenance checks.
lOT
the maintenance bit in
The
contents
mand
lOT,
antee the contents
using the
of
the
which sets
XDR
lOT
interface buffer
of
the interface register.
to transfer those contents into
------------~,~---------------T------------~
NOT
USED
Error
Code
Register
transfer) is issued with
is
set,
the
assertion
(XDR)
are forced
into
of
AC
RUN
the
The
with
AC
4 =
O.
The
following
an
off-line mode.
cannot
the
maintenance flip-flop. However, successive
be guaranteed immediately following the first
The
contents
ERROR CODE
CP-1515
4 =
following
AC.
Format
1,
The
(RX8E/RX28A)
the
maintenance flip-flop is set. When the
XDR
maintenance
instructions is inhibited,
bit
allows the interface register
maintenance flip-flop is cleared by Initialize
paragraphs
of
the interface register can then
the
AC.
describe more explicitly how
Load
Command
lOTs
and
Load
will guar-
be
verified by
all
or
by
to
use
Com-
In addition, the maintenance flip-flop directly sets the skip flags, which will remain set as long as the
maintenance flip-flop is set. Skipping
clear the flags. Setting
condition.
The
skip
and
lOTs
then clearing the maintenance flip-flop will leave the skip flags in a set
can
on
these flags as long as the maintenance flip-flop is set will
then be issued
to
determine whether
or
not
a large
portion
of
not
the
interface skip logic is working correctly.
With the maintenance flip-flop set, it can be deiermined if the interface is capable
interrupt
enable flip-flop can be set by issuing
interrupt
The
cleared
successful, all
Set.
In
the
face register.
should be implemented in the on-line mode. Exiting from
finalized by an initialize
4.1.3.3
77 (0-76) tracks a given function is to operate.
function in progress
4.1.3.4
26 (1-26) sectors a given function is
function in progress
on
the Omnibus. When
the
maintenance flip-flop is set,
an
INTR
enable should generate an interrupt.
maintenance flip-flop can also be used
to
generate
on-line mode, use
The
RXlT
RXlSA
the
flags,
and
INIT
lOT
of
the
flags
and
the
interrupt
of
the maintenance bit should be restricted
same procedure described
to
the
RX02.
A - RX
Track
Address (Figure 4-6) - This register is loaded to indicate
(Paragraph
4.1.4). Bits
- RX Sector Address (Figure 4-7) - This register is loaded to indicate
to
operate.
(Paragraph
4.1.4). Bits
the
done
flag is set,
lOT
with
AC
bit
to
test
the
IN
is then executed.
IT
11 = 1.
lOT.
If
The
The
maintenance flip-flop is set
execution
enable flip-flop shouid be cieared
to
writing
to
write
and
read
the
interface register in the off-line mode
the
on-line maintenance bit mode should be
It
can
be
addressed only under the protocol
0-3
are
It
0-3
are unused
unused
can
and
are
ignored
be
addressed only under the protocol
and
are
ignored by the control.
combination
of
INIT
if
they were previously
and
by
the control.
of
generating
and
the interrupt
of
done
an
and
and
lOT
is internally
reading the inter-
on
on
which
which
of
of
of
of
the
the
the
the
4-6
Page 48
00
01
02 03
04
05
06
08 09 10
07
11
I
•
NOT
USED
Figure 4-6 RX2T A Format (RX8E/RX28)
02
01
00
• •
NOT USED
Figure
RX
4.1.3.5 RX2DB -
Data Buffer (Figure 4-8) - All information transferred to and from the floppy
media passes through this register and
ress. The length
of
data transfer
register when the Load Command lOT
03
4-7
is
either 8 or i 2 bits, depending on the state
0
•
114
0-
8
10
09
I
32
1-
8
I
04
0
I 0 I
05
06
0
07
08
RX2SA Format (RX8E/RX28)
is
addressable only under the protocol
is
issued (Paragraph 4.1.3.1).
MA·181S8
11
I
MA·181S9
of
oi
the function
bit 5
oi
the command
in
prog-
RX
4.1.3.6 RX8E conditions
(
101).
is
accessed by the XD R instruction. The meaning
The
of
the selected drive. This read-only register can be accessed by the read status function
RX
ES
Error and Status (Figure 4-9) - The RXES contains the current error and status
is
also available in the interface register upon completion
00
01
02 03 04 05 06
12
BIT
MODE
00
ONLY
Figure
01
02 03 04
4-8
RX2DB Format (RX8E/RX28)
I~~~I
NOT USED
Figure 4-9 RXES Format (RX8E)
of
05 06
DO I
the error bits
07
08 09 10
•
8
OR
12
BIT
MODE
07
08 09 10
lID
NOT USED
of
any function. The RX
is
given below.
11
MA·18&O
11
I
ICRcl
MA·1861
ES
4-7
Page 49
Bit No.
Description
11
9
5
4
CRC
Error -The
error.
up
The
to
10
Initialize
due
to
RX02 power failure, system power failure,
bit is
not
Deleted
data
times, as
Done
available within
Data
the identification field. The
the
deleted
or
actual deletion
bit will
be
data
set
Drive Ready - This
cyclic redundancy check
must
be considered invalid;
most
data
errors
are
recoverable (soft).
- This bit indicates completion
the
(DO)
- In
mark
of
data
if
a successful
bit
the
course
data
has
no
further significance within
due
or
is asserted
RXES
to
from a read status function.
of
reading data, a deleted
following will be collected
this
mark
unsuccesful Write Deleted
if
the
unit currently selected exists, is properly supplied
at
the
it
is suggested
of
the
or
must
be accomplished by user software. This
with power, has a diskette installed properly, has its
speed.
NOTE
1
This bit is only valid for either drive when retrieved
via a Read
pletion
If
the error bit was set in the
are
not set in the RXES, specific error conditions can
Status
of
an Initialize.
function
NOTE
or
for drive 0 upon com-
2
RX2eS
be accessed via a read error register function.
end
of
the
data
that
the
Initialize routine.
programmable
data
and
the
RX02.
Data
door
closed,
but error bits
field has indicated
data
transfer be retried
It
can be asserted
or
bus Initialize. This
mark
was detected in
an
transferred normally as
Any
alteration
of
files
function is performed.
and
has a diskette up
to
4.1.3.7 RX28 - RX
conditions
(101).
The
of
the selected drive. This read-only register can
RX2ES
RX2ES is accessed
Error
and
Status
is
also available in the interface register
by
the
XDR
01
00
"-
____
y-----J
NOT USED
(Figure 4-10) -
instruction.
03 04 05
02
1
The
The
meaning
06 07
Figure 4-10 RX2ES
RX2ES contains the
be
accessed by the read status function
upon
completion
of
the
error
08 09 10
I RESE'RVED
RX02
Format
(RX28)
bits
11
MA-1862
current
of
any function. The
is
given below.
error
and
status
4-8
Page 50
Bit No.
Description
11
10
9
8
7
6
5
CRC
Error
- The cyclic redundancy check
error.
The
data
must be considered invalid; it is suggested
up
to
10
times; as most
Reserved.
Done
Initialize
due
to
RX02 power failure, system power failure,
bit is
not
RX02 - This bit is asserted
DEN
ERR
drive density.
serts
error
DR V DEN
1 = double).
Deleted
the identification field. The
the deleted
or
bit will be set
Data
actual deletion
- This bit indicates completion
available within
- This
Upon
and
done.
- This bit indicates the density
(DD)
data
mark
if
a successful
data
bit
indicates
detection
- In the course
has
of
data
at
the end
errors
the
if
data
no
further significance within the RX02.
due
or
are
recoverable (soft).
of
RX2ES from a read status function.
an
RX02 system is being used.
that
the
density
of
this
error
the control terminates the operation
of
the diskette in the drive selected (0 = single,
of
reading data, a deleted
following will be collected
to this
mark
must be accomplished by user software. This
unsuccessful write deleted
of
the
that
the
Initialize routine.
or
programmable
of
the function does not agree with the
data
field has indicated an
the
data
transfer be retried
It
can be asserted
or
bus Initialize. This
data
mark
was detected in
and
transferred normally, as
Any
alteration
data
function
is
performed.
and
of
as-
files
4
4.1.4 Function Code Description
The
RX8E/RX28
4.1.2.1 and 4.1.2.2. The
verify
receiving a
while
the
protocol be followed for the successful transfer
for each function
Drive Ready - This bit
with power, has a diskette installed properly, has its
speed.
This bit is only valid for either drive when retrieved
via a read status function
pletion
If
the error bit was set in thee RX2CS but error bits
are not set
can be accessed via a read error code function.
functions are initiated by means
done
that
the
RX8E/RX28
command
command
instruction while in the
is
decoded. Each
is
described in the following sections. A summary table
is
asserted
of
an Initialize.
in
the RX2ES, specific error conditions
flag should be tested
is
in the
Done
of
the eight functions summarized below requires
if
the unit currently selected exists, is properly supplied
door
NOTE
or
NOTE
and
state
prior
Done
state, the
of
data, status,
closed,
1
for drive 0 upon com-
2
of
the Load
cleared with the
to issuing the
command
RX8E/RX28
and
address information. The protocol
and
has a diskette up to
described in Paragraphs
SDN
instruction in
command
enters the
is
instruction.
Not
Done
that
presented below.
order
to
Upon
state
a strict
4-9
Page 51
Octal 8 9
AC
10
Function
0
2
4
6
10
12
14
16
0
0 0
0 0 1
0 1 0 Write Sector
0
1
1
1
1 Read
0
1
0
1
0
1
1 0
1
1
Fill Buffer
Empty Buffer
Sector
Not
Used (RX8E), Set Density (RX28)
Read
Status
Write Deleted
Data
Sector
Read Error Register
NOTE
AC bit
since AC bit
4.1.4.1 Fill Buffer (000) host processor with
64
12-bit words
function loads the sector buffer in 12-bit mode with
words for double density; in the 8-bit mode, the buffer
or
256 8-bit bytes for double density. This instruction only loads the sector buffer. In order to complete
the transfer
read back by means
Upon
to
the diskette, another function, write sector, must be performed. The buffer may also be
of
the empty buffer function in order
decoding the fill buffer function, the RX02 will set the transfer request (TR) flag, signaling a
request for the first data word.
STR instructions prior
transferred
to
the interface register by means
from the interface register
The
sequence above
mode
or
128
data transfers for 8-bit mode). After the 64th (or 128th) word has been loaded into the
sector buffer, the
the completion
the
data
transfers. Any
of
loaded in the AC.
to
each successive
to
is
repeated, until the sector buffer has been loaded (64 data transfers for 12-bit
RX2ES
is
the function. Therefore, it
XDR
The
sector buffer must be completely loaded before the
and recognize a new command. An interrupt would now occur
11
is assumed to be 0 in the above octal codes
11
can be 0 or
For
RX8E this function
ifin
12-bit mode or
1.
is
64
The
TR
flag must be tested and cleared by the host processor with the
XDR
of
lOT
(Paragraph 4.1.2.4).
the
XD
the sector buffer and sets the
moved
to
the interface register, and the RX02 sets the done flag to indicate
is
unnecessary for the host processor to keep a count
commands after Done
is
used
to
load the RX02 sector buffer from the
128
8-bit words
12-bit words for single density or
is
loaded with
to
verify the data.
RIOT.
The
TR
flag as a request for the next data word.
ifin
8-bit mode.
For
RX28 this
128
128
8-bit bytes for single density
The
data word can then be
RX02 next moves the data word
set will result in the RX2ES status word being
RX8E/RX28
will set Done
if Interrupt Enable were set.
12-bit
of
4.1.4.2 Empty Buffer
sor.
Upon
decoding this function RX2ES bits are cleared and the
in the interface register. This
the host processor.
XDR
command.
(001) - This function moves the contents
TR
flag signifies the request for a data transfer from the RX8E/RX28 to
The
flag must be tested and cleared; then the word can be moved to the AC by an
The
direction
of
transfer for an
XDR
command
flag is set again with the next word in the interface register.
words
the
now occur
or
bytes have been transferred, thus emptying the sector buffer. The done flag is then set after
RX2ES is moved in the interface register to indicate the end
if
Interrupt Enable were set.
NOTE
The empty buffer function does not destroy the contents of the sector buffer.
4-10
of
the sector buffer to the host proces-
TR
flag
is
set with the first data word
is
controlled by the RX02. The
The
above sequence
of
the function. An interrupt would
is
repeated until all
TR
Page 52
4.1.4.3 Write Sector (010) - This function transfers the contents
and
the
sector
TR
on
the diskette.
Upon
decoding this function, the
flag, signifying a request for the sector address.
The
the binary sector address can be loaded into the interface register by means
of
the sector buffer
RX8E/RX28
TR
flag must be tested
clears the RX2ES
of
the
sector address must be within the limits 1-328.
The
TR
flag is set, signifying a request for the track address.
then the binary track address may
mand.
The
the
The
track address must be within the limits 0-1148.
RX02 tests the supplied track address
RX2ES
is
moved to the interface register,
be
loaded into the interface register by means
to
determine
the
error
The
TR
flag must be tested
if
it is within the allowable limits.
and
done flags are set,
terminated.
If
the track address is legal,
the requested sector, transfers the contents
the
RX02 moves the head
of
of
the selected drive
the sector buffer
and a CRC
to
the selected track, locates
character to
sets Done. Any errors encountered in the seek operation will cause the function
be loaded into the interface register,
tered, the
RX2ES is loaded into the interface register
and
the
error
NOTE
and
and
done flags
to
be set.
only the done flag is set.
The write sector function does not destroy the con-
tents
of
the sector buffer.
to
a specific track
and
cleared before
XDR
command.
and
of
the
XD
If
and
the function
that
sector,
to
cease, the RX2ES to
If
no
errors are encoun-
and
sets
The
cleared;
R com-
it is not,
is
and
4.1
~4.4
Rf'ftd
Seo<.-tor
the sector buffer.
signifying the request for the sector address.
(011) - This function moves a sector
Upon
decoding this function, the
The
then loaded into the interface register by means
request for the track address.
is
then loaded into the interface register by
checked by the RX02.
register
and
the function is terminated. Otherwise, the RX02 moves
If
locates the specified sector, transfers the
data.
If
no errors occur, the done flag is set with the RX2ES in the interface register.
anytime during the execution
flags with
If
a deleted
4.1.4.5
assigned
RX2ES in the interface register. A detection
data
mark was encountered
Set Media Density (100) for RX28 Only - This function causes the entire diskette
to
a new density.
control reformats the diskette by writing new
ing
out
all
data
fields on the diskette. Before executing the
protective key word
of
The control starts at sector
writing the new
is
damaged, the control will
data
address mark
The
flag is tested
illegal,
the
error
and done flags are set with the RX2ES moved
data
of
the function, the function
at
the beginning
The
density bit (bit 3 RX2CS) indicates the new density
01001001 (ASCII'I').
1,
track 0 and reads the header information, then starts a write operation,
and
data
abort
the operation
an
data
field as well as
of
data from a specified track and sector to
RX8E/RX28
clears RX2ES
flag must be tested and cleared.
of
the
XDR
and
cleared by
XD
R command.
command.
the
The
host processor
The
legality
the
to
the sector buffer, computes
is
terminated by setting the
of
CRC
error
results in RX2ES bit
of
the desired
data
address marks (double
command
CRC
characters.
and
assert
DONE
and
ERROR.
and
sets the
The
sector address
TR
flag is set, signifying a
and
the track address
of
the track address
to
head
to
the specified track,
and
checks
If
an
error
TR
flag,
the interface
CRC
for the
error
occurs
and
done
11
being set.
field, RX2ES bit 5 is set.
to
be
rt>-
of
the diskette. The
or
single density) and zero-
the control will look for a
If
the header information
is
is
This operation takes
about
15
seconds
and
should
not
be interrupted.
interrupted, an illegal diskette has been generated which may have
diskette should again be completely reformatted.
4-11
If
for any reason the operation
data
marks
of
both
densities. This
is
Page 53
4.1.4.6 Maintenance Read Status (101) for RX28 Only - This function updates the drive ready and
of
drive density status
the density error bit and leaves the remainder
by loading the head on the selected drive (without changing head and reading position) with the first
header and data mark that randomly appears under the head. The control will then generate the
appropriate number
interface.
ation.
Upon completion
the selected drive, clears the
of
shift pulses which will transfer the RX2ES (error and status) register over the
of
the RX2ES transfer, the control asserts Done to complete the oper-
INIT
DONE
of
the RX2ES unchanged. The drive density
bit, updates the Unit Sel, possibly sets
is
updated
4.1.4.7 Read
to the RX8E interface register and sets the done flag. The RXES can then be read
register (XDR) command. The bits are defined
4.1.4.8 Write Deleted
that a deleted data mark
1.5.3.2).
function.
4.1.4.9 Read Error Code Function (111) - The read error code function can be used to retrieve explicit
error information upon detection
error code to the interface register and sets Done. The interface register can then be read via an XD R
command and the code interrogated to determine which type
Status (101) for RX8E Only - Upon decoding this function, the RX02 moves the RXES
by
the transfer data
in
Paragraph 4.1.3.6.
NOTE
The average time for this function is 250
sive
use of this function
reduced throughput.
Data
Sector (110) - This function
is
written prior
RX2ES bit 5 (Deleted Data) will be set in the interface register upon completion
Care should
The program must perform tbis function before a
read status because tbe error register is always modi-
by
fied
a read status function.
to
the data field rather than the normal data mark (Paragraph
of
the error flag. Upon receiving this function, the RX02 moves an
be
exercised in the use of this function.
will
NOTE
result
is
ms.
Exces-
in
substantially
identical to the write data function except
of
failure occurred (Paragraph 4.1.5).
of
the
4.1.4.10 Power Fail - There
senses a loss
invalid while power
When the RX02 senses the return
1.
2.
3.
4.
There
However, all other information
INIT
is
lOT
of
power, it will unload the head
is
low.
Move drive 1 head position mechanism to track
Clear any active error bits.
Read sector 1
Set Initialize Done bit
no guarantee that information being written at the time
is
a method
of
is
no actual function code associated with power fail. When the RX02
of
track 1
on
aborting an incomplete function (Paragraph 4.1.2.7).
and
abort all controller action. All status signals are
of
power, it will remove Done and begin a sequence to:
o.
of
drive 0 into the buffer.
of
the RX2ES, after which Done
the diskette will remain unaltered.
4-12
is
again asserted.
of
a power failure
will
be retrievable.
Page 54
4.1.S Error Recovery
4.1.S.1 RX8E - There are two error indications given by the RX8E system. The read status function
(Paragraph 4.1.4.7) will assemble the current contents
sampled to determine errors. The read error register function
of
the RXES (Paragraph 4.1.3.6), which can be
(Paragraph 4.1.4.9) can also be used to
retrieve explicit error information.
The results
when Done sets, indicating the completion
the contents
of
the read status function
of
the interface register to the PDP-8's AC.
or
the read error register function are in the interface register
of
the function. The
XDR
lOT
NOTE
A read status function is not necessary
if
the 0 RV
READY bit is not going to be interrogated because
the RXES is
the interface register
at
the com-
in
pletion of every function.
The error codes for the read error register function are presented below.
Octal
Code Error Code Meaning
0010 Drive 0 failed to see home
0020 Drive 1 failed to see home
0030 Found home when stepping
0040 Tried to access a track greater than
0050 Home was found before desired track was reached
0070 Desired sector could not be found after looking at
0110 More than 40
/-£s
and no SEP clock seen
on
Initialize.
on
Initialize.
out
10
tracks for
77
IN
IT
52
headers
0120 A preamble could not be found.
0130 Preamble found
0150 The header track address
0160
0170
0200
Too
many tries for an
Data
AM
CRC
error on reading the sector from the disk.
but
no
I/O
mark found within allowable time span
of
a good header does not compare with the desired track.
lOAM
(identifies header)
not found in allotted time
No
code appears in the ERREG.
0210 All parity errors
0220 Self diagnostic error on Initialize
0240 Density Error
must be issued to transfer
(2
revolutions)
4.1.S.2 RX28 - There are two error indications given by the RX28 system.
will
assemble the current contents
of
the RX2ES which can be sampled to determine errors. The read
error register function can also be used to retrieve explicit error information.
The results
when Done sets, indicating the completion
the contents
of
the read status function
of
the interface register to the PDP-8's AC.
or
the read error register function are in the interface register
of
the function. The
XDR
lOT
must be issued to transfer
NOTE
A read status function is not necessary
if
the DRV
ROY bit is not going to be interrogated because the
RX2ES is
of
every function.
in
the interface register
at
the completion
The error codes for the read error register function are presented below.
4-13
The
read status function
Page 55
Octal
Code Error Code Meaning
00
1 0 Drive 0 failed to see home on Initialize.
0020 Drive 1 failed to see home on Initialize.
0040 Tried to access a track greater than
76
0050 Home was found before desired track was reached.
0070 Desired sector could not be found after looking at
0110 More than
40
J.lS
and no SEP clock seen
52
headers
0120 A preamble could not be found.
0130 Preamble found
0150
0160
The header track address
Too many tries for an IDAM (identifies header)
but
no
ID
mark found within allowable time span
of
a good header does not compare with the desired track.
0170 Data AM not found in allotted time
0200 CRC error on reading the sector from the disk
0220
R/W
electronics failed maintenance mode test.
0240 Density error
0250 Wrong key word for Set Media Density command
presents a program for implementing a write, write deleted data, or a read function with interrupts turned off
preset the PTR
any number. Starting
Once the command
request (TR). When TR
while waiting for the controller to respond with another TR. When
ioaded and the AC
Y,
CTR
Y, and STR Y retry counters, which are set at
at
RETRY, the program tests for 8-or 12-bit mode, type of function, and drive.
is
loaded, the program waits in a loop for the controller to respond with transfer
is
set, the sector address
is
cieared again. The program loops to wait for the Done condition.
is
loaded and the AC
10
retries but can be changed to
is
cleared. The program loops
TR
is reset, the track address
(2
revolutions).
(IOF). The first 3 steps
is
flag
is
When the done
set.
If
the AC =0000, the error
status from the
RXES is saved and tested to determine the error (Paragraph 4.1.3.6). The RXES
not include the select drive ready bit.
PTRY retry counter.
have not occurred, a branch
set, the program checks for an error condition, indicated
is
a seek error; if bit
If
a parity error
If
a parity error persists after
is
made to RETRY and the sequence
11
of
the AC
is
detected, the program increments and tests the
10
tries, it
is
After a parity test, the program tests to see if the CRC error bit
program increments and tests the CTRY retry counter.
considered a hard error.
If
10
retries have not occurred, a branch
If
a CRC error persists after
is
set, the error
considered a hard error.
is
repeated.
is
set.
If
is
made to RETRY and the sequence
by
the error
is
a CRC error. Error
a CRC error
flag
If
10
retries
is
detected, the
10
retries, it
repeated.
A seek error
is
performed (Paragraph 4.1.2.8). During a write or write deleted data function, the sector buffer must
be refilled because INIT
previous contents of the sector buffer. The instruction sequence for a
in
Figure 4-11, but
increments and tests the
hard error.
is
assumed if neither a CRC nor a parity error
will
cause sector 1
is
presented in Figure 4-13. After the system has been initialized, the program
STR Y retry counter.
If
10
retries have not occurred, a branch
of
track 1
If
a seek error persists after
is
detected. An Initialize (INIT) instruction
of
drive 0 to be read, which
fill
buffer function
10
tries, it
is
made to RETRY and the sequence repeated.
will
destroy the
is
not included
is
considered a
4-14
being
will
is
Page 56
1
2
3
4
5
6
7
8
9
UI
11
:.2
13
14
15
:6
17
18
:iY
2'"
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
5;2
53
54
55
56
57
58
59
61!1
61
62
63
64
65
66
67
68
69
71
71
72
73
74
75
76
77
78
79
8'"
61
a2
83
84
85
86
87
88
89
91!1
91
92
93
94
95
96
97
98
6711
671U
6713
6714
67115
.716
6717
1231 1254
1231 3255
1212
1254
1213
325.
1204
12,4
120'
3257
.20.
1261
12~7
1261
1112:;'
1262
fIIZ11 6701
"212 6703
U13
5212
1214 1263
111215
6702
1216 7211
1217 6713
11122111
5217
1221 1264
.222
6712
ii2:3
naiO
1224
,7"5
1225 5224
122.
67"4
1227 74"2
11231
6702
11231
3265
.232
7315
11233
0265
1234
"'I
123'
5241
'236
2255
'237
'2U
12411
7412
1241
7Jel
1242
~265
1243 7651
1244 5251
IPROGRAMM I NG
I
ITHE
rOl.1.0WING
I
ITHE
STANDARO
I
LCO-6'"l
XDR-6712
STR.67a;J
SER-6714
SON-671115
HITRa.716
I~IT·6717
I
ITHE
rOl.1.0WING
I
ITO
WRITE.
I
iLOCATION
I
lIN 8
I
START.
I
IwRITE.
I
RC;TRY.
I
IwAIT
I
I
I~A[T
I
ITH~
I
IWAIT
I
Ilr
I
I
ITHE
I
ITHE
I
Ilr
Ilr
IIF'
I
I
IA
I
IINCREMENT
I
lAND
I
lOR
I
I
/THE
I
/TEST
I
TeRC.
OR
12
TAO
DCA
TAO
DCA
TAO
DCA
WRITE
TAO
TAO
TAO
L.CO
rOR
STA
JH"
TAO
XOII
CI.A
rOR
nA
JMP
TAD
XOR
Ci,.A
SECTOR
rOR
THE
rUNCTION
ERROR
CONTENTS
TRANsrER
TRANsrER
TRANsrER
XOR
DCA
CL.I.
AND
SNA
JM"
PARITV
RETRY
UNTIL.
IS!
JI1P
MI.T
ERROR
rOA A CRC
CLI.
AND
SNA
JH'
SECTORi
THE
THE
THE
ERROR
THE
EItAHPLES
ARE
RXll
lOT
DEVICE
IS A
WRITE
DELETED
or
BIT
HODE
KHlI
PTRy
ICH1I
CTRy
KI111
STRy
DELETED
MODE
COMMAND
UNIT
TRANsrER
,-1
SECTOA
TRANsrER
,-1
TRACK
AND
TRACK
DONE
rLAC
HAS
fLAG
[S
SET
or
THE
REGISTER
REGISTEA
REGISTER
ASTATUS
CLA
lAC
ASTATUS
Cl'
TCRC
HAS
AND
TEST
THE"
COHMAND " UNTIL.
PTRY
COUNTER
PTRY
RETRY
fL.AG
[S
SET
ERROR
CLA
lAC
'STATUS
CLA
SEEK
rOR
THE
RU/RXIll
lOT
COOE
CODE
15
IIOT
TO
LOAU
IIOT
TO
LOAD
IIOT
TO
SKIP
IIOT
TO
SKIP
IIOT
TO
SKIP
I
CAC)
• I
IIOT
TO
INITIII.IAE
PROGRAMMING
TRACK
DATA.
REQUEST
REQUEST
ADDRESSES
COHPI.ETEO
TRA~S'ER
BITS
BIT
BIT
DATA.
AND
11
1.
"T"
CHECK
18.
EXAMPI.!
OR
ITHE
OR
READ
F'LAC
F'LAC
HAVE
5UCCEssrULLY
RECISTER
AND
• 1
a 1
RAL
OCCURED
THE
'ARITY
ERROR
OVERF'LOWS
BUT
THE
ERMOR
F'LEX
ISLE 0 ISKETTE
DEF'I~lTIO~S
67'-
THE
COMMAND.
OR
READ
THE
ON
A
TRA~SF'ER
ON
AN
ERRnR
ON
THE
THE
or
THE
AT
SECTOR
CONTENTS
DONE
ENABLE
RxI/RX.l
P~OTOCOL
or
PROC;~A"
I
IPARITY
INTERRUPT
REAU
ICRC
ISEEIC
I'
I 4
IDATA,
I
IIOT
THEN
TAANsrEA
1101
IWAIT
I 1
IIOT
leLA
THEN
T~A~S'ER
110T
IWAIT
I •
IIOT
11;;
YEEN
TRANS'ERR~D
'OR
ANY
ERRORI
C"O
ERROR
IIOT
IWAIT
IIOT
I
IS
THE
ERROR
11
- I
THEN
THEN A CRC
THEN A PARITY
METRY
THE
PANITY
TO
IS
10HE
ERROR
ERROR
IGET
lAND
I I
ITEIT
ISICI'
I"OT A PARITY
COUNTER
ERAOR
III
IRETAY
IHARD
NOT A PARITY
I 1
ITEST
ISKIP
INDT A CRC -HUST
CAC)
IS
REQUEST
0"1
CAC)
SUBSYSTEH
THE
REGISTER
F'LAG
TRAHSF'ER
F'LAG
rLAG
REQUIRED
"5"
(THE
CONTENTS
1.0CATIO~
-121
RETRy
RETRY
COUNTER
RETRY
COUNTER
"
la-SIT.
I'
WRITE.
OR 6 Ir
21
I'
UNIT
21.
67Xl
TO
THE
SECTOR
67'X3
TO
rOR
TRANsrEA
TO
3110CULl
TO
~OAO
IECAUSE
THE
TRACK
ADDAESS
"XI
TO
rD.
TRANSfER
TO
11.COCTA~)
TO
~O'O
....
i[C;AVSl
TO
THE
RXll
'LAC)
THEN
67X1
TO
'0.
DO~E
67X4
IA~PLES
OK -COHPLtTEO
STATUS
TY,E
0'
HAS
PRoGRAH
IEEIC
oceURED.
MAS
OCCUREO
CO"TENTS
SAVE
'OR
PARITY
IF'
PARITY
I.OCATION • PTRY
AECOvERS
THE
COMMAND
'ARITY
ERROR
'OR A CRC
Ir A CRe
COMMAND
• 1
MEANS
or
TRACKI
COUNTER
111
I'
14
I'
WRITE
REAO
21
I'
LOAD
THE
ADDAESS
REQUEST
SECTOR
lOT
XOA
REQUEST
TRACK
1
10
Aoil 1)0,,5"" I
VIA
HALT
rLAG
CRROR
ERROR
Or
TA
CERROR
,RROR
ERROR
ERROR
-
ERROR
ERROR
ERROR
IE A
ON
PROGRAM
I-SIT
DELETED
UNIT
1
CO~HAND
rL.AC
DOESN'T
THE
XOR
'I.AG
HAS
OCCURED.
STATUS)
~AY8E
"
SEEK
lOT
CRC
Figure
4-11
RX8E Write/Write Deleted
4-15
Data/Read
Example (Sheet 1
of
2)
Page 57
99
1011J
101
102
103
104
105
106
107
124'
138
1246
139
1247
118
111
112
113
114
115
1H>
117
118
119
12511J
121
121
l22
123
l24
125
126
11251
127
11252
128
11253
129
l311l
131
1254
132
133
134
135
136
125'
137
1IJ256
8257
138
139
Hill
141
142
143
8261
1.44
145
146
147
148
149 0261
151
151
152
153
154
l55
.262
156
157
.:.58
159
1IJ263
...
6'"
161
162
163
1264
164
165
166
167
168
.169
17'"
.i.
71
172
173
22'6
'2.6
74.2
6717
22'7
'2"6
7482
7771
..,311JI
~0.11J
iUII
01'1'
~011l1
0311
02'11
~0111J
IA
CRC
ERROR
I
IINCREMENT
I
lAND
I
lOR
UNTI~
I
I
ITHE
I
ITHE
I
'THERErDRE
I
(CONTENTS
I
I
SEEK.
I
IINCREMENT
I
lAND
I
lOR
UNTIL
I
ITHE
I
KI1U.
I
ITHE
I
PTRY.
CTRy.
STRY.
I
IPROGRAM
'CO~TAINS A 11~
,
~100E.
I
IPROGRAM
I
IWRITE
,
COMI14'lO,
,
IPROGRAI1
I
IUNIT
I
T
•
u:u
I
!pROCRAM
I
SECTOR.
I
IPROGRAM
I
TRACI(.
I
IPROGRAM
1
IAT
THE
I
ItRROR
I
I
"STATUS,
HAS
AND
RETRY
THE
THE
CTRY
lSI
CTRY
.1M'
RETRY
H~T
ERROR
rLAG
ERROR
IS
CNOT] A 'ARITY
IS
MUST
or
INIT
AND
RETRY
THE
THE
CTRY
lSi
STRY
.111'
RETRY
H~T
rOLLowING
-u
rOLLOWING 3 PROGRAM
e
II
III
LOCATION"
LOCATION"
(4),
WRITE
I
~OCATION
IIJ
CI).
OR
I.OCAT
I
II
LOCATION"
I!
~OC'TION
DETECTION
STATUS
1
OCCURED
TEST
THE
CRC
COMMAND
UNTI~
COUNTER
OVERr~OWS
IS
SET
BE A SEEK
THE
TRANsrER
TEST
THE
SEEK
COMMAND
UNTI~
COUNTER
OVERr~ows
PROGRAI1
~OCATIONS
~OCATIONS
MODE"
Ir
DE~ETED
" UNIT"
UNIT
ON
"
"
or
CONTAINS
e-BIT
110DE
COMMAND"
DATA
CONTAINS
1
(21)
SECTOR " CONTA
TRACK"
.STATUS " CONTAINS
AN
ERROR
ERROR
RETMY
THE
CRC
ERROR
ERROR
REGISTER
ERROR
THE
SEEK
ARE
CONTAINS
(14).
I HI
CONTAINS
(ERROR
COUNTER
ERROR
RECOYERS
TO
I
AND
IS
CNOT] A CRC
MITS
11.
RETRY
COUNTER
ERROR
TO
I
REFERENCED
ARE
THE
ERROR
A •
Ir
12-11'
THE
COI1MA~D
oR
READ
THE
UNIT
THE
SECTOR
THE
TRACK
THE
CONTE~TS
r~AG
•
'ROGRAM
IRETRY
IHARO
AND
11 •
IIOT 67X7
PROGRAM
RECOVERS
IRETRY
IHARD
WITHIN
RETRY
IPARITY
ICAC
ERROR
ISEEI(
MODE.
I •
OR
TO
(6).
OR
E~'TY
I
4.
14.
DESIGNATION
1
III,
OR
AOOIlESS
1
TO
I
ADDRLSS
I I
TO
0'
1)
WHICH
CORRESPONDS
ISTATUS
~OCATION
TWE
CRC
ERROR
I)
TilE
SEEK
TWIS
COUNTERS
ERROR
ERROR
OR
111
BE
2111
32
,.
114
TWE
AT
•
COMMAND
ERROR
TO
INITIILIAr
LOCATION • STRY
COMMAND
ERROR
EXAMPLE
RETRY
RrTRY
COUNTER
RETRY
ISSUEO
VIA
BUrrER
OR
••
OR
(1
TO
32
OCTAL
TO
114
OCTA~)
OCTA~
T_ANsrER
TO
ERROR
CTRY
"
"
COUNTER
COUNTER
THE
~CO
(2)
2
OCTA~)
REGISTER
THE
lOT
Figure
4-11
RX8E
Write/Write
4.1.6.2 Empty Buffer Function - Figure
function with interrupts
set in
the
AC
to
indicate
program
to
wait for another
jumps
to
from the sector buffer. When
set, the
program
retries 10 times.
problem in the interface
turned
an
EMPTY
TR.
This process continues until either
off (lOF). The first instruction sets the number
Empty Buffer command and the
to
transfer a word to the
Done
is set, the program tests
If
the
cable.
Deleted
4-12
shows a program for implementing
Data/Read
Example (Sheet 2
command
BUFFER
error persists, a
location. A
64
words or
to
see
hard
if
the error bit
parity
4-16
of
is
loaded. When
jump
is
128
bytes have been
is
error
is
assumed, indicating a
of
2)
an
empty buffer
retries
at
10. A 2
TR
is set. the
is
made back to loop
em
ptied
set. If the error bit is
Page 58
228
229
230
231
232
233
234
235
236
237
238
239
24e
241
242
243
244
245
246
247
248
249
2"
2'1
252
253
254
2"
256
257
258
259
2U
261
262
263
264
26'
266
267
261
269
27111
211
272
273
214
276
277
278
219
2U
281
282
283
284
285
1312
12'4
1313 3255
11314
1377
131'
3011
1316
12611
.:517
1261
IUZI
67n
1321 6113
1U22 7418
'323
un
1324
61.,
'n' 5274
67'4
1326
1327 7412
1:53.
22"
13:51
'314
1332
7482
UJ3
6712
1:5J4 3418
UJ'
'321
13317
1311
a
40111
1iJ41111
Utili
run
ITHt
rO~~OWING
I
IEMPTY
T~t
I
IEMPTY
I
EtNTRY,
e::stTuP,
I
IWAIT
I
10ATA
I
IWAIT
I
ITESTING
I
ELOOP,
I
ITHE
I
ITEIT
I
I
IINCREMENT
I
lAND
I
lOR
I
I
ITHE
I
11~~N~f~~
I
EMPTY,
SECTOR
THE
SECTOR
TAD
DCA
TAD
OCA
TAD
TAD
~CD
rOR A TR'NsrER
BurrER
rOR A DONE
THE
STR
SJ(P
.,11'11'
SON
JI~'"
DONE
'LAG
ro.
ANV
AND
RETRV
THE
U~TIL
THE
III
",I'll'
HI.
T
TRANS'ER
~.TA
XgR
DCA
JHI'
!tACt
ITHE
rOLLOWING
I
BurrtR, I
e8u,rER+2U
s
IS A PROGRAMMING
BurrER
or
BurrER
or
KMU
PTRy
(BUrrtR-l)
Al.
HOOt
CO"HAND
REQUEST
rROM
THE
RXll
r~AG
TO
INDICATE
ERROR
r~AG
EHPTV
~.LulJ'"
IS
SET
ERRORS
(ONLY
TEST
THE
PARITY
COMMAND
PTRV
PTRy
nETul'
REQUEST
10
I
AUI
ELOOP
PROGRAM
UNTI~
COUNTER
'I.AG
'~E
PAOGRAMS
LOCATIONS
rXAMP~E
64
12-BIT
WORDS
128
a-BIT
BYTtS
r~AG
BtrORE
SECTOR
BurrER
THE
COMPLETION
ERROR
POSSIILE
ERROR
HETRY
THE
ERROH
OVERr~oWs
15
SET
~.t.
ARE
TO
BUffER
RESERVED
or
PROTOCO~
(12
81T
(8
BIT
I 8
IPARITY
IP.OCR'MI
IAUTO
I •
I 2
IIOT
TRANsrERRINC
ITEIT
ITR
ITR
ITE'T
INOT
II A PARITY
PROGRAM
RECOVERS
•
IRETRV
IHARD
'~OM
T~E
IrRO~
ITO
ILOOI'
ro.
REQUIRED
MODtl,
MODE)
TRYS
ERRO.
INDEX
I'll-BIT,
MEANI
TO
ISSUE
DATA
Or
THE
EMPTY
ro_
~OT
lET,
rl.AO
'OR
T.,
ERROR
LOCATION"
TO
PA_ITY
-.'1
THE
THE
PROC_AMS
UNTI~
THE
'ROCRA~S
TO
O.
TO
EMPTy
RETRV
DATA
REGISTER
EM'TY
THE
TO
THE
BurrER
TR
'~AG
TEST
lET
DO~E
OR
DONE
I
PTRV
EMPTY
ERROR
SECTOR
RX'l
SECTOR
THE
OAT A BurrER
THE
COUNTER
BUrrER
11.
Ir I 8IT
Bu,rER
COMMAND
PROGRAMS
COM"AND
'OR
'LA'
VET
"
THE
lECTOR
Bu"ER
DATA
DONE
'LAC
SECTOR
l'
DONE
BU"ER
BurrER
SETS
BurrER
PRIOR
rLAG
IU"ER
TO
Figure 4-12
RX8E
Empty
4.1.6.3 Fill Buffer Function - Figure 4-13 presents a
very similar
to
the empty buffer example.
4.1.7 RX28 Programming Examples
and
Figures 4-14, 4-15,
for fill buffer functions,
to the
RX8E
programming examples described in Paragraph 4.1.6. Basically, there are two differences
between the RX8E
bit mode
command
as
there
of
operation, it
word (see location 0225 in Figure 4-14); second, for the RX28, there
is
in the RX8E; instead there
4-16 are programming examples for write, write deleted
and
for empty buffer functions, respectively. These examples are very similar
and
RX28 examples. First, for
is
transferred in two 8-bit words using an
is
a density
the
error
4-17
Buffer Example
program
to implement a fill buffer function. It
RX28 when a
cpack.
command
XDR
data
or
read functions,
is
transferred in the
to
transfer the second
is
no parity
error
is
8-
check
Page 59
174
175
176
177
178
179
180
181
182
183
18<4
185
186
187
188
189
190
191
192
193
19.
195
196
197
198
199
200
201
2:212
203
20.
21!J5
2U
207
208
209
2U
211
212
213
2H
215
216
217
218
219
220
221
222
223
22<4
225
226
227
1611'111
111266
12'.
11267
3255
8271!J
1377
8271
3111111
111272 126111
1273
671111
1274 6713
HlII
1127'
8276
nllJ6
1277
6785
8308
527.
8301
678.
831112
H12
un
2255
.30.
1271
13111'
Ht2
8306
HlII
131111
6712
1311
721111
1311
'2"
IT~E
rO~~OWING
I
IrlLL
THE
I
IrlLL
I
A
1.111-19
I
F"ENTRY,
SETUP,
I
IWAIT
I
10ATA
I
IWAIT
I
ITESTING
I
L.OOP,
I
ITHE
I
ITEST
I
I
IINCREI1ENT
I
lAND
I
lOR
I
I
ITHE
I
ITRANS,ER
I
F"ILL,
SECTOR
THE
SECTOR
TAO
DCA
TAD
DCA
TAD
~CD
rOR A TRANsrER
Bu,rER
rOR A DONE
THE
SlR
SKP
JHP
SDN
JHP
DONE
'LAG
rOR
ANV
RETRV
UNTIL
THE
iii
JH'
HI.T
TRANlrER
DATA
TAO I A10
XOR
CI.A
JHP
IS A PROGRAMMING
BurrER
WITH
BurrER
WITH
Kl1l1
'TRy
(aurrER-1)
Al'
MoDE
REQUEST
TO
THE
RX81
SECTOR
rLAG
TO
I~OICATE
ERROR
rLAG
'II.L
~OOP
IS
SET
ERRORS
(ONLY
AND
TEIT
THE
PARITV
THE
COMMAND
PTRV
PiAY
SETUP
REQUEIT
,ROM
U~TIL
COUNTER
'LAG
TME
PROGRAMS
LOOP
EXAHP~E
6.
12-BIT
128
8-BIT
rLAG
B£roR£
BurrER
THE
ERROR
POSSII~E
ERROR
THE
ERROR
OV£RrLOwI
IS
lET
DATA
or
PROTOCO~
WORDS
C12
lIT
IYTES
(8
lIT
I 8
IPARITY
IPROGRAMI
IAUTO
I I
IIOT
TRANsrERRING
COMP~ETION
0'
ITt.T
ITA
IU
ITEST
INOT
IS A PARITV
ITEIT
INO
ME
TRY
PROGRAH
RECOYERI
TO
I
IRETRY
IHARO
BU,rER
TO
THE
IVIA
ITO
IC~A
11.00'
REQUIREO
MODC),
~OOEJ
TRYS
I'
TO
TME
NOT
',-AG
TA,
TO
ERROR
DATA
INDEX
12-IIT.
ISSUE
DATA
'IL~
'OR
TR
lET,
SET
'OR
DONE
OR
TO
OR
'ILL
THE
RETRV
BurrER
REGISTER
1.1
THE
r'OM
THE
BurrtR
rLAG
TEST
r~'G
DONE
YET
ERRoR)
'OR
THE
-
ERROR
OK
URORS
LOCATION W PTRV
TO
rl~L
SECTOR
INDEx
-Xll
TME
THE
ERROR
IU"ER
REGISTER
SECTOR
lOT
XOR
DONE
PA_ITY
RXll
AUTO
TME
IECAuIE
UNTIL
SECTOR
COUNTER
l'
Ir I lIT
COMMAND
PROGAAMS
COMMAND
'OR
DONE
r~AG
"
lECTOR
lurrER
11
BurrER
DOESN'T
rLAG
lETS
8urrER
'RIOR
rloAG
TO
Figure 4-13 RX8E Fill Buffer Example
4-18
Page 60
(l,Hr.t>
",101
.,?~?
1I11)
iliU
li!O'5
?20t.
/I~47
Jili!"
USt
S
2
l'i
~l5'1
0i!54
IIH5
!spa"
II'
lJII
'03l
U'i
)UI
71131
~5I!
7
.5i!
5?55
n'~
Sllb
7eU
Ip'o;.a"I~;
I
IT~E
I
IT~E
I
LCD-
11'111-
ITh
IEh
IIl~
t","u
TflltT.
I
IT~E
,
iTJ
I
ILlCaTIO'"
I
I"TIUCC")
I
ti""
STUT,
I
IW'I'E,
I
;E'~V,
I
'NAyT
I
,"a' "It,
I
IN"T
I
I
,T
.. ' CJI1I4A"'\l
I
'.A['
I
I
IT
~£
I
/T~E
I
II"
II'
II'
I
E.AHPLES
,JLLOwIN; A.E
5TA~OARO
'JLLOwl"';
~'ITE,
WRITE
"SfCTO."l
TN
TAn
IlCA
TAil
DCa
..,NtH
10'11
JM.
TAn
TaO
TAli
nc,
TAr'
LCD
Tan
''''1'1
JI4P
.""
CLL
UL
III
Ital.
IU
J'"
..
".
'UI
TltA~S'E.
IT.
'Olt
T"A~I'E,
SU
J".
TA"
'0'
CLA
'I'll
n~'IIE
Il''''
J"'.
If'
HLT
EnOR
FL';
~ofItOW
STaTuS
.
STATuS
STUUS
.
-
"&TUA
XOt
DCa
lAC
,,",,
Sflla
e~A
J"p
ISZ
J'"
141.
T
'0_
T~E
••
il
JOT
lOT
OEVICE
CJOE
II:H
Ill'
lIlT
II,T
~I'T
ICAChll
It"
IS
a
P.O;-A~r~G
OELETEO
PaTa,
0'
T.AeW
DELETED
DATa.
..1
~o'E
II'U
..
CU
....
'l!l~Ep
C:l'1"a
..
o
C,'1~A':"
:~""'U,jO
(I'~
oIIaUT.
••
1
~fQU£ST
~EQUEIT
••
oTnCJL
,uS
IIff'!
,~,
C
..
£t~
F:'II
..1
r,
SfT
IS
L.Ot"'!"
T
04EIj
C~C
f~E'II
OE~Sl
Sf.EK
PI~I1~
T'Y
l
~Il:l~
I
l0
T '4!'II
11
AST"')S
as'uus
)EIIS(T IIII'
CT~V
~!:T~v
••
ZI/E
CO)!
nE'TNITIO~S
II
.,S-
LOA')
Tl
LOAO
TJ
IKIP
TJ
TJ
IKTP
ICI.
Tl
l",TfRRUpT EN'tiLE
t"'TTJALI%E
Tl
f.a~PLE
O'
IIEAU
.,.
CTH!
I;ET
ISET
:I.
MEAD
l~aKE
"II'
'"
t,
IGET
IGET
InE
....
IsaY,.
/GET
ILl'O
IGE T CO"''',
lOlA'
IIII'
IIII'
I;ET
IClI1MaN~
IQ
!!tTS
I~AIT
'LOO. U
/1~'''~
'~'.
T~E'I
IT:'I'
ILlJ"
"
HI
IL.
HI'I
ICLEU
II'L'l
T~r'll
lAC
(I'
II."IP
I~
'n
ILllll
ICLEU
C,I'·.Lt
e~lIl'S
In'
ILln. u ..
II"
I~:l
T'lf.
I
~
'CtLlUf'
£UOI
ilCr.Ulto
oce.I·EO
IGET
ISTATUS
"~O
l'4UK
II'
I!'.nll
JCff"
II~
I>4ALT
FLEII~~!
....
UTY
HS
!i-AIT
FRNOWS
,,,a,,,I'ER
'C
AC
IIETl/lO
DISKETTE
THE
C::I"'~aNO,
OR
NEAO
n~
0'" t
I'I~
uP
OT
'UNCTIO",
THE
T,A"'S'ER
••
OR
'LA;
DO~E
FLAG
TH~
RI
0'
THE
PROTOCOL
AT
SECTOM
CONTENTS
RtTN. CONI'
SUitE
Ii.""
n.I~E
ENTTIIE
CO""'a'lf'
CO~wa~O
IT
uPPt~ 0 ~ITS
~n~ A T~A~S'E.
S£::·l~
T!la"'Sll'll!
Til liM"
UNTIl.
Jl
Tl1t
TIANIII'!.
mJ
U"TIL Til
III
THI;.
ft.".
TO
Tn
0'
ANT
t.C
RETH.
DRIV!
wa"
110rf.,
COD!
pA,aMETERS, u'llIT,
COI1"'a",o
ME'ISTE~
'III:'
~_dlT
MQUE
SwlF' ' ....
0
Dn~E
LCD
_lR~
TO
llF
At:
...
TrL
til,
,.<.J,~,.
IlCTO'
0'11
T"A~I'EIl
TW.
(;)(;UL)
stCIO.
At
TWAC_
"''1SFt''
(OCTAL)
"'atll
,t
>,:'1";
li4/
PO-I
00"'£
Tr~
nUNf
hI"
IlN
£.to.
~ALT
SO
"EliISTER
CUNTf'lTS
SAvE
aT
IT
FOR
tMC
NUT
otrJQEO
•
III
COUo;T
OF
OO"f
E!lIlO. a
E~UAl
SO
Twt
...
jF
RfTIII!:S
ell'
CHEe~
TW!:'II
rAC)
ts
TRaNS'!
••
.EQUEST
'LAG
O"ICAC)_,
SUaS.STf~
REQUIRED
"S·
CTHE
P'OG,a~
COU~T
READY
'OR
!I'Ia
I'
00
Ih3TT
'R,TocnL
OF
L~~!~
~f~Uf~T
A'~w
"'~;.
A)D~fSS
'l~,J:J!,5T
a.,,~!,~
.(1J!:ST
'L,t;
II'l
at:
U''''''flt
tT
In:)
ern
TO
SKIP
'0;
IF
~,
"
THE
COH"aND
F.;rSTE,
"EANS
0'"
CO~TE~'S
~,
p.OGRa~
lOCaTIO",
US
II.'1TT
""r,
.,
"~'Tl"leJl
'£GYST!"
fRQIfOIf
I'IE"SIH
.
'GA
III
T~"'"
(-,
!tell'
Figure 4-14
RX28 Write/Write Deleted
(Sheet 1
of
2)
4-19
Data/Read
Example
Page 61
'5
'I,
"
••
'I.
1111
lit
til
tn
Ie.
1'5
lh
111
UI
In
III
111
tll
113
114
115
It?
'"
Itt
11.
UP
Ut
tn
123
121
US
lh
U7
Us
tn
lSI!
13t
Il,
113
13.
us
th
In
t38
13'
1611'
SIt
tl,
iii)
II.
I'S
..
,
,I?
U.
In
Up.
l!t
IS'
153
154
!!'S
lh
151
IS8
15.
1'"
1'1
lU
I.,
lU
lU
,
..
1"
lU
1..,
11'"
1317
US5
7aU
0256
1125,
IS"
7,la
u."
IUt
'IU
un
PlU
uu
1.'1
12"
5".
,.U
""~
Uh
"'21
IIln
II'
II?
eul'!
1111'>4
Ian
""t
IlIlIl
U',
UU
""'3
IT~(
('ROR
I
10,(1
(XIIT
I
II(f~
!fC1US'
I
10.
IT
COULD
I
II'
C~ULO
I
II!".(
I
O[IIS".
I
IT~!
I
1115JE
I
lAliO
I
Snk.
I
IC'Ns,aNTS
I
1111111,
II
I
IE"'I
I
CTI.,
ITn.
fT'
I
"'0;1,04
I
Mon,
I
IlJC.TION
If)
I
I
ILJrUIO'"
I
I
I
I
I
I
Olllv!"
I
lL:lr&Tlnlll
!
CO"041"",
I
iL,JrifiClJoi
I
IECT:!I,
I
II.
I
nace,
I
IllCU
IluurEI
'''EGUn,'
I
••
E4MO.
TR.
11",
••
l'
'C" I ON
"rus.
lN
I!TI.
'UD
.
In"l
W!
CLA
An
It.l!)
IU
MLT
·11
,
II'
•
91
11'.
l".
.",.
II'
~
"
WA'
N)T
T~!N
~A~T.
WE
".'OT
Sf
T~!
8E
SO~E
OTH'I
~.OC[!O.
lAC
CI.L
ASUTUS
MUST
~aVE
INITIA~tZ[
A(;Ar~
UIEO
e.
..
"
COU~T!~S
LOCA'ln~
.fu~CUIi.
,,,.
f
·lITATJ~·
If
-ME
"
"~OOE·
'II~CTlO~
CONTAJNS , I'
J~l'
J",IT t SINILE
J
...
1T
J
...
rT
....
[I'llt
....
)~
...
!.
A C.C
WIONG
'T~
8[!~
TO
'"IS
~
VI
1
IS
OCCUltS.
IS SET.
I'
SIN;LE
OOU-l!
~OU!LE
US!,
I'
cw!ce
TMII
E""
TO
lET
T~(
,ISC!'T!
.tA"~
BUT
lAC
lAC
II~
II'
IM'lT
1
SE!K
ORrV!
SO
IIOT
IKE!P
II!'A.
"~EN
CO"
IC~C
IS!'-_
"ILl
C~~T,rNS
'f~S'TY
~!"'S'T.
)tIlS1fV
'E~SI'
TJ
Jl
T~
STOlE
T~E
'OA
WRUN&
OCCUI'
~J'HT
~AS
~£E~
WE
'MoU~D
• I
•
,e,
STATU'
NOT
~tTw
E.'nl
Jf
W!
START
TO
COUNT
CQ~~AN~
HALT
!ARoI uET".
£RNO.
'NI)
3
I'
l'.IIT
-'JT~,
•
JCT&L
T~E
STATUi
ot~'IT
IT
COULD
n!NstT.
INSERT!O
CNDw
~as.
fOR
WOND
DE~SIT.
IlllT.ALIZf
14
I'
E'.OA
OENSIT. EI'OR
~E
GOT
'ROM
T~ACK
0'
SE!K
Ie
RETRy
fl4PTY
BJ"E~
~OD[,
JF
~RITE
CJNT~NTS
15
IN
TH!
••
I'
JJIT
IN
T~!
r~
WH1T
caUSED
OE~SI'.
SET
S~I'
~UST
THIS
'AR.
0
••
r.,nl.
Tt~ES
COUNTER
COJ~TER
RETvR
O~ l~~
nE~(TE'
OF
T~E
T'A~SF'~
DENSIT.
CO~~A~O
THE
HA~!
OlrvE
IT
ERtOR
8[
SEEK
lIT
UT
i.ClIINTfR
I'
8.~IT
o,T.,
ST'T~5
EAROR
-OR~
OR
E"OA
IN
Olt
AC
~~OE
Figure
4-14
RX28 Write/Write Deleted
(Sheet 2 of
2)
4-20
Data/Read
Example
Page 62
,,"
,q
."
,.,
..
Ii;
IT~e
'J~LO~l~G
I
I'I~~
THE
Alhl:>
I
'EIIT'V,
IF.'d~,
I
IWIIT
rn.
I
IllAU
~IIH''4
I
I~II'
rnw
I
"t~"~~
,
t,
,~
I
1
I'
•• " ...
I
IU'"
'(.If
I
IT~np.III'
I
" .. ,-"TW.,
I
'''~
JIIi'lL
I
I
I'~~
T.I~S'tl
I
""~"l'
I
J J
..
I.,
Slr.'O~
TAl)
M"I~
~T"Y
"C.
(,\u,,!:t-,
'An
DCA
'II
104"1'[
TA"
TAn
OCA
Ho
LCn
TA"
"
..
n
Sill
A
JM'
TAn
rLL
It'L
ItT
I.
UL
~TII
JM.
.".
ru
"
""IIIS,'1t
ro r .. 1 ,.a\
I
n,lIi£
'.'
("J,
lin
!Ie'
J,..
••
-,
'It, iii
J
...
,,011
,
'L'~
••
,.
.t.
oiL
T
"I'
flo4!
TM,
In
n~,
J'.'
UT'J'
1041.
T
"AT a ,.,
',n
1
15
A
p~OGRA~~I~.
aJ"tq
)
:>qhE"
:'''''A~O
C''4'''~O
.-1
.I~J!"
'~_G
,,'Olt'
S~C'"'
11,1'''.
,~.~ " t~~I~'TI
,~,~
~~
II
stT
r
...
"",'\
1I,f
'HE
111"1'
r.J"~I\j"
JilT,,,
IH.,
CO,IIIi""'IV'''~~''S
'f~Jrl'
'I.Ar.
..
,~!
''',r.''~1
,\.t
T~[
't"y
UII"."~
f"l
'.1III"1t
IS
I!f
",T"
I •
TWYS
RETlty
t~DfW
IF
li-8IT,
DENSITY
"SSE~SLEn
COMMAND
COMMA~O
S"YEO
'0.
'-8IT
tl-BIT
SAYED
G
MSII'S
LS"',
10
S-IP
'R
NOT
Sfco~n
T.E
TO
DATA
CO"'4&IIIO
'.It'
MODE
104001
CO
wO'D
(lilTS
~ET
AC
IE~.O~
IP~OGRAIo4S
IAJTQ
II
Ir.£'
ISTOltE
IGET
IllSUE
IGET
IMAIe
IT'
IT'
IGET
lIOn
IC~.M'Nn
I.
IIJI
II'
IISSUE
Ir~E'R
"""'I'FRNIIliG
r.O""~fflOIll
IT
IH
If"
'TIlT
I",a'
ITIIT
I~J
.tCiJ~I"1
Ttl
l_lT"Y
1104'''0
"U~".
IvIA
ITO
IC~.
IL.Jnp
0'
liT
'0'
'.
,.11'
IL
T,
'ur.
11:,
'0'
n~""
TIl,
O'
'0-
'M!
(1tIHllt'
•
~UC"fU\j
Tn
"I.I.
'"ltITY
Tn
THE
I'JTO
r
...
T~E
Itlll
"!t'UI!
U~TJL
'I~L
THE
ClU~T!R
au,,£q
'E3IST~.
IIIJ~
I' 8 AIT
COM"'ANO
TO
AC
TO
._
.ODE
SET
00
GO
STIt"IGHT
....
AIIID
~O
(SITS
1il,I,i,J)
OOwlll
TO
1!".t~,II)
Oil
T.'~S'f.
LOO'
U~TJL
CO.MAIIIJ
AN~
nO
JA"
"0.
TM'
"L~
'~.G
fUT
,~,
'l'~
00111
.r,
r~~n.
'L'r,
!'Ie
",T".
T.l
lie
E'.O'
••
al
IECT~~
ou
ItE!ilSTU
S!CTO'
S~"(.
flT
lOA
Tl<le:
,)ONE
SEr.To.
'V'F,.
"
8.MOOE
TO
..
D
0'
THE
U'
'IAOY
tT
_n'"
,ILL
1.00'
'.1
"0
4~"(H
C",..
1)('IIl,
'~'G
Tn
••
U"l"
IU"E'
I"
OO'I~'T
'"Ar;
snl
P~OTOCOL
'ILL
LOOP
Ar.
,,011
••
'.1
..
AIIIO
'~Jn~
fU
MA-II13
Figure 4-15
RX28 Fill Buffer Example
4-21
Page 63
un
114111
IIlI
8012
un
..
U
15"
1'571
IU"
un
5'1
5UI
nU
11'2
lion
al"
SiP
;
1111
IT~[
'OLLOwJ"'.
I
I[~"Y
TME
HIIT'Y,
'IETJ',
"1;[
I
IW'IT
I
10'T'
I
Iw'lT
I
ITEITtllG
I
[1.::10',
I
IT~E
I
ITEST
I
I
II~CII!~!"'T
I
IAIIO
,
In.
I
IT~!
,
!"!~!'f"
I
!""T',
IT~E
I
I!U"U,
I[CTOA
Tan
IC"U
I)CA
ETI,
T'o
(IU"EI.l'
OU
'U
TAn
"OO[
T'n
'J"'CJ
hI)
DCA
TAO
Lt~
TaO
hO
IN,
CIo'
JM,
TaO
CLL
IITL
AT
I.
ilL
ITA
JM,
1101
CI.'
JM'
'01
,
T'ANS,E'
SU"[R
,ItO"
'01 A OO"'E
TH[
[1110.
STII
IU
JM,
["plY
SON
JM,
ELOO'
nJNE
'LA;
'OA
ANY
AN,
IIEflY fH!
JNfl1.
THE
ISZET"
JHP
nET
MI.'
T.ANS,EI
~."
lOll
oeA
1
J""
[1.00'
'AGE
'JLLONI~;
~
*BU'FEA
I
I'
,
'IOGAA~MINl
IU"!t
..
OIIV[P
CO"
.. , ...
C,""ANO
CO
.... A
Ctla
••
1
TM[
'L';
'LA;
15
SET
EIIIoA,
T!I'
TH[
CO~~'ND
[TIIy
COU~T!.
J,
A!2u!,f
Tl
f~,
it!
'"0'"''''
••
,.
!)
...
O
II(OUEsT
,~,;
.1111
S!CfO'
TO
IIIOJC"E
!A.o
••
tTII.
UNft~
T~e
O~["LO~S
'I.AG
IS
SET
'''O'''''S
0",
1.0tATID~1
[.'~PLt
.E'OI~
IU"EI
TME
COHP~ETION
'IOGIIA"
flllDII
AICOY!IIS
TU
~u"EI
,.[
ItSl.~[~
0'
PInTnCDL AE2Utl[O
I a
TRYI
IETIY
tNOEII
t'
11.IIT,
"EA
...
OENIiTy
ASSf"IL!O
CO"MANO
COMM,
SAYED
'OA
8·ltT
ll-IIT
SAVED
• MSI'S
LSd'S
TO
TR
NOT
SECONO
THE
OVU
TO
DATA
S E,,'TY
CO
1.ltT
MOD!
MOO!
CO
WOlD
(BlTS
SKIP
SET
AC
TO
I['IOR
IP~O;IAM'
I,"TO
I •
I I
IGU
ISTOI(
IGET
'ISSUE
I;ET
'"AI.
II'
II'
IGET
I;ET
ICOM"A"'O
I.
IIOT
I"
IJSSJE
'CL(A.
IGiT
TItANS'EIAtN;
0'
ITEST
FOl
ITIt
ITI
ITEIT
INJT
ITIIT
INO
~
',,!TIY
IHUO
"10,,,
ITO
I~OO'
Til
".OT
I!T,
'LAG
SET
'OA
OO"l!
TA,
01
'01
f~!
!IROIII •
LOCAfIO~
TO
EH'TY
EUOl
'110"
TM!
TH!
RI~1
TH(
'IOGAA",
UNTIL
'01
TMf
E"'T'
TH[
COUIIT[I
BU"!I
1(;IIT!1
l~~
I'
~U"EI
COM"ANn
TO
AC
... O TO
III
.... A
...
O
MODE
SET
00
;0
ST.A';MT
.... , .. O
WOlD
(ItTS
1,1,1,1)
OOWN
TO
4,',11,111
Oil
TAANS"I
LOO' U ...
COMMA"'O
''''0
no
IIUT PA;E
lATA
TO
TM!
(M,Ty
'L';
T!ST
'01
'I.AG
DOllE
YET
[IROR
OC
-!TIIY-
TH!
1111'1
IfC'nA
IfCTOR
DATA
THE
nON!
'.OGIA~S
TO
'(CTOl
I'
8
ItT
8."00f
TH!
TtL tT
wnAo
EMPTy
THE
8u',!1
~OllE
'L'G
S!CTOA
8U",R
8U"!'
~u"f.
'LA;
OAT'
~U"!t
'IOTOCOL
TO
EMPTY
0'
OF
AC
AEAOY
nOES
LOOP
PAOrolAMS
CO""ANO
'~'G
8U"[R
SfTS
IU"!I
LOOP
PRIOI
TO
Figure 4-16
RX28 Empty Buffer Example
4-22
Page 64
4.1.8 Restrictiom and Programming Pitfalls
of
11
A set
1.
restrictions and programming pitfalls for the
When performing the following sequence
STR
SKP
JMP
SON
JMP
(done)
(fill or empty buffer)
If
interrupts are
not
off, the following sequence
enabled and the RX8E issues an interrupt request just before the
instruction will be executed as the last legal instruction before the processor takes over.
is
However, since the done flag
cleared
the device that issued the interrupt.
2.
The program must issue an SER instruction to test for errors following an
3:
For maximum data throughput for consecutive writes or reads
in
every three sectors;
12-bit mode, interleave every two sectors. (This
program overhead.)
RX8E
of
instructions, interrupts
of
by
the
SON
is
events will occur. Assume interrupts are
instruction, the processor will not find
presented below.
must
SON
instruction; the
SON
in
8-bit mode, interleave
of
course depends on
be off.
SON
instruction.
4.
When issuing the JOT
377
must be given because the most significant bits (0-3) contain
XOR
at the end
of a function
to
test
the
~tatu5>
part
the instruction
of
the previous com-
mand word.
5.
If
an error occurs and the program executes a read error register function (111) (Paragraph
4.1.4.9), a parity error may occur for that command. The error code coming back would
be for the original error in which the read error register function was issued, but for the
parity error resulting from the read error register function. Therefore, check for parity error
with the read status function (101) before checking for errors with the read error register
function (111).
SEL
6. The
either drive,
7.
It
is
Fill Buffer
8.
Sector Addressing: 1-26 or 1-328
OR V ROY
or
at
not necessary to load the drive select bit into the command word when
(000)
Track Addressing: 0-76
9.
If
a read error register function (111)
before a read status function (101), because the content
bit
is
present only
completion
or
Empty Buffer (001).
or
of
1-1148
at
the time
an Initialize for drive
(No
sector 0)
is
desired, the program must perform this function
of
the read status function (101) for
O.
the
of
the
error register
is
always modi-
fied by a read status function.
10.
The instructions STR, SON, SER also clear the respective flags after testing
is
software must store these flags if future reference to them
needed after performing one
these instructions.
AND
not
command is
so
that the
of
4-23
Page 65
11.
Excessive use of the read status function (101) will result in drastically decreased throughput
because a read status function requires between one and two diskette revolutions
250
ms
to complete.
or
about
4.2
RXll
and
RXVll
PROGRAMMING INFORMATION
This section describes device registers, register and vector address assignments, programming specifi-
cations, and programming examples for the
All software control
and status
(RXCS) register
of
the
RX11
/RXV11
and
a multipurpose data buffer (RXDB) register. These registers have been
is
RXll
performed
and RXV11 interfaces.
by
means
of
two device registers: the command
assigned bus addresses (Paragraph 4.2.1) and can be read or loaded, with certain exceptions, using any
instruction referring to their addresses.
RX02, which includes the mechanical drive(s), read/write electronics, and
The
J.LCPU
controller, con-
tains all the control circuitry required for implied seeks, automatic head position verification, and
of
calculation and verification
the CRC; it has a buffer large enough to hold one full sector
data (128 8-bit bytes). Information is serially passed between the interface and the
A typical diskette write sequence, which
1.
Fill Buffer - A command to
is
initiated by a user program, would occur in two steps:
fill
the buffer is moved into the RXCS. The Go bit (Paragraph
4.2.2.1) must be set. The program tests for transfer request (TR). When
of
128
bytes
of
data
to
program moves the first
moved into the RX02. The program retests
true. When the RX02 sector buffer
is
full, the Done bit will set, and an interrupt will occur if
the RXDB.
TR
and moves another byte of data when
TR
goes false while the byte
RX02.
TR
of
diskette
is
detected, the
TR
is
is
the program has enabled interrupts.
2.
Write Sector - A command to write the contents
RXCS. Again the
Go
bit must be set. The program tests
program moves the desired sector address
handles the sector address. The program again waits for
TR
is
address to the RXDB, and again
negated. The RX02 locates the desired track and
sector, verifies its location, and writes the contents
When this
is
done, an interrupt
will
occur if the program has enabled interrupts.
of
to
the RXDB.
the buffer onto the disk
TR,
and when
TR
goes false while the RX02
TR
and moves the desired track
of
the sector buffer onto the diskette.
is
issued to the
TR
is
true, the
A typical diskette read occurs
(iead sector) and then unloading the buffer into core (empty buffer). In either case. the content
buffer is not valid if Power Fail or Initialize follows a
injust
the reverse way: first locating and reading a sector into the buffer
fill
buffer or read sector function.
4.2.1 Register and Vector Addresses
RXCS register is normally assigned Unibus address 177170 and the RXDB register
The
is
Unibus address 177172. The normal BR priority level
different priority plug located on the interface module. The vector address
5, but it can be changed
is
264.
by
insertion
is
assigned
4.2.2 Register Description
4.2.2.1
with bit
RXCS - Command and Status (177170) - Loading this register while the RX02
0 = 1 will initiate a function
as
described below and indicated in Figure 4-17. Bits 0-4 are write-
is
not busy and
only bits.
4-24
of
the
of
a
Page 66
15
14
13 12
11
10
09
08
07
06
05
04
03
02
01
00
Bit No.
o
1-3
I I
ERJOR I
RX
INIT
Description
Go
- Initiates a
Function
described in
Code
000
001
010
011
100
101
110
III
I
[
v
NOT USED
Figure 4-17
command
Select - These bits code
Paragraph
RXCS
to RX02. This
4.2.3. These are write-only bits.
Function
Fill Buffer
Empty
Write Sector
Read
Sector
Not
used
Read
Status
Write Deleted
Read
Error
Format
one
Buffer
RegIster
J
TR
of
Data
I
I I
FUNCTION
I
I
D~NE
INT
ENS
(RXll,
is
a write-only bit.
the
eight possible functions listed below
Sector
I
UNIT
SEL
RXVll)
I
GO
MA-1864
and
4 Unit select - This bit selects one
is
function. This
5
6
7 Transfer Request - This bit signifies
8-13
14
Done
- This
when asserted
Interrupt
has completed
the
available. This
Unused
RX
initializing all devices
Upon
head position mechanism
successful Initialize, the
and
drive
Enable - This bit is set by the
time a function
Initialize - This bit
setting this bit in the RXCS, the RX
set
RXES
O.
a write-only bit.
bit
indicates the completion
if
Interrupt
an
operation (Done).
is
is
a read-only bit.
Loading the lower byte
the upper byte
bit 7
(DRV
Enable (RX2CS bit 6) is set. This
initiated. This bit is cleared by Initialize
is
set by the
on
the Unibus. This
of
of
RX02 will zero the
RDY)
of
CAUTION
the
RXCS.
drive I (if
if unit 0
the two possible disks for execution
of
program
The
condition
that
program
of
the RX
two
are available)
is
a function.
to enable an
the
RXII
to initialize the
is
a write-only bit.
CS
will also load
II
or
RXVII
error
and
ready. It will also read sector 1
Done
will generate an
is
a read-only bit.
interrupt
of
this bit is normally determined
and
is a read/write
or
RXVII
will negate
to
track
status register, set Initialize
needs
RXII
O.
Upon
or
Done
of
the
desired
interrupt
when the RX02
bit.
data
or
has
data
RXVII
completion
and
of
without
move
Done,
track
of
1 on
at
the
a
4-25
Page 67
Bit No.
Description
15
4.2.2.2 RXDB between
protocol
This register
manipulated without affecting
register
TR
is set.
4.2.2.3 RXTA - RX
77
(114g) tracks a given function
function in progress (Paragraph 4.2.3). Bits 8-15 are unused
Error
attempt
command
the
of
the function in progress (Paragraph 4.2.3).
will only accept
..
- This bit
Data
RX02
is
and
read/write
14
15
is
set by the RX02 to indicate
to
execute a command. This read-only bit
or
an
Initialize (Paragraph 4.2.6).
Buffer Register (177172) - This register serves as a general purpose
the interface. It may represent
if
the RX02 is
the
RX02 subsystem.
data
if
RXCS
Violation
may cause permanent
Track
Address (Figure 4-18) - This register is loaded to indicate on which
13
11
12
NOT USED
not
bit
7 (TR)
of
protocol
is
to operate.
10
in
the
CAUTION
in
manipulation
data
It
08
09
is
one
process
If
set. In addition, valid
loss.
can be addressed only under the protocol
07
0
~
of
the RX02 is actively executing a command, this
06 05
that
an
error
has occurred during an
is
cleared by
of
four RX02 registers according to the
executing a command;
of
this register
and
are ignored by the control.
03
04
I
I I I
114
0-
data
T
the
initiation
data
that
is, it may be
can only be read when
01
CP
00
~
1510
02
8
of
a new
path
of
the
of
the
Figure 4-18
4.2.2.4 RXSA - RX Sector Address (Figure 4-19) - This register is loaded to indicate
26 (328) sectors a given function is to operate.
function
in
progress (Paragraph 4.2.3). Bits 8-15 are unused
14
15
I
\
13
I
NOT USED
Figure 4-19 RXSA
12
11
Y
10
RXTA
09
Format
It
can
07
08
0
Format
4-26
(RXll/RXVll)
be addressed oniy under
and
are ignored by the control.
04
03
06
05
0
0
l
(RXll/RXVll)
02
V""
1-32
8
the
01
I I I
on
which
protocol
00
CP-1511
of
of
the
the
Page 68
4.2.2.5 RXDB - RX
media passes through this register and
ress (Paragraph 4.2.3).
Data
Buffer (Figure 4-20) - All information transferred
is
addressable only under
the
protocol
to
of
and
from the floppy
the
function in prog-
15 14
I I
4.2.2.6 RXES - RX Error and Status (Figure 4-21) - This register contains the
status conditions
addressed only under the protocol of the function
located in the
RXDB
15
13 12
I I I I
of
the drive selected by bit 4
upon
14 13
NOT
11
Figure 4-20
completion
11
12
'Y
USED
10 09 08
I I
RXDB
(Unit
of
a function.
10
09 08
I
~
UNiT
SEL
07 06 05 04
I I I I
Format
in
I
(RXI1/RXVll)
Select)
07
DRV
RDY
of
the RXCS. This read-only register can be
progress (Paragraph 4.2.3).
05
06
I
DD
I
DRV
DEN
I I I I
04 03
I~~~I
03
02
02
iD
01
The
01
00
I
MA·1866
current
RXES
00
CRC
MA·1867
error
and
content
is
RXES bit assignments are:
Bit No.
o
2
3
Description
CRC
Error
- A cyclic redundancy check
from a
are asserted.
Initialize
routine which can be caused by
mable
data
field
Done
or
Unibus Initialize.
Figure
4-21
of
the diskette. The RXES
- This bit
RXES
is
asserted in the
Format
RX02 power failure, system
4-27
(RXll,
error
is
RXES
RXVll)
was detected as information was retrieved
moved
to
the RXDB, and Error and
to
indicate completion
power
of
failure,
Done
the Initialize
or
program-
Page 69
Bit
No.
Description
6
4
5
7
Density Error - This bit
not
match the drive density. Upon detection
ation
and
Error and Done are asserted.
Bits 4
density when the
Drive Density - This
asserted, double density
Data
Deleted
Detected - During data recovery, the identification mark preceding the data
is
asserted to indicate the density
and S are
bit
indicates the density
is
NOTE
asserted
system
indicated.
of
this error the control terminates the oper-
for the occurrence
is RXOl-compatible.
of
of
the diskette in the drive selected. When
of
the function
double
in
progress does
field was decoded as a deleted data mark (Paragraph 1.5.3.2).
is
Drive Ready - This bit
asserted if the unit currently selected exists, is properly supplied
with power, has a diskette installed correctly, has its door closed, and has a diskette up
speed.
The
drive ready
read
status
when
it
If
the
error
not
set
in
accessed
graph
4.2.3.7).
function
indicates
bit
was
the
RXES,
via a
NOTE
bit
is only valid when retrieved via a
or
status
NOTE
set
in the
specific
read
error
1
at
completion
of
drive
O.
2
RXCS
register function
error
but
conditions
of
error
Initialize
bits
are
can
be
(Para-
to
8
4.2.3 Function Codes
Following the strict protocol
RXVII
of
protocoi can be permanent
A summary
Unit Select - Drive 0 is selected if this bit is
of
the individual function, data storage and recovery
occur with careful manipulation
data
of
the function codes
000
001
010
011
100
101
110
111
Fill Buffer
Empty ButTer
Write Sector
Read
Sector
Not
used
Read
Status
W rite Deleted
Read Error Register
of
the RXCS and RXDB registers. The penalty for violation
loss.
is
presented below:
Data
Sector
"0";
drive I
is
selected if this bit
on
the
is
a
RXll
"1."
and
The following paragraphs describe in detail the programming protocol associated with each function
encoded and written into
RXCS bits 1-3 if
Done
is
set.
4-28
Page 70
4.2.3.1 Fill Buffer (000) - This function
the
from
has been filled. The contents
host processor. Fill buffer
of
the buffer can be written onto the diskette by means
is
used to fill the RX02 buffer with
is
a complete function in itself; the function ends when the buffer
128
8-bit bytes
of
of
a subsequent
data
write sector function, or the contents can be returned to the host processor by an empty buffer func-
tion.
RXCS bit 4
command has been loaded, RXES,
of
byte
appropriate number
each byte
bytes
and
ignored by the RX
4.2.3.2 Empty Buffer
data
bytes loaded from a previous Read Sector
RXCS bit 4
same manner as for the fill buffer
When
RXI1/RXVII
RXDB~
until
128
(Unit Select) does not affect this ftinction since no diskette drive
OUT,
the data may be loaded into the data buffer. The control then clears
of
shift pulses to store the data, again asserts
of
data is loaded. The RX02 counts the bytes transferred; it will
will ignore those in excess. Any read
II
/RXVII.
When the complete buffer has been filled, the control asserts Done.
(001) - This function is used to empty into the interface the buffer
(Unit Select) and negate Done.
but
TR
sets, the program may unload the first
again negates
TR.
When
which again negates TR. Alternate checks on
bytes
of
data have been moved from the RXDB. Done sets, ending the operation.
The empty buffer function does not destroy the con-
of
tents
the sector buffer.
and Done are cleared. When the
TR.
of
the
or
Fill Buffer command. This function will ignore
For
this function,
the buffer
is
emptied.
of
TR
resets, the second byte
TR
NOTE
RXDB
128
and
during
TR
and shift pulses are generated
data bytes from the RXDB. Then the
data transfers from the RXDB
is
involved. When the
TR
bit
is
asserted, the first
TR
and after supplying the
The same
the
of
data may be unloaded from the
TR
cycle
not
accept less than
cycle
of
128
will
occur as
transfers
of
the
~unlinue
in
128
is
128
the
4.2.3.3 Write Sector
(010) - This function
sector with the contents
of
the internal sector buffer. The initiation
is
used
to
locate a desired track and sector and write the
Done.
When
negate TR. When
RXDB, which will negate TR.
operation, move the contents
initiate an interrupt if RXCS bit 6 (Interrupt Enable)
TR
locate the desired sector within two diskette revolutions, the
move the contents
interrupt if RXCS bit 6 (Interrupt Enable)
TR
is
asserted, the program must move
TR
is
again asserted, the program must load the desired track address into the
If
the desired track
of
the RXES to the RXDB, set RXCS bit
the
desired sector address into the RXDB, which will
is
not found, the
is
set.
will remain negated while the RX02 attempts to locate the desired sector.
RXll/RXV11
of
the RXES to the RXDB, set RXCS bit
is
set.
15
(Error), assert Done, and initiate an
4-29
of
this function clears
RXII/RXVII
15
(Error), assert Done, and
If
the RX02
will
will abort the operation,
TR
abort
is
unable to
and
the
Page 71
If
the desired sector
internal
RXll/RXVl1
Enable) is set.
buffer followed by a 16-bit
is
successfully located,
ends the function
CRC
by
asserting
the
RXll/RXVll
character
Done
will write
that
is automatically calculated by the RX02.
and
initiating
an
interrupt
the
128
bytes stored
if
RXCS
in
the
The
bit 6 (Interrupt
The contents
after a power loss has been detected by the RX02.
The
write sector function, however, will
as a valid function, and the random contents
buffer will be written, followed by a valid
The
write sector function does not destroy the con-
tents
of
Read
4.2.3.4
contents
RXES,
When
negate
RXDB,
If
RXES
(Interrupt
TR
the
presumably correct track, the RX
to
Enable)
Done,
TR
TR.
the desired
to
and
RX02
the
RXDB,
Sector (011) - This function is used
of
the
data
field to
and
OUT.
is asserted, the
When
which will negate
the
Enable) is set.
Done
is
is
set.
TR
track
is
not
RXDB,
will remain negated while the RX02 attempts
unable
set
set
to
RXCS
the
program
is
again asserted, the
TR.
found,
RXCS
locate the desired sector within
bit
15
(Error), assert
NOTE
of
the sector buffer
NOTE
the sector buffer.
J,LCPU
the
bit
controller
must
load
RXll
15
(Error),
11/RXVll
the desired sector address into the
program
/RXVl1
\vill
Done,
1
are
not valid
be
2
to
locate
sector buffer. The initiation
will
assert
abort
and
a desired
must load the desired
abort
the
Done,
the
and
to
locate the desired track
two
diskette revolutions after locating the
operation,
initiate
an
data
accepted
of
the
CRC.
track
operation,
initiate
move the contents
interrupt
and
sector
track
move the contents
an
interrupt
if
and
of
this function clears
RXDB,
address into
if
and
RXCS
bit 6
transfer
which will
RXCS
sector.
of
the
RXES
(Interrupt
the
the
of
bit 6
the
If
If
the desired sector is successfully located, the
mark
or
a deleted
the
sector
If
the
the
sector buffer, a
non-zero residue indicates
and
to
the
4.2.3.5 Read
the
current
the
drive selected
RXES
RXCS
RXES
into
deleted
RXCS
RXDB,
bits will reflect
bit 5 (Done)
bits
data
address mark.
the sector buffer.
data
address
CRC
bit
15
(Error).
sets
Done,
Status
contents
are
(101) -
of
the
by
RXCS
the
is again asserted.
defined
in
If
either
mark
was detected,
is computed,
that a read
The
RXl1/RXVl1
and
initiates
The
RXES
bit 4 (Unit
conditions created by
Paragraph
The
average time for this function is 250 ms. Excessive use
reduced throughput.
based
error
an
RXll/RXVl1
into
the
Select) at the time
An
4.2.2.6.
of
this function will result in substantially
control
mark
the
on
the
has
occurred.
ends
interrupt
will negate
RXDB.
interrupt
NOTE
4-30
will
attempt
is
properly located,
control
the
RXES
the
will
will assert
data
field
The
operation
if
RXCS
RXCS
bit 7 (Drive Ready) will reflect the status
the
read
last
command.
occur
to
locate a
the
RXES
and
CRC
bytes previously recorded. A
control
by moving
bit 6 (Interrupt
if
RXCS
sets
bit
5 (Done)
status function was given. All
RXES
bit 6
standard
control will read
bit 6
(DD).
RXES
the
(Interrupt
bit 0 (CRC
contents
Enable) is set.
and
begin
may be sampled when
data
address
data
from
As
data
enters
Error)
of
the
RXES
to
assemble
of
other
Enable) is set.
Page 72
4.2.3.6 Write Sector with Deleted
sector) with the exception
ard
data address mark (Paragraph 1.5.3.2).
that
a deleted data address mark precedes the
Data
(110) - This operation is identical to function 010 (write
data
field instead
of
a stand-
4.2.3.7 Read Error Code Function
error information provided by the
tion
is
initiated, and bits
0-6
controller then generates the appropriate number
the interface register
and
completes the function by asserting Done.
(Ill)
#LCPU
of
the RXES
- The read error code function can be used
controller upon detection
are
cleared. Out
of
shift pulses
read and the error code interrogated to determine the type
NOTE
Care should be exercised
in
the use
since under certain conditions, erroneous error infor-
mation may result (Paragraph 4.2.5).
4.2.3.8 Power Fail - There
senses a loss
of
power, it
is
no actual function code associated with Power Fail. When the RX02
will
unload the head
and
abort all controller action.
invalid while power is low.
When the RX02 senses the return
1.
Move drive I head position mechanism to track
2.
Clear any active error bits.
3. Read sector 1
of
track.l
4. Set RXES bit 2 (Initialize Done)
5.
There
Set Drive Ready
is
no guarantee
of
that
information being written
However, all other information
of
power, it will remove
of
drive 0 into the sector buffer.
(Para~raph
the RXES according to the status
at
on
the diskette will remain unaltered.
to
retrieve explicit
of
the general error bit.
is
asserted
to
transfer the specific error code to
The
of
failure that occurred (Paragraph 4.2.6).
of
this function,
Done
and begin a sequence to:
and
Done
is
negated.
interface register can now be
All
status signals are
O.
4.2.2.6) after which
of
drive
the time
of
a power failure will be retrievable.
Done
O.
is
again asserted_
The
func-
The
of
A method
aborting a function
through the use
console
START
of
the system Initialize signal
key,
or
system power failure.
is
through the use
that
of
RXCS
is
generated by the
bit
4.2.4 Programming Examples
4.2.4.1 Read
Data/Write
Data
- Figure 4-22 presents a program for implementing a write, write
deleted data, or a read function, depending on the function code
up
the error retry counters,
word for a write, write deleted data,
of
The set
three instructions beginning at the label
after transfer request (TR), which
move the track address to the
ning at the label
3$
looks for the done flag to set
An error condition, indicated by bit
error has occurred, and a branch
to
4.2.6 Error Recovery
There are two error indications given by the
RXll
graph 4.2.3.5) will assemble the current contents
sampled
retrieve explicit error information. The
mine the type
to
determine errors. The read
of
failure that occurred. A list
error
RXll
code function (Paragraph 4.2.3.7) can also be used
/RXVl1
of
error codes follows.
NOTE
A read status function is not necessary if the DRV
RDY bit is not going to
RX2ES is
of
every function.
in
the interface register
be
Fill Buffer Example
/RXVll
of
the RXES
system. The read status function (Para-
(Paragraph
4.2.2.6), which can be
interface register can be interrogated
interrogated because the
at
the completion
to
to
deter-
4-35
Page 77
Octal
Code
Error Code Meaning
0010
0020
0040
0050
0070
0110
0120
0130
0140
0150
0160
0200
0220
0240
4.3 RX211 and RXV21
Drive 0 failed
Drive 1 failed to see home on Initialize
Tried
to
Home was found before desired track was reached
Desired sector could
More than
A pream ble could
Preamble found
CRC
error on what appeared to be a header. Error
The header track address
Too many tries for an
CRC
error on reading the sector from the disk
R/W
electronics failed maintenance mode test
Density Error
to
see home on Initialize
access a track greater than
not
be
found after looking
40
#-,s
and no SEP clock seen
not
be found
but
no
ID
mark found within allowable time span
of
a good header does not compare with the desired track
IDAM
PROGRAMMING
(identifies header)
INFORMATION
77
at
52
is
headers
(2
not asserted
revolutions)
This section describes device registers, register and vector address assignments, programming specifications, and programming examples for the RX211 and RXV21 interfaces.
of
All software control
mand and status register
assigned bus addresses
The
RX02 contains all the control circuitry required to read from and write on the disk and to calcu-
the RX211/RXV21
(RX2CS) and a multipurpose data buffer register (RX2DB) which have been
and
can be read or loaded.
late and verify the CRC. It has a buffer large enough to hold one full sector
is
performed by means
of
two device registers: the com-
of
diskette data
(128
or
256
8-bit bytes). Information is serially passed between the interface and the RX02.
A typical diskette write sequence, which
Fill Buffer - A command to
program tests for TR. When
RX2DB.
moves
word
into
fills the remainder
TR
goes false while the word count
the bus address into the RX2DB. The device now requests bus mastership and
at
a time into the RX2DB and shifts it across the RX02 data bus serially one 8-bit byte at a time
the
sector buffer. When the word count register overflows
of
the sector buffer) the Done bit
fill
the buffer
TR
is
initiated by a user program, would occur
is
moved into the RX2CS. The
is
detected, the program moves the desired word count into the
is
moved to the RX02. The program retests
(if
neCeSsaiY,
is
set, and an interrupt will occur if the program
Go
the RX02 control zero-
in
two steps:
bit must be set. The
TR
DMA's
one data
and
has enabled interrupts.
Write Sector - A command
RX2CS. The program tests
TR
remains false while the sector address
when
it
is again set, moves
to
write the contents of the sector buffer onto the disk
TR
and when
the
desired track address register to the RX2DB. Again
TR
is set, moves the desired sector address to the RX2DB.
is
shifted to the RX02 control. The control retests
is
moved into the
TR
is
negated. The
TR
and
RX02 locates the desired track and sector and compares the diskette density against the assigned
function density
the write operation
and
writes the contents
is
completed, the Done bit is set and an interrupt will occur if the program has
of
the sector buffer onto the disk if the densities agree. When
enabled interrupts.
4-36
Page 78
A typical disk read operation occurs in the reverse order. First, the desired track and sector are located
and the contents
sector buffer
are not valid if either a Power Fail or Initialize follows a fill buffer
of
the sector are read into the sector buffer (read sector). Then the contents
is
unloaded into memory (empty buffer). In either case, the contents
or
read sector function.
of
the sector buffer
of
the
4.3.1
The RX211/RXV21 use two registers for
status register (RX2CS) normally assigned bus address
Register and Vector Addresses
comm~nicating
177170
normally assigned bus address 177172. The vector address
4.3.2 Register Description
4.3.2.1
and
Bit No.
RX2CS - Command and Status (177170) - Loading this register while the RX02
with bit
0=
1 will initiate a function as described below and indicated in Figure 4-25.
15 13 12
ERROR
11
10 09 08 07 06 05 04 03 02
RX02
Figure 4-25 RX2CS
INTR
ENB SEL
Format
Description
with the host computer: the command and
and
the data buffer register (RX2DB)
is
264.
is
not busy
01
00
FUNCTION
UNIT
DONE
MA-1906
(RX211/RXV2l)
o
1-3 Function Select - These bits code one
Go
- Initiates a command to RX02. This
is
a write-only bit.
of
the
eight possible functions described in Paragraph
4.3.3 and listed below. These are write-only bits.
Code Function
000 Fill Buffer
00
1
Em
pty Buffer
010 Write Sector
4
011
100
101
110
III
Unit select - This bit selects one
function. This bit
Read Sector
Set Media Density
Read Status
Write Deleted
Data
Sector
Read Error Code
of
the two possible disks for execution
is
readable only when Done is set, at which time it indicates the unit
previously selected. This is a read/write bit.
5 Done - This bit indicates the completion of a function. Done will generate
asserted if Interrupt Enable (RX2CS bit
6)
is
set. This is a read-only bit.
of
the desired
an
interrupt when
4-37
Page 79
Bit No. Description
6 Interrupt Enable - This bit is set by the
completed an operation (Done). The condition
is
a function
7 Transfer Request - This bit signifies
able. This is a read-only bit.
8 Density - This bit determines the density
only when
executed. This is a
9-10
II
12-13 Extended address - These bits are used
14
Reserved for future use. Must be written as zero.
RX02 - This bit is set by the interface to inform the programmer
system. This
only bits.
RX211 /RXV21 Initialize - This bit
without initializing all devices on the Unibus. This
initiated. This
Done
is
set,
read/write
is
a read-only bit.
Loading the lower byte of the
the upper byte
bit
is
cleared by Initialize
that
at
which time it indicates the density
bit.
is
CAUTION
of
the RX1CS.
program
the RX211/RXV21 needs
of
to
declare an extended bus address. These are write-
set by the program to initialize the RX211 /RXV21
to
enable
of
this bit is normally determined at the time
the function to be executed. This
is
RXlCS
an
interrupt when the RX02 has
and
is a read/write
of
a write-only bit.
will
also load
bit.
data
or has
bit
the
function previously
that
this
is
data
avail-
is readable
an RX02
Upon
head position mechanism
of
Done.
IS Error - This bit
to execute a command. This read-only bit
an Initialize.
4.3.2.2 RX2DB between the RX02
protocol
This register is
manipulated without affecting
register
TR
4.3.2.3
4
11
function in progress
of
will
is
set.
RX1T A - RX
8 (0-7610) tracks a given function is
setting this bit in the RX2CS, the RX211/RXV21 will negate Done
a successful Initialize, the RX02 will zero the error
It
will also read sector I
is
set by
Data
Buffer Register (177172) - This register serves as a general purpose data path
and
the interface.
the function in progress (Paragraph 4.3.3).
read/write
only accept
if the RX02 is not in the process of executing a command; that is, it may be
the
data
if RX2CS bit 7 (TR)
Violation
may cause permanent data loss.
Track
(Paragraph 4.3.3). Bits 8-15 are unused and are ignored by the control.
Address (Figure 4-26) - This register is loaded
of
both
drives (if two are avaiiable) to track
and
of
track 1
the
RX02
It
RX02 subsystem.
of
protocol in manipulation of this register
to
may represent one
CAUTION
to
operate.
on
drive 0 into the buffer.
indicate
that
an error has occurred during an attempt
is
cleared
If
the RX02
is
set. In addition, valid data can only be read when
operate. It can be addressed only under the protocol
10
09
Format
08
)
Format
(RX211/RXV2l)
07
06 05
0
0
0
(RX211/RXV21)
't
114
0-
8
is
loaded to indicate on which
04
03 02
l.
V'
1-32
CP
1510
01
00
8
CP-1 51 1
.,
)
of
of
the
the
For
4.3.2.5 RX2WC - RX Word Count Register (Figure 4-28) -
is
word count
beyond the limit for the density indicated, the control asserts Word
RX2ES). This
count
4.3.2.6 RX2BA data transferred during fill buffer, empty buffer,
takes place after a memory transaction has occurred. The RX2BA, therefore,
dress
is
of
the first
12810.
is
loaded into the register.
15
For
a single density sector the maximum word count is
a write-only register. The actual word count and not the 2's complement
14 13
RX
data
12
11
10
09
08 07
] 0
Figure 4-28
Bus Address Register (Figure 4-29) - This register specifies the bus address
word to be transferred. This
RX2WC
Format
and
06
I
..
(RX211/RXV2l)
read definitive error operations. Incrementation
is
a 16-bit, write-only register (Paragraph 4.3.3).
a double density sector the maximum
Count
04
03
02
05
I
T
0-128\ 0
6410.
If
a word count is
Overflow (bit
of
01
00
I
I
MA-1868
is
loaded with the ad
10
of
the word
of
4-39
Page 81
15 14 13
12
11
10 09 08 07 06 05 04 03 02
I I
01
00
MA-1869
Figure 4-29 RX2BA and RX2DB
Data
4.3.2.7 RX2DB - RX
media passes through this register and
Buffer (Figure 4-29) - All information transferred to and from the floppy
is
addressable only under the protocol
ress (Paragraph 4.3.3).
4.3.2.8 RX2ES - RX Error and Status (Figure
status conditions of the drive selected by bit 4
be
addressed only under the protocol
of
located in the RX2DB upon completion
1 5 14 13 12
NOT
USED
11
10 09 08 07 06 05 04 03 02
NXM
WC
OVFL
RESERVED
(Unit Select) of the RX2CS. This read-only register can
the function
of
a function.
UNIT
SEL
Format
(RX211/RXV21)
of
the function
in
prog-
4-30) - This register contains the current error and
in
DRV
ROY
progress (Paragraph 4.3.3). The RX2ES
01
00
DRV
DEN
DO
RX
AC
LO
DEN 10
ERR
CRC
RESERVED
MA-1870
is
Figure 4-30 RX2ES
Format
(RX211 /RXV21)
RXES bit assignments are:
Bit No. Description
o
2 Initialize Done - This bit
CRC
Error - A cyclic redundancy check error was detected as information was retrieved
from a data field
is
moved to the RX2DB, and Error and Done are asserted. It
transfer be retried up to
routine which can be caused by
of
the diskette. The data collected must be considered invalid. The RX2ES
10
times,
is
asserted in the RX2ES
as
most errors are recoverable (soft).
RX02 power failure, system power failure,
or bus Initialize.
3 RX AC LO - This bit is set by the interface
to
system.
4 Density Error - This bit indicates that the density
the drive density.
Upon detection
of
this error the control terminates the operation and
asserts Error and Done.
is
suggested that the data
to
indicate completion
of
the Initialize
or
programmable
indicate a power failure in the RX02 sub-
of
the function in progress does not match
4-40
Page 82
Bit No. Description
5 Drive Density - This bit indicates the density
8).
The
by bit
6 Deleted
address
whether
ing the
further significance
deletion
mark
mark
density
Data
- This bit indicates
was detected
the
mark
will be collected
of
data
7 Drive Ready - This bit indicates
operation
RX02
is currently selected.
empty buffer
may
Select - This bit indicates
Count
Overflow - This bit indicates
Memory
and
the memory address specified in RX2BA
8
10
11
for disk
The
when retrieved via a read status function
Unit
that
Word
or
Nonexistent
performed
of
the drive is determined
at
the beginning
was a single
other
due
to
are satisfied, such as
be
presumed
operation
Error
or
double density deleted
and
than
to
this
mark
that
to
be ready
that
is terminated
- This bit
that
in
the
transferred normally, as
establish drive density. Any alteration
must
be accomplished by user software.
the
selected drive
door
to
or
drive 0 is selected
that
and
is
set by
of
the
diskette in
during
course
of
the
closed, power okay, diskette up
perform any
initialize.
the
Error
the
read
of
recovering
data
data
is
ready if bit 7 = I and all conditions
if
bit 8
word
count
and Done are set.
interface when a
the
drive selected (indicated
and
write sector operations.
data,
the
field.
The
Drv
address mark. The
the
deleted
operation.
=0.
is
is
nonexistent.
This bit is only valid
This bit indicates
beyond sector size. The fill
DMA
Den bit indicates
data
of
transfer
"deleted
data
mark
files
or
to
speed, etc.
the
is
data"
follow-
has no
actual
drive
being
4.3.3 Function Codes
Following the strict
RX211/RXV21 occur with careful manipulation
violation
A
summary
of
protocol can be
of
the
000
001
010
011
100
101
110
III
The
following
encoded
paragraphs
and
written into
4.3.3.1 Fill Buffer (000) - This function
of
data
specified by the
when RX2WC overflows,
of
contents
returned
function
RX2ES.
the buffer may be written on the disk by means
to
the host processor by
is
terminated,
protocol
function codes is presented below:
Fill Buffer
Empty
Write
Read
Set
Read
Write Deleted
Read
describe in detail
RX2CS
RX2WC
and
Error
of
the individual function,
permanent
Buffer
Sector
Sector
Media
Status
Error
register. Fill buffer is a complete function in itself:
if
necessary,
and
data
Density
Data
Code
bits 1-3
is
an
Empty
Done
Sector
the
if
used
the
are
loss.
Done
asserted,
of
the
RX2CS
programming
is set.
to
fill
the
control
Buffer
has zero-filled
command.
and
data
storage
and
RX2DB
protocol
RX02
data
buffer with the
the
of
a subsequent Write Sector
If
the
the
Word
registers.
associated with each function
remainder
word
count
Count
and
recovery
The
number
the
function ends
of
the
is
too
overflow bit is set in
on
penalty for
of
word~
buffer. The
command
large,
the
or
the
4-41
Page 83
To initiate this function the RX2CS
not affect this function since
no
since this determines theword count limit. When the command has been loaded, the Done bit
bit 5) goes false. When the
When
TR
is
again asserted, the RX2BA may be loaded into the RX2DB. The data words are trans-
TR
is
loaded with the function. Bit 4
disk operation
is
involved. Bit 8 (Density) must be properly selected
of
the RX2CS (Unit Select) does
(RX2CS
bit is asserted the RX2WC may be loaded into the data buffer register.
ferred directly from memory and when RX2WC overflows and the control has zero-filled the remainder
of
the sector buffer,
is
Enable)
set, an interrupt
the interface. After Done is true the
if
necessary, Done
is
initiated. Any read
is
asserted ending the operation.
of
the RX2DB during the data transfer
If
bit 6 RX2CS (Interrupt
RX2ES is located in the RX2DB register.
is
ignored by
4.3.3.2 Empty Buffer
through the RX211/RXV21 for use
previous Fill Buffer or Read
The programming protocol for this function is identical to
(001) - This function
by
the host processor. This data
Sector command.
is
used to empty the contents
is
in the buffer as the result
that
for the Fill Buffer command. The
of
the internal buffer
of
RX2CS is loaded with the command to initiate the function. (This function will ignore bit 4 RX2CS,
Unit Select). RX2CS bit 8 (Density) must be selected to allow the proper word count limit. When the
command has been loaded, the
Done
RX2WC may be loaded into the RX2DB. When
the RX2DB. The RX211/RXV21 assembles one word
memory. Transfers occur until word count overflow,
Done goes true.
the RX2
ES
4.3.3.3 Write Sector
with the contents
When
TR.
TR
When
which will drop TR.
The diskette density
do not agree, the operation
(bit
15
RX2CS)
is
set.
If
bit 6 RX2CS (Interrupt Enable) is set, an interrupt
is located in the data buffer register.
(010) - This function
of
the internal buffer. The initiation
is
asserted, the program must load the desired sector address into RX2DB, which will drop
TR
is again asserted, the program must load the desired track address into the RX2DB,
TR
will remain unasserted while the RX02 attempts to locate the desired sector.
is
determined at this time and
is
terminated; bit 4 RX2ES
is
set, Done
is
asserted, and an interrupt is initiated, if bit 6 RX2CS (Interrupt Enable)
bit (RX2CS bit
TR
is
used to locate a desired sector on the diskette and
is
compared to the function density.
5)
goes false. When the
is
again asserted the RX2BA may be loaded into
of
data at a time and transfers it directly to
at
which time the operation
is
of
the function clears RX2ES,
is
set, RX2ES
is
moved to the RX2DB, Error
TR
bit is asserted, the
is
complete and
initiated. After Done
TR,
and Done.
If
the densities
is
true,
fill
a
it
If
the densities agree but the RX02
tions, the interface will abort the operation, move the contents
15
RX2CS), assert Done, and initiate an interrupt if bit 6 RX2CS (interrupt Enabie)
If
the desired sector has been reached and the densities agree, the RX211/RXV21 will write the
or
6410
words stored in the internal buffer followed by a
lated by the
(Interrupt Enable)
RX02. The RX211/RXV21 ends the function by asserting Done and if bit 6 RX2CS
is
set, initiating an interrupt.
is
unable to locate the desired sector within two diskette revolu-
of
RX2ES to the RX2DB, set Error (bit
is
set.
CRC
character which
is
automatically calcu-
CAUTION
The contents
after a power loss has been detected
However,
struction and the (random) contents
be written, followed
of
the sector buffer are not valid data
by
write sector
wHI
be accepted as a valid in-
by
a valid CR C.
of
the buffer
the RX02.
will
NOTE
The contents
of
the sector buffer are not destroyed
during a write sector operation.
4-42
12810
Page 84
4.3.3.4 Read Sector (011) - This function is used to locate the desired sector
of
the data field
(5
ms) the current status
to
the internal buffer in the control. This function may also be used
of
the drive selected.
The
initiation
of
this function clears RX2ES,
Done.
TR
When
drop
RX2DB, which will drop
TR
and
unable
will
abort
RX2DB,
If
the desired sector is successfully located, the control reads the
density
operation
Error) and the
is
initiated.
If
a legal data mark
data from the sector into the internal buffer.
will
set bit 6 RX2ES (DD). As
field and the
curred
ends the operation by asserting
RX2eS is set, an interrupt
is asserted the program must load the desired sector address into the
TR.
When
TR
is
again asserted, the
program
must load the desired track address into the
TR.
Done
to
of
and
will remain negated while the RX02 attempts
to
locate the desired sector.
locate the desired sector within two diskette revolutions for any reason, the RXV21 /RX211
the operation, set
and
if
bit 6 RX2CS (Interrupt Enable) is set, initiate
the diskette.
is
terminated
RX2ES
is
CRC
bytes previously recorded. A non-zero residue indicates
the control sets bit 0 RX2ES
Done
If
the diskette (drive) density does
and
Done
is
moved
and
Error
and
Error
to
the RX2DB.
(bit
15
RX2CS), move the contents
(bit
15
RX2CS) are asserted. Bit 4 RX2ES is set (Density
If
bit 6 RX2CS (Interrupt Enable) is set, an interrupt
successfully located, and the control
If
data
Done
is
initiated.
a deleted
enters the internal buffer, a
(CRC
and
error) and bit
moving the contents
data
an
interrupt.
data
address mark
not
agree with the function density the
and
densities agree, the control will read
address mark was detected, the control
CRC
is computed based on the
15
RX2CS (Error). The RX211 /RXV21
of
the RX2ES into the
and
transfer the contents
to
retrieve rapidly
RX2DB,
of
the RX2ES
and
that
a read error has oc-
which will
If
the RX02
determines the
RX2DB.lfbit
TR,
to
and
is
the
data
6
If
the desired sector
error,
Done
will be set and
is
successfully located, the densities agree,
if
bit 6 RX2CS (Interrupt Enable)
and
is
interrupt.
4.3.3.5
density. Bit 8
ing new
The function
RX2ES and Done. When
the protocol. This extra character is a safeguard against an
Set
Media Density (100) - This function causes the entire diskette
RX2CS (Density) indicates the new density.
data
address marks (double or single density) and zeroing all
is
initiated by loading the RX2CS with the command. Initiation
TR
is
set, an ASCII
"I"
(111) must be loaded into the RX2DB to complete
The
control reformats the diskette by writ-
error
in loading the command. When the
control recognizes this character it begins executing the command.
The control starts at sector
the header information
If
the operation
interrupt
is
is
initiated.
is
successfully completed,
track 0
damaged, the control will
and
reads the header information, then starts a write operation.
abort
the operation.
Done
is set and
if
bit 6 RX2CS (Interrupt Enable)
1,
CAUTION
This operation takes about
be
interrupted.
If
for any reason the operation is in-
15
seconds and should not
terrupted, an illegal diskette has been generated
which may have
diskette
should again be completely reformatted.
data
marks
of
both densities. This
the
data
is transferred with no
CRC
set the RX211 /RXV21 initiates an
to
of
the
be reassigned
data
fields on the diskette.
of
the function clears
to
a new
If
is
set,
an
4-43
Page 85
4.3.3.6 Maintenance Read Status (101) - This function is initiated by loading
command.
the control.
data
RX2CS) is again asserted
operation requires approximately 250 ms
mark.
Done
is cleared.
The
Drive Density is
The
RX2ES is moved
The
Drive Ready
updated
and
if
into
the RX2DB.
bit
RX2CS
bit
(bit 7 RX2ES) is
by loading
(Interrupt
to
complete.
updated
the
head
of
the selected drive
The
RX2CS may be sampled when
by counting index pulses in
Enable) is set, an interrupt will occur. This
the
RX2CS with
and
reading the first
Done
the
(bit 5
4.3.3.7 Write Sector with Deleted Data (110) - This operation
sector) with
the
standard
single
4.3.3.8 Read Error Code (111) -
addition
This is the only way
the
exception
data
address mark.
or
double density deleted
to
the specific
error
that
that
the
a deleted
The
data
The
code a
word
data
Density
address
read
dump
count
address
mark
error
of
the
bit
mark
is written preceding
associated with the function indicates whether a
will
be
written.
code function implies a read extended status. In
control's
internal scratch
register can be retrieved. This function is used
specific information as well as drive status information depending
bit.
The
transfer
the
command
and
TR
of
the registers is a
and
goes false.
DMA
then
Done
goes false. When
The
registers are assembled
transfer.
TR
one
The
function
is
true, the RX2BA may be loaded into the RX2DB
word
at
a time
is
initiated by loading the RX2CS with
Register Protocol
Word I <7:0>
Word
I < 15:8>
Word 2 <7:0>
Word
2 < 15:8>
Word 3 <7:0>
Word
3 < 15:8>
Word 4 <7>
Word 4 <5>
Word 4 <6><4>
Word 4 <0>
Word
4 < 15:8>
Definitive
Word
Current
Current
Target
Target
U nnit Seiect Bit
Head
Drive Density Bit
Density
Track
Error
Count
Track
Track
Track
Sector
Load
Bit
of
Read
Address
Codes
Register
Address
Address
of
Current
of
Current
of
Both Drives
Error
of
Selected Drive
of
Drive 0
of
Drive I
Disk
Access
Disk
Register
Access
Command
is
identical to function 010 (write
the
data
rather
pad
registers also occurs.
to
upon
detection
and
transferred directly
of
the
general
to
memory.
*
*
*
t
than
retrieve
Error
4.3.3.9
unload
RX211/RXV21
the
When
•
t The Track Address
RX02
the
RXAC
the
1.
2.
3.
4. Assert Initialize
For
DMA interfaces the controller status soft register
bits are included
bit 4, Density
of
the cylinder that the head reacheed on a seek error.
Power Fail -
head
and
that
subsystem
L bit in
the
RX02 senses the return
abort
RX2ES.
When
the
all controller action.
power
of
Move each drive head position mechanism
Clear any active
Read sector I
in
an 8-bit word. Unit Select = bit
of
Read Error Register Command = bit
of
error
bits
of
track I,
Done
the Selected Drive - Error is only meaningful on a code
in the RXES.
RX02
control
senses a loss
The
is gone.
The
RX211
power, it will remove
to
on
drive 0
is
sent to the interface at the end
7,
Density
of
O.
4-44
RXAC
L line is asserted to indicate
/RXV21
Done
track 0
Drive I = bit
of
power within
asserts
and
6,
Head Load = bit
150
Done
begin a sequence to:
of
the command. The four status
error. The register contains the address
the
and
5,
Density
RX02,
Error
of
it
win
to
the
and
sets
Drive 0 =
Page 86
Upon completion
mation being written
of
the power up sequence,
at
the time
of
a power failure will be retrievable; however, all other information
Done
is
again asserted. There
is
no guarantee
that
infor-
on the diskette will remain unaltered.
4.3.4 Error Recovery
There are two error indications given by the RX211/RXV21 system. The maintenance read status
function (Paragraph 4.3.3.6) will assemble the current contents
determine errors.
error information.
failure
that
occurred. The error codes
The
read
error
code function (Paragraph 4.3.3.8) can also be retrieved for explicit
The
RX211 /RXV21 interface register can be interrogated to determine the type
and
their meaning are listed below.
of
the RX2ES which can be sampled to
of
Octal
Code Error Code Meaning
0010 Drive 0 failed
0020 Drive 1 failed to see home
to
see home
on
Initialize.
on
Initialize.
0040 Tried to access a track greater than 76
0050 Home was found before desired track was reached.
0070 Desired sector could not be found after looking at
0110 M ore than 40
J.LS
and no SEP clock seen
52
headers
(2
revolutions).
0120 A preamble could not be found.
0130 Preamble found
0150 The header track address
0160 Too many tries for an
0170
0200
0220
Data
AM
not found in allotted tIme
CRC
error on reading the sector from the disk.
R/W
electronics failed maintenance mode test.
but
no
ID
IDAM
mark found within allowable time span
of
a good header does not compare with the desired track.
(identifies header)
No
code appears in the
ERREG.
0230 Word count overflow
0240 Density Error
0250 Wrong key word for set media density command
4.3.5 RX211/RXV21 Programming Examples
4.3.5.1 Write/Fill Buffer
Figure
routines. Initially, the write subroutine tests to see
an error, a branch
fill
Buffer command
RX02/RXCS. After a
the RX02/RXDB. After another
memory
bytes indicated then the RX02 controller sets the
in
the write command and interrupt enable are set, the density
RX02/RXCS. There
another wait for
buffer
4-31
illustrates a program to write data on a disk by performing write and
if
there
is
an error from the last operation.
is
made and the write subroutine
is
not
performed; otherwise a
jump
fill
buffer sub-
If
is
made to the
there
buffer subroutine. (Before data can be written the RX02 sector buffer must be filled.) The Fill
is
set, the density (single
TR
is
received, the word count (for either
TR
is
is
loaded in the RX02/RXDB. The RX02 controller fills the sector buffer with the number
the RXCS and the program halts.) The program returns
is
a wait for TR, then the sector address
TR
and the track address
is
written by the RX02 controller on the selected drive (disk)
or
double)
-is
set, and the command
128
or
256 bytes
received, the starting address where
Done
bit.
(If
is
loaded in the
an Error
to
the write subroutine, the drive
is
set, and the command
is
loaded in the RX02/RXDB; there
RX02/RXDB.
is
The data loaded in the sector
at
the selected track
is
loaded in the
of
data)
is
loaded in
data
will be retrieved from
detected, the Error bit
is
selected,
is
loaded in the
and
sector.
is
of
set
While the controller writes the data, the program waits for an interrupt (which signifies the completion
of