From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.136.40 with SMTP id px8mr20741134pbb.1.1329892680376; Tue, 21 Feb 2012 22:38:00 -0800 (PST) Path: wr5ni54205pbc.0!nntp.google.com!news1.google.com!goblin3!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Wed, 22 Feb 2012 06:37:51 GMT Organization: Aioe.org NNTP Server Message-ID: <4f4582bd.17395297@nntp.aioe.org> References: <4f3ca414.21534066@nntp.aioe.org> <4f3dab02.35785786@nntp.aioe.org> <4f3d06f0.6951576@nntp.aioe.org> <4f3f4ae9.40953632@nntp.aioe.org> <4f41ae68$0$281$14726298@news.sunsite.dk> <4f44e048.2611144@nntp.aioe.org> <4f430fa8$0$294$14726298@news.sunsite.dk> <4f434899.23922519@nntp.aioe.org> <4f445807$0$294$14726298@news.sunsite.dk> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: CmgvwL3sOlojnxUjt8znzA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 1.5/32.451 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Tue, 21 Feb 2012 21:51:04 -0500, "Jerome H. Fine" wrote: >>They are directory entry flags which were defined in the final stages >>of RT-11. They were barely used. The Read-only flag is copied by >>.LOOKUP, but that's about it. I haven't bothered implementing it >>because the new flags are not backwards compatible with earlier >>versions of RT-11 (which is, historically, partly my fault). >> >> >Are you suggesting that the PROTECTED bit in the >status word of a file label ever changed from the highest >order bit (bit 15 = 100000 making a word negative) over >the course of RT-11? Bit 14 (040000) is used as the >READ ONLY bit and is always compatible with the >other bits that are used. If you in V5.4 USR.MAC you'll find the following check made in BLKCHK: BLKCHK: ... BIT #^C<107400>,@R1 BNE ILLDIR That code checks for an invalid volume by making sure the bits 070377 are not set in the directory entry status word. My part, historically, was that I got the RT-11 team to put that check in because it was the only cause I had of crashes in STAR-11, my earliest commercial system. The way I got them to put the check in was this: The size of the USR was fixed at exactly 2048 words. Anytime they wanted to put more code in there they'd have to spend days just optimising to get a few free words. I had a look at the USR and discovered that over time one of the routines had become completely redundant, for a saving of 14 words. That was enough payment to get my fix put in. If you look in V5.5 you'll see that the earlier volume check is gone, replaced by a number of checks made to the directory header. It's in this version that E.READ is defined (as 040000) and used. The problem is that if you try to use a directory which has E.READ set with V5.4 and earlier you will get an "Invalid Directory" error because E.READ conflicts with the earlier "^C<107400>" test. >Also, I am not sure what you define as the final stages of >RT-11. The instruction: > Bit #,@R3 >first appeared in RMONFB.MAC under V05.05 of RT-11 >in 1989, so in my opinion, it was available with the code to >support extended device drivers with 64 devices as opposed >to just 8 devices available under V05.04G of RT-11 in 1988. > >While V05.05 of RT-11 was certainly after many of the >early distributions, the addition of enhanced device drivers >was, in my opinion, a very major enhancement and I would >not say it arrived in the final stages. The pressure on DEC >was probably from the third party developers who supported >a form of enhanced device drivers, but which required another >form to implement. The DEC method was rather elegant if >I am allowed to say so. The ONLY major aspect which was >omitted from enhanced MSCP device drivers was the ability >to BOOT more than the first 8 devices. That additional >enhancement was easily added for an MSCP device with a >single pair of CSR / VECTOR which then required only a >single word to hold the UNIT / PART value (a byte each) >in the boot block. > >Obviously, the RT-11 development team had the idea a long >time previous to the appearance of the code in V05.05 of >RT-11. The fact that the necessary changes to DIR and PIP >were never made indicates something that I find difficult to >understand - if Megan Gentry or someone else on the RT-11 >development team could comment as to why the DIR and PIP >code was never implemented and distributed, it would help >to understand what the viewpoint was at DEC. V5.6 was the last release from DEC itself, so I would define V5.6 as being in the final stages of RT-11's history. In fact, V5.6 had enough significant new code to call it V6.0, but the RT-11 were trying to keep a low profile within the company at the time. There wasn't a great take-up of V5.6 IIRC, which is a pity because it was one of their best releases. The audience was moving elsewhere. >>[Snip] >>However, you don't need to use the USR to open files on special >>directory devices. Instead, you use .SPFUN with the appropriate >>function codes (indeed, that's exactly how the USR handles these >>devices). >> >I don't think that is actually the case. I seem to remember >that the USR does ordinary .READW and .WRITW on >the file directory to accomplish a .LookUp or a .Enter for >a file. I can find the code if you would find that helpful. Look at SPESHL: in the USR. >>I first supported transparent remote directories in the late >>seventies. There are two crucial features in the RUST implementations: >> >>1. Logical names. If you define the following logical name xxx: >> >>. define xxx nf >> >RT-11 does not support the DEFINE command. In >addition, RUST must obviously have additional data >structures which interact with the USR equivalent. >Can you please describe a bit of how the DEFINE >structures are set up and used? Unless, of course, >NF: is handled as a device driver. Right, on RT-11 you would use ASSIGN. RUST supports both. NF: is a device driver. >>Then when you access XXX: the NF driver will look for the logical name >>at the server. (To handle this on Windows I had to implement a Windows >>Logical Name system for my environment). On RUST/SJ the default >>translation for a logical name is usually NF:. >> >> >It would be helpful to understand a bit more. >This does not seem as if it is present in RT-11. On the Windows server machine you do this: C:> run c:\rust\she o nf/detached ! start the Windows NF server o define tmp c:\rust\tmp ! o On RT-11 or RUST you would do this: . load nf . assign nf tmp . dir tmp: The NF: driver is able to pick up the logical name TMP:. It sends this name, along with a network request package to the server. The Windows server gets the name "tmp" and translates it locally to get "c:\rust\tmp", a native directory, and sends back a RT-11-formate directory to the RT-11/RUST system. >>RUST systems support DEFINE/PATH to handle this situation: >> >>. define/path sy vm,sy,tmp >> >>instructs the system to search VM:, SY: and TMP:, in that order for >>lookups to SY:. >> >RUST must have additional code and data structures >to support this feature. If does not seem that RT-11 >could easily make this available to the user. RUST has completely different source code to RT-11. I think TSX has a similar feature. Ian