From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: ffc31,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.222.71 with SMTP id qk7mr9179499pbc.1.1328456684910; Sun, 05 Feb 2012 07:44:44 -0800 (PST) Path: lh20ni263614pbb.0!nntp.google.com!news2.google.com!goblin3!goblin2!goblin.stu.neva.ru!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Sun, 05 Feb 2012 16:44:43 +0100 Organization: Update Computer Club Message-ID: References: <4f20c6e3$0$284$14726298@news.sunsite.dk> <4f215614.266356@nntp.aioe.org> <4f24a237$0$295$14726298@news.sunsite.dk> <4f2537ed.51306295@nntp.aioe.org> <4f28b73b$0$290$14726298@news.sunsite.dk> <4f291473.18988613@nntp.aioe.org> <4f2a3a1e.28631752@nntp.aioe.org> <4f2a8c5a.52418379@nntp.aioe.org> <4f2e5f77.65538828@nntp.aioe.org> <4f2e89be.49241029@nntp.aioe.org> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1328456684 32084 178.83.31.172 (5 Feb 2012 15:44:44 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sun, 5 Feb 2012 15:44:44 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20120129 Thunderbird/10.0 In-Reply-To: <4f2e89be.49241029@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-02-05 14:57, paramucho wrote: > On Sat, 04 Feb 2012 19:51:50 +0100, Johnny Billquist > wrote: > >> On 2012-02-04 18.06, paramucho wrote: >>> On Fri, 03 Feb 2012 12:24:15 +0100, Johnny Billquist >>> wrote: > >>>> Excellent. So we are using it the same way. >>> >>> No, we ain't! >> >> Really? You could have fooled me. > > It's not hard to fool me. Blinking red and yellow lights will do it. :-) > In the interests of global sanity I've moved all my responses to the > architecture/implementation issue to a response to Glenn's post. I've responded there. >> Also, I'm not sure I get the "default" reference. Any simulator probably >> have a default machine they will do if you don't specify anything else, >> but if you change the model it should simulate, the "default" should be >> irrelevant. However, different simulators can (and probably will) have >> different bugs. One doing things wrong one way, and the other in another >> way. > > I have a historic penchant for giving special attention to system > default behavior. I like the idea if that if you just install and "Go" > things will work out well. I think that gives a user time to work out > the details and nuances of more advanced use. > > Ideally I'd like to support ever E11/SimH model, but if I can't do > that then I'd like to at least support the default model. E11/Simh models are just the various PDP-11 models. I don't think their intent or purpose was/is to implement their "own" model. That is an accident/bug, which is what I'm trying to say. The problems with the differences are, however, at this point so low that "normal" software works, which lessens the incitement to fix remaining differences. > And then its for me: I almost always just use the defaults. I've never > done a SYSGEN in my life for my own purposes (and RUST doesn't have > SYSGEN either--it's all dynamic with DCL commands). SYSGEN as in the PDP-11 environment? Gah. I've long since lost count of the number of times I've run the RSX-11M and RSX-11M-PLUS SYSGEN. And doing RSX-11M SYSGEN on a PDP-11/34 with RM02 takes about 3 hours. Each time. >> One good reason why no software use SR1 is that not all machines capable >> of running RSX, RT11, Unix and so on, have SR1 at all. You'd either have >> to write an OS specifically for machines with this feature, or else it >> is not usable. I think DEC just didn't feel motivated for such a >> restricted set of machines, at the time they were still pondering new >> OSes for the PDP-11, and the range of machines that were available back >> then. > > Not all machines have I/D separation, but we use that. And I think > that most machines that have I/D also have SR1 functional. M+ can use I/D separation if you want. But you need to SYSGEN for it. The baseline system that boots up initially does not use it, in case you are booting the system on a machine that does not have it. RSX-11M cannot ever use it. >>> On closer inspection I find that I'm not using SR1 for E11 detection >>> tests at all. In fact, my E11 test checks whether bits 5 and 6 of MMU >>> SR0 are writeable. These bits are not writeable on the F11 or J11, but >>> a closer inspection of the 11/34 architecture documents indicates they >>> may well be writeable on a real 11/34, and that's the default E11 CPU. >>> I may have to find a different E11 test (see further below). >> >> Ah. Next question (obviously) is if you tested SR1 in E11 and found it >> failing, or if it actually works right? > > I knew it wasn't there in my other tests but I wrote a program to > create an MMU fault to see if it was triggered under that condition. > But it weren't and so I think it just ain't thar. > > SR0 SR1 SR2 > ?MMU2-I-MMU: 100003 27 1014 SimH > ?MMU2-I-MMU: 100003 0 1014 E11 Obvious follow up questions: State of the machine before and after the trap? (Ie. relevant processor registers) E11 could do it the way I suggested. It would not be a true simulation of the CPU, but a valid result. But I really don't know for sure at this point, so I'm asking. >>> 2. If a boot rom is present at 173000, exit. >>> i >>> I haven't mentioned this sanity test, but it is currently >>> performed and is good emulator test. Most sensible real PDP-11 >>> systems that would run RUST would have a boot rom. SimH and E11 >>> don't have it. But it's not enough of a test on its own (and I'm >>> not sure about real 11/9x's). >> >> The E11 machines I run have a boot rom, which I believe I mentioned earlier. > > I had vague bells ringing in the back of my head about that--but it > was a long post. Emulator boot roms are a rarity I think--you have to > a lot of work to set them up. I am actually very cautious about > releasing this kind of code out into the wilderness, that's why the > boot rom test will stay for a while. Or maybe I just have to used to > the idea of the new test. It was basically no work to set them up. The customer have implemented some additions in RSX, which detects some conditions under which the system have ceased working right, and does a reboot by jumping to 173000. Thus, we needed the boot roms. > And if I might enquire, why do you have boot roms on an emulated > machine? As mentioned above. >> Real 11/9x machines also have a boot rom at 173000. > > That's what I expected, but the documentation is a bit fuzzy. It talks > about the "B" device [sic] as an "option". Heh. Yeah, that is a trick. It disables the CPU module boot rom from responding, and thus can instead access 173000 from the bus. 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