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, 30 Jan 2013 19:50:57 +0100	[thread overview]
Message-ID: <kebq2o$k60$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <51090db1.102143963@nntp.aioe.org>

On 2013-01-30 13:16, paramucho wrote:
> On Mon, 28 Jan 2013 19:06:05 +0100, Johnny Billquist <bqt@softjar.se>
> wrote:
>
>> On 2013-01-28 08:47, paramucho wrote:
>>> On Sat, 26 Jan 2013 00:39:04 +0100, Johnny Billquist <bqt@softjar.se>
>>> wrote:
>>>
>>>>> I should have pointed out that the simple emulator I'm sketching at
>>>>> the moment would not attempt to translate between RT-11 file
>>>>> structures and RSX file and record structures. That's a different
>>>>> task, and substantially more complex.
>>>>
>>>> I'll strip the rest of this subject, and just make this comment:
>>>> Aha. I see. Well, sure, that is certainly doable, and a lot easier. Not
>>>> that your files will be very useful under RSX, but you already know that.
>>>
>>> Er, well, hmm, sure, yikes, I guess...
>>
>> I mean, what you'll get are files that is essentially stream files, from
>> RSX point of view, as that is what RT-11 produce natively. And just
>> about nothing will be able to access those files in RSX, unless you
>> write your own programs, or possibly use RMSCNV to convert the files to
>> another format. (I have not found RMSCNV to be very user friendly, so I
>> would not recommend using it, but there isn't much of anything else
>> around either...)
>> For files other than text files, the conversion becomes even more
>> complex, so I won't go into that...
>> Except of course files which actually would be fixed length 512 record
>> files in RSX, which would be correct from the start.
>> However, it also becomes a question of what attributes to set for the
>> files you create from your RT-11 program... Stream, or fixed 512 byte
>> records?
>
> As I said earlier, I wrote essentially the same tool for VAX/VMS. I
> guess I didn't really use it that much on text files and the like. It
> was more DUMP and PATCH of 512. byte binaries, or stand-alone
> utilities.
>
> Note that RT-11 programs running the emulator can easily exchange
> files with each other. I have that situation with the RSX emulator
> running under RUST/XM where I sometimes MACRO and TKB a test source in
> RSX format.
>
> I also used to have, and maybe still do have, an editor which would
> read/write RT-11 or RSX text file formats. Some RUST apps also detect
> and process RSX text files correctly.
>
> So, it's not really as much a problem as you suspect.

It is only a problem if you want files transportable between RT-11 and 
RSX. If you don't care about that, then I'd definitely just go with raw 
block access, as that matches what RT-11 expects.

>> RT-11 directories are single-directory devices on RT-11 and RUST/XM. I
>>> have sub-directory support on RUST/SJ and when I finally port that to
>>> RUST/XM I'll probably use the DID for something meaningful.
>>
>> Right. Which is why I suspected, assumed, that RUST would ignore the DID.
>>
>> And by the way, the way of RSX means that arbitrary subdirectory
>> structures works just fine. The things that cause problems with
>> subdirectory trees in RSX is actually just wildcarding, which becomes
>> complicated...
>
> 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.

Even without the FCS layer used by RSX, F11 could be used "natively" in 
RT-11. You'd get hierarchical file structures, support for non-contigous 
files, support for larger devices and files, and get something 
semi-transportable to RSX.
Also support for lots of more information in a standardized way for each 
file.

>>>>> Then you have things like MACRO libraries which have mixed record
>>>>> types.
>>>>>
>>>>> All that said, in the example above PIP.TSK happily sends the RT-11
>>>>> file RUST.COM to the terminal in a coherent way. But that's the
>>>>> exception.
>>>>
>>>> Hmm. What do you return back for the IO.RAT function in RUST?
>>>
>>> That is the right question. I fudge it according to the file type
>>> using the following table. I forget how the table works, or if it
>>> really works all that well. I guess STM is experimental.
>>
>> Ah... Well, that is a fair shortcut, I guess. Do you then also mangle
>> the contents to match when you actually access the files?
>
> I used the RSX emulator under RUST/XM to work with native RSX files,
> so the fudged record attributes described the actual structure.

Ah! That would do nicely.

> As I said above, it's not the kind of tool you used all the time.
>
> 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...

> I did a bit more work on RTX.TSK over the weekend. I had planned to
> reuse the code from a tiny RT-11 system I wrote as a stand-alone
> bootstrap manager for RUST. But I soon worked out that I was going
> need more functionality from RUST/SJ and that it would actually be
> less work to adapt RUST/SJ for use under RSX. Well, that's the
> thinking today. An adapted RUST/SJ solution would be more like RTEM I
> guess, but I would still have it running out of RSX directories.

RTEM uses a virtual disk, with a normal RT-11 file system.

Still curious how FIP actually works, though. But we'll take that offline.

	Johnny



  reply	other threads:[~2013-01-30 18: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
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 [this message]
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