[net.micro.cpm] Zilog SIO as a network controller

RFOWLER@SIMTEL20.ARPA (06/26/84)

From:  Ron Fowler <RFOWLER@SIMTEL20.ARPA>

I'm involved in a project that involves the interconnection of several
Micro's as a local area network under TurboDOS.  I had planned to use
one of the (very expensive, as it turns out) various new network
controller chips, such as the WD2840 or COMM-9026.  Recently, however
I found out that the Zilog SIO is capable of 800KHz operation (in fact,
I've heard that Televideo's TurboDOS implementation employs the SIO as
the network controller).  Since all of the computers I'm working with
already have at least one SIO, I'd prefer to abandon the "fancy" net
controller in favor of an SIO.

Problem is, it seems that to get this kind of speed, you have to run
in one of the synchronous modes (SDLC or Bisync).  Does anyone know
if this is true?  Programming examples would be very helpful also
(I don't suppose anyone has a TurboDOS driver already written for a
high-speed SIO??? )

Another thing I'm not too sure of is the RS-422 interface itself
(I'm considering a bus topology).  When one station is transmitting
on the RS-422, do all other transmitters have to be tri-stated? If
so, what kind of turn-around is required for a station to become a
transmitter?

Any help will be much appreciated.			--Ron Fowler
-------

kissell@flairvax.UUCP (Kevin Kissell) (06/27/84)

(Get thee behind me!)

First, an appology for posting this netwide, but we are not an ARPANET
site.  Besides, it might be generally amusing.

Z80 SIO's as network controllers are pretty common.  Sytek's Localnet 
broadband LAN uses SIO's running at 128Kbits.  I believe that
Corvus' Omninet uses them also (corrections, folks?), and I know of
others more obscure ("Bestnet", for instance).  At usefully high
speeds, one needs to run in a synchronous mode, because in asynchronous
modes the SIO requires a 16*bitrate clock for character framing, whereas in
synch modes it uses a 1*bitrate clock, so for a given quality of clock
circuit one can run 16 times faster in synch mode.  Forget the bisync
mode, as it requires more processor intervention than HDLC mode.  At
speeds in excess of 500Kbits, you will probably need some kind of DMA
circuitry to move the data for you.  The SIO has only one DMA request
line per channel (it is a 2 channel device), so If you want to run
full duplex (and you might, depending on your access method), you will
have to send on one channel and recieve on the other.  No big deal, but
it makes some of the software a little bizzare.  I'm not going to dump
a monologue on possible access methods on the net, except to say that chapter
7 of Tannenbaum's "Computer Networks" is a good place to start, but by
no means an exhaustive look at the problem.

Kevin D. Kissell
Fairchild Research Center
Advanced Processor Development
uucp: {ihnp4 decvax}!decwrl!\
                             >flairvax!kissell
    {ucbvax sdcrdcf}!hplabs!/

"Any closing epigram, regardless of truth or wit, grows galling
 after a number of repetitions"