Trailing-Edge
-
PDP-10 Archives
-
BB-H348C-RM_1982
-
swskit-v21/listings/mcb/srlnbk.list
There are no other files named srlnbk.list in the archive.
SRLNBK MACRO M1110 13-OCT-79 11:18 PAGE 3
1 .TITLE SRLNBK
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 RECEIVE OR TRANSMIT A BLOCK ON A LINE
26 ;
27 ;
28 ; DISTRIBUTED SYSTEMS SOFTWARE ENGINEERING
29 ;
30 ; IDENT HISTORY:
31 ;
32 ; 1.00 10-FEB-78
33 ; VERSION 2.0 RELEASE
34 ;
SRLNBK MACRO M1110 13-OCT-79 11:18 PAGE 4
36 ;
37 ;======================================================================;
38 ;++
39 ; +-------------------------------------------------+
40 ; I I
41 ; I S R L N B K I
42 ; I - - - - - - I
43 ; I I
44 ; +-------------------------------------------------+
45 ;
46 ; FUNCTION:
47 ;
48 ; SERVICE MODULE TO RECEIVE OR TRANSMIT A BLOCK ON A LINE
49 ;
50 ; INPUT:
51 ;
52 ; R0 - FUNCTION CODE FOR SYSTEM QIO MACRO
53 ; R5 - ADDRESS OF CONTROL BLOCK REQUESTING LINE OPERATION
54 ; C.ADDR - ADDRESS OF BUFFER
55 ; C.LEN - LENGTH OF BUFFER
56 ; C.LUN - LOGICAL UNIT NUMBER OF LINE
57 ; C.RET - I/O STATUS BLOCK ON COMPLETION ENTRY
58 ; C.SERV - CLEAR IF INITIAL REQUEST, SET ON COMPLETION
59 ;
60 ; OUTPUT:
61 ;
62 ; C-BIT - CLEAR IF PROCESSED, SET IF NOT
63 ; @R5 - UPDATED CONTROL BLOCK
64 ; @C.ADDR - DATA READ IF OPERATION WAS A RECEIVE
65 ; C.LEN - LENGTH OF DATA READ IF OPERATION WAS A RECEIVE
66 ; C.RET - RETURN CODE, LOW BYTE IS STANDARD SERVICE CODE, HIGH BYTE
67 ; IS SYSTEM RETURN CODE FOR FAILURES
68 ; C.SERV - SET TO WAIT FOR COMPLETION, CLEAR WHEN DONE
69 ;
70 ; REQUIREMENTS:
71 ;
72 ; CONTROL BLOCK SYMBOLS:
73 ;
74 ; C.ADDR - OFFSET OF ADDRESS FIELD
75 ; C.LEN - OFFSET OF LENGTH FIELD
76 ; C.LUN - OFFSET OF LOGICAL UNIT NUMBER FIELD
77 ; C.SERV - OFFSET OF SERVICE CONTEXT
78 ; C.RET - OFFSET OF RETURN CODE FIELD
79 ;
80 ;--
81 ;======================================================================;
82 ;
83 ;
84 ; EXTERNAL MACROS
85 ;
86 .MCALL PROC,CONDF,QIO$S
87 ;
88 ; DEFINE EXTERNAL SYMBOLS
89 ;
90 000000 CONDF ;CONTROL BLOCK SYMBOLS
91 ;
92 ; PROCEDURE BODY
SRLNBK MACRO M1110 13-OCT-79 11:18 PAGE 4-1
93 ;
94 000000 PROC SRLNBK
95 000000 IF ; SERVICE CONTEXT = 0
96 000000 FALSEB SET C.SERV(R5)
97 000006 THEN
98 000006 116501 000020 MOVB C.LUN(R5),R1 ;LOGICAL UNIT OF LINE TO USE
99 000012 012702 000010 MOV #C.RET,R2 ;OFFSET OF SPACE FOR I/O STATUS BLOCK
100 000016 060502 ADD R5,R2 ;MAKE IT A POINTER
101 000020 QIO$S R0,R1,,,R2,#SRAST,<C.ADDR(R5),C.LEN(R5)>
102 000062 IF ; SUCCESSFULLY QUEUED
103 000062 FALSE CS
104 000064 THEN
105 000064 005265 000002 INC C.SERV(R5) ;SET THE SERVICE CONTEXT
106 000070 ELSE
107 000072 CALL SRQDRF ;PROCESS DIRECTIVE FAILURE
108 000076 ENDIF
109 000076 ELSE
110 000100 CALL SRQCM ;PROCESS QIO COMPLETION
111 000104 005065 000002 CLR C.SERV(R5) ;CLEAR SERVICE CONTEXT AND C-BIT
112 000110 ENDIF
113 000110 ENDPROC
114 000001 .END
SRLNBK MACRO M1110 13-OCT-79 11:18 PAGE 4-2
SYMBOL TABLE
A$$CHK= 000000 C$RCBK= 000047 FR$LCC= 000001 F$OTLU= 000001 NO = 000000
A$$CPS= 000000 C$RCEV= 000050 FR$LCS= 000001 F$RCBK= 000002 N$$USR= 000001
A$$TRP= 000000 C$RCIN= 000062 FR$LNC= 000001 F$RCEV= 000001 P$$P45= 000000
CE$ACP= 177753 C$RCMA= 000146 FR$LNL= 000001 F$RCIN= 000000 RI$LCC= 000001
CE$ADR= 177776 C$RCMS= 000054 FR$LNS= 000001 F$RCMA= 000000 RI$LCS= 000002
CE$CON= 177770 C$RDBK= 000043 FR$RMC= 000001 F$RCMS= 000002 RI$LNC= 000007
CE$DIS= 177771 C$RDCM= 000035 FR$RML= 000001 F$RDBK= 000000 RI$LNL= 000006
CE$EOF= 177767 C$RDIN= 000040 FR$RMS= 000001 F$RDCM= 000000 RI$LNS= 000010
CE$FAI= 177774 C$RDIS= 000040 FS$HOS= 000001 F$RDIN= 000001 RI$RMC= 000004
CE$FIL= 177756 C$RDRC= 000060 FS$INT= 000000 F$RDIS= 000012 RI$RML= 000003
CE$FUN= 177777 C$RLBF= 000001 FS$LLP= 000001 F$RDRC= 000000 RI$RMS= 000005
CE$GEN= 177774 C$RLCB= 000002 FS$LOF= 000001 F$RECO= 000001 RI$ZLC= 000011
CE$IND= 177757 C$RLCI= 000000 FS$LOG= 000001 F$RLBF= 000001 RI$ZLN= 000013
CE$IO = 177760 C$STBK= 000055 FS$LST= 000001 F$RLCB= 000001 RI$ZRM= 000012
CE$LEN= 177775 C$STPR= 000037 FS$NET= 000001 F$STBK= 000000 R$$DER= 000000
CE$LID= 177766 C$STPS= 000037 FS$NST= 000000 F$STPR= 000001 R$$K11= 000001
CE$LST= 177752 C$TRBK= 000046 FS$PAS= 000001 F$STPS= 000006 R$$SND= 000000
CE$NOD= 177765 C$TRIN= 000063 FT$CNS= 000000 F$TEST= 000001 R$$11M= 000000
CE$NSD= 177755 C$TRMA= 000145 FT$NOD= 000001 F$TRAC= 000000 SP$DHO= 000003
CE$NST= 177754 C$TRMS= 000053 FT$TSK= 000001 F$TRBK= 000001 SP$DRP= 000007
CE$NWE= 177773 C$WRBK= 000044 F$ALBF= 000001 F$TRIG= 000001 SP$DTP= 000010
CE$OBJ= 177750 C$WRCL= 000065 F$ALCB= 000001 F$TRIN= 000000 SP$LHO= 000002
CE$OPN= 177761 C$WRCM= 000036 F$CB = 000017 F$TRMA= 000000 SP$LLP= 000011
CE$OVR= 177764 C$WRRC= 000061 F$CLCL= 000001 F$TRMS= 000002 SP$LNM= 000016
CE$PAR= 177763 C$ZRCN= 000064 F$CLCO= 000000 F$WRBK= 000000 SP$LNO= 000015
CE$PRO= 177751 C$$CKP= 000000 F$CLFL= 000000 F$WRCL= 000001 SP$LOF= 000012
CE$REJ= 177772 C$$ORE= 000400 F$CLLK= 000006 F$WRCM= 000000 SP$LST= 000001
CE$TMO= 177762 C$$RSH= 177564 F$CLLN= 000002 F$WRRC= 000000 SP$NDM= 000014
CS$ACK= 000002 C.ADDR= 000014 F$DPOS= 000001 F$ZERO= 000001 SP$NDO= 000013
CS$LKE= 000001 C.BKNM= 000014 F$DUMP= 000000 F$ZRCN= 000001 SP$NST= 000006
CS$LNA= 000002 C.CTXT= 000004 F$EVNT= 000001 F$$LVL= 000001 SP$RRP= 000004
CS$LOG= 000003 C.FUNC= 000006 F$EXAM= 000001 F$150 = 000002 SP$RTP= 000005
CS$NCH= 000003 C.LEN = 000012 F$EXHO= 000000 F$300 = 000012 SRAST = ****** GX
CS$SUC= 000001 C.LINE= 000014 F$GTCM= 000001 F$50 = 000002 SRLNBK 000000RG
C$ALBF= 000032 C.LKNM= 000020 F$INCM= 000000 F$550 = 000002 SRQCM = ****** GX
C$ALCB= 000033 C.LUN = 000020 F$INLU= 000001 G$$TPP= 000000 SRQDRF= ****** GX
C$CLCL= 000067 C.MODE= 000021 F$IRLU= 000000 G$$TSS= 000000 S$$WRG= 000000
C$CLCO= 000003 C.PRID= 000017 F$LKLU= 000010 G$$TTK= 000000 S$$YSZ= 001600
C$CLFL= 000004 C.PROC= 000007 F$LNLU= 000002 I$$RAR= 000000 T$$KMG= 000000
C$CLLK= 000052 C.PROM= 000016 F$LNSR= 000001 I$$RDN= 000000 T$$MIN= 000000
C$CLLN= 000005 C.PTR = 000000 F$LOAD= 000000 K$$CNT= 177546 V$$CTR= 001000
C$LEN = 000026 C.RET = 000010 F$LOGD= 000001 K$$CSR= 177546 X$$DBT= 000000
C$NOPN= 000031 C.SAVE= 000022 F$LOOP= 000001 K$$LDC= 000000 YES = 000001
C$NORD= 000032 C.SERV= 000002 F$NTCM= 000000 K$$TPS= 000074 $$CSTA= 000000
C$OPCL= 000066 C.TASK= 000016 F$OPCL= 000001 LD$LP = 000000 $$PRST= 000011
C$OPCO= 000034 C.TYPE= 000016 F$OPCO= 000000 L$$ASG= 000000 $$STIX= 000777
C$OPIN= 000041 C.WAIT= 000020 F$OPIN= 000000 L$$DRV= 000000 $$STNM= 000000
C$OPIR= 000056 D$$BUG= 177514 F$OPIR= 000000 L$$P11= 000001 $$S774= 000077
C$OPLK= 000051 D$$ISK= 000000 F$OPLK= 000005 L$$11R= 000000 $$S775= 000010
C$OPLN= 000045 D$$L11= 000001 F$OPLN= 000002 M$$CRB= 000124 $$S776= 000000
C$OPOR= 000057 FL$BOO= 000001 F$OPLO= 000000 M$$CRX= 000000 $$S777= 000000
C$OPOT= 000042 FL$DUM= 000001 F$OPOR= 000000 M$$FCS= 000000 $$TRNM= 000000
C$ORD = 000145 FL$LOA= 000001 F$OPOT= 000000 M$$OVR= 000000 $$$ARG= 000002
C$PROC= 000200 FL$LOO= 000001 F$ORLU= 000000
. ABS. 000000 000
000112 001
SRLNBK MACRO M1110 13-OCT-79 11:18 PAGE 4-3
SYMBOL TABLE
ERRORS DETECTED: 0
VIRTUAL MEMORY USED: 9435 WORDS ( 37 PAGES)
DYNAMIC MEMORY: 10060 WORDS ( 38 PAGES)
ELAPSED TIME: 00:00:35
SRLNBK,[135,30]SRLNBK/CR/-SP=[130,10]NETLIB/ML,[135,10]CFGNIC/PA:1,SRLNBK
SRLNBK CREATED BY MACRO ON 13-OCT-79 AT 11:19 PAGE 1
SYMBOL CROSS REFERENCE CREF
SYMBOL VALUE REFERENCES
C.ADDR = 000014 4-101
C.LEN = 000012 4-101
C.LUN = 000020 4-98
C.RET = 000010 4-99
C.SERV = 000002 4-96 *4-105 *4-111
F$TRAC = 000000 4-94 4-94 4-113 4-113
I$$AS = ****** 4-94
R$$11D = ****** 4-94
R$$11M = 000000 4-94
SRAST = ****** GX 4-101
SRLNBK 000000 RG #4-94
SRQCM = ****** GX 4-110
SRQDRF = ****** GX 4-107
$$CSTA = 000000 #4-94
$$PRST = 000011 #4-94 4-95 #4-95 4-102 #4-102
$$SLST = ****** 4-94 4-96 4-96 4-97 4-103 4-104 4-106 4-106 4-108
4-109 4-109 4-112 4-113
$$STIX = 000777 #4-94 4-95 4-95 #4-95 4-95 4-95 #4-95 4-102 4-102
#4-102 4-102 4-102 #4-102 4-108 #4-108 4-108 4-108 #4-108
4-108 4-112 #4-112 4-112 4-112 #4-112 4-112
$$STNM = 000000 #4-94 4-95 #4-95 4-95 4-96 4-97 4-102 #4-102 4-102
4-103 4-104 4-106 4-106 4-108 #4-108 4-109 4-109 4-112
#4-112
$$S774 = 000077 #4-102 4-108
$$S775 = 000010 #4-102 4-108
$$S776 = 000000 #4-95 4-112
$$S777 = 000000 #4-95 4-112
$$TRNM = 000000 #4-94 4-95 #4-95 4-96 4-97 4-102 #4-102 4-103 4-104
4-106 #4-106 4-108 #4-108 4-109 #4-109 4-112 #4-112
$$$ARG = 000002 #4-101 4-101 #4-101 4-101 #4-101 4-101 4-101 #4-101 4-101
4-101 4-101 4-101 4-101 4-101 4-101 4-101 4-101 4-101
#4-101 4-101 4-101 4-101 4-101 4-101 4-101 4-101 4-101
4-101 4-101 #4-101 4-101 4-101 4-101 4-101 4-101 4-101
4-101 4-101 4-101 4-101
SRLNBK CREATED BY MACRO ON 13-OCT-79 AT 11:19 PAGE 2
MACRO CROSS REFERENCE CREF
MACRO NAME REFERENCES
CALL #4-107 #4-110
CASE #4-94
CONDF #4-86 4-90
DIR$ #4-101 #4-101
DO #4-94
ELSE #4-94 4-106 4-109
ENDCAS #4-94
ENDIF #4-94 #4-108 #4-112
ENDPRO #4-94 4-113
ENDWHI #4-94
FALSE #4-94 4-103
FALSEB #4-94 4-96
IF #4-94 #4-95 #4-102
JMPPRO #4-94
MOV$ #4-101 4-101 4-101 #4-101 4-101 4-101 #4-101 4-101 4-101
MVB$ #4-101 #4-101
ONCASE #4-94
PROC #4-86 4-94
PROCLC #4-94
QDPB$S #4-101 #4-101
QIO$S #4-86 #4-101
RVP$ #4-101 4-101 4-101 4-101
SWSTK$ #4-94
THEN #4-94 #4-97 #4-104
TRUE #4-94
TRUEB #4-94
WHILE #4-94
$$BGND #4-94 #4-96 #4-103
$$BGNN #4-94 4-96 4-103 4-106 4-109
$$ELSE #4-94 4-106 4-109
$$GEN1 #4-94 #4-94 #4-96 #4-96 #4-97 #4-103 #4-104 #4-106 #4-106 #4-108
#4-109 #4-109 #4-112 #4-113
$$GEN2 #4-94
$$GNAB #4-94 4-103
$$GNBT #4-94 #4-96
$$GNCM #4-94 #4-96 #4-103
$$INMC #4-94 4-94
$$INSY #4-94 4-94
$$LAB #4-94 4-97 4-104 4-106 4-108 4-109 4-112
$$POP #4-94 4-108 4-108 4-112 4-112
$$POPI #4-94 4-108 4-108 4-112 4-112
$$PUSH #4-94 #4-95 #4-95 #4-102 #4-102
$$STSM #4-94 #4-95 #4-95 #4-102 #4-102
$$SYS #4-94
$$TRCE #4-94 4-94 4-113