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: Wed, 16 Jan 2013 05:39:17 +0100	[thread overview]
Message-ID: <kd5atl$drm$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <50f61dc1$0$285$14726298@news.sunsite.dk>

On 2013-01-16 04:25, Jerome H. Fine wrote:
>  >Johnny Billquist wrote:
>
>> >On 2013-01-15 15:20, paramucho wrote:
>>
>>> It's more like the migration tool Hartmut describes, except RTX would
>>> load an RT-11 image rather than being linked with the image
>>> statically.
>>>
>>> Regarding FIP, the documentation includes the error message:
>>>
>>>     ?FIP-F-FCS error code: n "error text"
>>>
>>> Which means that FIP is an RT-11 image running under RTEM which uses
>>> FCS. And that raises a question: how did they link an RT-11 image,
>>> presumably built by RT-11 LINK rather than RSX TKB, to the FCS
>>> routines?
>>
>> I can only guess, but I would have thought they have some interface
>> through RTEM to get to FCS. I can't see how you'd do it otherwise. You
>> can't really expect FCS code to work under RT-11, as it expects both
>> various data structures in various places, some of them fixed, as well
>> as the ability to do RSX system calls of all kind, which would not
>> work in RTEM.
>> However, having one or two "extra" system calls in RTEM, which in
>> reality gave access to FCS to anything running under RTEM seems pretty
>> straight forward. But, like I said, this is guessing...
>
> I can only guess although access to the source code should
> provide the answer if the commented source code is available.
>
> As just an example, DEC produced a total of NINE variants
> for KED, three of which had the additional code to execute
> under RTS for RSTS/E which is able to accept enhanced
> EMT requests that execute ONLY under RSTS/E.
>
> These enhanced EMT requests that the RTS under RSTS/E
> accepts are assembled only into the variants which have been
> enhanced to run under RSTS/E and include provision for the
> PPN that never appears in RT-11, only under RSTS/E.
>
> I suspect that KED is also available to be executed directly
> under RSX-11 with all of the different EMT requests that
> RSX-11 requires.  BUT, the executable image is so different
> from the RT-11 image that the DEC developers kept the
> code  and executable images totally separate.

It's a little different with RSX compared to RT-11 and RSTS/E.
This should really be obvious, and I don't know why I have to explain 
this to you, Jerome.

KED under RT-11 is written in a way that uses the RT-11 EMTs. KED 
running under the RT-11 in RSTS/E will use the same EMTs as plain RT-11. 
There is no difference in the fundamental model of system calls. 
However, there are some additional stuff that you can use/do under the 
RT-11 RTS in RSTS/E, which means it might make sense to have a slightly 
modified version of KED for running under RSTS/E. It does not change 
much of anything in the general code.

In contrast, EMTs under RSX are a totally different thing. You cannot 
just replace or enhance EMTs of an RT-11 program, and expect it to work 
under RSX. There are fundamental differences about how things work,

So, no, KED with some changed EMTs would never run under RSX. The whole 
I/O model is different, as well as how you access files and so on.
You need a totally different section of code in order to make it work 
under RSX.

Just as an example, looking up a file in RT-11 is an EMT, unless I 
remember wrong. In RSX it's a bunch of QIO$ I/O calls, followed by 
reading through the directory file that you just read. And you normally 
do not do that yourself, as you normally want to access files in a 
somewhat structured fashion, so you normally use the FCS library to 
handle all that stuff for you.

> Perhaps FIP contains the enhanced EMT requests which
> support running under RTEM-11 under RSX-11?  This is
> only a suggestion.  Does anyone know if this is even possible?

I believe that was exactly what I suggested... Of course it is possible. 
What would prevent you from implementing some extra system calls if you 
emulate the RT-11 environment?
Exactly what those system calls then do is totally up to you.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


  reply	other threads:[~2013-01-16  4:39 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
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 [this message]
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