From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,32247abf28da27d4 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,32247abf28da27d4 X-Google-NewGroupId: yes X-Google-Thread: f7344,32247abf28da27d4 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gid3717dac89a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!b6g2000yqi.googlegroups.com!not-for-mail From: John Wallace Newsgroups: alt.sys.pdp11,comp.sys.dec,comp.os.vms Subject: Re: QBUS Prototyping Date: Sun, 25 Apr 2010 14:47:18 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7bcf361c-deee-4de6-970d-bf9fc31a9ab6@b6g2000yqi.googlegroups.com> References: <8265dgFs33U3@mid.individual.net> <826uhoFu5dU1@mid.individual.net> <86vdbt5jmw.fsf@alo97.louko.com> <99d2bd1a-4935-4f4a-a45c-a910f6565b4a@c42g2000yqn.googlegroups.com> <83gie9F9nfU2@mid.individual.net> NNTP-Posting-Host: 80.229.247.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1272232038 1492 127.0.0.1 (25 Apr 2010 21:47:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 25 Apr 2010 21:47:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b6g2000yqi.googlegroups.com; posting-host=80.229.247.139; posting-account=LoTgDQkAAADTKXJ587vuIocn0MiURp6p User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news2.google.com alt.sys.pdp11:1486 comp.sys.dec:1946 comp.os.vms:30547 On Apr 25, 12:40=A0pm, Johnny Billquist wrote: > glen herrmannsfeldt wrote: > > In alt.sys.pdp11 Johnny Billquist wrote: > > > (snip) > >> Since the speed of a DL11 is hardwired, no software ever really cares > >> about what speed the serial port is using on a PDP-11. To a real TU58 > >> you of course had to limit yourself to what the TU58 talked. > > >> With something else, you just have to limit yourself to whatever that > >> other end is talking. > > >> The big problem, though, is that this is no DMA device. It's either > >> interrupt-driven, or polled. Either way it consumes a lot of CPU, and > >> going up in speed is only going to make it worse. There is definitely = an > >> upper limit on how many interrupt per second a PDP-11 can handle, and > >> each interrupt can only deliver one byte. > > > I hope there is flow control. =A0The new interrupt shouldn't come > > before the previous character was read/sent. > > You could implement all the flow control you want if you were to design > a new board for the Qbus (or Unibus) which talked to a PC (or whatever) > to read/write data. All it needs to be is the same from a software point > of view on the PDP-11. I can't remember if flow control is a part of the > protocol to the TU58, but I seem to remember that this was something > added in a modification to the protocol. > > On the PDP11 side, you cannot physically get a new interrupt before the > previous one have been handled. That is actually true of all CPUs I've > ever written software for. If that wasn't true, you would face a serious > hung CPU syndrome, since the fielded interrupt itself should not be > looping the CPU, but just cause the interrupt to be taken once, and then > dealt with. :-) > > So yes, you do need to do some serious buffering somewhere if you were > to do this. > > >> So no matter how high the speed of the serial line is, or how high the > >> speed of the mass storage at the other end is, you will not be able to > >> get that much speed on the PDP-11 side, and even so, it will consume > >> lots of resources. And on top of that, a TU58 holds a ridicoulus small > >> amount of blocks. > > > Does an emulated one have to have the same number of blocks? > > That is, does it sense EOF, or count blocks? =A0 > > Count blocks. > So yes, you'll only be able to have the same number of blocks unless you > change device drivers. > Oh, and I seem to remember that the block field in the protocol is > rather short, so you cannot even theoretically have many more blocks no > matter what you do without having to redesign the protocol. > (I think it's a 16-bit value for block number.) > > >> Not a good interface to emulate, except for the fact that you already > >> have a device driver for it. > > > Sounds like a good reason to me. > > In that way it is, indeed. :-) > > =A0 =A0 =A0 =A0 Johnny > > -- > Johnny Billquist =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|| "I'm on a bus > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0||= =A0on a psychedelic trip > email: b...@softjar.se =A0 =A0 =A0 =A0 =A0 =A0 || =A0Reading murder books > pdp is alive! =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 || =A0tryin' to sta= y hip" - B. Idol The Tu58 protocol is Radial Serial Protocol and the documentation is Currently Out There Somewhere. TU58 performance had *two* limiting factors: serial line data rate (not brilliant), and seek time (verging on appalling). In the discussion here, which end are we talking about emulating? If you emulate the *drive*, you can create a "TU58" with zero seek time, and you *may* be able to make some other improvements too (serial line rate? number of blocks?). In my younger days, I introduced my then employers to the delights of VT103s. A VT103 was a VT100 with a Qbus backplane inside (and a few other differences). You could get them with built in TU58s, or use an external storage device. We used them with assorted flavours of LSI11 for RT11-based test equipment, whose typical mode of operation was "boot OS, load single standalone app, perform tests, log a small amount of data, print something to record the test results". RT11 on real TU58 was a bit slow to boot, but TU58s were dirt cheap and had other advantages (e.g. physical size - nil in a VT103) in comparison with the alternatives (e.g. RX02). When RT11 introduced the concept of the LD (?) device, we took that a step further and implemented "RT11 clusters". Each VT103 client thought its system device was a TU58. In actuality the "TU58's" serial line was connected to a DZ(V)11 port (or maybe DHV11, I can't remember 100%) on a "host" MicroPDP11/RT11 host running a home made application which had a separate LD device associated with each line on the DZ ie a separate LD device associated with each boot client. An RSP request for a block would return the relevant block from that port's LD image. To make RT11 work on the boot clients, each LD image had its own RT11 system image. Job done. The serial lines were still limited to DH/DZ/DL baud rates, but the horrendous TU58 seek times were totally eliminated and the time to application startup wasn't too bad (faster than a typical recent PC startup?). The pseudo devices we used were not, to the best of my recollection, necessarily limited to the size of a physical TU58, although there may have been other limits imposed by constraints in Radial Serial Protocol (e.g. field sizes for byte counts). More than enough for RT11 and a few apps though. Because of the silos on the DZ/DH11 the "one character per interrupt" overhead didn't apply on the "host" (or "server") although obviously the client end still had a genuine DL11 and the associated overhead. So, is that kind of thing of any interest to the current discussion?