From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,5e74e0b23842db90 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.78.36 with SMTP id y4mr10449424wiw.1.1356914045867; Sun, 30 Dec 2012 16:34:05 -0800 (PST) Path: l12ni274228wiv.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Sun, 30 Dec 2012 19:34:19 -0500 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Access to RSTS/E IOPAGE Registers References: <50dafa16$0$291$14726298@news.sunsite.dk> In-Reply-To: Message-ID: <50e0dd7c$0$281$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=0\2LlVL0cnKSi^`20K04QCYSB=nbEKnkK\PN=j50c2:KPPfk^U[HX;ON1>V8bAJTIN3eOPKWXldeDQa4_jgFW[9OL:0]:CO6:iMBI8B>[i0M\K X-Complaints-To: staff@sunsite.dk Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >jgharston wrote: >>Jerome H. Fine wrote: > > >>and runs under: >>(a) RT-11 both UnMapped and Mapped Monitors >>(b) TSX-Plus >>(c) RUST both RUST/SJ and RUST/XM >>(d) RSTS/E >>(e) RTEM-11 >> >... PDP UNIX ...? > >And any chance of a link to a download? > >JGH > The source code and an RT-11 executable file will be available as soon as it can be verified that RSTS/E and RTEM-11 do not support SHOWEM. There are two requirements: (a) Access to the IOPAGE registers at least in USER MODE. (b) If the SR0 (177572), SR1 (177574) and PSW (177776) registers are not explicitly available, then RT-11 uses the .TrpSet EMT request to avoid an abort. SHOWEM disables interrupts and, when required, swaps about 200 words of code and data to 10000 octal in the PAR0 portion of physical memory, then executes a trap routine in KERNEL MODE. All of RT-11, TSX-Plus and RUST support these two requirements. If UNIX can also run a file which runs under RT-11, it would be possible to include the extra code needed for UNIX as well. Can you provide details? RT-11 uses words 40 to 50 in block zero of the executable file to inform the loader where to start the program, the location of the stack and the required memory. The program starts at location 1000 in block one. If there is sufficient compatibility between RT-11 and UNIX on how a program is loaded and started, then it should be possible to test under UNIX as well if access the the IOAGE registers is possible. NOTE that TSX-Plus requires a user to have MEMMAP privilege to be able to directly access the IOAGE registers. This is NOT a normal privilege since it opens the complete PDP-11 to any user with access to the IOPAGE registers. Jerome Fine