From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.75.170 with SMTP id d10mr5414404pbw.6.1327066359222; Fri, 20 Jan 2012 05:32:39 -0800 (PST) Path: lh20ni203718pbb.0!nntp.google.com!news1.google.com!goblin2!goblin1!goblin.stu.neva.ru!news.tornevall.net!aioe.org!.POSTED!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Fri, 20 Jan 2012 13:32:33 GMT Organization: Aioe.org NNTP Server Message-ID: <4f202124.31208639@nntp.aioe.org> References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> <4f16e707.10168332@nntp.aioe.org> <4f181c7d.40278662@nntp.aioe.org> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: yPe0Vz9rK3epnEf2vEo6yg.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 1.5/32.451 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Thu, 19 Jan 2012 20:32:25 +0000 (UTC), glen herrmannsfeldt wrote: >In vmsnet.pdp-11 Johnny Billquist wrote: > >(snip) >> And I'm maybe a little surprised that RT-11 don't use WAIT, but then >> again, it's a simple single-user system, so it might not be totally >> shocking that it don't use WAIT. > >That would be true for SJ, but for FB or, if I remember right, XM, >I would think it might do WAIT. No sign of WAIT at all in RT-11 up to and including V5.3. In V5.4 a couple of patch points at the end of the idle loop are introduced which effectively place two NOPs at the end of the loop. A patch offset, ..NULJ, is also defined, along with conditional code for RTEM, which entered the sources at the same time. The monitor offset $NULJB seems to be defined at the same time. I can't find any BSTRAP.MAC code which would alter the patch points for an XM monitor. So, I don't think that any RT-11 monitor was distributed with WAIT in the idle loop. I ran up a couple of XM monitors today and saw only NOPs The only code I can find which uses the offset is RTMON, a foreground program which monitors RT-11's performance. I guess it hooks itself into the idle loop. Some late monitor sources show that the patch points had been designed to optionally use WAIT at the end of the idle loop. The monitor fixed offset $NULJB has the comment that reads "=> WAIT/NOP" and the first NOP mentioned above has a WAIT instruction preceded by three semicolons. I think this code was either experimental or used by special services because: (1) it is not enabled/disabled by a conditional, (2) the offset is not listed in CUSTOM.TXT which describes the monitor patch points. Thus, I think that WAIT would have been used only for some specific customers needs, if anything. It's not unknown for RT-11 developers to leave hooks to private code in the monitor sources. An examination of the late sources shows hooks for a disk cache as well. I doubt that the RT-11 team would have introduced WAIT into the distribution because (1) it doesn't bring any practical benefit, (2) a change in the idle loop would almost certainly affect some existing user applications, and (3) if it's not broken don't fix it. So the best we can say, at the moment, I think is that the RT-11 team considered the idea of introducing a WAIT instruction into the idle loop and rejected the idea. As to why a customer might have a specific need for WAIT one can only speculate, however I recall a client I had who built disk testers and formatters for the large disk pack manufacturers in the early 80s. They had a custom processor which did the actual work. They called me in when they had erratic behavior that couldn't explain. To cut a long story short I found that the noise causing the erratic behavior was the unibus itself. By inserting a single WAIT instruction I effectively turned off enough of the electrical behavior of the bus to remove the problem. But I still didn't need that support in the monitor. BTW: One of the companies they worked for, it might have been Nassau, produced platters for DEC (possibly the RLO1/RLO2). They were the same specs as used by some other customers and the supplier had worked out that DEC's quality assurance program was the weakest in the industry so they sent all their flakiest platters to DEC (who sent them to us). I was ironic, and rather cruel working for them. I was in a room with hundreds of thousands of dollars worth of very large disk packs working on a tiny PDP-11 with single density floppies and one of the earliers, crudest of the VT52 series. Ian