Google
 

Trailing-Edge - PDP-10 Archives - bb-l014q-bm_tops20_v6_1_atpch17 - autopatch/uuosym.c17
There are no other files named uuosym.c17 in the archive.
 REP 1/1	;17C1
		SUBTTL	UUO PARAMETERS /DAL/BAH 14 MAY 85  V17(1035)
 WIT
		SUBTTL	UUO PARAMETERS /DAL/BAH		20-OCT-87  V17(1121)
 REP 17/1	;17C2
		UUOEDT==1035		;EDIT LEVEL


	;COPYRIGHT (C) 1971,1979,1980,1981,1982,1984,1985 BY
 WIT
		UUOEDT==1121		;EDIT LEVEL


	;COPYRIGHT (C) 1971,1979,1980,1981,1982,1984,1986 BY
 REP 57/1	;17C3
	DEFINE COPYRIGHT,<ASCIZ .
	COPYRIGHT >
	DEFINE .ECOPY,<
	.
 WIT
	DEFINE COPYRIGHT,<ASCIZ \
	COPYRIGHT >
	DEFINE .ECOPY,<
 REP 72/1	;17C4
	COPYRIGHT (C) DIGITAL EQUIPMENT CORPORATION 1971,1986
	ALL RIGHTS RESERVED.
 WIT
	COPYRIGHT (C) DIGITAL EQUIPMENT CORPORATION 1971,1986.
	ALL RIGHTS RESERVED.
	\
 DEL 1/2	;17C5
		SUBTTL	TABLE OF CONTENTS
 REP 17/2	;17C6
	;    8. GETTAB CONSTITUENTS.......................................  15
	;    9. MISC. NON-I/O
	;         9.1   TMPCOR............................................  38
	;         9.2   LOCK..............................................  38
	;         9.3   RTTRP.............................................  38
	;         9.4   JOBSTS............................................  39
	;         9.5   HIBER.............................................  39
	;         9.6   APRENB............................................  39
	;         9.7   UTRP..............................................  40
	;         9.8   SAVE/GET LOCATIONS................................  40
	;         9.9   ALLOC.(OBSOLETE)..................................  41
	;         9.10  ERRPT.............................................  41
	;         9.11  POKE..............................................  41
	;         9.12  SETUUO............................................  42
	;         9.13  QUEUE.............................................  44
	;         9.14  SCHED.............................................  50
	;         9.15  ATTACH............................................  55
	;         9.16  ACCT..............................................  55
	;         9.17  JOBPEK............................................  55
	;         9.18  RECON.............................................  55
	;         9.19  RUNTIM............................................  56
	;   10. UNIVERSAL DEVICE INDEX....................................  56
	;   11. .JBINT INTERCEPT BLOCK....................................  56
	;   12. PSI SOFTWARE INTERRUPT SYSTEM.............................  57
	;   13. IPCF INTERPROCESS COMMUNICATION FACILITY..................  60
	;   14. PAGE AND VM  VIRTUAL MEMORY FACILITY......................  63
	;   15. DAEMON CALLS..............................................  65
	;   16. PERFORMANCE ANALYSIS
	;        16.1   METER MONITOR CALL................................  70
	;        16.2   PERF. MONITOR CALL................................  72
	;        16.3   SNOOP. MONITOR CALL...............................  74
	;   17. ENQUEUE AND DEQUEUE SYMBOLS
	;        17.1   GENERAL FORMAT OF ARG BLOCK.......................  75
	;        17.2   FUNCTION CODES....................................  76
	;        17.3   FORMAT OF STATUS BLOCKS...........................  77
	;        17.4   FORMAT OF DUMP....................................  78
	;        17.5   ERROR CODES.......................................  80
	;   18. FILE DAEMON...............................................  81
	;   19. MISC. I/O
	;        19.1   DEVCHR............................................  82
	;        19.2   DEVTYP............................................  83
	;        19.3   MTCHR.............................................  84
	;        19.4   TAPOP.............................................  85
	;        19.5   WHERE.............................................  91
	;        19.6   CAL11.............................................  91
	;        19.7   DTE...............................................  92
	;        19.8   DEVOP.............................................  94
	;        19.9   DVPHY.............................................  95
	;        19.10  GETLCH AND TRMOP..................................  96
	;        19.11  GETSTS AND SETSTS................................. 100
	;        19.12  OPEN AND CLOSE.................................... 101
	;        19.13  FILOP............................................. 102
	;        19.14  BUFFER HEADER AND BUFFER'S CONTROL BLOCK FORMATS.. 104
	;        19.15  MVHDR............................................. 104
	;        19.16  CNECT.,SENSE., CLRST.............................. 105
	;        19.17  DEVLNM............................................ 106
	;        19.18  DEVSIZ............................................ 106
	;        19.19  MTAID............................................. 106
	;        19.20  SPPRM............................................. 107
	;        19.21  NODE.............................................. 108
	;        19.22  TSK............................................... 109
	;        19.23  KDP............................................... 110
	;        19.24  GTNTN.,GTXTN...................................... 111
	;        19.25  DIAG.............................................. 111
	;	 19.26	NSP............................................... 112
	;	 19.27	NTMAN............................................. 113
	;   20. DISK UUOS
	;        20.1   DSKCHR............................................ 114
	;        20.2   CHKACC............................................ 115
	;        20.3   DISK.............................................. 116
	;        20.4   JOBSTR............................................ 117
	;        20.5   GOBSTR............................................ 118
	;        20.6   SUSET............................................. 118
	;        20.7   PATH.............................................. 119
	;        20.8   STRUUO............................................ 121
	;   21. LOOKUP/ENTER/RENAME....................................... 122
	;   22. EXTENDED I/O ERRORS....................................... 125
	;   23. EXEC DATA VECTOR.......................................... 126
 WIT
	;    8. GETTAB CONSTITUENTS.......................................  16
	;    9. MISC. NON-I/O
	;         9.1   TMPCOR............................................  45
	;         9.2   LOCK..............................................  45
	;         9.3   RTTRP.............................................  45
	;         9.4   JOBSTS............................................  46
	;         9.5   HIBER.............................................  46
	;         9.6   APRENB............................................  47
	;         9.7   UTRP..............................................  47
	;   10. MISC. NON I/O
	;        10.1   GETSEG/MERGE./RUN/SAVE. UUOS......................  48
	;        10.2   SAVE. UUO.........................................  48
	;        10.3   ENTVC. UUO........................................  48
	;        10.4   .EXE FILE FORMAT..................................  48
	;   11. MISC. NON-I/O
	;        11.1   SAVE/GET LOCATIONS (OBSOLETE).....................  49
	;        11.2   ALLOC.(OBSOLETE)..................................  50
	;        11.3   ERRPT.............................................  50
	;        11.4   SEBLK.............................................  50
	;        11.5   POKE..............................................  50
	;        11.6   SETUUO............................................  51
	;        11.7   QUEUE.............................................  53
	;        11.8   SCHED.............................................  59
	;        11.9   ATTACH............................................  65
	;        11.10  ACCT..............................................  65
	;        11.11  ACCLG.............................................  65
	;        11.12  JOBPEK............................................  66
	;        11.13  RECON.............................................  67
	;        11.14  RUNTIM............................................  68
	;        11.15  CMAND.............................................  68
	;        11.16  SCS UUO...........................................  69
	;        11.17  CONTEXT UUO.......................................  70
	;   12. CTXUUO - CONTEXT UUO......................................  70
	;   13. - LLMOP. UUO..............................................  72
	;   14. LATOP. - LAT Host management..............................  73
	;        14.18  KNIBT.............................................  74
	;        14.19  CHTRN.............................................  75
	;        14.20  ETHNT.............................................  76
	;   15. NETOP. UUO................................................  84
	;   16. UNIVERSAL DEVICE INDEX....................................  85
	;   17. .JBINT INTERCEPT BLOCK....................................  85
	;   18. PSI SOFTWARE INTERRUPT SYSTEM.............................  86
	;   19. IPCF INTERPROCESS COMMUNICATION FACILITY..................  90
	;   20. IPCF
	;        20.1   IPCFM. UUO........................................  91
	;   21. PAGE AND VM VIRTUAL MEMORY FACILITY.......................  95
	;   22. DAEMON CALLS..............................................  98
	;   23. PERFORMANCE ANALYSIS
	;        23.1   METER MONITOR CALL................................ 103
	;        23.2   PERF. MONITOR CALL................................ 105
	;        23.3   SNOOP. MONITOR CALL............................... 107
	;   24. ENQUEUE AND DEQUEUE SYMBOLS
	;        24.1   GENERAL FORMAT OF ARG BLOCK....................... 108
	;        24.2   FUNCTION CODES.................................... 109
	;        24.3   FORMAT OF STATUS BLOCKS........................... 110
	;        24.4   FORMAT OF DUMP.................................... 111
	;        24.5   ERROR CODES....................................... 113
	;   25. FILE DAEMON............................................... 114
	;   26. MISC. I/O
	;        26.1   DEVCHR............................................ 115
	;        26.2   DEVTYP............................................ 116
	;        26.3   MTCHR............................................. 117
	;        26.4   TAPOP............................................. 118
	;        26.5   WHERE............................................. 124
	;        26.6   DVPHY............................................. 124
	;        26.7   CAL11............................................. 125
	;        26.8   DTE............................................... 127
	;        26.9   DEVOP............................................. 129
	;        26.10  GETLCH............................................ 132
	;        26.11  TRMOP............................................. 133
	;        26.12  GETSTS AND SETSTS................................. 138
	;        26.13  OPEN AND CLOSE.................................... 139
	;        26.14  FILOP............................................. 140
	;        26.15  BUFFER HEADER AND BUFFER'S CONTROL BLOCK FORMATS.. 142
	;        26.16  MVHDR............................................. 142
	;        26.17  CNECT.,SENSE., CLRST.............................. 143
	;        26.18  DEVLNM............................................ 144
	;        26.19  DEVSIZ............................................ 144
	;        26.20  MTAID............................................. 144
	;        26.21  SPPRM............................................. 145
	;        26.22  NODE.............................................. 146
	;        26.23  TSK............................................... 147
	;        26.24  KDP............................................... 149
	;        26.25  GTNTN.,GTXTN...................................... 150
	;        26.26  DIAG.............................................. 150
	;   27. DECNET UUOS
	;        27.1   NSP............................................... 151
	;        27.2   DECnet Architectural Object types................. 154
	;        27.3   Error codes for NSP............................... 155
	;        27.4   NTMAN. UUO........................................ 156
	;        27.5   DNET.............................................. 158
	;   28. DISK UUOS
	;        28.1   DSKCHR............................................ 160
	;        28.2   CHKACC............................................ 163
	;        28.3   DISK.............................................. 164
	;        28.4   JOBSTR............................................ 166
	;        28.5   GOBSTR............................................ 166
	;        28.6   SUSET............................................. 166
	;        28.7   PATH.............................................. 167
	;        28.8   STRUUO............................................ 169
	;   29. LOOKUP/ENTER/RENAME....................................... 172
	;   30. EXTENDED I/O ERRORS....................................... 178
	;   31. EXEC DATA VECTOR.......................................... 179
	;   32. EXTENDED SYMBOL TABLE FORMAT.............................. 180
 REP 52/5	;17C7
	;1034-1035 Update symbols for 7.03 field test #1.
	;%17(1021) May 1985 7.03
 WIT
	;1034-1035 Update symbols for 7.03 alpha test #3.
	;1036-1047 Update symbols for 7.03 field test #1.
	;1050-1056 Update symbols for 7.03 field test #2.
	;1057-1060 Update symbols for 7.03 clock tape.
	;%17(1060) January 1986 7.03
 REP 10/12	;17C8
		OPDEF	GETCHR	[CALLI 6]	;SAVE AS 4
 WIT
		OPDEF	GETCHR	[CALLI 6]	;SAME AS 4
 REP 3/13	;17C9
		OPDEF	SEEK	[CALLI 56]	;SEEK DISK
 WIT
		OPDEF	SEEK	[CALLI 56]	;SEEK DISK (OBSOLETE)
 INS 11/15	;17C10
		OPDEF	ENTVC.	[CALLI 225]	;READ/SET ENTRY VECTOR
		OPDEF	NETOP.	[CALLI 226]	;GET TTY'S NODE AND PORT NAME
		OPDEF	DDP.	[CALLI 227]	;CONTROL ANF-10/DDCMP DEVICE (RESERVED)
		OPDEF	SEGOP.	[CALLI 230]	;MANIPULATE HIGH SEGMENTS
 INS 19/16	;17C11
		JP.ADM==1B12	;ADMINISTRATOR PRIVS
 REP 19/18	;17C12
			ST%CP1==1B4	;IF SECOND CPU STOPS, STOP CPU0
 WIT
			ST%CP1==1B4	;RELOAD ON CPU STOPCD
			ST%DDC==1B5	;DON'T DUMP ON DEBUG STOPCD
			ST%DJE==1B6	;DON'T DUMP ON JOB STOPCD
			ST%DCP==1B7	;DON'T DUMP ON CPU STOPCD
 REP 30/18	;17C13
		%CNCVN==70,,11	;CUSTOMER VERSION (136)
		%CNDVN==71,,11	;DEC VERSION (137)
		%CNDFC==72,,11	;NUMBER OF DF10 DATA CHANS
		%CNRTD==73,,11	;NUMBER OF RT DEVICES
		%CNHPQ==74,,11	;NUMBER OF HPQ'S
 WIT
		%CNCVN==70,,11	;CUSTOMER VERSION (JOBDAT loc. 136)
		%CNDVN==71,,11	;DEC VERSION (JOBDAT loc. 137)
		%CNDFC==72,,11	;NUMBER OF DF10 DATA CHANS
		%CNRTD==73,,11	;NUMBER OF RT DEVICES
		%CNHPQ==74,,11	;NUMBER OF HPQS
 REP 2/19	;17C14
			ST%RCM==1B8	;RESTRICTED COMMANDS MONITOR
			ST%EXA==1B9	;EXTENDED ADDRESSING SUPPORT
			ST%D36==1B10	;MONITOR HAS DECNET PHASE III CODE
 WIT
			ST%NSE==1B5	;DISABLE KS10 SOFT MEMORY ERROR MESSAGES
			ST%END==1B6	;DECNET RUNNING AS AN ETHERNET ENDNODE
			ST%NPP==1B7	;DISABLED STARTING PRIMARY PROTOCOL ON DTE'S
			ST%RCM==1B8	;RESTRICTED COMMANDS MONITOR
			ST%EXA==1B9	;EXTENDED ADDRESSING SUPPORT
			ST%D36==1B10	;MONITOR HAS DECNET SUPPORT
 REP 19/19	;17C15
			ST%MBE==1B25	;MASS BUS ERROR REPORTS
 WIT
			ST%MBE==1B25	;MASSBUS ERROR REPORTS
 REP 31/19	;17C16
		%CNPIL==110,,11	;LENGTH OF INTERNAL PIT'S
 WIT
		%CNPIL==110,,11	;LENGTH OF INTERNAL PITS
 INS 40/19	;17C17
				.CNTCX==5	;TYMCOM-X
 REP 48/19	;17C18
		%CNHSO==121,,11	;START OF MONITORS HISEG
		%CNHSL==122,,11	;LENGTH OF MONITORS HISEG
 WIT
		%CNHSO==121,,11	;START OF MONITOR'S HISEG
		%CNHSL==122,,11	;LENGTH OF MONITOR'S HISEG
 REP 2/20	;17C19
		%CNBTX==131,,11	;ADDRESS OF RELOAD CCL TEXT FOR BOOTS
		%CNTDB==132,,11	;OFFSET OF DDB PTRS IN TUB
		%CNMTK==133,,11	;FIRST MAGTAPE CONTROLLER DATA BLOCK IN SYSTEM
		%CNCPU==134,,11	;NUMBER OF CPUS MONITOR WAS BUILT FOR
		%CNDJB==135,,11	;BYTE POINTER TO JOB # IN DDB (A LA "PJOBN")
		%CNSUP==136,,11	;SYSTEM UP TIME
		%CNBCP==137,,11	;BOOTSTRAP CPU NUMBER
		%CNBCL==140,,11	;BOOTSTRAP CTY LINE NUMBER
		%CNNCR==141,,11	;NUMBER OF CPU'S ALLOWED TO RUN
		%CNMBS==142,,11	;MONITOR BOOTSTRAP FILE STRUCTURE (FROM BOOTS)
 WIT
		%CNBTX==131,,11	;ADDRESS OF RELOAD CCL TEXT FOR BOOT
		%CNTDB==132,,11	;OFFSET OF DDB PTRS IN TUB
		%CNMTK==133,,11	;FIRST MAGTAPE CONTROLLER DATA BLOCK IN SYSTEM (OBSOLETE)
		%CNCPU==134,,11	;NUMBER OF CPUS MONITOR WAS BUILT FOR
		%CNDJB==135,,11	;BYTE POINTER TO JOB # IN DDB (A LA "PJOBN")
		%CNSUP==136,,11	;SYSTEM UPTIME
		%CNBCP==137,,11	;BOOTSTRAP CPU NUMBER
		%CNBCL==140,,11	;BOOTSTRAP CTY LINE NUMBER
		%CNNCR==141,,11	;NUMBER OF CPUS ALLOWED TO RUN
		%CNMBS==142,,11	;MONITOR BOOTSTRAP FILE STRUCTURE (FROM BOOT)
 REP 15/20	;17C20
		%CNBPM==146,,11	;MAXIMUM NUMBER OF SNOOP. BREAKPOINTS WHICH CAN BE DEFINED
 WIT
		%CNBPM==146,,11	;MAXIMUM NUMBER OF SNOOP. BREAKPOINTS THAT CAN BE DEFINED
 REP 47/20	;17C21
		%CNIVM==201,,11	;'AND' MASK FOR .GTIMI/.GTIMO./GTVIR PAGE COUNTS
 WIT
		%CNIVM==201,,11	;'AND' MASK FOR .GTIMI/.GTIMO/.GTVIR PAGE COUNTS
		%CNACB==202,,11	;ADDRESS OF FIRST SYSTEM-WIDE ALLOCATION CONTROL BLOCK
		%CNAHB==203,,11	;ADDRESS OF FIRST SYSTEM-WIDE ALLOCATION HEADER BLOCK
		%CNIDB==204,,11	;ADDRESS OF IPA20 DRAM DUMP BUFFER
		%CNDTT==205,,11	;SYSTEM DEFAULT TERMINAL TYPE
 INS 13/25	;17C22
		%LDDET==144,,16	;FIRST DETACHED UNIT DATA BLOCK,,OFFSET TO NEXT
		%LDOCS==145,,16	;ORIGINAL (CONFIGURED) SIZE OF DISK CACHE (SEE %LDCSZ)
		%LDSRT==146,,16	;SWAP READ ERROR THRESHOLD
		%LDSRC==147,,16	;SWAP READ ERROR COUNT
		%LDADL==150,,16	;HEADER OF DOUBLY-LINKED LIST OF ACTIVE DRBS
 REP 25/26	;17C23
	.GTCOR==27	;CORE TABLE
 WIT
	.GTCOR==27	;CORE TABLE (OBSOLETE IN 7.01)
 REP 41/26	;17C24
		JW.WAL==377B8	;WATCH ALL
 WIT
		JW.WAL==777B8	;WATCH ALL
 REP 3/27	;17C25
		JS.DFR==1B27	;DEFERED SPOOLING (MPB-I STYLE)
 WIT
		JS.DFR==1B27	;DEFERRED SPOOLING (MPB-I STYLE)
 REP 9/27	;17C26
		JS.PAL==37	;SPOOL ALL
 WIT
		JS.PAL==37B35	;SPOOL ALL
 REP 28/27	;17C27
	.GTSYS==51	;SYSTEM WIDE DATA
 WIT
	.GTSYS==51	;SYSTEM-WIDE DATA
 REP 6/29	;17C28
		%CCTOS==3,,55	;TRAP OFFSET FOR KA INTERRUPT LOCATIONS (ADDRESS OF EPT KI/KL/KS)
		%CCLOG==4,,55	;LOGICAL NAME (CPUN)
 WIT
		%CCTOS==3,,55	;ADDRESS OF EPT (KI/KL/KS) 
				;(TRAP OFFSET FOR KA INTERRUPT LOCATIONS)	
	%CCLOG==4,,55	;LOGICAL NAME (CPUN)
 REP 26/29	;17C29
		%CCDKX==14,,55	;NUMBER OF DK10'S ON THIS CPU
 WIT
		%CCDKX==14,,55	;NUMBER OF DK10S ON THIS CPU
 REP 42/29	;17C30
		%CCCIP==24,,55  ;ADDRESS OF CI PORT CONTROL BLOCK				%CCNIP==25,,55  ;ADDRESS OF NI PORT CONTROL BLOCK	
 WIT
		%CCCIP==24,,55  ;ADDRESS OF CI PORT CONTROL BLOCK
		%CCNIP==25,,55  ;ADDRESS OF NI PORT CONTROL BLOCK
		%CCMSS==26,,55	;POINTER TO KS10 SOFT MEMORY ERROR SUBTABLE
			CC%MLN==777B8	;LENGTH-1 OF SOFT MEMORY ERROR SUBTABLE
			CC%MRA==777777B35 ;RELATIVE ADDRESS OF FIRST WORD IN SUBTABLE
 REP 14/30	;17C31
		%CVLJR==31,,56	;LAST JOB RUN
				;(OBSOLETE)
 WIT
		%CVLJR==31,,56	;LAST JOB RUN (OBSOLETE)
 REP 25/30	;17C32
		%CVOHT==42,,56	;OVERHEAD TIME IN JIFFIES (EXC. UUOS)
 WIT
		%CVOHT==42,,56	;OVERHEAD TIME IN JIFFIES (EXEC. UUOS)
 REP 32/30	;17C33
		%CVSNE==51,,56	;TOTAL NON-REPRODUCIBLE NXM ERRORS
 WIT
		%CVSNE==51,,56	;TOTAL NONREPRODUCIBLE NXM ERRORS
 REP 8/31	;17C34
		%CVCEC==102,,56	;COUNT NON-RECOVERABLE AR/ARX PARITY ERRORS WHICH INVOLVED CACHE
		%CVPTR==103,,56	;RETRY WORD FOR AR/ARX PARITY ERROR TRAP ROUTINE
		%CVTSD==104,,56	;AR/ARX TRAP ROUTINE HAS SAVED APR.ERA.SB
				; DIAGS FOR ERROR REPORTING
		%CVREP==105,,56	;USED BY NXM/PARITY RECOVERY ROUTINES TO
				 ; DETERMINE TYPES OF ERRORS LISTED
		%CVNDB==106,,56	;NUMBER OF TIMES THIS CPU'S DOORBEL WAS RUNG
 WIT
		%CVCEC==102,,56	;COUNT NONRECOVERABLE AR/ARX PARITY ERRORS WHICH INVOLVED CACHE
		%CVPTR==103,,56	;RETRY WORD FOR AR/ARX PARITY ERROR TRAP ROUTINE
		%CVTSD==104,,56	;AR/ARX TRAP ROUTINE HAS SAVED APR ERA.SBDIAGS
				;  FOR ERROR REPORTING
		%CVREP==105,,56	;USED BY NXM/PARITY RECOVERY ROUTINES TO
				 ; DETERMINE TYPES OF ERRORS LISTED
		%CVNDB==106,,56	;NUMBER OF TIMES THIS CPU'S DOORBELL WAS RUNG
 REP 29/33	;17C35
		%CVSA7==136	;AC BLOCK 7, REGS 0-2
		%CVSSB==141	;START OF SBDIAG DATA (MAXIMUM LENGTH = 50 WORDS)
 WIT
		%CVSA7==137	;AC BLOCK 7, REGS 0-2
		%CVSSB==142	;START OF SBDIAG DATA (MAXIMUM LENGTH = 50 WORDS)
 INS 50/33	;17C36

	;KS MEMORY ERRORS SUBTABLE

		%CVKSE==0	;(REL.) NUMBER OF SOFT MEMORY ERRORS
		%CVKSS==1	;(REL.) MEMORY STATUS REGISTER AT LAST SOFT ERROR
		%CVKHE==2	;(REL.) NUMBER OF HARD MEMORY ERRORS
		%CVKHS==3	;(REL.) MEMORY STATUS REGISTER AT LAST HARD ERROR
 INS 11/35	;17C37
			F%SCA==04,,1B19	;SYSTEMS COMMUNICATIONS ARCHITECTURE SUPPORT
 REP 22/35	;17C38
			F%BOOT==4,,1B31	;BOOTS BOOTSTRAP (ALWAYS ON SINCE 7.01)
 WIT
			F%BOOT==4,,1B31	;BOOT BOOTSTRAP (ALWAYS ON SINCE 7.01)
 REP 14/36	;17C39
			F%DALC==7,,1B31	;ALLOCATION OPTIMISATIONS
 WIT
			F%DALC==7,,1B31	;ALLOCATION OPTIMIZATIONS
 REP 22/36	;17C40
			F%DCXH==10,,1B22;DC10-H (2741 ON DC10) SUPPORTED
			F%TVP==010,,1B23;FANCY VERTICAL POSITIONING
			F%TYPE==10,,1B24;TYPESET-10 FEATURES IN DC76 (OBSOLETE IN 7.00)
			F%2741==10,,1B25;SUPPORT 2741-LIKE TERMINALS
 WIT
			F%DCXH==10,,1B22;DC10-H (2741 ON DC10) (OBSOLETE IN 7.04)
			F%TVP==010,,1B23;FANCY VERTICAL POSITIONING
			F%TYPE==10,,1B24;TYPESET-10 FEATURES IN DC76 (OBSOLETE IN 7.00)
			F%2741==10,,1B25;SUPPORT 2741-LIKE TERMINALS (OBSOLETE IN 7.03)
 REP 34/36	;17C41
			F%GPO2==10,,1B34;U.K. MODEM SUPPORT
			F%HDPX==10,,1B35;TRULY HALF DUPLEX TERMINALS
 WIT
			F%GPO2==10,,1B34;U.K. MODEM SUPPORT (OBSOLETE IN 7.03)
			F%HDPX==10,,1B35;TRULY HALF DUPLEX TERMINALS (OBSOLETE IN 7.03)
 REP 28/37	;17C42
			F%MPB==15,,1B35	 ;OLD VBATCH CODE
 WIT
			F%MPB==15,,1B35	 ;OLD BATCH CODE
 REP 32/38	;17C43
		%IPCNP==10,,77	;NUMBER OF PID'S NOW DEFINED
		%IPCTP==11,,77	;TOTAL PID'S DEFINED SINCE RELOAD
 WIT
		%IPCNP==10,,77	;NUMBER OF PIDS NOW DEFINED
		%IPCTP==11,,77	;TOTAL PIDS DEFINED SINCE RELOAD
 REP 12/39	;17C44
		IP.CQR==777	;RECEIVE QUOTA
 WIT
		IP.CQR==777B35	;RECEIVE QUOTA
 INS 53/39	;17C45
		%VMMPC==41,,113	;SYSTEM COUNT OF MODIFIED PAGES (WRITE LOCKED PAGE
				; FAULTS)
 REP 35/40	;17C46
	.GTSQP==122	;SECONDARY QUOTA PERCENTAGE (6.03A SCHEDULER)
 WIT
	.GTSQP==122	;SECONDARY QUOTA PERCENTAGE 
 INS 18/41	;17C47
		%SIMAI==17,,126 ;PID OF [SYSTEM]MAILER
 INS 23/42	;17C48
		%NTNIP==15,,141	;ANF/ETHERNET PROTOCOL NUMBER (0 IF NOT ENABLED)
		%NTNIA==16,,141	;ANF/ETHERNET MULTICAST ADDRESS (HIGH FOUR BYTES)
		%NTNIM==17,,141	;ANF/ETHERNET MULTICAST ADDRESS (LOW TWO BYTES OR ZERO)
		%NTNII==20,,141	;ANF/ETHERNET BROADCAST INTERVAL MAXIMUM
		%NTNIJ==21,,141	;ANF/ETHERNET FEK KEEP-ALIVE TIMER VALUE
 REP 11/43	;17C49
		ID.MIN==777777B17	;MINIMUM. PROGRAMS SHOULD DO A HLRE IN CASE NEGATIVE
		ID.MAX==777777B35	;MAXIMUM. PROGRAMS SHOULD DO A HRRE IN CASE NEGATIVE
 WIT
		ID.MIN==777777B17	;MINIMUM PROGRAMS SHOULD DO A HLRE IN CASE NEGATIVE
		ID.MAX==777777B35	;MAXIMUM PROGRAMS SHOULD DO A HRRE IN CASE NEGATIVE
 INS 52/43	;17C50
		%NDNVR==25,,161	;NCL VERSION NUMBER
 REP 18/44	;17C51
		%DNLOC==6,,170	;ADDRESS OF DECNET FREECORE POOL
		%DNPTR==7,,170	;ADDRESS OF POINTER TO DECNET FREECORE BITTABLE
 WIT
		%DNLOC==6,,170	;OBSOLETE IN 7.03
		%DNPTR==7,,170	;OBSOLETE IN 7.03
 INS 31/44	;17C52
		%DNACB==23,,170	;ADDRESS OF DECNET ALLOCATION CONTROL BLOCK
 INS 72/44	;17C53
	.GTNXM==205	;NONEXISTENT MEMORY BIT TABLE (NXMTAB)
	.GTBTX==206	;BOOT AUTO-RELOAD STRING (BOOTXT)
	.GTCHN==207	;CHANNEL DATA BLOCK OFFSETS
		%CHSYS==00,,207	;LINK TO NEXT CHANNEL DATA BLOCK IN SYSTEM
		%CHLUE==01,,207	;LAST UDB WITH SOFT OR HARD ERROR
		%CHICW==02,,207	;INITIAL CONTROL WORD ON LAST ERROR
		%CHICL==03,,207	;NUMBER OF WORDS POINTED TO BY %CHICW
		%CHMPE==04,,207	;NUMBER OF MEMORY PARITY ERRORS
		%CHDPE==05,,207	;NUMBER OF DATA PARITY ERRORS (FROM DEVICE)
		%CHNXM==06,,207	;NUMBER OF NXMS OR DATA LATES (OVERRUN)
		%CHTCW==07,,207	;EXPECTED TERMINATION CONTROL WORD
	.GTKDB==210	;KONTROLLER DATA BLOCK CHAIN HEADER (INDEX BY DEVICE TYPE)
	.GTDDH==211	;DEVICE DATA BLOCK CHAIN HEADERS (INDEX BY DEVICE TYPE)
	.GTTCN==212	;TERMINAL CLASS NAMES
 INS 24/45	;17C54
	.LKSGL==1	;LOCK SEGMENT LIST
		LK.2PC==1B1	;LOCK THIS SEGMENT PHYSICALLY CONTIGUOUS
		LK.2EV==1B2	;LOCK IN EVM
		LK.2PP==3777B17	;PHYSICAL PAGE # TO LOCK AT (L2.2PC MUST BE SET)
		LK.2SN==777B35	;SEGMENT NUMBER TO LOCK; 0 MEANS LOW SEG
 INS 38/45	;17C55
		SUBTTL	MISC. NON-I/O -- UNLOK.

	;EXTENDED FORMAT UNLOCK:

	;FUNCTION CODES:

	.ULSGL==0	;UNLOCK SEGMENT LIST.  SAME FORMAT AS .LKSGL FOR LOCK.,
			;EXCEPT FLAG BITS DO NOT APPLY

		UL.2SN==777B35	;SEGMENT NUMBER TO UNLOCK; 0 MEANS LOW SEG

	;ERROR CODES:

	ULNSH%==0	;CAN'T UNLOCK ONLY LOW SEG IF NON-SHARABLE HIGH SEG ALSO
			;NOT UNLOCKED.
 INS 18/46	;17C56
	JB.UHI==1B15	;TTY IS HIBERING FOR INPUT
 INS 26/46	;17C57
	HB.DIN==1B9	;HB.RTL OR HB.RTC MEANS DEMANDING INPUT (SEE JB.UHI IN JOBSTS)
 REP 1/48	;17C58
		SUBTTL	MISC. NON I/O -- GETSEG/MERGE./RUN/SAVE. UUOS
 WIT
		SUBTTL	MISC. NON I/O -- GETSEG/MERGE./RUN/SAVE./SEGOP. UUOS
 INS 13/48	;17C59
		SUBTTL	MISC. NON I/O -- SEGOP. UUO

	.SGFNC==0	;LENGTH,,FUNCTION
		SG.LEN==777777B17	;LENGTH OF ARGUMENT BLOCK
		SG.FNC==777777B35	;FUNCTION CODE
		.SGINF==0	;OBTAIN INFORMATION ABOUT A SEGMENT
		.SGGET==1	;GET A NEW SEGMENT WITHOUT DISCARDING EXISTING ONES
		.SGREL==2	;RELEASE A SEGMENT OR A LIST OF SEGMENTS
		.SGRMP==3	;REMAP A NEW SEGMENT WITHOUT DISCARDING EXISTING ONES
		.SGSWP==4	;SETUWP TO FLAGS ARGUMENT FOR SPECIFIED SEGMENT
		.SGCOR==5	;CHANGE LENGTH OF EXISTING SEGMENT
		.SGDMP==6	;DUMP SEGMENT LIST FOR A GIVEN JOB/CONTEXT
	;ARGUMENTS LISTS (LIST OF SEGMENTS) FOR .SGDMP AND .SGREL BEGIN AT .SGSGN
	.SGFLG==1	;FLAGS
		SG.CTX==777B26	;CONTEXT SEGMENT BELONGS TO
		SG.JOB==777B35	;JOB SEGMENT BELONGS TO
		SG.STP==1B0	;STEP TO THE NEXT SEGMENT
		SG.SEC==37B17	;OFFSET SECTION BY THIS AMOUNT IF SG.USN SET
		SG.NSR==777777B17 ;NUMBER OF SEGMENTS THAT WOULD HAVE BEEN RETURNED
				; BY .SGDMP IF THERE HAD BEEN ROOM
		SG.USN==1B1	;IF NON-ZERO, USES SG.SEC AS OFFSET FOR GET
		SG.FFS==1B2	;IF NON-ZERO PUT THIS SEGMENT IN FIRST FREE SECTION
		SG.UWP==1B35	;SETUWP FLAG (0 CLEARS UWP, 1 SETS IT) - PREVIOUS
				; SETTING ALWAYS RETURNED
	.SGSGN==2	;SEGMENT NUMBER
	.SGSNM==3	;SEGMENT NAME
	.SGORG==4	;SEGMENT ORIGIN,,LOCAL SEGMENT ORIGIN
		SG.HSO==777777B17	;SEGMENT ORIGIN
		SG.LSO==777777B35	;LOCAL SEGMENT ORIGIN
	.SGSIZ==5	;SEGMENT SIZE
	.SGFSP==6	;FILESPEC POINTER
		.SGFDV==0	;DEVICE NAME
		.SGFNM==1	;FILE NAME
		.SGFEX==2	;EXTENSION
		.SGFPP==3	;PPN
		.SGFS1==4	;FIRST SFD
		.SGFS2==5	;SECOND SFD
		.SGSF3==6	; ..
		.SGSF4==7	; ..
		.SGSF5==10	;FIFTH SFD
		.SGFLN==11	;LENGTH OF FILE SPEC BLOCK


 INS 19/48	;17C60
		SUBTTL	MISC. NON I/O -- ENTVC. UUO

	;ENTVC. - READ/SET ENTRY VECTOR

	;ENTVC. - ARGUMENT BLOCK LOCATIONS

	.ENFUN==0	;FLAGS,,FUNCTION
	.ENLEN==1	;LENGTH OF ENTRY VECTOR
	.ENADR==2	;30-BIT ADDRESS OF ENTRY VECTOR OR START ADDRESS

	;ENTVC. - FUNCTION CODES

	.ENVRS==0	;READ/SET ENTRY VECTOR
		EN.SET==1B0	;SET VECTOR OR START ADDRESS

	;.ENTVC. - ERROR CODES

	EVIAL%==1	;ILLEGAL ARGUMENT LIST
	EVIFC%==2	;ILLEGAL FUNCTION CODE
	EVADR%==3	;ADDRESS CHECK



 INS 14/51	;17C61
		ST.WCX==1B18	;WATCH CONTEXTS
 REP 22/51	;17C62
		ST.WAL==376B26	;WATCH ALL
 WIT
		ST.WAL==777B26	;WATCH ALL
 INS 42/52	;17C63
	.STPCP==52	;SET POLICY CPU
 REP 45/52	;17C64
	;.STCPU AND .STCRN ERRORS
 WIT
	;.STCPU, .STPCP, AND .STCRN ERRORS
 INS 25/54	;17C65
			.QUMAI==17	;DELIVER A MAIL MESSAGE
			.QUEVT==20	;CREATE AN EVENT QUEUE ENTRY
 REP 38/54	;17C66
		QA.TYP==7777B35		;ARGUMENT TYPE (BITS 18-23 RESERVED FOR GALAXY INTERNALS)
 WIT
		QA.TYP==777777B35	;ARGUMENT TYPE (BITS 18-23 RESERVED FOR GALAXY
					; INTERNALS IN GALAXY MESSAGES)
 INS 66/58	;17C67
	.QBUTY==65	;SIXBIT UNIT TYPE (E.G. "LN01")

 REP 10/66	;17C68
	JK.JOB==777B17	;JOB NUMBER
	JK.WCT==777777B35;WORD COUNT
 WIT
	JK.JOB==777B17	;JOB NUMBER (FORMAT 1)
	JK.WCT==777777B35;WORD COUNT (FORMAT 1)
	JK.JCH==777777B35 ;JCH (FORMAT 2)
	JK.EWC==1777B17	;EXTENDED FORMAT WORD COUNT (FORMAT 2)

 INS 19/67	;17C69
	.RCSDF==15	;SET DUMP/RELOAD FLAGS
	.RCCDF==16	;CLEAR DUMP/RELOAD FLAGS
	.RCRBM==17	;READ BOOTSTRAP MICROCODE INFORMATION
	.RCSBM==20	;SUPPLY NEW BOOTSTRAP MICROCODE
 INS 41/67	;17C70
	RCNBN%==24	;BOOTSTRAP NOT AVAILABLE
	RCNEM%==25	;NON-EXISTANT MICROCODE
	RCMLD%==26	;MICROCODE LENGTHS DIFFER
 REP 142/69	;17C71
		SQ%DIC==0		;INDUSTRY COMPATIBLE
		SQ%DCD==1		;CORE DUMP MODE
		SQ%DHD==2		;HIGH DENSITY MODE
 WIT
		SQ%DIC==0B35		;INDUSTRY COMPATIBLE
		SQ%DCD==1B35		;CORE DUMP MODE
		SQ%DHD==2B35		;HIGH DENSITY MODE
 INS 251/69	;17C72
	SSCRB%==26		;CAN'T REMOVE BUFFER FROM DATABASE
	SSCUB%==27		;CAN'T UNMAP BUFFER
	SSNSB%==30		;NO SUCH BUFFER NAME
	SSTMS%==31		;TOO MANY BUFFER SEGMENT DESCRIPTORS
	SSIDM%==32		;ILLEGAL DATA MODE
	SSSCP%==33		;SEGMENT CROSSES PAGE BOUNDARY
	SSSTL%==34		;SEGMENT TOO LONG (GREATER THAN 1 PAGE)
 INS 25/71	;17C73
	CXCCC%==26			;CANNOT CREATE CONTEXT FROM CAPTIVE PROGRAM
 REP 50/72	;17C74
		.LMSRC==.LMDST		;Source Address for .ELRPY and .RCRPY only 
 WIT
		.LMSRC==.LMDST		;Source Address for .ELRPY and .RCRPY only
 INS 134/72	;17C75
	LMADC%==5		;ADDRESS CHECK
 INS 17/73	;17C76
		.LARHC==7	 ;Request host-initiated connect
		.LATHC==10	 ;Terminate host-initiated connect
		.LASHC==11	 ;Show host-initiated connects
 INS 23/73	;17C77
			LA.WAI==1B0	;Wait for the connection
			LA.QUE==1B1	;Queue the request at the remote server
			LA.SYS==1B2	;Show all host-initiated connects
			LA.JOB==1B3	;Show all host-initiated connects for the job
			LA.CID==777777	;Connect id
 INS 26/73	;17C78
			LA.ECB==1B0	;Use the Extended Connect Block
			LA.BCT==777777	;Buffer count in words
 INS 30/73	;17C79
		.LASVR==4	;Server name
		.LASVC==5	;Service name
		.LAPRT==6	;Port name

 REP 33/73	;17C80
	;	Parameter numbers for SET/CLEAR
 WIT
	;Parameter numbers for SET/CLEAR
 INS 46/73	;17C81
	;Port type codes

		.LATTY==1	;Standard LAT terminal connection
		.LADLP==2	;Dial-up LAT terminal connection
		.LAAPP==3	;LAT application terminal

	;Status and rejection codes

		.LASOL==377777	;Soliciting
		.LAQUE==377776	;Queued
		.LACAN==377775	;Cancelled
		.LATMO==377774	;Timed out

		.LAUNK==00	;Unknown error
		.LAURD==01	;User requested disconnect
		.LASSP==02	;System shutdown in progress
		.LAISR==03	;Invalid slot received
		.LAISC==04	;Invalid service class
		.LAIRS==05	;Insufficient resources
		.LASIU==06	;Service is in use
		.LANSS==07	;No such service
		.LASDI==10	;Service is disabled
		.LASNP==11	;Service is not offered by requested port
		.LANSP==12	;No such port name
		.LAIPW==13	;Invalid password
		.LAENQ==14	;Entry is not in queue
		.LAIAR==15	;Immediate access rejected
		.LAACD==16	;Access denied
		.LACSR==17	;Corrupted solicit request
		.LACTI==20	;Command type code is illegal
		.LASCS==21	;Start slot can't be sent
		.LAQED==22	;Queue entry deleted by local node
		.LAIRP==23	;Inconsistent or illegal request parameters

	;Error codes
 INS 60/73	;17C82
	LAPRT%==15		;Invalid or unknown LAT port name
	LACID%==16		;Invalid or unknown LAT connect id
	LAABL%==17		;Argument list too large
 REP 43/74	;17C83
	KS.NAR==040000,,000000		;NO AUTO-RELOAD FLAG
	KS.ARD==020000,,000000		;AUTO-RELOAD DISABLED BY ERRORS
 WIT
	KS.ARD==040000,,000000		;KLNI AUTO-RELOAD IS DISABLED
	KS.RRQ==020000,,000000		;KLNI RELOAD REQUESTED BY SYSTEM
	KS.DRQ==010000,,000000		;KLNI DUMP REQUESTED BY SYSTEM
 INS 63/74	;17C84
	KBNRJ%==16			;NOT THE RELOAD JOB
 INS 20/77	;17C85
	ETPWS%==22			;PROTOCOL IN WRONG STATE
	ETIKI%==23			;INVALID KONTROLLER ID
 DEL 5/78	;17C86
			ET.FBK==400000,,000000		;BLOCK ON FUNCTION
 REP 3/80	;17C87
	.EICEA==0			;CURRENT ETHERNET ADDRESS (2 WORDS)
 WIT
	.EICNM==0			;ETHERNET CHANNEL NUMBER
	.EICEA==1			;CURRENT ETHERNET ADDRESS (2 WORDS)
 INS 1/84	;17C88
		SUBTTL	NETOP. UUO

	;CALL:	XMOVEI	AC,ARGLIS
	;	NETOP.	AC,
	;	  ERROR CODE IN AC
	;	SUCCESS, AC UNCHANGED
	;
	;
	;FUNCTION CODE 1 - .NOGDI - Get Device Info (TTYs only)
	; User must fill in words 0 and 2 of argument list.
	;On return, node name string block is filled in with the 8 bit ASCII
	; node name string where the TTY is connected.  The port name string
	; block is filled in with the 8 bit ASCII node-local port name if
	; it is available.  Format of port name for ANF terminals is "TTYnnn"
	; where "nnn" is the node-local line number of the TTY.
	;
	;ARGLIS:

	.NOFCN==0	;LENGTH,,FUNCTION
		.NOGDI==1	;Get Device Info
	.NOFLG==1	;Flags indicating how device is connected
		NO.ANF==1B0	;TTY on ANF node
		NO.DCN==1B1	;TTY hosted in through DECnet (NRT or CTERM)
		NO.LAT==1B2	;TTY on a LAT terminal server
				;All above bits clear indicates local TTY
	.NODEV==2	;SIXBIT DEVICE NAME, UDX, OR OPEN CHANNEL NUMBER
	.NODCH==3	;Output, same results as DEVCHR UUO
	.NODTY==4	;Output, same results as DEVTYP UUO
	.NONOD==5	;ADDRESS OF STRING BLOCK FOR NODE NAME STRING
	.NOPNM==6	;ADDRESS OF STRING BLOCK FOR PORT NAME STRING
	;
	;
	;NETOP. error codes

		NOADC%==1	;ADDRESS CHECK
		NOILF%==2	;ILLEGAL FUNCTION
		NOLTS%==3	;ARG LIST TOO SHORT
		NONSD%==4	;NO SUCH DEVICE
		NODNC%==5	;DEVICE NOT CONNECTED
		NONTY%==6	;DEVICE IS NOT A TTY
 REP 14/93	;17C89
	.IPCPE==13	;[SYSTEM]THGA
 WIT
	.IPCPE==13	;[SYSTEM]TGHA
 INS 18/93	;17C90
	.IPCPX==17	;[SYSTEM]MAILER
 INS 43/93	;17C91
	IPCRP%==26	;NO PHYSICAL ROOM (E.G. TO CREATE SECTION MAP)
	IPCRV%==27	;NO VIRTUAL ROOM (RECEIVING PAGE WOULD CAUSE JOB TO EXCEED CURRENT VIRTUAL LIMIT)
 REP 32/94	;17C92
		PA.GSC==37B20	;SECTION # OF INDEPENDENT SECTION OF PA.GIN LIT
		PA.GPN==37777B35	;PAGE # SPY PAGE IS SPYING ON
 WIT
		PA.GSC==37B20	;SECTION # OF INDEPENDENT SECTION IF PA.GIN LIT
		PA.GPN==37777B35	;PAGE # SPY PAGE IS SPYING ON (IF PA.GSP)
		PA.GSG==1777B35	;SEGMENT # PAGE IS IN IF PA.GHI LIT
 REP 45/94	;17C93
	.PAGBM==13	;ACCESSIBILITY BIT MAP (SAME BITS AS .PAGAC)
	.PAGAL==14	;ACCESSIBILITY FOR LIST (SAME BITS AS .PAGAC)
 WIT
	.PAGBM==13	;ACCESSIBILITY BIT MAP (SAME BITS AS .PAGCA)
	.PAGAL==14	;ACCESSIBILITY FOR LIST (SAME BITS AS .PAGCA)
	.PAGLP==15	;LOCK/UNLOCK SPECIFIED PAGES INTO CORE
		PA.GEV==1B1		;MODIFIER BIT (REQUEST EVM)
		PA.GPP==37777B35	;PHYSICAL PAGE #
		PA.GVP==37777B17	;VIRTUAL PAGE #
	.PAGWL==16	;WRITE LOCK/ENABLE SPECIFIED PAGES
 INS 21/95	;17C94
	PAGAL%==21			;PAGE ALREADY LOCKED
	PAGAU%==22			;PAGE ALREADY UNLOCKED (MUST BE CONTIGUOUS
					;WITH PALERR)
	PAGNA%==23			;PAGE NOT AVAILABLE (E.G. PHYS PAGE REQ'D
					;TO BE LOCKED IS IN A LOCKED JOB, ETC.)
	PAGNR%==24			;NO ROOM TO LOCK
	PAGNE%==25			;INSUFFICIENT EVM AVAILABLE FOR LOCKING
	PAGNN%==26			;NO FREE SEGMENT #S
	PAGNC%==27			;NO FREE CORE
	PAGWL%==30			;ALREAD WRITE-LOCKED
	PAGWE%==31			;ALREADY WRITE-ENABLED
 INS 4/100	;17C95
	.ESKSM==53	;KS MEMORY ERROR
 INS 16/100	;17C96
	.ESICD==74	;IPA20 CHANNEL DUMP
 REP 9/109	;17C97
	;;!          NUMBER OF REQUESTS         !    REQUEST ID OF CALLER/OWNER     !
 WIT
	;;!          NUMBER OF SHARERS          !    REQUEST ID OF CALLER/OWNER     !
 REP 25/109	;17C98
	.ENQCI==2	;NUMBER OF REQUESTS,,REQUEST ID OF OWNER/CALLER
		EQ.CIQ==777777B17 ;NUMBER OF REQUESTS QUEUED
 WIT
	.ENQCI==2	;NUMBER OF SHARERS,,REQUEST ID OF OWNER/CALLER
		EQ.CIQ==777777B17 ;NUMBER OF SHARERS OF RESOURCE
 INS 10/113	;17C99
	.FLDPS==7	;PUSH/SUSPEND
	.FLDPR==10	;POP/RESUME
 INS 49/115	;17C100
		.TYKLP==36	;CI20 (KLIPA)
		.TYKNI==37	;NIA20 (KLNI)
 REP 17/118	;17C101
		.TFKTX==3	;TX01
		.TFKTM==4	;TM02/TU16
		.TFKRH==5	;TM02/3 ON RH11
		.TFKD2==6	;DX20/TX02
		.TFK78==7	;TM78/TU78
 WIT
		.TFKTX==3	;DX10/TX01/TX02
		.TFKTM==4	;TM02/TM03
		.TFKRH==5	;TM02/TMO3
		.TFKD2==6	;DX20/TX02
		.TFK78==7	;TM78
 INS 1/126	;17C102
	SUBTTL	MISC. I/O -- DDP.

	;THE DDP. UUO ALLOWS UUO-LEVEL CONTROL OF DDP DEVICES/KONTROLLERS.
	;CALL IS:
	;
	;	XMOVEI	AC,ADDRESS
	;	DDP.	AC,
	;	  ERROR RETURN
	;	NORMAL RETURN
	;
	;ADR:	LENGTH,,FUNCTION
	;	DDP DEVICE ID
	;	ARGUMENT (AS NEEDED)

	.DPFNC==0		;LENGTH,,FUNCTION CODE
	;  DP.???==777B8	   ;RESERVED
	   DP.LEN==777B17	   ;LENGTH
	   DP.FNC==777777B35	   ;FUNCTION
	      .DPFAS==00	      ;ASSIGN (CREATING IF NEEDED) DDP DEVICE
	      .DPFZP==01	      ;ZAP ("RELEASE") DDP DEVICE/KONTROLLER
	      .DPFDV==02	      ;SET DDP TO "DEVICE" MODE (IN/OUT/ETC. UUOS)
	      .DPFKN==03	      ;SET DDP TO "KONTROLLER" MODE
	      .DPFUS==04	      ;SET DDP "KONTROLLER" USER TYPE
	;     .DP???==05	      ;RESERVED/ILLEGAL
	;     .DP???==06	      ;RESERVED/ILLEGAL
	;     .DP???==07	      ;RESERVED/ILLEGAL
	      .DPFHL==10	      ;HALT THE DDP KONTROLLER
	      .DPFIN==11	      ;INITIALIZE DDP KONTROLLER
	      .DPFMA==12	      ;SET TO MAINTENANCE MODE (FOR BOOTSTRAPING)
	.DPDEV==1		;SIXBIT DEVICE, CHANNEL, OR I/O INDEX (UDX)
	.DPARG==2		;OPTIONAL FUNCTION DEPENDENT ARGUMENT
	.DPMAX==3		;MAXIMUM LENGTH OF ARGUMENT BLOCK

	;DDP. ERROR CODES
	DPIFC%==01		;ILLEGAL DDP. FUNCTION CODE
	DPLTS%==02		;ARGUMENT LIST TOO SHORT
	DPIDV%==03		;ILLEGAL DDP. DEVICE (NOT DDP, ETC.)
	DPNPR%==04		;USER NOT PRIVILEGED
	DPIOM%==05		;ILLEGAL OPERATION MODE (DDP NOT IN KONTROLLER MODE)
	DPIUN%==06		;ILLEGAL USER NAME
	DPIOJ%==07		;DDP IS IN USE BY OTHER USER/JOB
	DPADC%==10		;ADDRESS CHECK
 INS 12/129	;17C103

	.DFFRM==1005		;READ/SET FORMS TYPE NAME (SIXBIT)
 REP 28/132	;17C104
	.TOELE==16	;SET ELEMENT
 WIT
	.TOELE==16	;SET ELEMENT (OBSOLETE)
 INS 19/133	;17C105
		TO.LUI==1B14	;LINE'S USER IS INTERESTING FOR A JOBSTS
 REP 38/133	;17C106
		TC.BRK==1B35		;LINE BREAK
		TC.NSA==1B34		;DISABLE SPECIAL MONITOR ACTION
		TC.OOB==1B33		;OUT-OF-BAND (PSI ENABLE)
		TC.DFR==1B32		;DEFERRED INTERRUPT
		TC.CLR==1B31		;CLEAR INPUT BUFFER ON INTERRUPT (CONTROL CHARS ONLY)
 WIT
		TC.CLR==1B31		;CLEAR INPUT BUFFER ON INTERRUPT (CONTROL CHARS ONLY)
		TC.DFR==1B32		;DEFERRED INTERRUPT
		TC.OOB==1B33		;OUT-OF-BAND (PSI ENABLE)
		TC.NSA==1B34		;DISABLE SPECIAL MONITOR ACTION
		TC.BRK==1B35		;LINE BREAK
 INS 48/133	;17C107
	.TODNT==41	;DISCONNECT NETWORK TERMINAL (WILL NOT HANG UP DATASET)
 REP 17/134	;17C108
	.TOHLF==1014	;HALF DUPLEX (REQUIRES [1,2]/JACCT/POKE PRIVS TO SET)
 WIT
	.TOHLF==1014	;HALF DUPLEX (OBSOLETE)
 REP 22/134	;17C109
	.TOPAG==1021	;PAGE COMMAND GIVEN
 WIT
	.TOPAG==1021	;PAGE COMMAND GIVEN (OBSOLETE)
 REP 29/134	;17C110
	.TOAPL==1027	;APL MODE
 WIT
	.TOAPL==1027	;APL MODE (OBSOLETE)
 REP 47/134	;17C111
	.TODBK==1032	;HAS DEBREAK
	.TO274==1033	;2741 (REQUIRES [1,2]/JACCT/POKE PRIVS TO SET)
	.TOTDY==1034	;TIDY MODE
 WIT
	.TODBK==1032	;HAS DEBREAK (OBSOLETE)
	.TO274==1033	;2741 (OBSOLETE)
	.TOTDY==1034	;TIDY MODE (OBSOLETE)
 INS 58/135	;17C112
	.TOEDT==1107	;ENABLE EDIT BUFFER (RESERVED FOR DIGITAL)
	.TOTTN==1110	;TERMINAL TYPE NAME (MODEL NAME)
	.TOTCN==1111	;TERMINAL CLASS NAME (READ ONLY)
	.TOATR==1112	;TERMINAL ATTRIBUTES (BITS)
		TA.8BT==1B0	;8-BIT TERMINAL
		TA.DIS==1B1	;DISPLAY TERMINAL
		TA.OVR==1B2	;OVERPRINTING WORKS ON THIS TERMINAL
		TA.8BA==1B3	;8-BIT ARCHITECTURE (CAN SOMETIMES BE 8-BIT)
		TA.NRC==1B4	;NATIONAL REPLACEMENT CHARACTER SETS SUPPORTED
		TA.ISO==1B5	;8-BIT MEANS ISO/LATIN-1, NOT DEC/MCS
		TA.LID==1B6	;LINE INSERTION & DELETION
		TA.CID==1B7	;CHARACTER INSERTION & DELETION
		TA.SRM==1B8	;SCROLLING REGIONS (DECSTBM) SUPPORTED
		TA.GAT==1B9	;GUARDED AREA TRANSFER SUPPORTED
		TA.SEM==1B10	;SELECTIVE ERASE (DECSEL/DECSED) SUPPORTED
		TA.AVO==1B11	;VT100'S ADVANCED VIDEO OPTION SUPPORTED OR EMULATED
		TA.PPO==1B12	;PRINTER PORT OPTION SUPPORTED
		TA.GPO==1B13	;REGIS SUPPORTED (MAYBE VIA GRAPHICS PROCESSOR OPTION)
		TA.SXL==1B14	;SIXEL GRAPHICS SUPPORTED
		TA.TEK==1B15	;TEKTRONIX 4010/4014 EMULATION
		TA.RCS==1B16	;DYNAMICALLY REDEFINABLE CHARACTER SETS
		TA.UDK==1B17	;USER-DEFINE KEYS
		TA.VFW==1B18	;VARIABLE FORMS WIDTH
		TA.VFL==1B19	;VARIABLE FORMS LENGTH
		TA.V52==1B20	;VT52 EMULATION AVAILABLE
		TA.ESL==1B21	;EXTRA STATUS LINE EXISTS
		TA.JTK==1B22	;KATAKANA CHARACTER SET IS AVAILABLE
		TA.TCS==1B23	;DEC TECHNICAL CHARACTER SET IS AVAILABLE
		TA.TSI==1B24	;TERMINAL STATE INTERROGATION
		TA.BMT==1B25	;BLOCK-MODE TRANSFER
		TA.BTA==1B26	;BLOCK TRANSFER IS ANSI
		TA.HSR==1B27	;HORIZONTAL SCROLLING
		TA.UWN==1B28	;USER WINDOWS
		TA.SSU==1B29	;MULTIPLE SESSIONS
		TA.CLR==1B30	;COLORED TERMINAL SCREEN
		TA.NKB==1B31	;NO KEYBOARD (ASYNCHRONOUS PRINTER SUCH AS LN03)
	.TOAT2==1113	;TERMINAL ATTRIBUTES (BYTES)
		T2.LDT==7B2	;LOCATOR DEVICE TYPE
			.T2UNK==0	;UNKNOWN
			.T2MOU==1	;MOUSE
			.T2TAB==2	;TABLET
		T2.ACL==17B6	;ANSI CONFORMANCE LEVEL (ACTUALLY PURE-ANSI LEVEL OF
				; SUPPORT FOR DEC'S VSRM)
		T2.DCL==17B10	;DEC CONFORMANCE LEVEL (VSRM/DEC-STD-070)
	.TOAT3==1114	;TERMINAL ATTRIBUTES (CUSTOMER WORD)
		;T3.??? RESERVED TO CUSTOMER DEFINITION FOR THIS FUNCTION
 INS 12/136	;17C113
	TONET%==11	;NOT A NETWORK-BASED TERMINAL (ANF, LAT, ETC.)
 INS 31/145	;17C114
		ND.NVR==21	;NCL VERSION NUMBER
 REP 3/147	;17C115
	.TKTDT==1	;DATA MESSAGE (WITH OUT END OF RECORD)
 WIT
	.TKTDT==1	;DATA MESSAGE (WITHOUT END OF RECORD)
 REP 18/149	;17C116
	;FUNCTION CODES (1-6 RESERVED TO DEC DIAGNOSTICS)

 WIT
	;FUNCTION CODES

	.DIASU==1	;ASSIGN SINGLE UNIT ON CHANNEL/CONTROLLER
	.DIAAU==2	;ASSIGN ALL UNITS ON CHANNEL/CONTROLLER
	.DIRAU==3	;RELEASE ALL UNITS ON CHANNEL/CONTROLLER
	.DISCP==4	;SPECIFY CHANNEL PROGRAM
	.DIRCP==5	;RELEASE CHANNEL PROGRAM
	.DIGCS==6	;GET CHANNEL STATUS
 REP 23/149	;17C117
	.DIANL==13	;ENABLE/DISABLE AUTO RELOAD OF DX20 MICROCODE
	.DIASM==15	;SEIZE MAGTAPE CONTROLLER(S)
	.DIARM==16	;RELEASE MAGTAPE CONTROLLER(S)
 WIT
	.DISCR==12	;SPECIFY CHANNEL PROGRAM FOR READ REVERSE (RH20 ONLY)
	.DIANL==13	;ENABLE/DISABLE AUTO RELOAD OF DX20 MICROCODE (OBSOLETE)
	.DIGUI==14	;GET USER I/O
	.DIASM==15	;SEIZE MAGTAPE CONTROLLER(S) (OBSOLETE)
	.DIARM==16	;RELEASE MAGTAPE CONTROLLER(S) (OBSOLETE)
 REP 31/149	;17C118
	.DIACC==107	;MANIPULATE CI PORT COUNTERS
 WIT
	.DISBD==24	;EXECUTE S-BUS DIAGNOSTIC FUNCTION
	.DIDSN==25	;READ DEVICE SERIAL NUMBER
	.DIRUR==26	;READ KS10 UNIBUS REGISTER
	.DIADB==27	;ALLOCATE BUFFER FOR DUMPING IPA20 DRAM
	.DIOKI==30	;OBTAIN KONTROLLER INFORMATION
		;START OF FIRST WORD RETURNED
		DI.DTY==77B35	;DEVICE TYPE
		DI.KTY==77B29	;KONTROLLER TYPE
		DI.KUX==77B23	;MAXIMUM UNITS ON THIS KONTROLLER
		DI.CKX==77B17	;MAXIMUM KONTROLLERS ON THIS CPU (RESERVED)
		DI.CAM==77B11	;CPU ACCESSABILITY MASK
		DI.MUK==1B0	;MULTI-UNIT KONTROLLER (NOT UNIQUE ON CHANNEL)
		DI.CLM==1B1	;CAN LOAD MICROCODE
		;B2-B5		;RESERVED
		;START OF SECOND WORD RETURNED
		DI.DVC==777B35	;I/O DEVICE CODE (KL) OR INTERRUPT VECTOR (KS)
		DI.IVI==777B35	;ANOTHER NAME FOR ABOVE
		DI.CUN==7B26	;CHANNEL UNIT NUMBER (IF DI.MUK IS ON)
		;START OF THIRD WORD RETURNED
		DI.UBA==7,,-1	;UNIBUS ADDRESS (KS ONLY)
	.DIOUI==31	;OBTAIN UNIT INFORMATION
	.DILKU==32	;LIST KONTROLLER'S UNITS
	.DISDS==33	;SET DEVICE STATUS
		.DISSI==0	;SET IGNORE
		.DISCI==1	;CLEAR IGNORE
		.DISSD==2	;SET DETACHED
		.DISSA==3	;SET ATTACHED
	.DIGTM==100	;GET MOS MEMORY
	.DIGVM==101	;GIVE MOS MEMORY
	.DIRRS==105	;RESET REMOTE CI NODE
	.DISRS==106	;START REMOTE CI NODE
	.DIACC==107	;MANIPULATE CI PORT COUNTERS
		.DICGT==0	;GET COUNTERS
		.DICRL==1	;RELEASE COUNTERS
		.DICPT==2	;POINT COUNTERS
		.DICRD==3	;READ COUNTERS
	.DIWCM==112	;WRITE CI MAINTENANCE DATA
	.DIRCM==113	;READ CI MAINTENANCE DATA
 INS 55/149	;17C119
	DIAPN%==25	;CI/NI PORT NOT RUNNING
	DIANU%==26	;NON-EXISTANT UNIBUS ADDRESS
	DIAAF%==27	;ATTACH FAILED
	DIADF%==30	;DETACH FAILED
 INS 50/153	;17C120
	.OBDQS==66		;Distributed Queuing Service
 INS 38/158	;17C121
		DNNDA%==10		;NODE IS IN DIFFERENT AREA
 REP 25/161	;17C122

	.DCMAX==76	;LENGTH OF DSKCHR BLOCK
 WIT
	.DCXSF==76	;EXTRA STATUS FLAGS
		DC.FES==3B1	;FRONT-END PORT STATUS
					;0 = DON'T KNOW
			.DCFEN==1	;NOT ACCESSIBLE VIA FRONT-END
			.DCFEA==2	;ACCESSIBLE VIA FRONT-END
			.DCFEB==3	;FRONT-END BOOT DEVICE

	.DCMAX==77	;LENGTH OF DSKCHR BLOCK
 REP 6/168	;17C123
	.FSDSL==1	;UPDATE SYSTEM/JOB SEARCH LIST
 WIT
	.FSDSL==1	;UPDATE SYSTEM/JOB SEARCH LIST (OFFSETS SHOULD MATCH .FSRSL)
 REP 11/168	;17C124
		.FSDSO==4	;OFFSET TO FIRST BLOCK OR STR NAM,DIR,STS (SEE .DFJXX)
 WIT
		.FSDSO==4	;OFFSET TO FIRST BLOCK OF STR NAM,DIR,STS (SEE .DFJXX)
 INS 9/169	;17C125
			FS.UNC==1B2	;DON'T CACHE MONITOR I/O FOR UNIT
 INS 52/169	;17C126
	.FSRSL==13	;READ SEARCH LIST (OFFSETS SHOULD MATCH .FSDSL)
		.FSDJN==1	;JOB# (0=SYS)
		.FSDPP==2	;PPN
		.FSDNS==3	;NUMBER OF STRUCTURES IN S/L
		.FSDSO==4	;OFFSET TO FIRST BLOCK OF STR NAM,DIR,STS (SEE .DFJXX)
 INS 9/176	;17C127
	ERDPS%==70	;DUPLICATE SEGMENT IN ADDRESS SPACE
	ERNFS%==71	;NO FREE SECTION (SEGOP.)
	ERSII%==72	;SEGMENT INFORMATION INCONSISTANT (SEGMENT # AND NAME DON'T MATCH)
 REP 18/178	;17C128
	.EDLEN==11	;LENGTH THE EXEC DATA VECTOR
 WIT
	.EDCPN==11	;PHYSICAL ADDRESS OF CPNDDT
	.EDCPU==12	;AOBJN POINTER TO LIST OF CPU SERIAL NUMBERS
	.EDCAC==13	;PHYSICAL ADDRESS OF VIRTUAL ADDRESS OF CRASH ACS
	.EDLNK==14	;VIRTUAL RING POINTER TO EDV FOR NEXT CPU
	.EDLEN==15	;LENGTH OF THE EXEC DATA VECTOR
		SUBTTL	EXTENDED SYMBOL TABLE FORMAT

	;BLOCK POINTED TO BY POSITIVE CONTENTS OF .JBSYM

	.SYCNT==0	;COUNT (INCLUDES THIS WORD)
	.SYSTB==1	;OFFSET TO FIRST SUB-TABLE

	;THE COUNT WORD IS FOLLOWED BY A NUMBER OF SUB-TABLES, EACH
	;OF LENGTH .SYSTL.  EACH SUB-TABLE IN THE SYMBOL VECTOR HAS
	;THE FOLLOWING FORM:

	.SYTYP==0	;TYPE AND LENGTH
	   SY.TYP==77B5	   ;TYPE
		.SYR5D==1	;RADIX-50 DEFINED
		.SYR5U==2	;RADIX-50 UNDEFINED
	   SY.LEN==^-SY.TYP ;LENGTH OF TABLE
	.SYADR==1	;ADDRESS OF TABLE
	.SYSTL==3	;SUB-TABLE LENGTH

	;CURRENTLY THERE ARE 2 BLOCKS (DEFINED AND UNDEFINED SYMBOLS)
	;IN THE EXTENDED SYMBOL VECTOR (TOTAL LENGTH OF 7 WORDS).
 SUM 24748