From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: d180ab3bd8,5e74e0b23842db90 X-Google-Attributes: gidd180ab3bd8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.100.74 with SMTP id ew10mr8363805wib.7.1356839615513; Sat, 29 Dec 2012 19:53:35 -0800 (PST) MIME-Version: 1.0 Path: i11ni337452wiw.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsgate.cuhk.edu.hk!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: glen herrmannsfeldt Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Access to RSTS/E IOPAGE Registers Date: Thu, 27 Dec 2012 00:10:58 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <50dafa16$0$291$14726298@news.sunsite.dk> NNTP-Posting-Host: iv0FLp+Uhvv05NzXKWDP0Q.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 alt.sys.pdp11 Bill Gunshannon wrote: (snip, someone wrote) >> The current Emulators which are detected and displayed >> are SimH, Ersatz-11 and V11. If anyone knows of any >> other PDP-11 emulators which can also be included, that >> would be of great interest, especially if access to that >> emulator for testing is possible. I have asked for help >> in the past about this and the only other PDP-11 emulator >> which runs RT-11 compatible programs is Charon which >> unfortunately no longer seems to be available or even running. >> If anyone can help expand the list, it would be appreciated!!! (snip) > All I have to say is any emulator that can be detected as an > emulator is not a very good emulation. :-) That is true, however there has been a tradition of allowing guests special access to the host, and so require a back door. What exactly happens if you try to use that door on real hardware is undefined. IBM VM/CP uses the Diagnose instruction defined to be machine dependent. The effects of using Diagnose on actual hardware are undefined, possibly including hardware damage. (More likely, errors that would not appear in normal operation. You might modify microcode, for example.) Diagnose, so machine dependent that it doesn't even have an assembler mnemonic, is a privileged instruction. Another privileged instruction, STIDP (store processor ID) gives the serial number of the host processor. There is a tradition for CP to set the high bits of the serial number that aren't normally set by real processors. There is, of course, no requirement that those bits be set, but if they are then the guest knows that it is running under CP and can use some CP features that it otherwise might not use. I don't know how that translates to the PDP-11, but maybe it makes some sense there, too. Another example, the OS/2 emulation for MS-DOS included a special DOS device driver that allowed access to host files. I believe the guest had access to FAT file systems without the special device driver, but not other file systems. Also, it was faster than emulating the disk I/O calls. If the special device driver actually installed under real hardware the results would likely be strange, but most likely it doesn't. -- glen