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-7-bit Path: g2news2.google.com!news2.google.com!goblin3!goblin1!goblin.stu.neva.ru!uio.no!news.ctrl-c.liu.se!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail Newsgroups: alt.sys.pdp11,comp.sys.dec,comp.os.vms Subject: Re: QBUS Prototyping Message-ID: From: Johnny Billquist Date: Sun, 25 Apr 2010 13:40:21 +0200 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> Organization: Update Computer Club NNTP-Posting-Host: 178-83-29-134.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1272195622 22765 178.83.29.134 (25 Apr 2010 11:40:22 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sun, 25 Apr 2010 11:40:22 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: Xref: g2news2.google.com alt.sys.pdp11:1478 comp.sys.dec:1940 comp.os.vms:30520 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. The 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? 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. :-) Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol