From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5e74e0b23842db90 X-Google-NewGroupId: yes X-Google-Thread: ffc31,5e74e0b23842db90 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5e74e0b23842db90 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.74.74 with SMTP id r10mr8757340wiv.3.1356676377950; Thu, 27 Dec 2012 22:32:57 -0800 (PST) X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.116.97 Path: l12ni248966wiv.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!nntpfeed.proxad.net!dedibox.gegeweb.org!gegeweb.eu!usenet.pasdenom.info!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: Fri, 28 Dec 2012 06:32:52 GMT Organization: Aioe.org NNTP Server Message-ID: <50dd386e.29641484@nntp.aioe.org> References: <50dafa16$0$291$14726298@news.sunsite.dk> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: CmgvwL3sOlojnxUjt8znzA.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 Thu, 27 Dec 2012 22:16:00 +0100, Johnny Billquist wrote: >On 2012-12-26 14:22, Jerome H. Fine wrote: >> I require some help with a program which may be of interest >> to other hobby users. The program is: >> >> SHOW EMULATOR or SHOWEM >> >> 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 >> >> The current Emulators which are detected and displayed >> are SimH, Ersatz-11 and V11. If anyone knows of any >> other PDP-11 emulators which can also be included, that >> would be of great interest, especially if access to that >> emulator for testing is possible. I have asked for help >> in the past about this and the only other PDP-11 emulator >> which runs RT-11 compatible programs is Charon which >> unfortunately no longer seems to be available or even running. >> If anyone can help expand the list, it would be appreciated!!! >> >> Unfortunately, for (d) and (e), I do not have any information >> on how to access the IOPAGE registers since SHOWEM >> requires access to SR0 (177572) and SR1 (177574) in >> addition to the PSW (177776). >> >> I do not believe that RTEM-11 will ever allow a User program >> to gain access to the IOPAGE registers, however, RSTS/E >> may allow such access. Does anyone who is reading this >> post know if access to the IOPAGE registers is possible >> under RSTS/E for a program running in RT-11 compatibility' >> mode? And do you also know how it is done? >> >> If there is no solution, then I will make to current SHOWEM >> available to any hobby users who are interested. Otherwise, >> I would prefer to delay until the RSTS/E solution is implemented. > >I would seriously doubt you could access the IOPAGE from RSTS/E as well, >as that would allow you to circumvent the OS protection. > >That said, I can test running whatever you cook up in RTEM-11, if you >want to. (Or contact me, and I can get you access to RTEM-11 yourself.) > > Johnny This old thread confirms that there is no (published) access method: http://www.classiccmp.org/pipermail/cctech/2003-March/086350.html Which says in part: In order to talk directly to a device under RSTS you need to be in kernel mode, not user mode. I am not aware of a RSTS-native way to do something like RSX or VMS connect-to-interrupt directives or the like. Similarly there is not a (published) way to map I/O space to user space. This is really the kind of thing you need to accomplish what you are asking. I had a quick look at the various internals books but couldn't see anything interesting. Ian