From: "Jerome H. Fine" <everyone@nospam.com>
Subject: Re: PDP-11 UARTS
Date: Sat, 31 Dec 2011 19:35:45 -0500 [thread overview]
Message-ID: <4effaa93$0$281$14726298@news.sunsite.dk> (raw)
In-Reply-To: <jdmv7h$e2h$1@Iltempo.Update.UU.SE>
[-- Attachment #1: Type: text/plain, Size: 3031 bytes --]
>Johnny Billquist wrote:
> No, it has only one bus for both memory and I/O (with the exception of
> the last models, which had memory sortof on the side). Also, I wasn't
> talking about one serial port, I was talking about an example with 8.
> Most PDP-11s I've ever used have had more serial ports than that.
> The most I remember was an 11/70 with 64 serial ports.
>
> Also, buffering is nice, and most serial interfaces on the PDP-11 have
> that, but it is difficult to utilize fully. For output, you need then
> to know how much space you have free in the buffer, and write the
> right number of bytes. For input, you really don't want to wait until
> the buffers are full, as interactive usage means people expects things
> to happen right away, as well as some characters have special meaning
> on input.
> But I kept it simple in my text by intention. Yes, buffering will help
> some with interrupts, but we're still talking huge numbers of
> interrupts when we get to high speeds. Which should be obvious from
> what I wrote.
I remember (probably at least 20 years ago so this is very hazy)
looking at the interrupt code for a DZ11 with 16 channels. The
FIFO buffer was set to interrupt on every character, so you are
correct with regard to an interrupt for the first byte to enter.
However, if I do remember correctly, before the interrupt
code released control back to the CPU (I think this was a
PDP-11/34A, but I would guess that the same code concept
could be used for any DZ or DH multi-channel serial device
with an input buffer), it was possible to determine if more
bytes were in the input buffer at which point, all the extra
overhead of entering and leaving the interrupt handler could
be avoided.
The net result was that when a number of channels received
nearly simultaneous input (within a few microseconds), fewer
hardware interrupts were produced since the interrupt handler
code detected the presence of bytes already in the input buffer
(the hardware buffer in the DZ or DH multiplexor) and those
bytes were transferred to their software buffers for the tasks
or jobs which were waiting.
At 128K bytes per second for each input channel on eight
channels, that would be two bytes, on average, every microsecond.
I can't remember the instruction speed on a PDP-11/73, but
it would have to be at least 10 instructions per microsecond
to handle 1 word on the Qbus, on average, each microsecond
and very little else during a sustained burst. Johnny, I think
that you would best be able to comment since my hardware
background is seriously lacking.
However, if the hardware speed was to be increased by
a 100 by using a PDQ-1000 from Logical Co., then it
might be very possible to handle a sustained burst without
any difficulty.
I think there there is even hardware for a compatible DH
board for the PDQ-1000, but then the Qbus speed might
be the limiting factor. Johnny, can you comment on this
aspect as well?
Jerome Fine
[-- Attachment #2: Type: text/html, Size: 3700 bytes --]
prev parent reply other threads:[~2012-01-01 0:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9m6u26Fre7U1@mid.individual.net>
2012-01-01 0:28 ` PDP-11 UARTS Jerome H. Fine
[not found] ` <jdlqlj$2s0$1@Iltempo.Update.UU.SE>
[not found] ` <3Yydnfu9EbWq5mPTnZ2dnUVZ5vWdnZ2d@giganews.com>
[not found] ` <jdmv7h$e2h$1@Iltempo.Update.UU.SE>
2012-01-01 0:35 ` Jerome H. Fine [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox