From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Access to RSTS/E IOPAGE Registers
Date: Mon, 14 Jan 2013 12:50:15 +0100 [thread overview]
Message-ID: <kd0rdo$50t$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <50f3a15f.22274290@nntp.aioe.org>
On 2013-01-14 07:30, paramucho wrote:
> On Sun, 13 Jan 2013 15:13:01 +0100, Johnny Billquist <bqt@softjar.se>
> wrote:
>
>
>>> I started looking at taking some of RT-11 monitor code and producing
>>> an RSX image which would run a single RT-11 program, which made me
>>> look at the low-memory compatibility between RT-11 and RSX-11.
>
> Some of my own RUSTboot and RUST/SJ monitor code of course.
>
>>> In memory, an RSX task begins with the "task header". RT-11 programs
>>> use low memory differently, obviously, and their are conflicts.
>>>
>>> Version 2 RSX documentation says that a system copy of the header is
>>> copied back to task memory before checkpointing. Version 3 doesn't
>>> seem to say that.
>>
>> The system header is handled differently on mapped and unmapped systems,
>> as well. The actual data used by the kernel is not stuff that you are
>> allowed to manipulate in the program, since that would allow you to
>> circumvent security. However, data was stored back in memory for
>> checkpointing, since it needed to be preserved somehow. In M+, the data
>> is never stored out, since headers are kept out of pool anyway, so they
>> can be kept around for checkpointed tasks.
>>>
>>> I played around with the task header of PIP in a live RSX system
>>> (running under V11). It didn't seem to worry about me trashing most of
>>> the entries, and the ones that it didn't like me altering wouldn't be
>>> active in an RT-11 program (FCS pointer etc).
>>
>> Most of the stuff definitely don't care if you trash it, however, your
>> written data might be overwritten again by RSX, if you get checkpointed.
>
> I got some time to actually read the RTEM docs today, which tells me:
>
> RTEM runs under M+ only with "Task headers out of pool" support. I
> guess that's standard.
Ah, that explains it. No writing back of task header to task memory
space, so problem solved. :-)
> Under RSX-11M V4 you have to edit SGNEXEC.CND to get it to process a
> section titled ";RT EMULATOR" by removing a commented jump, and add
> ".SETF $RTE" to SGNSTAND.CMD.
>
> To enable executive support for RT emulation you apparently have to
> answer affirmatively to "32A. RT-11 emulation support [Y/N]" which
> results in "A$$HDR=0 :ALTERNATE TASK HEADER SUPPORT" being included in
> RSXMC.MAC.
>
> A search of the system sources for "A$$HDR" isolates the required
> code.
Yes. Now I remember that question in 11M sysgen. Never thought much
about what that actually did, but now that I know a little more of RTEM,
it makes total sense.
>> Quite possible they just save that location. I don't really know.
>> As for FCS, they might just not use it...
>
> RTEM wouldn't use FCS, libraries or overlays. RTEM doesn't support
> native RSX-11 file systems. All they need is logical I/O to volumes or
> files formatted as RT-11 disks (except for the terminal etc.)
Right, except there is a utility bundled with RTEM, called FIP, which
gives you access to the outside RSX filesystem from RTEM.
But it could potentially still do that without using FCS. Just more work...
But for the rest of it, yes, RTEM only uses raw disks, and looking the
disk files themself up is fairly trivial to do even without FCS.
> The utility RTX that I'm sketching would access native RSX-11 file
> systems and in fact probably wouldn't support RT-11 volumes ('cos both
> would cost to much memory).
Sounds similar to FIP.SAV
>> Nice with the documentation. Would be nice to read it...
>
> All I need to do is to learn how to scan without falling asleep and
> I'll make it available.
:-)
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
next prev parent reply other threads:[~2013-01-14 11:50 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 [this message]
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