Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Access to RSTS/E IOPAGE Registers
Date: Thu, 27 Dec 2012 22:37:10 +0100	[thread overview]
Message-ID: <kbif0o$e94$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <kbied5$8tr$1@speranza.aioe.org>

On 2012-12-27 22:25, glen herrmannsfeldt wrote:
> In alt.sys.pdp11 Johnny Billquist <bqt@softjar.se> wrote:
>
> (snip, I wrote)
>>> 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.
>
> (snip)
>>> 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),
>
> There is a macro, DIAG, to generate the appropriate form of Diagnose,
> for CP calls, so, even though it isn't known to assemblers as an
> instruction, it can still be used like one.
>
> But the important thing is that the opcode is reserved.
>
> There is one other S/360 reserved opcode, X'00' is not implemented as
> an instruction, and is supposed to stay that way.

On the PDP-11, the diagnostics opcode(s) are more undefined. Some 
processors don't have any, others have several. And while they all fall 
in the same range, I believe, they are just reserved instruction traps 
on other processors. And might do totally different things on the ones 
where they do exist. So it's extremely hard to use them in any way until 
you've really figured out what processor you are...

>> 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.
>
> How many bits for serial number? And are they always decimal numbers?
> (or octal numbers?)  IBM warns that they could be hexadecimal.
> (Presumably it matches the number stamped on the outside of the box.)

Meh. It's just a 16-bit number (if I remember right). Even more silly is 
that it's taken from a set of dip switches on one CPU board, so you can 
just change it to anything on your machine if you want to.

The type register have a bunch of unused values, as well as most 
machines using the J11 having a second register telling what specific 
model you have, where you also have a bunch of undefined bits you could 
play with.

So it would probably make sense to stick something in where software in 
general wouldn't care for an emulated machine, so that code that really 
wants to know could figure it out, even though code not aware would 
believe it's just a known systems that the emulator implements without 
giving it away.

	Johnny



  reply	other threads:[~2012-12-27 21:37 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
2012-12-27 21:13     ` Johnny Billquist
2012-12-27 21:25       ` glen herrmannsfeldt
2012-12-27 21:37         ` Johnny Billquist [this message]
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