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.94.8 with SMTP id cy8mr1708946wib.1.1358655019808; Sat, 19 Jan 2013 20:10:19 -0800 (PST) Path: o9ni8390wio.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!border5.a.newsrouter.astraweb.com!border6.newsrouter.astraweb.com!news.astraweb.com!border5.newsrouter.astraweb.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!News.Dal.Ca!news.litech.org!news2.arglkargh.de!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!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: Thu, 17 Jan 2013 11:56:58 GMT Organization: Aioe.org NNTP Server Message-ID: <50f7e53d.132513005@nntp.aioe.org> 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> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: yPe0Vz9rK3epnEf2vEo6yg.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 Wed, 16 Jan 2013 19:59:36 +0100, Johnny Billquist wrote: >> 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. It's quite possible that they do that using the code based RTEM.TSK which would all be RSX code. I notice that they require PLAS support, so they might be switching back and forth between RSX code in RTEM.TSK and RT-11 code in RTEMFB.SYS. It's hard to know without running tests. I have noticed that most RSX folk use FCS for file operations and I'm sure it's the best way to do it, which is probably why I'll attempt to handcode the operations in RTX if it moves beyond a sketch :-) BTW I think I worked out how absolute location 250 is used. It's set up as a protected device vector. Location @#250 is a probably an escape pointer to get to various special services. Location @#252 has rad50 /RTE/ which acts as an el-cheapo validation test for an RTEM environment. Ian