Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Johnny Billquist <bqt@softjar.se>
Subject: Re: RMS-11
Date: Wed, 07 Sep 2011 22:06:38 +0200	[thread overview]
Message-ID: <j48ise$kpr$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <ee79a6fb-370f-4149-a8e9-e188a7388996@c29g2000yqd.googlegroups.com>

On 2011-09-07 17.34, Hein RMS van den Heuvel wrote:
> On Sep 6, 5:49 pm, Johnny Billquist<b...@softjar.se>  wrote:
>> Does anyone have sources to RMS-11 V2.0. Specifically for RSX, in case
>> they differ.
>
> RMS-11? RSX?  Sources? Microfiche? Seriously !? Interesting hobby!

We all have our quirks. :-)

>> So, yes, using FCS, I can access this device just like any other,
>> including opening files and so on... However, RMS-11 is not so
>> cooperative, and I guess it means that I'm either not implementing some
>> ACP function in enough detail to make RMS-11 happy
>
> Well, RMS-11 uses 18 bytes more than FCS in the USER FILE ATTRIBUTES
> from the file header.

Well, yes and no. RMS uses all 16 words (32 bytes) of the file header 
for some of the more complex types of files (index files to be precise), 
but for plain text files, they just use the same 7 words that FCS use, 
and nothing more.

> Are those mimicked?

Yes. Of course. :-)
However, it don't help, as RMS never even calls my device driver. That 
is my problem. It decides that it don't need to, and just do an ALUN$ 
and then it's done and happy.

> VMS - RMS, when wildcards are present reads the directory itself
> versus letting the ACP find the file. Would that have been the same
> for RMS-11?

Yes. Since ODS don't really know what a directory is. All ODS knows 
about are file IDs. In RSX this means that even finding a file without 
wildcards means that RMS (or FCS) needs to read the directory itself. 
Not sure how VMS do... I would think it worked the same way...

But that is for disks. For tapes for instance, it's another deal. There 
is a special I/O function for finding filenames matching the FNB for 
tapes. Even with wildcarding, although the ACP wildcarding is primitive, 
and the library have to implement the more sophisticated details itself.

And then you have record type devices. And this is part of what my 
questions aims at: what to make the device look like to make RMS call my 
device driver, and with which arguments it then actually do get called.

> Is there are error code returned at all ?

In RMS? With the current implementation, FCS calls the device driver to 
get a file id, based on a FNB. RMS claims to open the file without 
calling the device driver at all. So it does not give any error.
However, trying to do I/O after that, means that my TCP/IP gives an 
error, since there is no connection open on that LUN.

> Can you single step the RMS code... for a while?

I've done it some, and it's tedious and complex. RMS is not a small 
library...

> Anything of use in appendix F of the IO Operations manual where the
> expected disk structure is explained?

I am not trying to emulate a disk. That would imply a lot more things 
that I'd have to implement, not forgetting that disks do not allow 
foreign file specifications, which means I cannot give nice IP 
addresses, if I were to implement this as a disk.

> http://www.bitsavers.org/pdf/dec/pdp11/rsx11/RSX11M_V3.2_Jun79/5A_FileMgmt_IO/AA-2515D-TC_RSX-11M_V3.2_IO_Operations_Ref_Man_Jun79.pdf
>
> also...
>
> http://www.bitsavers.org/pdf/dec/pdp11/rsx11/RSX11M_V3.2_Jun79/5A_FileMgmt_IO/AA-H269A-TC_RSX-11M_IO_Drivers_Ref_Man_May79.pdf

You know, the newest RSX-11M-PLUS V4.6 manuals are also online at the 
same site. ;-)

> Good luck!
> Hein

Thanks.

	Johnny


  reply	other threads:[~2011-09-07 20:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 21:49 RMS-11 Johnny Billquist
2011-09-07 15:34 ` RMS-11 Hein RMS van den Heuvel
2011-09-07 20:06   ` Johnny Billquist [this message]
2011-09-08  6:16     ` RMS-11 paramucho
2011-09-08  6:27       ` RMS-11 Johnny Billquist
2011-09-08  9:54         ` RMS-11 paramucho
2011-09-08 12:32           ` RMS-11 Johnny Billquist
2011-09-08 17:12             ` RMS-11 paramucho
2011-09-08 18:41               ` RMS-11 Johnny Billquist
2011-09-09 14:32                 ` RMS-11 paramucho
2011-09-09 15:48                   ` RMS-11 Johnny Billquist
2011-09-09 16:12                     ` RMS-11 paramucho
2011-09-09 17:06                       ` RMS-11 Johnny Billquist
2011-09-14 15:29                         ` RMS-11 paramucho
2011-09-14 18:55                           ` RMS-11 Johnny Billquist
2011-09-08 13:48     ` RMS-11 Bob Koehler
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