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.227.40 with SMTP id rx8mr960592pbc.5.1328095373673; Wed, 01 Feb 2012 03:22:53 -0800 (PST) Path: lh20ni248238pbb.0!nntp.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!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: Wed, 01 Feb 2012 11:22:11 GMT Organization: Aioe.org NNTP Server Message-ID: <4f2a1ef0.21673593@nntp.aioe.org> References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f279487.20502493@nntp.aioe.org> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: CmgvwL3sOlojnxUjt8znzA.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 Tue, 31 Jan 2012 10:42:30 +0100, Johnny Billquist wrote: >>>> 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. It's a jungle out there :-) Any general purpose PDP-11 system should be able to support custom devices, and what we are adding is "custom" functionality. In the real world we'd use a device (mainly because, with a couple of exceptions, we can't alter the architecture of a real PDP-11). That doesn't mean we can't go into the custom CPU business, but the analogy does hold. I suppose we could use a hidden register, like the TOY clock, but I guess that would have it's own emulator nasties. It occurs to me that I don't know if there is a definitive listing of the fixed addresses... I guess there has to be a list somewhere??? Ian