From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Access to RSTS/E IOPAGE Registers
Date: Sat, 02 Feb 2013 17:15:19 +0100 [thread overview]
Message-ID: <keje2o$d81$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <510d05c3.633956@nntp.aioe.org>
On 2013-02-02 13:51, paramucho wrote:
> On Wed, 30 Jan 2013 19:50:57 +0100, Johnny Billquist <bqt@softjar.se>
> wrote:
>
> <snip>
>>> One project I never got around to doing was to support FILES11A under
>>> RUST/XM...
>>
>> Would be cool, but at the same time require a lot more code, which is
>> why DEC never did this, as far as I understand.
>
> Actually, I forgot that one of my staff did write a read-only ACP for
> Files-11A (based on an emergency import app I wrote when my VAX-11/730
> crashed because all the sources were on VMS disks).
For what? I mean, both VMS and RSX already have a Files-11A ACP. RT-11
then? But it wouldn't be an ACP, actually... But anyway, nice if you
could read Files-11A.
> Regarding RT-11 and FILES11A, I heard a very curious story many years
> ago that during the initial design for RT-11 they looked at using a
> subset of FILES11A but rejected it because it would have required an
> additional 30 words of memory.
>
> Now, that might seem wierd to you (and it still does to me), but you
> have to remember that the original RT-11 developers came from the
> PDP-8 OS-8 team (the original sources had macros which emulated some
> PDP-8 instructions), and they counted every byte.
Not at all that surprised, more than the fact that it would only have
been 30 words overweight.
I've used OS/8 for so long, and so much, that I at one time knew it
about as intimately as RSX. I've forgotten a lot, but every time I peek
at RT-11 I'm still amazed at how many things are so much like OS/8. :-)
> But, on the other hand, I don't know how they would have squeezed any
> implementation of FILES11A into the 2kw fixed space allocated for the
> RT-11 "USR" (read "ACP"). Perhaps they only included support for
> contiguous files (as RT-11 does), which would mean that they only
> needed to access the index file during open and close operations and
> wouldn't need to store window information (apart from the start
> block). But, I'm still not sure what an effective allocation routine
> would look like in that case.
Let me just point out that an ACP is nothing like USR. But yeah, I don't
really see how they could squeeze any Files-11 support into the space
the USR takes.
Is the USR resident in RT-11, or is it invisible to the application,
like in OS/8?
(Just for the sake of terminology, an ACP is an extension to a device
driver. It can implement just about anything, extending the
functionality of the device driver, such as different file systems,
communication protocols, or anything else. The ACP itself is a "normal"
privileged program that is scheduled just like any other program by the
kernel. It does, however, get passed some I/O operations that programs
queue to the device driver. The programs, as well as the device driver,
is unaware that the I/O requests actually end up at another program
instead. The ACP can then do I/O, do networking, IPC, or just
computations, as much as it wants, and eventually indicate that the I/O
request is done.)
>>> I have, of course, thought of automated on-the-fly full conversion,
>>> mostly because that would allow me to more-or-less legally use MACRO
>>> from the RSX Professional distribution under RUST/XM. But I have
>>> always had enough other icky projects to keep me happy without doing
>>> that beast.
>>
>> It's not entirely trivial if you want to do it... I have had similar
>> thoughts and ponderings about potentially doing NFS for RSX, and then
>> what to do with those pesky Unix files...
>
> It's the sort of job that never gets completely finished.
Maybe. I'll see if I ever get around to an NFS for RSX. I have other
fishes to fry first. Right now I'm in the middle of a rewrite of my TCP
implementation, to reduce the data copying...
> I did a bit of work on the RUST/SJ monitor sources yesterday. It turns
> out that the monitor itself requires only a few modifications, mostly
> for PSW access and for the terminal. The secondary bootstrap needs to
> be almost fully rewritten and along with the media drivers.
RT-11 have special code for RTEM, unless I remember wrong.
>> Still curious how FIP actually works, though. But we'll take that offline.
>
> The thing I'm curious about at the moment is how RTEM emulates the
> operation of the PSW as the basis of blocking mechanisms to avoid race
> conditions in the RTEM system code executing in user mode. The only
> mechanism which I can think of is enable/disable AST recognition
> (since only ASTs would interrupt RTEM system code).
ASTs (if we talk just RSX) never modify the PSW anyway.
But I don't know exactly what you are thinking of here, so I can't
really comment.
Johnny
next prev parent reply other threads:[~2013-02-02 16:15 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
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 [this message]
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