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.78.36 with SMTP id y4mr2613288wiw.1.1358655001423; Sat, 19 Jan 2013 20:10:01 -0800 (PST) Path: o9ni8390wio.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!216.40.29.245.MISMATCH!novia!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!goblin2!goblin.stu.neva.ru!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 Subject: Re: Access to RSTS/E IOPAGE Registers Date: Wed, 16 Jan 2013 19:59:36 +0100 Organization: Update Computer Club Message-ID: References: <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> <50f7aa02.51821644@nntp.aioe.org> NNTP-Posting-Host: 74.125.57.33 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1358362776 506 74.125.57.33 (16 Jan 2013 18:59:36 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Wed, 16 Jan 2013 18:59:36 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <50f7aa02.51821644@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-01-16 14:43, paramucho wrote: > On Tue, 15 Jan 2013 22:10:19 +0100, Johnny Billquist > wrote: > >>> Regarding FIP, the documentation includes the error message: >>> >>> ?FIP-F-FCS error code: n "error text" >>> >>> Which means that FIP is an RT-11 image running under RTEM which uses >>> FCS. And that raises a question: how did they link an RT-11 image, >>> presumably built by RT-11 LINK rather than RSX TKB, to the FCS >>> routines? >> >> I can only guess, but I would have thought they have some interface >> through RTEM to get to FCS. I can't see how you'd do it otherwise. You >> can't really expect FCS code to work under RT-11, as it expects both >> various data structures in various places, some of them fixed, as well >> as the ability to do RSX system calls of all kind, which would not work >> in RTEM. >> However, having one or two "extra" system calls in RTEM, which in >> reality gave access to FCS to anything running under RTEM seems pretty >> straight forward. But, like I said, this is guessing... > > RSX system calls work under RTEM. The RSX SST system call (SVTK$) only > passes non-RSX EMTs in the range 0:376 to tasks and still treats EMT > 377 as an RSX system call. Indeed, RTEM itself is nothing more than > RT-11 system code running in user space which catches RT-11 EMTs and > implements them by issuing RSX EMT 377s. That's what the sketched RTX > would do (and what Hartmut's code would have done). Right. And a good point. However, since much of RSX file operations are not normally done using many system calls, but are used through a library, as well as lots of parsing information in files, you'd either want to have that library available in RTEM, with all the implications about other infrastructure hanging together with that, as well, or else have a few extra system calls, which in turn translates to calls to FCS in RTEM instead. As I said, I don't know how it actually is done, but I would probably go with the latter solution if I were to implement it myself. Johnny