Download No. 24 - Bitsavers.org

Transcript
The Xerox 820 Column
By Mitchell Mlinar
It's official: Xerox has announced it is
halting production of the 820-11 and the
16/8. They say there are enough of these
models in stock to last quite a while. Of
course, "a while" means "when an IBM
compatible appears" (what else?!?).
According to my sources, Xerox has
been talking to Olivetti. Since Olivetti
makes the AT&T personal computer, it
seems likely that Xerox is cooking up an
IBM compatible. (Editor'S note: Their
first model will probably have single-sided, single density drives, and run at
2.5MHz'. The software package will be
MS-DOS and a built-in typewriter function.)
Xerox has said it will still support the
Xerox 820-11 and 16/8 in service and
some software. (I wonder what that
means! Incidentally, Xerox no longer
supports or sells 820-1 software. Absolutely NOTHING is available from
them.)
Surplus Boards
Up until now, there have been plenty
of 16/8 boards on the surplus market at
$50 and 820-11 boards for $175. Now is
the time to get them before there are no
more left. Xerox 820 boards are readily
available for $35-50, and there are more
of them than either the -II or 16/8. Take
your pick, but pick fast!
There is only one problem: the 820-11
(16/8) requires either a floppy daughter
board or a rigid daughter board. Rigids
are no problem from the Dallas surplus
outlet, but floppy daughters are almost
impossible to find. If anybody knows a
good source, please let me or Micro C
know.
16/8
Thanks to an unnamed supplier, I am
now the proud owner of CP/M -86 and
MS-DOS for my 16/8 board. As I dig into
it, I will let you know what I find. I do
have one immediate comment: be careful before plunking your money down.
Although the operating systems are generic, there is little generic software in
CP /M -86 and even less in MS-DOS. CP /
M-86 programs should run, without a
problem, but the amount of CP/M-86
software available is limited. MS-DOS
has plenty of software, but it is strongly
IBM flavored. The 16/8 can read/write
1225 Fonthill Ave.
Torrance CA 90503
IBM disks, which is a definite plus (and
practically a requirement). But if you
want it just to have it (the price was right
in my case), don't expect the broad base
of software that's available for CP/M-80.
There are two ways to send a decrement signal to the counter from the trigger selector: via the pre-scaled clock, or
directly from the CLK/TRIG input pin
for that channel.
Z80 Support Chips
This column will begin a series on
three chips that every 820 has, but which
are not always understood: the CTC,
PIO, and SIO. I'll concentrate mainly on
operation and programming, with an occasional reference to a specific 110 pin. If
you are an experienced programmer,
you'll enjoy this discussion. If you are
not experienced, then hang in there, you
might learn a few things.
The Pre-scaled Clock
The pre-scaled clock is the computer's
clock (2.5MHz, for example) divided by
either 16 or 256. This means that a decrement signal for a 2.5MHz clock (400 ns
cycle time) can occur either every 6.4 us
(400 ns x 16) or 102.4 us (400 ns/256).
With a 2.5MHz clock, the CTC timer decrement trigger can occur either 156,250
times per second or 9,765 times per second.
The second way to send a decrement
signal to the counter is directly from the
CLK/TRIG input pin. Depending on the
programming, a decrement will occur
every time this pin sees a rising or falling
edge (there is no pre-scaling).
The counter portion of the circuit is re'settable, and it counts to zero from a preset value. The value can be anything between 1 and 256. (Since an 8-bit data
path really only has values from 0 to 255,
the CTC treats 0 as 256.)
The counter deducts one for each decrement signal received from the trigger
selector. When zero is reached, a momentary high signal is sent out the normally low ZC/TO (Zero Crossing/Time
Out) output pin, and an interrupt is generated for that channel (if interrupts are
enabled). Then the counter resets itself
to the starting value, and begins counting down all over again.
One nice feature of the ZC/TO output
pin is that you can connect it to the
CLK/TRIG pin of another counter/timer
circuit as is done in the 820 (shown by
dotted lines in Figure 1). This daisychaining increases the timer period.
Z80CTC
The Z80 CTC (Counter-Timer Circuit)
is a special purpose chip which has four
programmable counter/timer channels.
Each of these channels is independent of
the others, although they can be interconnected for some applications (as in
,the 820).
Each of the channels consists of a trigger selector and a resettable counter (see
Figure 1). The trigger preselector sends a
"decrement" signal to the counter,
which keeps track of the count and generates any output signals. The trigger selector is detailed in Figure 2, showing the
multiplexer (which selects between the
CLK/TRIG or pre-scalar inputs) and the
pre-scalar types (divide by either 16 or
256).
Micro Cornucopia, Number 24, June-July 1985
(continued next page)
19