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.79.228 with SMTP id m4mr1503918wix.7.1358150870328; Mon, 14 Jan 2013 00:07:50 -0800 (PST) Path: i11ni363284wiw.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!216.196.98.144.MISMATCH!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 14 Jan 2013 02:07:49 -0600 From: John Santos Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Access to RSTS/E IOPAGE Registers Date: Mon, 14 Jan 2013 03:08:05 -0500 Message-ID: References: <50dafa16$0$291$14726298@news.sunsite.dk> Organization: Home MIME-Version: 1.0 User-Agent: MicroPlanet-Gravity/2.71.4 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-cJFFV3qg4UIPHrEscxKhN7P71d6ROzmdgu9hpXlmukJ0dH8imJx91HIltbajBCLoXY7ZWV/dmItsani!7R5dl6xH+HrB7DF7k/a0xAbk/sGLDCb+WwTPcuDCnxQ/twpsBXBLpCWRExw6ovBY9m0PA8zn32o= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 3712 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In article <50dafa16$0$291$14726298@news.sunsite.dk>, everyone@nospam.com says...> > 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). Read access or read/write access? > > 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? RSTS/E, in BASIC+, has a PEEK function that returns the contents of a word in the kernal's currently mapped address space. You can use this to examine monitor data structures as well as the I/O page. You or your program must be privileged to do this. (See SYSTAT, for example, for a program that displays monitor data structures using PEEK().) It is also possible to poke the kernel (write to its address space) using a special SYS() call. Originally, you had to be logged in to the [1,1] account to do this, but I think since V9.0, there may be a privilege that controls this. I think it is possible to do both these operations from the RT11 RTS, but would have to read the manuals (Programmer's Manual for BASIC+ and System Directives Manual for RT11) to find out all the details. Are these available online anywhere? > > 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. > > Jerome Fine HTH -- John