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 cy8mr1715267wib.1.1358656085774; Sat, 19 Jan 2013 20:28:05 -0800 (PST) Path: o9ni8452wio.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!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: Mon, 14 Jan 2013 06:30:07 GMT Organization: Aioe.org NNTP Server Message-ID: <50f3a15f.22274290@nntp.aioe.org> 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> 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 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. 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. So, one way or another RTEM requires a system solution to task header conflict. >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.) 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). >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. Ian