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.241.37 with SMTP id wf5mr13362542pbc.4.1329717302173; Sun, 19 Feb 2012 21:55:02 -0800 (PST) Path: wr5ni46306pbc.0!nntp.google.com!news2.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: Mon, 20 Feb 2012 05:54:58 GMT Organization: Aioe.org NNTP Server Message-ID: <4f43e001.2540179@nntp.aioe.org> 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> 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 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. Ian