Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Subject: Re: Access to RSTS/E IOPAGE Registers
Date: Thu, 27 Dec 2012 00:10:58 +0000 (UTC)	[thread overview]
Message-ID: <kbg3mi$q7k$1@speranza.aioe.org> (raw)
In-Reply-To: ak0jpsFohi1U1@mid.individual.net

In alt.sys.pdp11 Bill Gunshannon <billg999@cs.uofs.edu> 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


  reply	other threads:[~2012-12-27  0:10 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26 13:22 Access to RSTS/E IOPAGE Registers Jerome H. Fine
2012-12-26 15:35 ` Bill Gunshannon
2012-12-27  0:10   ` glen herrmannsfeldt [this message]
2012-12-27 21:13     ` Johnny Billquist
2012-12-27 21:25       ` glen herrmannsfeldt
2012-12-27 21:37         ` Johnny Billquist
2012-12-27 13:38   ` Jerome H. Fine
2012-12-27 21:16 ` Johnny Billquist
2012-12-28  6:32   ` paramucho
2012-12-28 15:01     ` Johnny Billquist
2012-12-30  2:04       ` paramucho
2012-12-30  3:25         ` Johnny Billquist
2012-12-30 18:25 ` jgharston
2012-12-30 21:44   ` Johnny Billquist
2012-12-31  0:34   ` Jerome H. Fine
2012-12-31  0:52     ` Johnny Billquist
2012-12-31 16:04     ` paramucho
2012-12-31 16:23       ` Bob Eager
2012-12-31 16:33         ` Johnny Billquist
2013-01-01  3:28         ` paramucho
2012-12-31 16:30       ` Johnny Billquist
2013-01-01  4:55         ` paramucho
2013-01-01 18:37           ` Johnny Billquist
2013-01-13  8:01             ` paramucho
2013-01-13 14:13               ` Johnny Billquist
2013-01-14  6:30                 ` paramucho
2013-01-14 11:50                   ` Johnny Billquist
2013-01-15 14:20                     ` paramucho
2013-01-15 21:10                       ` Johnny Billquist
2013-01-16  3:25                         ` Jerome H. Fine
2013-01-16  4:39                           ` Johnny Billquist
2013-01-16 13:43                         ` paramucho
2013-01-16 18:59                           ` Johnny Billquist
2013-01-17 11:56                             ` paramucho
2013-01-22  9:53                       ` Hartmut Brandt
2013-01-22 13:52                         ` Johnny Billquist
2013-01-23 14:11                           ` paramucho
2013-01-23 19:53                             ` Johnny Billquist
2013-01-25 13:43                               ` paramucho
2013-01-25 23:39                                 ` Johnny Billquist
2013-01-28  7:47                                   ` paramucho
2013-01-28 18:06                                     ` Johnny Billquist
2013-01-30 12:16                                       ` paramucho
2013-01-30 18:50                                         ` Johnny Billquist
2013-02-02 12:51                                           ` paramucho
2013-02-02 16:15                                             ` Johnny Billquist
2013-02-03 16:16                                               ` Jerome H. Fine
2013-02-04 12:03                                               ` paramucho
2013-02-04 16:58                                                 ` Johnny Billquist
2013-02-15 12:34                                                   ` paramucho
2013-02-15 13:08                                                     ` Johnny Billquist
2013-02-15 15:15                                                       ` paramucho
2013-02-15 16:04                                                         ` Johnny Billquist
2013-02-17 13:02                                                           ` paramucho
2013-02-17 13:43                                                             ` Johnny Billquist
2013-02-19 14:09                                                               ` paramucho
2013-02-20 11:18                                                                 ` paramucho
2013-02-21  0:23                                                                   ` Johnny Billquist
2013-02-21  0:22                                                                 ` Johnny Billquist
2013-02-24 14:10                                                                   ` paramucho
2013-02-24 15:00                                                                     ` Johnny Billquist
2013-03-06 15:33                                                                       ` paramucho
2013-03-06 23:51                                                                         ` Johnny Billquist
2013-03-20 10:15                                                                           ` paramucho
2013-03-20 13:01                                                                             ` Johnny Billquist
2013-03-20 21:42                                                                               ` Johnny Billquist
2013-04-14 16:48                                                                                 ` paramucho
2013-04-14 18:28                                                                                   ` Johnny Billquist
2013-04-15 10:30                                                                                     ` Johnny Billquist
2013-03-20 17:33                                                                             ` Jerome H. Fine
2013-03-25 15:55                                                                             ` paramucho
2013-03-06 15:33                                                                       ` paramucho
2013-02-24 14:12                                                                   ` paramucho
2013-01-23 14:10                         ` paramucho
2013-01-14  9:13                 ` Hartmut Brandt
2013-01-14  8:08 ` John Santos
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox