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.226.10 with SMTP id ro10mr12907864pbc.6.1329705026547; Sun, 19 Feb 2012 18:30:26 -0800 (PST) Path: wr5ni45774pbc.0!nntp.google.com!news2.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Sun, 19 Feb 2012 21:29:56 -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: <4f37ec05.63303162@nntp.aioe.org> <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> In-Reply-To: Message-ID: <4f41b041$0$295$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=Z4b`SUknVNHLCYW^HlPiL@YSB=nbEKnkKRh@WnOf_4KAPPfk^U[HX;ON1>V8bAJTIN3eOPKWXldeDQa4_jgFW[9O^;[fN_L9UBNT1MLbPdK;CD X-Complaints-To: staff@sunsite.dk Content-Type: multipart/alternative; boundary="------------090801090400010806060104" This is a multi-part message in MIME format. --------------090801090400010806060104 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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. Jerome Fine --------------090801090400010806060104 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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.

Jerome Fine
--------------090801090400010806060104--