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.238.198 with SMTP id vm6mr16587600pbc.3.1328096925886; Wed, 01 Feb 2012 03:48:45 -0800 (PST) Path: lh20ni248300pbb.0!nntp.google.com!news1.google.com!goblin1!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: Wed, 01 Feb 2012 12:48:42 +0100 Organization: Update Computer Club Message-ID: 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> <4f2537ed.51306295@nntp.aioe.org> <4f28b73b$0$290$14726298@news.sunsite.dk> <4f291473.18988613@nntp.aioe.org> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1328096925 10183 178.83.31.172 (1 Feb 2012 11:48:45 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Wed, 1 Feb 2012 11:48:45 +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: <4f291473.18988613@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-02-01 12:22, paramucho wrote: > On Tue, 31 Jan 2012 22:53:32 -0500, "Jerome H. Fine" > wrote: > > >>> >>> 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. >>> >>> >> While I agree it is not the ideal test, the >> fact that it works and is actually quite >> simple is what is important. > > The reason that it's not ideal is that it doesn't handle CPU > configurations that don't have memory management, e.g. LSI's and early > unmapped PDP-11s. I haven't tested it on all the different MMU > configurations either. I think a bigger reason that it's not ideal is that at least Bob Supnik have the explicitly stated goal that it should not work. Any current differences from the real machine are bugs, and are subject to be fixed at any time, at which point the test wont work anymore. > However, these days I could probably use the clock/terminal timing > loop to detect an emulator more generally (it used to fail in the past > because nulls were output as spaces on SimH). Once I knew I was on an > emulator I might be able to come up with some basic difference between > SimH and E11. Timing might be the only thing that Simh in general will have a hard time hiding. > (Aside: I was checking out some potential tests tonight and noticed > that SimH seems to read Ctrl-H as octal 127. I'm not sure where the > conversion takes place though). That could a whole number of different places. Most common is that terminal emulators actually mess with this. (I hate this, and go to great lengths to make stuff behave the way I want, which seems to be very different from what most people nowadays think is right.) > >> Thank you very much for sharing the code >> for SIMH and E11. While I agree with >> Johnny that using an instruction code which >> is presently unused would be a clean solution, >> the code which you show is certainly a good >> substitute. > > The advantage of the register behavior test is that it tests SimH and > E11 out-of-the-box, as delivered. Any test which is based on custom > versions of SimH and E11 has exactly the disadvantage that it won't > test the standard deliverables, which is what most people use. Thus, > it makes sense to use my register test, or something equivalent when > the custom instruction/device is not present. Right. The only addition being that at least SimH should not be identifiable this way either. It's a bug that you are using at the moment. Expect it to go away sooner or later. 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