From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: d180ab3bd8,6624e312e8bf2917 X-Google-Attributes: gidd180ab3bd8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,comp.sys.dec Subject: Re: KDA-50 on eBay Date: Sun, 03 Jul 2011 18:23:16 +0200 Organization: Update Computer Club Message-ID: References: <9675loFh94U1@mid.individual.net> <06d0f22ffd7b1cae839b97d580e1eea1@msgid.frell.theremailer.net> <96tuppF89sU1@mid.individual.net> <4e0a837f$0$311$14726298@news.sunsite.dk> <4e0d1561$0$304$14726298@news.sunsite.dk> <4e0e55a7$0$303$14726298@news.sunsite.dk> <4e1056a9$0$313$14726298@news.sunsite.dk> NNTP-Posting-Host: 178-83-28-137.dynamic.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 1309710196 16262 178.83.28.137 (3 Jul 2011 16:23:16 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sun, 3 Jul 2011 16:23:16 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 In-Reply-To: <4e1056a9$0$313$14726298@news.sunsite.dk> Xref: g2news2.google.com alt.sys.pdp11:2359 comp.sys.dec:3762 On 2011-07-03 13:47, Jerome H. Fine wrote: [...] > I presume that RSX-11 has the same operational aspects and > that almost all user programs run with the PSW set to 17xxxx. > Can you pleases confirm this assumption? Under RSX-11, > are there any situations or circumstances when a user program > might be allowed to and would wish to run with the PSW set > to 14xxxx? Would that be allowed just for a limited number > of instructions or might it be done for a number of minutes? > Obviously, the MTPI instruction would give the user total > control over the hardware via direct access to all memory > and IOPAGE registers. Your presumption is correct. Never, under no circumstances ever, are a user program running with the PSW set to anything but 17xxxx. The same is true in RSTS/E. I cann tell that without even looking. You can never allow it to be anything else in any multiuser, timesharing system, and ever hope to live. So, the same is also true for Unix on a PDP-11, in case you wonder. Sure there could be reasons a program would *want* to do that, but they are all bad, and threaten the integrity of the operating system. > Specifically, does RSX-11 allow a user job to run with the > PSW set to 14xxxx? If so, under what circumstances and > restrictions such as for a limited length of time? I think that > you stated before that RSX-11 does not support the PSW > with a value of 14xxxx for jobs running in user mode, but > just in case there are exceptions, I wanted to ask again. And the answer is: no, no and no. > In addition, if anyone understands RSTS/E well enough to > answer the same questions, that would also be extremely > helpful. The answer for RSTS/E as well is: no, no and no. It is basically only possible and reasonable in single user operating systems like RT-11. There is a reason why, when in user mode, instructions like MTPS cannot affect the upper half of the PSW. You couldn't write a proper OS if user programs could crash things at a whim. 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