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.66.88.200 with SMTP id bi8mr1829591pab.13.1358654904670; Sat, 19 Jan 2013 20:08:24 -0800 (PST) Path: 6ni7095pbd.1!nntp.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!goblin1!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 05:39:17 +0100 Organization: Update Computer Club 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> <50f61dc1$0$285$14726298@news.sunsite.dk> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1358311158 14198 178.83.31.172 (16 Jan 2013 04:39:18 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Wed, 16 Jan 2013 04:39:18 +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: <50f61dc1$0$285$14726298@news.sunsite.dk> X-Received-Bytes: 5979 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-01-16 04:25, Jerome H. Fine wrote: > >Johnny Billquist wrote: > >> >On 2013-01-15 15:20, paramucho wrote: >> >>> It's more like the migration tool Hartmut describes, except RTX would >>> load an RT-11 image rather than being linked with the image >>> statically. >>> >>> 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... > > I can only guess although access to the source code should > provide the answer if the commented source code is available. > > As just an example, DEC produced a total of NINE variants > for KED, three of which had the additional code to execute > under RTS for RSTS/E which is able to accept enhanced > EMT requests that execute ONLY under RSTS/E. > > These enhanced EMT requests that the RTS under RSTS/E > accepts are assembled only into the variants which have been > enhanced to run under RSTS/E and include provision for the > PPN that never appears in RT-11, only under RSTS/E. > > I suspect that KED is also available to be executed directly > under RSX-11 with all of the different EMT requests that > RSX-11 requires. BUT, the executable image is so different > from the RT-11 image that the DEC developers kept the > code and executable images totally separate. It's a little different with RSX compared to RT-11 and RSTS/E. This should really be obvious, and I don't know why I have to explain this to you, Jerome. KED under RT-11 is written in a way that uses the RT-11 EMTs. KED running under the RT-11 in RSTS/E will use the same EMTs as plain RT-11. There is no difference in the fundamental model of system calls. However, there are some additional stuff that you can use/do under the RT-11 RTS in RSTS/E, which means it might make sense to have a slightly modified version of KED for running under RSTS/E. It does not change much of anything in the general code. In contrast, EMTs under RSX are a totally different thing. You cannot just replace or enhance EMTs of an RT-11 program, and expect it to work under RSX. There are fundamental differences about how things work, So, no, KED with some changed EMTs would never run under RSX. The whole I/O model is different, as well as how you access files and so on. You need a totally different section of code in order to make it work under RSX. Just as an example, looking up a file in RT-11 is an EMT, unless I remember wrong. In RSX it's a bunch of QIO$ I/O calls, followed by reading through the directory file that you just read. And you normally do not do that yourself, as you normally want to access files in a somewhat structured fashion, so you normally use the FCS library to handle all that stuff for you. > Perhaps FIP contains the enhanced EMT requests which > support running under RTEM-11 under RSX-11? This is > only a suggestion. Does anyone know if this is even possible? I believe that was exactly what I suggested... Of course it is possible. What would prevent you from implementing some extra system calls if you emulate the RT-11 environment? Exactly what those system calls then do is totally up to you. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol