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 cy8mr9948288wib.1.1356839694952; Sat, 29 Dec 2012 19:54:54 -0800 (PST) Path: l12ni269298wiv.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsgate.cuhk.edu.hk!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Thu, 27 Dec 2012 08:38:56 -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: <50dc4f66$0$284$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=>5Z]2Ya4`n[@?0gJFJ]ae[YSB=nbEKnk[h7diaIm]T_ZPPfk^U[HX;_N1>V8bAJTI^3eOPKWXldeTQa4_jgFW[9_HOmLTgn6^iPd<Bill Gunshannon wrote: >>In article 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. >> >All I have to say is any emulator that can be detected as an emulator >is not a very good emulation. > As Glen Herrmannsfeldt suggests: "That is true, however there has been a tradition of allowing guests special access to the host, and so require a back door. What exactly happens if you try to use that door on real hardware is undefined." So there are other opinions in regard to this aspect of emulators. There is also the possibility of implementing an instruction code which the real hardware does not implement. In the case of SHOWEM, the code in the program makes use of differences between how actual hardware reacts to placing values in some of the IOPAGE registers which can never arise as a result of executing any possible operations which have been defined by the manufacturer of actual hardware. For example, if memory is always required within a certain address range in order to execute any code at all, then a trap which specifies an address in that range which results in an address from that address range being placed into the IOPAGE register will never be possible using actual hardware. It has been found that the code used to implement PDP-11 emulators tends to result in different values from each other as well as being different from the values which result on actual hardware when specific instructions are executed for which there are no definitions when used with any actual hardware CPU on the PDP-11. In any case, at present SHOWEM is able to detect SimH, Ersatz-11 and V11 under RT-11, TSX-Plus and RUST. The key requirement is access to the IOPAGE registers. There are different EMT requests available in RT-11 and TSX-Plus to provide this access along with other EMT requests which provide information as to which operating system is executing. The documentation which I have at present for the RSTS/E and RTEM-11 operating systems is insufficient at present and does not provide access to the IOPAGE registers. Can anyone help? Jerome Fine