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.213.68 with SMTP id nq4mr14028621pbc.2.1328019882841; Tue, 31 Jan 2012 06:24:42 -0800 (PST) Path: lh20ni245058pbb.0!nntp.google.com!news2.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: billg999@cs.uofs.edu (Bill Gunshannon) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: 31 Jan 2012 14:24:40 GMT Organization: Computing Sciences Dept., University of Scranton Sender: bill@server2.cs.uofs.edu Message-ID: <9oqbt8F9ipU1@mid.individual.net> References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f279487.20502493@nntp.aioe.org> Mime-Version: 1.0 X-Trace: individual.net usddMVRSeoRkQmwRJRx70Amfd++WzG/vv/WTgfoBOCFQWdpBDW Cancel-Lock: sha1:jmaeIJ7xBxGEx04tfhj6Rwx3ODE= X-Newsreader: knews 1.0b.1 X-Face: #S"T9jP[OH$fbA-]+!@r#:cHoa=2+R{,NY(E9Mw0/G2D_((6`6R8@JjodwakR~(J?mCY+]yn//;$5;=/Gc'22VrB Content-Type: text/plain; charset=us-ascii 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. 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. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves billg999@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include