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.199.73 with SMTP id ji9mr1406187pbc.5.1326891922388; Wed, 18 Jan 2012 05:05:22 -0800 (PST) MIME-Version: 1.0 Path: lh20ni196046pbb.0!nntp.google.com!news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!.POSTED!not-for-mail From: glen herrmannsfeldt Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Wed, 18 Jan 2012 13:05:18 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> NNTP-Posting-Host: H0vc4U5LIRkRHNPyGCs2dA.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.32-5-amd64 (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 In vmsnet.pdp-11 Johnny Billquist wrote: (snip, someone 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. (snip, someone else wrote) >> 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. >> Some CPU software detection is handled by examining CPU behavior. The >> same process can be used to detect an emulator and to determine which >> emulator is being used. > Right. I just posted an outline of how RSX-11M+ detects system type. > It's a combination of available information as well as CPU behavior in > very weird and possibly not documented ways. I have seen the rules for detecting different x86 CPUs, from 8086 and 8088 on up. Some are pretty strange, though usually documented at least as needed for detection. -- glen