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.79.69 with SMTP id h5mr1465094wix.6.1358655001328; 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: Mon, 14 Jan 2013 12:50:15 +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> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1358164216 5149 178.83.31.172 (14 Jan 2013 11:50:16 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 14 Jan 2013 11:50:16 +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: <50f3a15f.22274290@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-01-14 07:30, paramucho wrote: > On Sun, 13 Jan 2013 15:13:01 +0100, Johnny Billquist > wrote: > > >>> I started looking at taking some of RT-11 monitor code and producing >>> an RSX image which would run a single RT-11 program, which made me >>> look at the low-memory compatibility between RT-11 and RSX-11. > > Some of my own RUSTboot and RUST/SJ monitor code of course. > >>> In memory, an RSX task begins with the "task header". RT-11 programs >>> use low memory differently, obviously, and their are conflicts. >>> >>> Version 2 RSX documentation says that a system copy of the header is >>> copied back to task memory before checkpointing. Version 3 doesn't >>> seem to say that. >> >> The system header is handled differently on mapped and unmapped systems, >> as well. The actual data used by the kernel is not stuff that you are >> allowed to manipulate in the program, since that would allow you to >> circumvent security. However, data was stored back in memory for >> checkpointing, since it needed to be preserved somehow. In M+, the data >> is never stored out, since headers are kept out of pool anyway, so they >> can be kept around for checkpointed tasks. >>> >>> I played around with the task header of PIP in a live RSX system >>> (running under V11). It didn't seem to worry about me trashing most of >>> the entries, and the ones that it didn't like me altering wouldn't be >>> active in an RT-11 program (FCS pointer etc). >> >> Most of the stuff definitely don't care if you trash it, however, your >> written data might be overwritten again by RSX, if you get checkpointed. > > I got some time to actually read the RTEM docs today, which tells me: > > RTEM runs under M+ only with "Task headers out of pool" support. I > guess that's standard. Ah, that explains it. No writing back of task header to task memory space, so problem solved. :-) > Under RSX-11M V4 you have to edit SGNEXEC.CND to get it to process a > section titled ";RT EMULATOR" by removing a commented jump, and add > ".SETF $RTE" to SGNSTAND.CMD. > > To enable executive support for RT emulation you apparently have to > answer affirmatively to "32A. RT-11 emulation support [Y/N]" which > results in "A$$HDR=0 :ALTERNATE TASK HEADER SUPPORT" being included in > RSXMC.MAC. > > A search of the system sources for "A$$HDR" isolates the required > code. Yes. Now I remember that question in 11M sysgen. Never thought much about what that actually did, but now that I know a little more of RTEM, it makes total sense. >> Quite possible they just save that location. I don't really know. >> As for FCS, they might just not use it... > > RTEM wouldn't use FCS, libraries or overlays. RTEM doesn't support > native RSX-11 file systems. All they need is logical I/O to volumes or > files formatted as RT-11 disks (except for the terminal etc.) Right, except there is a utility bundled with RTEM, called FIP, which gives you access to the outside RSX filesystem from RTEM. But it could potentially still do that without using FCS. Just more work... But for the rest of it, yes, RTEM only uses raw disks, and looking the disk files themself up is fairly trivial to do even without FCS. > The utility RTX that I'm sketching would access native RSX-11 file > systems and in fact probably wouldn't support RT-11 volumes ('cos both > would cost to much memory). Sounds similar to FIP.SAV >> Nice with the documentation. Would be nice to read it... > > All I need to do is to learn how to scan without falling asleep and > I'll make it available. :-) 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