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.198.210 with SMTP id je18mr1243507wic.1.1364344206511; Tue, 26 Mar 2013 17:30:06 -0700 (PDT) Path: p18ni19764wiv.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!border2.nntp.ams2.giganews.com!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!goblin1!goblin2!goblin.stu.neva.ru!news.stack.nl!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: Wed, 20 Mar 2013 14:01:12 +0100 Organization: Update Computer Club Message-ID: References: <511e2731.130278790@nntp.aioe.org> <511e442b.137696544@nntp.aioe.org> <5120d34f.47638789@nntp.aioe.org> <512385cb.224392072@nntp.aioe.org> <512a1f3b.52491122@nntp.aioe.org> <51375fe9.58270507@nntp.aioe.org> <51498b34.39612647@nntp.aioe.org> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1363784472 27336 178.83.31.172 (20 Mar 2013 13:01:12 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Wed, 20 Mar 2013 13:01:12 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <51498b34.39612647@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-03-20 11:15, paramucho wrote: > On Thu, 07 Mar 2013 00:51:26 +0100, Johnny Billquist > wrote: > > >> RT11SH.SYS on the other hand is by default expected to be found in LB:[1,1]. >> >> The moving of system independent tasks only came about in M+. Before >> that there was only SYSUIC, and everything was expected to sit there. > > What I need is a simple default location, so I guess I'll use [1,1]. > For things similar to RT11SH.SYS, [1,1] is a pretty reasonable place. > Meanwhile the major functionality of RTX is now up under RSX-11M with > access to RSX directories and devices for RT-11 programs. The wildcard > directory stuff ended up being fairly simple, but rather expensive in > terms of I/O (because of version numbers). There are many minor issues > still to address. Yeah. To figure out the latest version, you need to scan through the whole directory. You can do that more efficiently than doing a QIO for each file just to find the next one, though. (Although the QIO function makes it more transparent.) > Is there anyway for a task to determine the directory from which the > task was run? I can find the device and unit using "OV", but I can't > see anyway to work out the directory. I want to use this information > to automatically find related files--for example, when RTX.TSK is > activated I want to be able to read "RTX.INI" from the same directory > and to access "RTX.DSK" likewise from the same directory. Unfortunately, the answer is "no". Running a task that is installed don't have a directory associated with it. Installed tasks just "are". Running not installed tasks, such as when you do "RUN FOO.TSK" is actually a two-stage rocket. First INS will install the task for you, and then you will run an installed task. Now go back to what I wrote about installed tasks... This two-stage rocket is called "flying install". Tasks installed this way are marked for automatic removal when they terminate. And that is the only way non-privileged terminals can install tasks. The bottom line is also that RSX can only run installed tasks. 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