From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 3717dac89a,32247abf28da27d4 X-Google-Attributes: gid3717dac89a,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!uio.no!news.ctrl-c.liu.se!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail Newsgroups: alt.sys.pdp11,comp.sys.dec,comp.os.vms Subject: Re: QBUS Prototyping Message-ID: From: Johnny Billquist Date: Fri, 30 Apr 2010 02:23:34 +0200 References: <8265dgFs33U3@mid.individual.net> <4dff54d9-dfc7-4d90-9307-995e5d96e53f@y36g2000yqm.googlegroups.com> <4bd96b18$0$281$14726298@news.sunsite.dk> <4bd9e3cc$0$274$14726298@news.sunsite.dk> Organization: Update Computer Club NNTP-Posting-Host: 178-83-29-134.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1272587015 3615 178.83.29.134 (30 Apr 2010 00:23:35 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Fri, 30 Apr 2010 00:23:35 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: Xref: g2news2.google.com alt.sys.pdp11:1528 comp.sys.dec:1989 comp.os.vms:30686 glen herrmannsfeldt wrote: > In alt.sys.pdp11 Jerome H. Fine wrote: > (snip) > >> I have made a suggestion which many may not appreciate for >> implementation using a PDP-11 instruction set which runs under >> the Erstaz-11 emulator, normally called E11 for short. > >> The available memory is limited only by the physical memory on >> the system. > > Yes, there are always interesting things to do in emulation. > > Back to VM/370 (The Virtual Machine system for S/370, which > actually goes back to the 360/67) there is the use of the DIAGNOSE > instruction to do operations outisde the virtual machine. > S/360 and S/370 define a system dependent DIAGNOSE instruction > (it actually doesn't have an assembler mnemonic) which VM uses > for such purposes. > > Are there any available opcodes in the PDP-11 instruction set, > in case one did want to use a new instruction for emulation > operations? Sure. There are opcodes that are undefined, and which are trapped by a PDP-11. >> Under RT-11 which has direct access to the IOPAGE registers, >> there is a DLL called EMEM.DLL which allows the user to >> directly access the PC memory. > > I suppose the IOPAGE is where system dependent operations > are supposed to be done on the PDP-11. Well, you could say that. In reality, the I/O page is just a part of the address space where the PDP-11 don't have normal memory, but instead have devices. You access them the same way as memory frmo the PDP-11, though. So, for instance, to output a character on the console terminal, you write to the address where the console terminal controller is located. Obviously, a sane operating system don't allow users to access the I/O page, since that would allow you to go around all the security and integrity of the OS. And that is done by not having the I/O page mapped into the users virtual memory space. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol