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.213.68 with SMTP id nq4mr8481983pbc.2.1327852018086; Sun, 29 Jan 2012 07:46:58 -0800 (PST) Path: lh20ni237844pbb.0!nntp.google.com!news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!46.17.56.130.MISMATCH!rt.uk.eu.org!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: Sun, 29 Jan 2012 15:46:55 GMT Organization: Aioe.org NNTP Server Message-ID: <4f2537ed.51306295@nntp.aioe.org> References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> <4f20c6e3$0$284$14726298@news.sunsite.dk> <4f215614.266356@nntp.aioe.org> <4f24a237$0$295$14726298@news.sunsite.dk> 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 Sat, 28 Jan 2012 20:34:32 -0500, "Jerome H. Fine" wrote: > >paramucho wrote: > >>On Wed, 25 Jan 2012 22:22:05 -0500, "Jerome H. Fine" wrote: >> >>>I don't think that the about properties (or at least how >>>the PDP-11 instructions react to the above code) has >>>been documented under Ersatz-11. I would imagine >>>that the source code could be used under SIMH to >>>figure out why the above code is needed. >>> >>>I am VERY curious!!!!!!!!! How did you figure out the >>>code for Ersatz-11? Did John Wilson help? Does the >>>above code still work with V6.0 of E11? >>> >>I didn't use the source code for SimH. It's often easier to use a >>debugger to "read" the system behavior than it is to hunt through >>sources. I just experimented until I found a suitable test. I also >>tested on real F11 and J11 systems. >> >>The trick was to find some "undefined" behavior that didn't need >>correction. The code above gets different results from an F11 and a >>J11 as well as from SimH and E11. The test is far from ideal, but it >>works well enough for my purposes. >> >>The test works with V6.0 of E11. >> >After you "found" the way that SIMH can be tested for, >were you able to verify that from the source code. To >say the least, the activity that you found is VERY >unexpected!!!!!!!!! The source code isn't really relevant. Just the behavior. >Also, what led you to attempt to use the hardware >in that manner. It does not seem very obvious as >to why the hardware registers (software in the case >of a software emulator as opposed to a real DEC >CPU) would behave in that fashion. I spent the first year or so of my PDP-11 career working almost entirely at the switch register of an 11/20. You learn to read the binary state of the machine as "source code". I remember once during a switch register session looking at the clock and noticing it was twelve midnight. The next time I looked it was eight in the morning. I still enjoy reading binary and making sense of it. I guess others here have had similar experiences. Selecting the MMU registers was initially process of elimination. Following that, I knew that E11 doesn't actually attempt to fully implement MMU register SR1. I started playing around on a J11 and F11 to see what happened when I jammed those registers in an illogical manner. After a little experimentation I found a test which came out differently on the F11 to the J11. Then I played around with E11 and SimH. It's not that hard, and it's not the ideal test either. >Can anyone else verify what Ian found? RUST/SJ runs the test everytime it boots. It currently issues a message when its booted under SimH or E11. Actually, the message is a bit annoying and needs to be muted except in verbose boot mode. I also have a little ENV.SAV utility which runs the test. I'll try to find the time to put it on my upload site (where I still have to find the time to package and upload the RUST driver sources). Ian