From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: d180ab3bd8,5e74e0b23842db90 X-Google-Attributes: gidd180ab3bd8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.101.168 with SMTP id fh8mr1037720wib.1.1359518502958; Tue, 29 Jan 2013 20:01:42 -0800 (PST) Path: i11ni28369wiw.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.130.MISMATCH!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!telefonica.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: Hartmut Brandt Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Access to RSTS/E IOPAGE Registers Date: Tue, 22 Jan 2013 10:53:29 +0100 Message-ID: References: <50dafa16$0$291$14726298@news.sunsite.dk> <50e0dd7c$0$281$14726298@news.sunsite.dk> <50e1b4b8.51590248@nntp.aioe.org> <50e357ee.3109505@nntp.aioe.org> <50f2699f.912543@nntp.aioe.org> <50f3a15f.22274290@nntp.aioe.org> <50f5628f.137262066@nntp.aioe.org> Mime-Version: 1.0 X-Trace: news.dfncis.de GvB6nfD8q7ao5vjP6Ej++QXHIzUBswoLyqWCmyUARsPUrSl7CUE0FhiTpvVRxjzuANrsr6DSN6 X-Orig-Path: KNOP-BEAGLE.kn.op.dlr.de!brandt_h Cancel-Lock: sha1:72XLKVJefGVYP5RmwKkwiv4mM6g= X-X-Sender: brandt_h@KNOP-BEAGLE.kn.op.dlr.de In-Reply-To: <50f5628f.137262066@nntp.aioe.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 15 Jan 2013, paramucho wrote: p>On Mon, 14 Jan 2013 12:50:15 +0100, Johnny Billquist p>wrote: p> p> p> p>>>> Quite possible they just save that location. I don't really know. p>>>> As for FCS, they might just not use it... p>>> p>>> RTEM wouldn't use FCS, libraries or overlays. RTEM doesn't support p>>> native RSX-11 file systems. All they need is logical I/O to volumes or p>>> files formatted as RT-11 disks (except for the terminal etc.) p>> p>>Right, except there is a utility bundled with RTEM, called FIP, which p>>gives you access to the outside RSX filesystem from RTEM. p>>But it could potentially still do that without using FCS. Just more work... p>>But for the rest of it, yes, RTEM only uses raw disks, and looking the p>>disk files themself up is fairly trivial to do even without FCS. p>> p>>> The utility RTX that I'm sketching would access native RSX-11 file p>>> systems and in fact probably wouldn't support RT-11 volumes ('cos both p>>> would cost to much memory). p>> p>>Sounds similar to FIP.SAV p> p>It's more like the migration tool Hartmut describes, except RTX would p>load an RT-11 image rather than being linked with the image p>statically. p> p>Regarding FIP, the documentation includes the error message: p> p> ?FIP-F-FCS error code: n "error text" p> p>Which means that FIP is an RT-11 image running under RTEM which uses p>FCS. And that raises a question: how did they link an RT-11 image, p>presumably built by RT-11 LINK rather than RSX TKB, to the FCS p>routines? Maybe I don't understand the question correctly, but here is what I did: you set up to catch all the EMTs (there is an RSX directive to do that). That actually gives you only EMTs up to 376. 377 will be routed to RSX anyway. Then you translate all the file-related EMTs from their RT semantics to RSX semantics and do the right calls into FCS. Given that there is no 1:1 relation between RT and FCS file operations this is sometimes tricky, but in my case (getting a compiler to run) it was mostly straightforward. So, in your RSX RT-emulator you set up everything, read the RT-11 program into the right spot in memory (you must link the RSX program in a way that the addresses usually occupied by RT programs are free) and just execute it. As the RT program is calling its system by executing EMTs the emulator will get them, translate them and do the right things (hopefully). This works, of course, only with RT programs that don't try to reach into the operating system directly... harti