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 qk7mr9656451pbc.1.1328041080984; Tue, 31 Jan 2012 12:18:00 -0800 (PST) Path: lh20ni245961pbb.0!nntp.google.com!news1.google.com!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: Tue, 31 Jan 2012 21:17:59 +0100 Organization: Update Computer Club Message-ID: References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f279487.20502493@nntp.aioe.org> <9oqbt8F9ipU1@mid.individual.net> NNTP-Posting-Host: 2620:0:105f:b:462a:60ff:fefb:aad8 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1328041079 23666 2620:0:105f:b:462a:60ff:fefb:aad8 (31 Jan 2012 20:17:59 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Tue, 31 Jan 2012 20:17:59 +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: <9oqbt8F9ipU1@mid.individual.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-01-31 15.24, Bill Gunshannon wrote: > In article, > Johnny Billquist writes: >> On 2012-01-31 08.14, paramucho wrote: >>> On Sun, 29 Jan 2012 21:21:04 -0500, Bob Supnik >>> wrote: >>> >>>> No. Just no. SimH will never add "features" that didn't exist in the >>>> real hardware. >>>> >>>> The maintenance register (MAINT) is already read/write. After it has >>>> been initialized, you can set arbitrary values in it to create "new" >>>> models, at least for processors (like the J-11) that implement it. >>>> >>>> The model emulation in SimH is not perfect, which is why clever >>>> software can detect it. But the intent is to mimic real systems. SimH >>>> is not a "different" PDP11. >>>> >>>> /Bob Supnik >>>> On Sun, 15 Jan 2012 09:37:21 -0500, "Jerome H. Fine" >>>> wrote: >>>> >>>>> I have an interesting hardware question. >>> >>> >>>>> Thus far, the high order byte of the MFPT instruction always seems >>>>> to be zero and is currently ignored by the RESORC.SAV program. >>>>> Under SIMH and Ersatz-11, it would be trivial to use the high order >>>>> byte of the MFPT instruction to signify which software emulator is >>>>> being used. >>>>> >>>>> Can anyone who has a DEC (or non-DEC) PDP-11 system easily >>>>> available determine the actual value returned by the MFPT instruction? >>>>> As far as I know: >>>>> >>>>> MFPT Value Hardware >>>>> 1 PDP-11/44 >>>>> 3 PDP-11/24 (should be 2) >>>>> 3 PDP-11/23 >>>>> 4 SBC-11/21 >>>>> 5 All J11 chips including 11/73, 11/83, 11/93 >>>>> >>>>> I assume that it would be extremely difficult, probably not worth the >>>>> effort, to modify the high order byte of the MFPT instruction at this >>>>> point for the 3rd party PDP-11 CPU boards, such as from Mentec. >>>>> Can anyone comment on this assumption? Might there be another >>>>> way for hardware to the tell a user which 3rd party board is being >>>>> used as a PDP-11? >>>>> >>>>> The other possibility is to use the Maintenance Register at 177750, >>>>> although I suspect that there might not be any more bit available. >>>>> >>>>> Jerome Fine >>> >>> Perhaps a better way to implement this functionality, if it is worth >>> implementing at all, is in the form of a new custom device, freeing it >>> from any dependency on a particular CPU's facilities. The same psuedo- >>> device could be implemented for E11 using the E11 plug-in facilities. >>> V11 would just add a code module. >>> >>> Going back to Bob Supnik's comments, the implementation of a new >>> "different" device doesn't materially alter the CPU architecture of >>> "real" PDP-11 systems. PDP-11s have always supported custom devices. >>> Clearly, one would not expect the standard SimH deliverable to include >>> this custom device, but there are already specialized versions of SimH >>> such as the Pro version. >>> >>> The PDP-11 client-side interface to the device could be direct >>> addressing for bootstrap/kernel code, or via a driver to provide >>> access for user-mode processes. >>> >>> Implementing an emulator device is not as trivial as inserting a new >>> instruction for something as simple as a Move-From-Emulator-Type >>> instruction. However, a device is a more convenient way of packaging >>> the functionality if you want to implement a more complex API (which >>> is what I have). >>> >>> All that said, we need to ask: Do We Really Need This Functionality? >>> If we don't, the idea will merely live and flourish for a few months >>> only to later wither on the vine... It's a nice idea, but there are >>> lots of nice ideas... >> >> I don't particularly feel we need this at all, but since Jerome asked, I >> (and you, and others...) answered. >> If one absolutely do want a way, then I still think that a new >> instruction is the right way to go. Adding a device is both problematic >> since it could very well be implemented in a real machine, and also >> because if you are to do it properly, it needs to be defined in the >> order of floating CSR space, and adopted properly, or else all kind of >> autodetection of devices will fail in spectacular ways. I'm not sure any >> room is left around in the fixed CSR space... >> And that would mean it needs to move around depending on what other >> hardware you have, which in turn will make it very hard for any software >> to actually use unless they implement the whole autodetection algorithm, >> which in turn also might make it difficult to use under a running OS, >> not to mention the fact that if you configure things wrong, it will not >> work right at all. >> >> But, to reiterate my stand, I don't particularly feel the need for this >> at all. And I am unclear on what Jerome needs, and why. > > Let me throw a couple comments out in regards this latest discussion. > First, on Bob's comment about what will or will not go into SIMH, I > totally agree that the base SIMH needs to remain just what it is, an > emulator of real hardware. But I would be in favor of a fork of SIMH > for experimenters where the internal engine was used to add or change > features of the hardware for the pure academic sake of seeing if the > architecture was really at a dead end or if one could have done things > with the PDP-11 (and the VAX, for that matter) to extend the architecture > while remaining compatable with the old architecture, much like what > IBM dod with the 360<-> 390. Hmm. That is a totally different question. It might be worth playing with in its own right, but I doubt there will much point, unless you also could modify all software to actually use this. That might be hard, so I'm not sure it would lead anywhere. Anyway, for such a thing a proper fork would be right. It's not emulating any existing machine. > On, on this latest piece, I agree with Johnny that creating a bogus > device to identify what the processor is is more work than needed > and because such a device would never exist anyway, kind of meaningless. > Assuming that there is a serious need/desire to be able to identify a > processor using some external means provided by the operator, why > not create a pseudo-dongle that can hang off of an unused (or even a > used one with a little more work) serial port that can be queried to > identify the processor? Advantage is it requires no architectural > change to the underlying hardware, emulated or real. It could also > be created in real hardware with out too much difficulty if one wanted > to move this from the emulated PDP world to real hardware. Oh! Yuck! But I guess it depends on what the purpose of that thing should be. Just a way to identify a machine, or a way to identify a machine running under E11/Simh/whatever. In the latter case, a serial dongle would definitely be wrong. In the former case, what would it be used for at all? I can, just for curiositys sake, understand that you might want to find out if you are running under Simh or whatever. But then you need to do something in Simh which is not possibly under any existing other machine. As an extension to this, you could also add new features, which would be used when identified as such a machine, but this seems unlikely in general. As I said from the start, I'm not sure what the point of all this is. :-) Johnny