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.74.74 with SMTP id r10mr10391031wiv.3.1356915160046; Sun, 30 Dec 2012 16:52:40 -0800 (PST) Path: i11ni342362wiw.0!nntp.google.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!fnord.no!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, 31 Dec 2012 01:52:39 +0100 Organization: Update Computer Club Message-ID: References: <50dafa16$0$291$14726298@news.sunsite.dk> <50e0dd7c$0$281$14726298@news.sunsite.dk> NNTP-Posting-Host: host-95-206-29-128.mobileonline.telia.com Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1356915159 19284 95.206.29.128 (31 Dec 2012 00:52:39 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 31 Dec 2012 00:52:39 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <50e0dd7c$0$281$14726298@news.sunsite.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-12-31 01:34, Jerome H. Fine wrote: > >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. I can assure you, they do not. You cannot turn off interrupts in either, without going to kernel mode, which neither of those OSes allows your program to do either, even apart from the fact that you don't have access to the I/O page. > There are two requirements: > > (a) Access to the IOPAGE registers at least in USER MODE. Neither RSTS/E nor RTEM-11 will give you that. > (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. Since (a) is already invalid, this becomes irrelevant. > 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. Right. > 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. Unix is way different in many ways. Think of it more in the vein of RSX or RSTS/E, and you come closer. Unix also will not allow your requirements, even apart from the fact that binary files have a totally different format (search for the a.out format if you want details). Also, system calls are also totally different. > 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. It is totally incompatible. Not to mention that the whole file system design is also totally incompatible, as well as the view of what a file looks like, or appears, and how devices act, and just about everything else. Johnny