From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: ffc31,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.213.68 with SMTP id nq4mr15226070pbc.2.1329761121408; Mon, 20 Feb 2012 10:05:21 -0800 (PST) Path: wr5ni48256pbc.0!nntp.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!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: PDP11 Values from MFPT Date: Mon, 20 Feb 2012 19:05:20 +0100 Organization: Update Computer Club Message-ID: References: <4f3a87d9.14307647@nntp.aioe.org> <4f3ca414.21534066@nntp.aioe.org> <4f3dab02.35785786@nntp.aioe.org> <4f3d06f0.6951576@nntp.aioe.org> <4f3f4ae9.40953632@nntp.aioe.org> <4f3f6194.19510701@nntp.aioe.org> <4f41b041$0$295$14726298@news.sunsite.dk> <4f43e001.2540179@nntp.aioe.org> <4f427f78$0$292$14726298@news.sunsite.dk> NNTP-Posting-Host: 2620:0:105f:b:462a:60ff:fefb:aad8 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1329761120 16595 2620:0:105f:b:462a:60ff:fefb:aad8 (20 Feb 2012 18:05:20 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 20 Feb 2012 18:05:20 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: <4f427f78$0$292$14726298@news.sunsite.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-02-20 18.14, Jerome H. Fine wrote: > >paramucho wrote: >> >On Sun, 19 Feb 2012 21:29:56 -0500, "Jerome H. Fine" wrote: >>> I have been following Johnny's and Ian's discussion, but since I know >>> so little about the internals of RSX-11 and VMS, I have not commented. >>> >>> This comment is only to note that I suggest a more careful look at >>> the code used for C$SISP. >>>> Johnny Billquist wrote: >>>> >>>>>> I was looking in RMONFB.MAC. >>>>>> C$SIGN almost immediately do an EMT 374, which ends up in USR. >>>>>> What am I missing? >>>>>> >>>>> .CSIGEN (C$SIGN:) purges all channels before prompting for a new >>>>> command and opening files. Thus, it begins with a loop to purge >>>>> channels. Control is passed to the USR only if a *new* file is open on >>>>> a "special device", such as magtape or cassette. (In fact, "special >>>>> devices" have their own built-in ACPs and can be called without using >>>>> the USR, but that's a complication I've been avoiding introducing >>>>> here.) >>>>> >>>>> Note, .CSISPC (C$SISP:) does not purge or open files. >>>>> >>>> Must be looking at different versions of something, this is C$SIGN: >>>> from RMONFB: >>>> >>>> .SBTTL .CSIGEN AND .CSISPC - CSI CALL EMTS >>>> .ENABL LSB >>>> C$SIGN: CLR R4 >>>> MOV (PC)+,R0 >>>> .BYTE 8.,3 >>>> 10$: EMT 374 >>>> DECB R0 >>>> BGE 10$ >>>> BR 11$ >>>> C$SISP: MOV #100000,R4 >>>> 11$: BIS #CSIRN$,@R5 >>>> MOV #CSI.$,R2 >>>> MOVB JOBNUM,R3 >>>> BEQ 15$ >>>> BIS #GTLIN$,@#JSW >>>> 15$: TST @R1 >>>> BEQ 20$ >>>> JMP EMTUSR >>>> 20$: INCB R4 >>>> CMPB USROWN,R3 >>>> BNE 30$ >>>> INCB USRLVL >>>> CSIERR::CLRB R4 >>>> BISB USRLVL,R4 >>>> CALL RIDUSR >>>> 30$: >>>> >>>> >>>> If I remember right, this is from RT-11 V5.5, so it might be that >>>> things got changed after that? >>>> >>> If the code is inspected carefully, it can be seen that the >>> C$SISP sets a flag in R4 differently from the flag set in >>> R4 byC$SIGN. In addition, the files on channels 0 to 8 >>> are NOT purged prior to the common code starting at >>> label 11$: >>> >>> At least that is my understanding of the above example. >>> >> >> .CSIGEN (C$SIGN:) purges. .CSISPC (C$SISP:) does not. > Obviously, we both agree on that conclusion. > > I was attempting to suggest that my understanding of > what Johnny wrote was that a .Purge was done for > both CSI routines since Johnny wrote: > > "Must be looking at different versions of something," > > in reference to your statement (just a line above): > > "Note, .CSISPC (C$SISP:) does not purge or open files." > > If Johnny could please clarify, that would be helpful. > I am only suggesting that I don't understand Johnny's > response, but that I tend to conclude that Johnny's > words mean that he thinks that both CSI routines > do perform a .Purge loop. Ian and I have concluded > that only .CSISPC (C$SISP:) performs the .Purge loop. I have never made any distinction between various parts of the CSI, just noting that CSI calls USR. Which is done both through an EMT 374 right at the start of C$SIGN, and later you have a "JMP EMTUSR" (which would appear to happen for both). And so, it would appear to me, that a call to CSI would block other USR calls, for the most part of the CSI processing. Johnny