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.74.201 with SMTP id w9mr6213529pbv.0.1328536283018; Mon, 06 Feb 2012 05:51:23 -0800 (PST) Path: lh20ni266976pbb.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!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: Mon, 06 Feb 2012 13:51:19 GMT Organization: Aioe.org NNTP Server Message-ID: <4f30d0d8.41682905@nntp.aioe.org> References: <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> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: CmgvwL3sOlojnxUjt8znzA.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 Sun, 05 Feb 2012 16:44:43 +0100, Johnny Billquist wrote: >>>> 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. I now understand what you meant when you wrote: I can see that it might be costly to maintain it, but on the other hand, if trappings never will occur with registers updated that needs rollback, SR1 can be left zero at all times. So it might actually be that E11 already does it "right". And yes, preliminary testing says that you're correct. Rather than providing the SR1 backout (rollback) information, E11 does the backout itself, obviating the need for SR1 information. This explains four things, perhaps: 1. The release note: "MMU. SR1 mechanized". 2. The otherwise cryptic command definition for SET FPBACKOUT (which I'd noted, but not followed up): FPBACKOUT J-11 SR1 behavior, autoinc/dec is always undone on aborted FPP instruction. I'm not sure how this is supposed to work in the real world. 3. And (now) looking further I note the command SET CPU [NO]SR1. I tried it out, but it seems to do nothing. Later. 4. Why John once stated that the relevant XXDP diagnostic will fail. However, I can no longer find the reference. It seems that E11 also implements this auto-backout for the (default) 11/34 model. However, the 11/34 model itself doesn't implement SR1, so that's another difference I can check. What I don't understand is this: if John has the rollback information, in whatever form, why doesn't he interpret it and apply it to SR1 when there's an MMU fault. An MMU fault is a relatively rare CPU event, like any interrupt, and thus doing fixups after an MMU fault is not going to significantly impact speed performance. Perhaps we should ask John :-) I haven't seen him here for a long time. The real problem is apparent: because no software (apart from tests) uses the software, the mechanism hasn't been tested. I think debuggers would have to be rewritten to use this technique. Indeed, I think this particular difference would force code which uses SR1 to be able to detect E11. In any case, it is an architectural difference. I was going to write a more detailed test, which would exercise SimH as well as E11, but that's going to have to wait. I lost the night trying to get my 11/73 to work, but the pseudo-RL02 disk seems to have finally died on me (after decades of neglect). So I took out the quad 11/23 card out of the BA11 tower that is working and put the dual 11/73 along with a DLV11J but now the damn thing acts as if HALT is asserted. I really don't like hardware. I have boxes of cables, cards and connectors everywhere. Ian