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: Mon, 31 Dec 2012 01:52:39 +0100	[thread overview]
Message-ID: <kbqnkn$iqk$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <50e0dd7c$0$281$14726298@news.sunsite.dk>

On 2012-12-31 01:34, Jerome H. Fine wrote:
>  >jgharston wrote:
>
>>> Jerome H. Fine wrote:
>>
>>
>>> and runs under:
>>> (a)  RT-11 both UnMapped and Mapped Monitors
>>> (b)  TSX-Plus
>>> (c)  RUST both RUST/SJ and RUST/XM
>>> (d)  RSTS/E
>>> (e)  RTEM-11
>>>
>> ... PDP UNIX ...?
>>
>> And any chance of a link to a download?
>>
>> JGH
>>
> The source code and an RT-11 executable file will be
> available as soon as it can be verified that RSTS/E
> and RTEM-11 do not support SHOWEM.

I can assure you, they do not. You cannot turn off interrupts in either, 
without going to kernel mode, which neither of those OSes allows your 
program to do either, even apart from the fact that you don't have 
access to the I/O page.

> There are two requirements:
>
> (a)  Access to the IOPAGE registers at least in USER  MODE.

Neither RSTS/E nor RTEM-11 will give you that.

> (b)  If the SR0 (177572), SR1 (177574) and PSW (177776)
>        registers are not explicitly available, then RT-11 uses the
>       .TrpSet EMT request to avoid an abort.

Since (a) is already invalid, this becomes irrelevant.

> SHOWEM disables interrupts and, when required, swaps
> about 200 words of code and data to 10000 octal in the
> PAR0 portion of physical memory, then executes a trap
> routine in KERNEL  MODE.
>
> All of RT-11, TSX-Plus and RUST support these two requirements.

Right.

> If UNIX can also run a file which runs under RT-11, it would
> be possible to include the extra code needed for UNIX as well.

Unix is way different in many ways. Think of it more in the vein of RSX 
or RSTS/E, and you come closer. Unix also will not allow your 
requirements, even apart from the fact that binary files have a totally 
different format (search for the a.out format if you want details). 
Also, system calls are also totally different.

> Can you provide details?  RT-11 uses words 40 to 50 in block
> zero of the executable file to inform the loader where to start
> the program, the location of the stack and the required memory.
> The program starts at location 1000 in block one.  If there is
> sufficient compatibility between RT-11 and UNIX on how a
> program is loaded and started, then it should be possible to
> test under UNIX as well if access the the IOAGE registers
> is possible.

It is totally incompatible. Not to mention that the whole file system 
design is also totally incompatible, as well as the view of what a file 
looks like, or appears, and how devices act, and just about everything else.

	Johnny



  reply	other threads:[~2012-12-31  0:52 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
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 [this message]
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