Google
 

Trailing-Edge - PDP-10 Archives - BB-H348C-RM_1982 - swskit-v21/listings/mcb/srrdbk.list
There are no other files named srrdbk.list in the archive.
SRRDBK	MACRO M1110  13-OCT-79 12:42  PAGE 3


      1					.TITLE	SRRDBK
      2					.IDENT	/V01.00/
      3					;
      4					; COPYRIGHT (C) 1978 BY
      5					; DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
      6					;
      7					;
      8					; THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
      9					; ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH  LICENSE AND WITH THE
     10					; INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR  ANY  OTHER
     11					; COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
     12					; OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
     13					; TRANSFERRED.
     14					;
     15					; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE  WITHOUT  NOTICE
     16					; AND  SHOULD  NOT  BE  CONSTRUED  AS  A COMMITMENT BY DIGITAL EQUIPMENT
     17					; CORPORATION.
     18					;
     19					; DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR  RELIABILITY  OF  ITS
     20					; SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
     21					;
     22					;
     23					; MODULE DESCRIPTION:
     24					;
     25					;   NCU SERVICE MODULE TO READ A BLOCK FROM A FILE
     26					;
     27					;
     28					; DISTRIBUTED SYSTEMS SOFTWARE ENGINEERING
     29					;
     30					; IDENT HISTORY:
     31					;
     32					; 1.00	10-FEB-78
     33					;	VERSION 2.0 RELEASE
     34					;
SRRDBK	MACRO M1110  13-OCT-79 12:42  PAGE 4


     36					;
     37					;======================================================================;
     38					;++
     39					;          +-------------------------------------------------+
     40					;          I                                                 I
     41					;          I                   S R R D B K                   I
     42					;          I                   - - - - - -                   I
     43					;          I                                                 I
     44					;          +-------------------------------------------------+
     45					;
     46					; FUNCTION:
     47					;
     48					;   SERVICE MODULE TO READ A BLOCK FROM A FILE
     49					;
     50					; INPUT:
     51					;
     52					;   R5 - ADDRESS OF CONTROL BLOCK REQUESTING READ
     53					;     C.ADDR - ADDRESS OF 512 BYTE MEMORY BUFFER
     54					;     C.LUN - LOGICAL UNIT NUMBER OF OPEN FILE
     55					;     C.SERV - CLEAR IF INITIATING, SET IF COMPLETING
     56					;     C.RET - RETURN CONDITION CODE IF COMPLETING
     57					;
     58					; OUTPUT:
     59					;
     60					;   C-BIT - CLEAR IF REQUEST PROCESSED, SET IF NOT
     61					;   @R5 - UPDATED CONTROL BLOCK
     62					;     C.RET - RETURN CONDITION CODE
     63					;             LOWER BYTE STANDARD SERVICE RETURN CODE
     64					;             UPPER BYTE SYSTEM ERROR CODE IF FAILURE
     65					;     C.LEN - LENGTH ACTUALLY READ
     66					;     @C.ADDR - DATA READ
     67					;
     68					; REQUIREMENTS:
     69					;
     70					;   INPUT VIA FILE LOGICAL UNIT DATABASE:
     71					;
     72					;     ADDR - ADDRESS OF FDB
     73					;
     74					;   CONTROL BLOCK SYMBOLS:
     75					;
     76					;     C.ADDR - OFFSET OF BUFFER ADDRESS
     77					;     C.LUN - OFFSET OF LOGICAL UNIT NUMBER
     78					;     C.RET - OFFSET OF RETURN CODE
     79					;     C.SERV - OFFSET OF SERVICE CONTEXT
     80					;     CE$EOF - END-OF-FILE RETURN CODE
     81					;
     82					;   FILE SYSTEM SYMBOLS:
     83					;
     84					;     F.ERR - OFFSET OF ERROR RETURN CODE IN FDB
     85					;     IE.EOF - END-OF-FILE RETURN CODE
     86					;
     87					;--
     88					;======================================================================;
     89					;
     90					; EXTERNAL MACROS
     91					;
     92					.MCALL	PROC,READ$,CONDF,FLUDF
SRRDBK	MACRO M1110  13-OCT-79 12:42  PAGE 4-1


     93					;
     94					; DEFINE EXTERNAL SYMBOLS
     95					;
     96	000000				CONDF				;CONTROL BLOCK SYMBOLS
     97	000000				FLUDF				;FILE LOGICAL UNIT SYMBOLS
SRRDBK	MACRO M1110  13-OCT-79 12:42  PAGE 5


     99					;
    100					; PROCEDURE BODY
    101					;
    102	000000				PROC	SRRDBK
    103	000000				IF ; SERVICE CONTEXT = 0
    104	000000				FALSE   SET C.SERV(R5)
    105	000006				THEN
    106	000006	116500 	000020 		  MOVB    C.LUN(R5),R0		;GET LOGICAL UNIT NUMBER
    107	000012				  CALL    SRCFLU		;CONVERT TO LUN DATABASE ENTRY ADDRESS
    108	000016	016000 	000002 		  MOV     ADDR(R0),R0		;GET ADDRESS OF FDB
    109	000022	010501 			  MOV     R5,R1			;BUILD ADDRESS OF I/O STATUS BLOCK
    110	000024	062701 	000010 		  ADD     #C.RET,R1
    111	000030				  READ$   R0,C.ADDR(R5),,,,R1	;START THE READ
    112	000046				  IF ; SUCCESS
    113	000046				  FALSE   CS
    114	000050				  THEN
    115	000050	005265 	000002 		    INC     C.SERV(R5)		;SET SERVICE CONTEXT
    116	000054				  ELSE
    117	000056				    IF ; ERROR = END-OF-FILE
    118	000056				    FALSEB  NE F.ERR(R0),#IE.EOF
    119	000066				    THEN
    120	000066	112765 	177767 	000010 	      MOVB    #CE$EOF,C.RET(R5)	;SET RETURN CODE TO END-OF-FILE
    121	000074	000241 			      CLC			;PROCESSING COMPLETE
    122	000076				    ELSE
    123	000100				      CALL    SRQDRF		;PROCESS QUEUEING DIRECTIVE FAILURE
    124	000104				    ENDIF
    125	000104				  ENDIF
    126	000104				ELSE
    127	000106				  CALL    SRQCM			;PROCESS QUEUED I/O COMPLETION
    128	000112	005065 	000002 		  CLR     C.SERV(R5)		;CLEAR SERVICE CONTEXT AND C-BIT
    129	000116				ENDIF
    130	000116				ENDPROC
    131		000001 			.END
SRRDBK	MACRO M1110  13-OCT-79 12:42  PAGE 5-1
SYMBOL TABLE

ADDR  = 000002   	C$RCIN= 000062   	FR$LCS= 000001   	F$RCIN= 000000   	NO    = 000000
A$$CHK= 000000   	C$RCMA= 000146   	FR$LNC= 000001   	F$RCMA= 000000   	N$$USR= 000001
A$$CPS= 000000   	C$RCMS= 000054   	FR$LNL= 000001   	F$RCMS= 000002   	PAR$$$= 000000
A$$TRP= 000000   	C$RDBK= 000043   	FR$LNS= 000001   	F$RDBK= 000000   	P$$P45= 000000
CE$ACP= 177753   	C$RDCM= 000035   	FR$RMC= 000001   	F$RDCM= 000000   	RI$LCC= 000001
CE$ADR= 177776   	C$RDIN= 000040   	FR$RML= 000001   	F$RDIN= 000001   	RI$LCS= 000002
CE$CON= 177770   	C$RDIS= 000040   	FR$RMS= 000001   	F$RDIS= 000012   	RI$LNC= 000007
CE$DIS= 177771   	C$RDRC= 000060   	FS$HOS= 000001   	F$RDRC= 000000   	RI$LNL= 000006
CE$EOF= 177767   	C$RLBF= 000001   	FS$INT= 000000   	F$RECO= 000001   	RI$LNS= 000010
CE$FAI= 177774   	C$RLCB= 000002   	FS$LLP= 000001   	F$RLBF= 000001   	RI$RMC= 000004
CE$FIL= 177756   	C$RLCI= 000000   	FS$LOF= 000001   	F$RLCB= 000001   	RI$RML= 000003
CE$FUN= 177777   	C$STBK= 000055   	FS$LOG= 000001   	F$STBK= 000000   	RI$RMS= 000005
CE$GEN= 177774   	C$STPR= 000037   	FS$LST= 000001   	F$STPR= 000001   	RI$ZLC= 000011
CE$IND= 177757   	C$STPS= 000037   	FS$NET= 000001   	F$STPS= 000006   	RI$ZLN= 000013
CE$IO = 177760   	C$TRBK= 000046   	FS$NST= 000000   	F$TEST= 000001   	RI$ZRM= 000012
CE$LEN= 177775   	C$TRIN= 000063   	FS$PAS= 000001   	F$TRAC= 000000   	R$$DER= 000000
CE$LID= 177766   	C$TRMA= 000145   	FT$CNS= 000000   	F$TRBK= 000001   	R$$K11= 000001
CE$LST= 177752   	C$TRMS= 000053   	FT$NOD= 000001   	F$TRIG= 000001   	R$$SND= 000000
CE$NOD= 177765   	C$WRBK= 000044   	FT$TSK= 000001   	F$TRIN= 000000   	R$$11M= 000000
CE$NSD= 177755   	C$WRCL= 000065   	F$ALBF= 000001   	F$TRMA= 000000   	SP$DHO= 000003
CE$NST= 177754   	C$WRCM= 000036   	F$ALCB= 000001   	F$TRMS= 000002   	SP$DRP= 000007
CE$NWE= 177773   	C$WRRC= 000061   	F$CB  = 000017   	F$WRBK= 000000   	SP$DTP= 000010
CE$OBJ= 177750   	C$ZRCN= 000064   	F$CLCL= 000001   	F$WRCL= 000001   	SP$LHO= 000002
CE$OPN= 177761   	C$$CKP= 000000   	F$CLCO= 000000   	F$WRCM= 000000   	SP$LLP= 000011
CE$OVR= 177764   	C$$ORE= 000400   	F$CLFL= 000000   	F$WRRC= 000000   	SP$LNM= 000016
CE$PAR= 177763   	C$$RSH= 177564   	F$CLLK= 000006   	F$ZERO= 000001   	SP$LNO= 000015
CE$PRO= 177751   	C.ADDR= 000014   	F$CLLN= 000002   	F$ZRCN= 000001   	SP$LOF= 000012
CE$REJ= 177772   	C.BKNM= 000014   	F$DPOS= 000001   	F$$LVL= 000001   	SP$LST= 000001
CE$TMO= 177762   	C.CTXT= 000004   	F$DUMP= 000000   	F$150 = 000002   	SP$NDM= 000014
CS$ACK= 000002   	C.FUNC= 000006   	F$EVNT= 000001   	F$300 = 000012   	SP$NDO= 000013
CS$LKE= 000001   	C.LEN = 000012   	F$EXAM= 000001   	F$50  = 000002   	SP$NST= 000006
CS$LNA= 000002   	C.LINE= 000014   	F$EXHO= 000000   	F$550 = 000002   	SP$RRP= 000004
CS$LOG= 000003   	C.LKNM= 000020   	F$GTCM= 000001   	F.BKDS= ****** GX	SP$RTP= 000005
CS$NCH= 000003   	C.LUN = 000020   	F$INCM= 000000   	F.BKST= ****** GX	SRCFLU= ****** GX
CS$SUC= 000001   	C.MODE= 000021   	F$INLU= 000001   	F.ERR = ****** GX	SRQCM = ****** GX
C$ALBF= 000032   	C.PRID= 000017   	F$IRLU= 000000   	G$$TPP= 000000   	SRQDRF= ****** GX
C$ALCB= 000033   	C.PROC= 000007   	F$LKLU= 000010   	G$$TSS= 000000   	SRRDBK  000000RG
C$CLCL= 000067   	C.PROM= 000016   	F$LNLU= 000002   	G$$TTK= 000000   	S$$WRG= 000000
C$CLCO= 000003   	C.PTR = 000000   	F$LNSR= 000001   	IE.EOF= ****** GX	S$$YSZ= 001600
C$CLFL= 000004   	C.RET = 000010   	F$LOAD= 000000   	INUSE = 000000   	T$$KMG= 000000
C$CLLK= 000052   	C.SAVE= 000022   	F$LOGD= 000001   	I$$RAR= 000000   	T$$MIN= 000000
C$CLLN= 000005   	C.SERV= 000002   	F$LOOP= 000001   	I$$RDN= 000000   	V$$CTR= 001000
C$LEN = 000026   	C.TASK= 000016   	F$NTCM= 000000   	K$$CNT= 177546   	X$$DBT= 000000
C$NOPN= 000031   	C.TYPE= 000016   	F$OPCL= 000001   	K$$CSR= 177546   	YES   = 000001
C$NORD= 000032   	C.WAIT= 000020   	F$OPCO= 000000   	K$$LDC= 000000   	$$CSTA= 000000
C$OPCL= 000066   	DEVATT= 000002   	F$OPIN= 000000   	K$$TPS= 000074   	$$PRST= 000012
C$OPCO= 000034   	D$$BUG= 177514   	F$OPIR= 000000   	LD$LP = 000000   	$$STIX= 000777
C$OPIN= 000041   	D$$ISK= 000000   	F$OPLK= 000005   	LUN   = 000001   	$$STNM= 000000
C$OPIR= 000056   	D$$L11= 000001   	F$OPLN= 000002   	L$$ASG= 000000   	$$S772= 000011
C$OPLK= 000051   	ENTLEN= 000004   	F$OPLO= 000000   	L$$DRV= 000000   	$$S773= 000011
C$OPLN= 000045   	FILOPE= 000001   	F$OPOR= 000000   	L$$P11= 000001   	$$S774= 000077
C$OPOR= 000057   	FL$BOO= 000001   	F$OPOT= 000000   	L$$11R= 000000   	$$S775= 000010
C$OPOT= 000042   	FL$DUM= 000001   	F$ORLU= 000000   	M$$CRB= 000124   	$$S776= 000000
C$ORD = 000145   	FL$LOA= 000001   	F$OTLU= 000001   	M$$CRX= 000000   	$$S777= 000000
C$PROC= 000200   	FL$LOO= 000001   	F$RCBK= 000002   	M$$FCS= 000000   	$$TRNM= 000000
C$RCBK= 000047   	FR$LCC= 000001   	F$RCEV= 000001   	M$$OVR= 000000   	.READ = ****** G
C$RCEV= 000050
SRRDBK	MACRO M1110  13-OCT-79 12:42  PAGE 5-2
SYMBOL TABLE


. ABS.	000000	   000
      	000120	   001
ERRORS DETECTED:  0

VIRTUAL MEMORY USED:  9444 WORDS  ( 37 PAGES)
DYNAMIC MEMORY:  10060 WORDS  ( 38 PAGES)
ELAPSED TIME:  00:00:34
SRRDBK,[135,30]SRRDBK/CR/-SP=[130,10]NETLIB/ML,[135,10]CFGNIC/PA:1,SRRDBK
SRRDBK     CREATED BY  MACRO  ON 13-OCT-79 AT 12:42	PAGE 1

SYMBOL CROSS REFERENCE                                  CREF         

SYMBOL	VALUE		REFERENCES

ADDR  	= 000002	#4-97       5-108     
CE$EOF	= 177767	 5-120     
C.ADDR	= 000014	 5-111     
C.LUN 	= 000020	 5-106     
C.RET 	= 000010	 5-110     *5-120     
C.SERV	= 000002	 5-104     *5-115     *5-128     
DEVATT	= 000002	#4-97      
ENTLEN	= 000004	#4-97      
FILOPE	= 000001	#4-97      
F$TRAC	= 000000	 5-102      5-102      5-130      5-130     
F.BKDS	= ******  GX	*5-111     
F.BKST	= ******  GX	*5-111     
F.ERR 	= ******  GX	 5-118     
IE.EOF	= ******  GX	 5-118     
INUSE 	= 000000	#4-97      
I$$AS 	= ******	 5-102     
LUN   	= 000001	#4-97      
PAR$$$	= 000000	#5-111      5-111     
R$$11D	= ******	 5-102     
R$$11M	= 000000	 5-102     
SRCFLU	= ******  GX	 5-107     
SRQCM 	= ******  GX	 5-127     
SRQDRF	= ******  GX	 5-123     
SRRDBK	  000000 RG	#5-102     
$$CSTA	= 000000	#5-102     
$$PRST	= 000012	#5-102      5-103     #5-103      5-112     #5-112      5-117     #5-117     
$$SLST	= ******	 5-102      5-104      5-104      5-105      5-113      5-114      5-116      5-116      5-118     
                         5-118      5-119      5-122      5-122      5-124      5-125      5-126      5-126      5-129     
                         5-130     
$$STIX	= 000777	#5-102      5-103      5-103     #5-103      5-103      5-103     #5-103      5-112      5-112     
                        #5-112      5-112      5-112     #5-112      5-117      5-117     #5-117      5-117      5-117     
                        #5-117      5-124     #5-124      5-124      5-124     #5-124      5-124      5-125     #5-125     
                         5-125      5-125     #5-125      5-125      5-129     #5-129      5-129      5-129     #5-129     
                         5-129     
$$STNM	= 000000	#5-102      5-103     #5-103      5-103      5-104      5-105      5-112     #5-112      5-112     
                         5-113      5-114      5-116      5-116      5-117     #5-117      5-117      5-118      5-119     
                         5-122      5-122      5-124     #5-124      5-125     #5-125      5-126      5-126      5-129     
                        #5-129     
$$S772	= 000011	#5-117      5-124     
$$S773	= 000011	#5-117      5-124     
$$S774	= 000077	#5-112      5-125     
$$S775	= 000010	#5-112      5-125     
$$S776	= 000000	#5-103      5-129     
$$S777	= 000000	#5-103      5-129     
$$TRNM	= 000000	#5-102      5-103     #5-103      5-104      5-105      5-112     #5-112      5-113      5-114     
                         5-116     #5-116      5-117     #5-117      5-118      5-119      5-122     #5-122      5-124     
                        #5-124      5-125     #5-125      5-126     #5-126      5-129     #5-129     
.READ 	= ******  G	 5-111      5-111     
SRRDBK     CREATED BY  MACRO  ON 13-OCT-79 AT 12:42	PAGE 2

MACRO CROSS REFERENCE                                   CREF         

MACRO NAME	REFERENCES

CALL  		#5-107     #5-123     #5-127     
CASE  		#5-102     
CMOV$B		#5-111      5-111     
CMOV$W		#5-111     #5-111     #5-111     #5-111     #5-111     
CMOV$2		#5-111     #5-111     
CONDF 		#4-92      #4-96      
DO    		#5-102     
ELSE  		#5-102      5-116      5-122      5-126     
ENDCAS		#5-102     
ENDIF 		#5-102     #5-124     #5-125     #5-129     
ENDPRO		#5-102      5-130     
ENDWHI		#5-102     
ERR$  		#5-111      5-111     
FALSE 		#5-102      5-104      5-113     
FALSEB		#5-102      5-118     
FDBK$R		#5-111     #5-111     
FLUDF 		#4-92      #4-97      
IF    		#5-102     #5-103     #5-112     #5-117     
JMPPRO		#5-102     
LDFDB$		#5-111      5-111     
ONCASE		#5-102     
PROC  		#4-92       5-102     
PROCLC		#5-102     
READ$ 		#4-92      #5-111     
SWSTK$		#5-102     
THEN  		#5-102     #5-105     #5-114     #5-119     
TRUE  		#5-102     
TRUEB 		#5-102     
WHILE 		#5-102     
$$BGND		#5-102     #5-104     #5-113     #5-118     
$$BGNN		#5-102      5-104      5-113      5-116      5-118      5-122      5-126     
$$ELSE		#5-102      5-116      5-122      5-126     
$$GEN1		#5-102      5-102      5-104      5-104      5-105      5-113      5-114      5-116      5-116      5-118     
                 5-119      5-122      5-122      5-124      5-125      5-126      5-126      5-129      5-130     
$$GEN2		#5-102     #5-118     
$$GNAB		#5-102     #5-113     #5-118     
$$GNBT		#5-102      5-104     
$$GNCM		#5-102      5-104      5-113      5-118     
$$INMC		#5-102      5-102     
$$INSY		#5-102      5-102     
$$LAB 		#5-102      5-105      5-114      5-116      5-119      5-122      5-124      5-125      5-126      5-129     
$$POP 		#5-102      5-124      5-124      5-125      5-125      5-129      5-129     
$$POPI		#5-102      5-124      5-124      5-125      5-125      5-129      5-129     
$$PUSH		#5-102     #5-103     #5-103     #5-112     #5-112     #5-117     #5-117     
$$STSM		#5-102     #5-103     #5-103     #5-112     #5-112     #5-117     #5-117     
$$SYS 		#5-102     
$$TRCE		#5-102      5-102      5-130