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.24.130 with SMTP id u2mr8359986wif.6.1356839715256; Sat, 29 Dec 2012 19:55:15 -0800 (PST) Path: l12ni269300wiv.1!nntp.google.com!feeder3.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!border5.a.newsrouter.astraweb.com!news.astraweb.com!border6.newsrouter.astraweb.com!border4.nntp.dca.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!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: Access to RSTS/E IOPAGE Registers Date: Thu, 27 Dec 2012 22:13:59 +0100 Organization: Update Computer Club Message-ID: References: <50dafa16$0$291$14726298@news.sunsite.dk> NNTP-Posting-Host: host-78-78-148-79.mobileonline.telia.com Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1356642793 14272 78.78.148.79 (27 Dec 2012 21:13:13 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Thu, 27 Dec 2012 21:13:13 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-12-27 01:10, glen herrmannsfeldt wrote: > 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. Just to point out, there exists both semi-undocumented diagnostics instructions that might do very different things on different PDP-11s. Some if them do have mnemonics, but none that MACRO-11 recognizes (MED for example), and some processors (well, only the 11/70 as far as I know) do have a special register holding the serial number. And newer processors have a type register. Johnny