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.238.198 with SMTP id vm6mr15097271pbc.3.1329758073480; Mon, 20 Feb 2012 09:14:33 -0800 (PST) Path: wr5ni48115pbc.0!nntp.google.com!news2.google.com!news1.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Mon, 20 Feb 2012 12:14:55 -0500 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT 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> In-Reply-To: <4f43e001.2540179@nntp.aioe.org> Message-ID: <4f427f78$0$292$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=CPCO_\f>F164KInHV8bAJTI>3eOPKWXlde4Qa4_jgFW[9?D:^j?TdPjf:?DnJl7^Pb6? X-Complaints-To: staff@sunsite.dk Content-Type: multipart/alternative; boundary="------------030106070804050303070904" This is a multi-part message in MIME format. --------------030106070804050303070904 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit >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. Jerome Fine --------------030106070804050303070904 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit >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.

Jerome Fine
--------------030106070804050303070904--