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.14.162 with SMTP id q2mr1809275wic.5.1360478162028; Sat, 09 Feb 2013 22:36:02 -0800 (PST) Path: bp2ni28156wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.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!nntp.giganews.com!newsgate.cuhk.edu.hk!goblin1!goblin.stu.neva.ru!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!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: Sat, 02 Feb 2013 17:15:19 +0100 Organization: Update Computer Club Message-ID: References: <50f5628f.137262066@nntp.aioe.org> <5103ed41.658822127@nntp.aioe.org> <51028a73.830126357@nntp.aioe.org> <51062c31.1068125772@nntp.aioe.org> <51090db1.102143963@nntp.aioe.org> <510d05c3.633956@nntp.aioe.org> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1359821720 13569 178.83.31.172 (2 Feb 2013 16:15:20 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sat, 2 Feb 2013 16:15:20 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <510d05c3.633956@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-02-02 13:51, paramucho wrote: > On Wed, 30 Jan 2013 19:50:57 +0100, Johnny Billquist > wrote: > > >>> One project I never got around to doing was to support FILES11A under >>> RUST/XM... >> >> Would be cool, but at the same time require a lot more code, which is >> why DEC never did this, as far as I understand. > > Actually, I forgot that one of my staff did write a read-only ACP for > Files-11A (based on an emergency import app I wrote when my VAX-11/730 > crashed because all the sources were on VMS disks). For what? I mean, both VMS and RSX already have a Files-11A ACP. RT-11 then? But it wouldn't be an ACP, actually... But anyway, nice if you could read Files-11A. > Regarding RT-11 and FILES11A, I heard a very curious story many years > ago that during the initial design for RT-11 they looked at using a > subset of FILES11A but rejected it because it would have required an > additional 30 words of memory. > > Now, that might seem wierd to you (and it still does to me), but you > have to remember that the original RT-11 developers came from the > PDP-8 OS-8 team (the original sources had macros which emulated some > PDP-8 instructions), and they counted every byte. Not at all that surprised, more than the fact that it would only have been 30 words overweight. I've used OS/8 for so long, and so much, that I at one time knew it about as intimately as RSX. I've forgotten a lot, but every time I peek at RT-11 I'm still amazed at how many things are so much like OS/8. :-) > But, on the other hand, I don't know how they would have squeezed any > implementation of FILES11A into the 2kw fixed space allocated for the > RT-11 "USR" (read "ACP"). Perhaps they only included support for > contiguous files (as RT-11 does), which would mean that they only > needed to access the index file during open and close operations and > wouldn't need to store window information (apart from the start > block). But, I'm still not sure what an effective allocation routine > would look like in that case. Let me just point out that an ACP is nothing like USR. But yeah, I don't really see how they could squeeze any Files-11 support into the space the USR takes. Is the USR resident in RT-11, or is it invisible to the application, like in OS/8? (Just for the sake of terminology, an ACP is an extension to a device driver. It can implement just about anything, extending the functionality of the device driver, such as different file systems, communication protocols, or anything else. The ACP itself is a "normal" privileged program that is scheduled just like any other program by the kernel. It does, however, get passed some I/O operations that programs queue to the device driver. The programs, as well as the device driver, is unaware that the I/O requests actually end up at another program instead. The ACP can then do I/O, do networking, IPC, or just computations, as much as it wants, and eventually indicate that the I/O request is done.) >>> I have, of course, thought of automated on-the-fly full conversion, >>> mostly because that would allow me to more-or-less legally use MACRO >>> from the RSX Professional distribution under RUST/XM. But I have >>> always had enough other icky projects to keep me happy without doing >>> that beast. >> >> It's not entirely trivial if you want to do it... I have had similar >> thoughts and ponderings about potentially doing NFS for RSX, and then >> what to do with those pesky Unix files... > > It's the sort of job that never gets completely finished. Maybe. I'll see if I ever get around to an NFS for RSX. I have other fishes to fry first. Right now I'm in the middle of a rewrite of my TCP implementation, to reduce the data copying... > I did a bit of work on the RUST/SJ monitor sources yesterday. It turns > out that the monitor itself requires only a few modifications, mostly > for PSW access and for the terminal. The secondary bootstrap needs to > be almost fully rewritten and along with the media drivers. RT-11 have special code for RTEM, unless I remember wrong. >> Still curious how FIP actually works, though. But we'll take that offline. > > The thing I'm curious about at the moment is how RTEM emulates the > operation of the PSW as the basis of blocking mechanisms to avoid race > conditions in the RTEM system code executing in user mode. The only > mechanism which I can think of is enable/disable AST recognition > (since only ASTs would interrupt RTEM system code). ASTs (if we talk just RSX) never modify the PSW anyway. But I don't know exactly what you are thinking of here, so I can't really comment. Johnny