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.238.198 with SMTP id vm6mr337300pbc.3.1327548190792; Wed, 25 Jan 2012 19:23:10 -0800 (PST) Path: lh20ni224638pbb.0!nntp.google.com!news1.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Wed, 25 Jan 2012 22:23:05 -0500 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> In-Reply-To: Message-ID: <4f20c71d$0$285$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=lD@MC[Hf:VNK0]X@\@M^fKYSB=nbEKnkK^Bn]WibRO6OPPfk^U[HX;ON1>V8bAJTIN3eOPKWXldeDQa4_jgFW[9O^;[fN_L9UBN?DnJl7^Pb6O X-Complaints-To: staff@sunsite.dk Content-Type: multipart/alternative; boundary="------------030208030203070004080704" This is a multi-part message in MIME format. --------------030208030203070004080704 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit >glen herrmannsfeldt 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. > > My suggestion would be to treat the speed difference separately from the CPU and board being emulated. NOTE that with Ersatz-11, it is almost trivial to specify a particular CPU and board which was NEVER produced. As for the speed difference, that aspect seems quite important since it is possible for Ersatz-11 to run RT-11 at a speed which is more than 100 times the speed of a DEC PDP-11/93 and that is just the CPU speed. The disk I/O can easily be more than 200 times the speed of any disk drive which was available on a real DEC PDP-11/93. >>>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. > As has been pointed out, however, an emulator like Ersatz-11 or SIMH actually emulates MANY different CPUs and boards. So the suggestion that Johnny made to use a new CPU instruction does seem very helpful. Does anyone else agree? What sort of standards might be helpful to use? Jerome Fine --------------030208030203070004080704 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit >glen herrmannsfeldt 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.
  
My suggestion would be to treat the speed difference
separately from the CPU and board being emulated.
NOTE that with Ersatz-11, it is almost trivial to
specify a particular CPU and board which was
NEVER produced.

As for the speed difference, that aspect seems quite
important since it is possible for Ersatz-11 to run
RT-11 at a speed which is more than 100 times
the speed of a DEC  PDP-11/93 and that is just
the CPU speed.  The disk I/O can easily be more
than 200 times the speed of any disk drive which
was available on a real DEC  PDP-11/93.
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.
As has been pointed out, however, an emulator
like Ersatz-11 or SIMH actually emulates MANY
different CPUs and boards.  So the suggestion
that Johnny made to use a new CPU instruction
does seem very helpful.  Does anyone else agree?
What sort of standards might be helpful to use?

Jerome Fine

--------------030208030203070004080704--