From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,b79b03565fd3002e X-Google-NewGroupId: yes X-Google-Thread: ffc31,b79b03565fd3002e X-Google-NewGroupId: yes X-Google-Thread: 1164f8,b79b03565fd3002e X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.42.115.67 with SMTP id j3mr1181176icq.33.1315425999685; Wed, 07 Sep 2011 13:06:39 -0700 (PDT) Path: m9ni1361pbd.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec,comp.os.rsts,comp.os.vms Subject: Re: RMS-11 Date: Wed, 07 Sep 2011 22:06:38 +0200 Organization: Update Computer Club Message-ID: References: NNTP-Posting-Host: 2620:0:105f:b:462a:60ff:fefb:aad8 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1315425998 21307 2620:0:105f:b:462a:60ff:fefb:aad8 (7 Sep 2011 20:06:38 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Wed, 7 Sep 2011 20:06:38 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 In-Reply-To: Xref: news1.google.com alt.sys.pdp11:1891 vmsnet.pdp-11:317 comp.sys.dec:3212 comp.os.rsts:25 comp.os.vms:34411 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2011-09-07 17.34, Hein RMS van den Heuvel wrote: > On Sep 6, 5:49 pm, Johnny Billquist 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