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.191.202 with SMTP id ha10mr2857042pbc.2.1326892707532; Wed, 18 Jan 2012 05:18:27 -0800 (PST) Path: lh20ni196073pbb.0!nntp.google.com!news2.google.com!eweka.nl!feeder.eweka.nl!feeder.erje.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!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: Wed, 18 Jan 2012 14:18:26 +0100 Organization: Update Computer Club Message-ID: References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1326892707 32515 178.83.31.172 (18 Jan 2012 13:18:27 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Wed, 18 Jan 2012 13:18:27 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-01-18 13:41, glen herrmannsfeldt wrote: > In vmsnet.pdp-11 paramucho wrote: >> On Sun, 15 Jan 2012 09:37:21 -0500, "Jerome H. Fine" > > (snip) >>> 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. > > (snip) >> 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. > > For VM/370, IBM's first try at software emulation (more or less) > of S/370, they use bits from STIDP, which stores the processor serial > number, to identify running under emulation. That is, of course, a > convention as the emulator can return any specified value. > (It also returns the processor model number which, again, can have > any value under emulation.) Unfortunately, the PDP-11 never had anything similar globally defined. The PDP-11/70 is the only model I know which have such a thing, and it's more or less unused by everything. > In addition, there is one instruction, diagnose (with no assembler > mnemonic) that is defined to be system dependent. That instruction is > then used for communication between guest systems and CP (the emulator). There are several instructions on various PDP-11 models for this. The problem being that it is so undefined. Hard to use to identify the type of system for that exact reason, since existing models sometimes also might do things... > I don't know if there is anything equivalent for the PDP-11 to either > STIDP or diagnose. Nothing that I would say is usable. >> In fact, the V11 emulator has a little API which is used to pass >> information between the emulator and the system. It's used to >> relinquish control so that the emulator doesn't hog all the CPU time >> and for various other functions. > > This is one case where VM has it easy. S/370 processors don't use > an idle loop, but a wait state where they stop executing instructions. So does a PDP-11 normally, which is why I wonder what this API is expected to be used for. 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