From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,5e74e0b23842db90 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.100.74 with SMTP id ew10mr1452191wib.7.1359548217781; Wed, 30 Jan 2013 04:16:57 -0800 (PST) Path: bp2ni6124wib.1!nntp.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Access to RSTS/E IOPAGE Registers Date: Wed, 30 Jan 2013 12:16:53 GMT Organization: Aioe.org NNTP Server Message-ID: <51090db1.102143963@nntp.aioe.org> References: <50f3a15f.22274290@nntp.aioe.org> <50f5628f.137262066@nntp.aioe.org> <5103ed41.658822127@nntp.aioe.org> <51028a73.830126357@nntp.aioe.org> <51062c31.1068125772@nntp.aioe.org> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: CmgvwL3sOlojnxUjt8znzA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 1.5/32.451 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Mon, 28 Jan 2013 19:06:05 +0100, Johnny Billquist wrote: >On 2013-01-28 08:47, paramucho wrote: >> On Sat, 26 Jan 2013 00:39:04 +0100, Johnny Billquist >> 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. In any case, the tool is not designed to be used on a daily basis, but more to be a specialist tool in the tool kit. >> I don't have an RTEM kit or FIP. I'd run tests on all of it if I did. >> All I've managed to find on the web is a copy of JOAT.SAV. > >I have FIP. Let me know if/how you'd like a copy. I also happen to have >RTEM... However, I do not have a complete correct kit, so it's all in >the form of bits and pieces which don't always work correctly together. Many thanks. I'll e-mail you. > 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... >>>> 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. 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. 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. Ian