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 Received: by 10.68.135.231 with SMTP id pv7mr1029899pbb.8.1327155942610; Sat, 21 Jan 2012 06:25:42 -0800 (PST) Path: lh20ni207582pbb.0!nntp.google.com!news2.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!newsfeed.utanet.at!newsfeed.tele2net.at!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: Sat, 21 Jan 2012 14:25:37 +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 Mime-Version: 1.0 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In vmsnet.pdp-11 Tim Shoppa wrote: > On Jan 18, 1:03�am, paramu...@hotmail.com (paramucho) wrote: >> In any case, an emulator is not equivalent to a processor type since >> SimH and E11 support a range of PDP-11 CPUs. > Emulation of interesting (not textbook) machines might be a special > case of Godel's theorem. Working a lot like Hofstader's example of a > record that states "This record cannot be played on record player x" > and Hofstadter's thought of a record-player that has a record-player > emulator inside it. As soon as the emulator author finds out there's a > difference between the real world and emulation, such that software on > the emulated system can know it's not on the real system, the author > can refine the emulator so the software cannot tell anymore. Emulators are one thing, virtual machines another. At least as I understand it, the idea of a virtual machine is running on a similar host, and only emulating the differences, usually the privileged instructions. I first saw this described in the 68020 days, as the 68020, if I remember right, allows an unprivileged program to see the privilege flag bit. The usual exception, both for user programs running on a variety of systems, and for systems running in a virtual machine, is that they shouldn't be time dependent. > But without a formal and complete definition of the "real hardware" > that the "real hardware" actually followed, the game can probably be > repeated indefinitely. There will be a corner case of the real machine > not following the textbook architecture spec. In an academic way > that's what makes the whole emulator authoring process so interesting. > (This is something that the seller of commercial emulators could > probably never admit in public!) There is an emulator story I remember from 1976, though not at all the machine that was being discussed, about how the emulator had to emulate bugs in the original. I believe that has been repeated over and over again in the emulation world, both hardware (supposedly compatible processors that weren't) and software emulation. I seem to remember some clone 8080 that wouldn't run microsoft basic, which it seems used some undocumented flag bit. One big problem in modern emulation of older systems is that they often run too fast. Timing loops run faster than their author ever imagined, possibly resulting in divide by zero. An I/O device complete an I/O operation faster than expected. Things like that. (Or just game programs that run faster than human responses allow for.) -- glen