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.66.80.34 with SMTP id o2mr3267634pax.9.1361406168467; Wed, 20 Feb 2013 16:22:48 -0800 (PST) Path: ov8ni11853pbb.1!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newsfeed1.swip.net!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Access to RSTS/E IOPAGE Registers Date: Thu, 21 Feb 2013 01:22:47 +0100 Organization: Update Computer Club Message-ID: References: <51090db1.102143963@nntp.aioe.org> <510d05c3.633956@nntp.aioe.org> <510fa014.171203983@nntp.aioe.org> <511e2731.130278790@nntp.aioe.org> <511e442b.137696544@nntp.aioe.org> <5120d34f.47638789@nntp.aioe.org> <512385cb.224392072@nntp.aioe.org> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1361406168 24314 178.83.31.172 (21 Feb 2013 00:22:48 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Thu, 21 Feb 2013 00:22:48 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 In-Reply-To: <512385cb.224392072@nntp.aioe.org> X-Received-Bytes: 3991 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-02-19 15:09, paramucho wrote: > On Sun, 17 Feb 2013 14:43:24 +0100, Johnny Billquist > wrote: > >>> However there is another reason as well. An AST blocks *all* other >>> ASTs, whereas an interrupt only blocks *some* other interrupts. For >>> example, a keyboard AST, which could take quite extensive processing, >>> can block a timer AST. >> >> Ah. Now, that is a very good point. Although code that spends lots of >> time in an interrupt handler is not very nice code to start with. >> But yeah, ASTs are all or nothing. > > It happens when the terminal driver has to handle echo. That is done in the interrupt context in RT-11? >>>> Maybe you've found a nice bug. There have been some bug fixes related to >>>> ASTs over the years, as far as I can remember. >>> >>> My guess is that I'm doing something naive like I did with the user >>> mode vector table for SVTK$. >> >> It should not be possible to crash RSX anyway. > > I haven't seen the bug for a couple of days. > > I think it disappeared when I reorganised the order of the routines > etc in my main source module. > > I still have copies of the older modules to test later if indeed the > bug has gone away. It would be even more interesting to know if the bug is still there in the latest version of RSX... >>> I have a question. RTX.TSK itself will go into [1,54], but I'm going >>> to need a separate RSX directory to hold the RTX.TSK system files and >>> applications--would there be any problems if I just chose a default >>> directory name such as [1,64] and use that? I can make the name >>> configurable in a .INI file, but I like to have a reliable default for >>> these things. >> >> Please keep in mind that under M+, most applications don't go in [1,54]. > ... > > Noted. > > Is there a way for a task to determine whether a particular > device/unit has been mounted, and if so as a FILES11 volume or as a > foreign device and whether the task has access to the volume? GLUN$ gives you parts of the information, but is not really good enough for that purpose. What you need is GIN$, and the GI.DEV subfunction. But I think that is M+ only. 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