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.73.229 with SMTP id o5mr1312277pbv.7.1327585097011; Thu, 26 Jan 2012 05:38:17 -0800 (PST) Path: lh20ni226226pbb.0!nntp.google.com!news2.google.com!eweka.nl!feeder.eweka.nl!194.134.4.91.MISMATCH!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!news.nosignal.org!cs.uu.nl!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: Thu, 26 Jan 2012 14:38:16 +0100 Organization: Update Computer Club Message-ID: References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> <4f20c758$0$285$14726298@news.sunsite.dk> NNTP-Posting-Host: 2620:0:105f:b:462a:60ff:fefb:aad8 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1327585096 22721 2620:0:105f:b:462a:60ff:fefb:aad8 (26 Jan 2012 13:38:16 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Thu, 26 Jan 2012 13:38:16 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: <4f20c758$0$285$14726298@news.sunsite.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-01-26 04.24, Jerome H. Fine wrote: > >Johnny Billquist wrote: >>>>>> I have been looking at the results for the program RESORC.SAV in >>>>>> RT-11 >>>>>> with respect the MFPT instruction. When the J11 chip is used, the >>>>>> value >>>>>> is 5 and the Maintenance Register at 177750 seems to determine >>>>>> what the >>>>>> rest of the actual hardware supports. >>>>> Modifying the MFPT instruction is not the right way to go. CPU >>>>> software detection is a delicate business and that process should not >>>>> be interfered with directly. >>>>> In any case, an emulator is not equivalent to a processor type since >>>>> SimH and E11 support a range of PDP-11 CPUs. >>>> Also right. And each CPU behaves differently, and the emulator needs to >>>> follow that, or it is broken. >>> Or, the emulator can emulate a CPU model different from any previously >>> built. That usually at least happens in that the emulator runs at a >>> different speed than any real processor. >> Right. >> And yes, that could definitely be done, at which point I think a new >> value returned by MFPT would be reasonable. > We seem to have travelled full circle. As I mentioned, > Ersatz-11 (under an Intel CPU such as an E8200) > can run RT-11 over 100 times as fast as on a PDP-11/93. > > That would certainly qualify as being faster!!!!!!! Right. No one argued that. Personally, I just don't consider the CPU speed to be a differentiating factor. Even physical DEC CPUs for the same model, giving the same identity to various ways of identification, could be running at different speeds. For example, the 11/83 exists both with 15 MHz and 18MHz clocks. But they are both 11/83 machines, with the same values from the MFPT as well as the maintenance register. > But your original suggestion of using a new > CPU instruction actually appeals to me. I think that is a much more sensible way to go. > Can anyone suggest some standards for which > emulators could be used as well as any additional > information like CPU speed or additional memory? > For example, Ersatz-11 supports direct access to > more than a GB of the memory on the PC via a > PDP-11 IOPAGE register at access speeds only > about 3 times the time to access regular memory. > I even have FORTRAN callable subroutines under > RT-11 which support these memory references. I hope you do understand that this could just as well be done under a real PDP-11. It's just a device. No different than any other. It's not that E11 gives any magical extensions by having a new device. There just don't happen to exist any physical implementation of this device. But it wouldn't be particularly hard to implement it and plug it into any Qbus or Unibus. Additional information - I would say that the sensible way would be to add a new instruction. There are a few opcodes left unused which could be allocated for this. It don't make sense to reuse any existing opcodes, since even though they might not be used normally, instructions like MED are valid on something like an 11/60, and if your emulator emulates that CPU, then it should work right, and not do some emulator-specific thing. To make something really simple, yet extensible, we could define a single opcode for calling into the emulator. As a start, it can take a function specific code in R0, and return a value in R0 as well. We can then extend on this later by just adding more functions defined by R0 (and possibly other registers). Johnny