User Tools

Site Tools


cdc:nos2.source:opl871:dis

Table of Contents

DIS

Table Of Contents

  • [00009] DIS - JOB DISPLAY.
  • [00011] JOB DISPLAY.
  • [00114] MACRO DEFINITIONS.
  • [00116] COMMAND - GENERATE COMMAND OVERLAY.
  • [00146] DISPLAY - GENERATE DISPLAY OVERLAY.
  • [00177] ENTER - ENTER SPECIAL SYNTAX.
  • [00192] ENTRY - DEFINE OVERLAY ENTRY POINT.
  • [00218] JMP - THREADED JUMP.
  • [00237] OVLN - GENERATE OVERLAY NUMBER.
  • [00252] MAIN PROGRAM.
  • [00253] MAIN PROGRAM.
  • [00301] DPP - DROP PP.
  • [00326] MAIN PROGRAM SUBROUTINES.
  • [00328] CJS - CHECK JOB STATUS.
  • [00501] DKB - DISPLAY KEYBOARD BUFFER.
  • [00554] DKL - DISPLAY KEYBOARD LINE.
  • [00622] DLS - DISPLAY LEFT SCREEN.
  • [00687] LDO - LOAD DISPLAY OVERLAY.
  • [00720] PRO - PROCESS ROLLOUT FLAG WHILE IN HOLD.
  • [00740] RPP - RECALL PP.
  • [00759] KEYBOARD INPUT.
  • [00966] KEYBOARD INPUT SUBROUTINES.
  • [00987] AVD - ADVANCE DISPLAY.
  • [01014] AMV - ADVANCE LEFT SCREEN MEMORY DISPLAY ADDRESS BY THE
  • [01043] AMF - ADVANCE MEMORY FIELDS.
  • [01066] BPA - BREAKPOINT PROGRAM TO (P) +/- 1.
  • [01091] LTE - LOAD CONSOLE TEXT EDITOR.
  • [01099] RDC - RELEASE DISPLAY CHANNEL.
  • [01106] SAC - SET AUTO COMMAND PROCESSING.
  • [01120] SRE - SET REPEAT ENTRY.
  • [01127] AMT - ADVANCE MANAGED TABLE POINTER.
  • [01136] DMT - DECREMENT MANAGED TABLE POINTER.
  • [01145] ADA - ADVANCE *A* DISPLAY.
  • [01162] ADH - ADVANCE *H* DISPLAY.
  • [01178] ADT - ADVANCE *T* DISPLAY.
  • [01198] CKB - CLEAR KEYBOARD BUFFER.
  • [01217] CSB - CLEAR SCREEN BUFFER.
  • [01249] PLB - PROCESS *LEFT BLANK*.
  • [01256] KBR - NORMAL RETURN.
  • [01262] ILE - INCORRECT ENTRY.
  • [01268] KIC - INCOMPLETE RETURN.
  • [01285] INTERPRET KEYBOARD MESSAGE.
  • [01314] INT - INTERPRET KEYBOARD MESSAGE.
  • [01448] SKI - SELECT KEYBOARD INPUT.
  • [01484] SSF - SEARCH FOR SPECIAL FORMAT.
  • [01527] RESIDENT DISPLAY ROUTINES.
  • [01616] DISPLAY SUBROUTINES.
  • [01618] DAL - DISPLAY ACCESS LEVEL STRING.
  • [01632] DLA - DISPLAY LINE ADVANCE.
  • [01667] RESIDENT COMMAND PROCESSOR ROUTINES.
  • [01736] COMMAND PROCESSOR SUBROUTINES.
  • [01738] ADF - ADVANCE DISPLAY FIELD.
  • [01764] ASC - ASSEMBLE CHARACTERS.
  • [01789] ASD - ASSEMBLE DIGITS.
  • [01804] ASN - ASSEMBLE NAME.
  • [01844] BCP - BEGIN CENTRAL PROGRAM.
  • [01865] CAJ - CHECK ACTIVE JOB.
  • [01886] CDR - CONVERT DIGITS RIGHT ADJUSTED.
  • [01926] CRA - CHECK SYSTEM REQUEST FOR *END* OR *ABT*.
  • [01952] ECP - END CENTRAL PROGRAM.
  • [01964] IAJ - CALL *1AJ*.
  • [02065] RBW - RESTORE BREAKPOINT WORD.
  • [02089] SLS - SET LEFT SCREEN.
  • [02100] TABLE OF DISPLAYS.
  • [02102] TDSP - TABLE OF DISPLAYS.
  • [02143] TDSP - DISPLAY CONTROL TABLE.
  • [02162] TFNT - TABLE OF FILE TYPES.
  • [02165] OVERLAY AREA.
  • [02180] PRESET PROGRAM.
  • [02184] PRS - PRESET PROGRAM.
  • [02479] LOV - LOAD OVERLAY.
  • [02521] LPP - LOAD PP PROGRAM.
  • [02823] TSID - TABLE OF STATUS VALUE-ID CODE CORRESPONDENCES.
  • [02836] SDF - SET DISPLAY FWA.
  • [03112] D5D - DISPLAY 5 DIGITS.
  • [03131] D4F - DISPLAY 4 GROUPS OF 5 DIGITS.
  • [03195] D5D - DISPLAY 5 DIGITS.
  • [03214] D4F - DISPLAY 4 GROUPS OF 5 DIGITS.
  • [03295] IIN - INTERPRET AND DISPLAY INSTRUCTION.
  • [03865] DCT - DISPLAY CHARACTER TEXT.
  • [03932] CYC - CHECK Y-COORDINATES.
  • [04057] CYC - CHECK Y-COORDINATES.
  • [04226] OVERLAY CONTROL.
  • [04386] BPI - BREAKPOINT P INCREMENT.
  • [04542] CJA - CHECK JOB ACTIVITY AND RETURN COMMAND POINTER.
  • [04561] EST - ENTER STATEMENT (COMMAND).
  • [04696] EST - ENTER (STATEMENT) COMMAND.
  • [04858] REG - SET UP REGISTER ENTRY.
  • [04919] EWD - ENTER WORD.
  • [04974] CDL - CONVERT DIGITS LEFT JUSTIFIED.
  • [05081] EWD - ENTER WORD.
  • [05142] CDL - CONVERT DIGITS LEFT JUSTIFIED.
  • [05422] RWE - READ/WRITE RELATIVE EXTENDED MEMORY WORD.
  • [05457] EIE - ENTER MEMORY/ENTER INSTRUCTION EXIT.
  • [05635] RQS - REQUEST STORAGE.
  • [05779] LSP - LOAD SPECIAL PP.
  • [05814] RQS - REQUEST STORAGE.
  • [05974] CDF - CHANGE DISPLAY FIELD.
  • [06112] IKM - INTERPRET KEYSET MESSAGE.
  • [06156] BEG - ENTER *BEGIN,* INTO KEYBOARD BUFFER.
  • [06173] CKR - CHECK KEYBOARD REQUEST.
  • [06256] IMM - INTERPRET MORE MESSAGE.
  • [06306] CPP - CALL PP PACKAGE TO CONTROL POINT.
  • [06408] TABLES AND BUFFERS.

Source Code

DIS.txt
  1. IDENT DIS,DIS
  2. PERIPH
  3. BASE MIXED
  4. SST CMEI,HDC,RDS
  5. QUAL$ EQU 1 DEFINE UNQUALIFIED COMMON DECKS
  6. SYSCOM
  7. *COMMENT DIS - JOB DISPLAY.
  8. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  9. TITLE DIS - JOB DISPLAY.
  10. SPACE 4
  11. *** DIS - JOB DISPLAY.
  12. *
  13. * D. A. CAHLANDER. 70/02/24.
  14. * E. W. HOBBS. 70/06/05.
  15. * R. S. HORECK. 70/12/19.
  16. * G. R. MANSFIELD. 70/12/20.
  17. SPACE 4
  18. *** DIS PROVIDES A CONVIENENT MEANS TO ALTER THE
  19. * RUNNING OF A JOB, OR IF CALLED TO A BLANK CONTROL POINT
  20. * INITIATE THE OPERATION OF UTILITY PROGRAMS.
  21. *
  22. * DIS PROVIDES AN INTERPRETED DISPLAY OF THE EXCHANGE
  23. * AREA FOR THE JOB, AS WELL AS THE STATUS OF THE JOB.
  24. * KEYBOARD ENTRIES ARE PROVIDED TO ALLOW THE USER TO
  25. * ALTER CENTRAL MEMORY IN SEVERAL FORMATS, AND TO EXECUTE
  26. * COMMANDS AS IF THEY HAD ENTERED THE SYSTEM WITH
  27. * AN INPUT FILE.
  28. SPACE 4
  29. *** CALL.
  30. *
  31. *
  32. *T 18/ *DIS*, 1/ 0, 5/ CP, 24/ 0, 1/ D, 11/ EQ
  33. * D DIRECT CALL TO CONTROL POINT
  34. * CP CONTROL POINT NUMBER
  35. * EQ DISPLAY CONSOLE EST ORDINAL
  36. SPACE 4
  37. *** OPERATOR MESSAGES.
  38. *
  39. *
  40. * *REQUEST DISPLAY. (DIS)* = DIS IS WAITING FOR THE DISPLAY
  41. * TO BE ASSIGNED.
  42. SPACE 4
  43. ** PROGRAMS CALLED.
  44. *
  45. *
  46. * 1AJ - ADVANCE JOB STATUS.
  47. * 1DL - DISPLAY OVERLAY LOADER.
  48. * DDF - DISPLAY DISK FILE.
  49. * O26 - KEYPUNCH SIMULATOR.
  50. SPACE 4
  51. *CALL COMPMAC
  52. *CALL COMDMAC
  53. *CALL COMSCPS
  54. *CALL COMSDST
  55. *CALL COMSEJT
  56. *CALL COMSEVT
  57. *CALL COMSLFD
  58. *CALL COMSPRD
  59. *CALL COMSMLS
  60. *CALL COMSPIM
  61. *CALL COMSSSD
  62. SPACE 4
  63. **** DIRECT LOCATION ASSIGNMENTS.
  64.  
  65.  
  66. EB EQU 16 - 17 EXTENDED MEMORY BUFFER POINTER
  67. FA EQU 20 RELATIVE FNT ADDRESS IN NFL
  68. NL EQU 21 NEGATIVE FIELD LENGTH
  69. AB EQU 22 - 26 ASSEMBLY BUFFER (5 LOCATIONS)
  70. UE EQU 27 USER EM SHIFT COUNT
  71. LS EQU 30 LEFT SCREEN DISPLAY
  72. RS EQU 31 RIGHT SCREEN DISPLAY
  73. LN EQU 32 CURRENT LEFT SCREEN DISPLAY
  74. NC EQU 33 NUMBER OF CONTROL POINTS (FOR *COMDSYS*)
  75. AI EQU 34 LEFT SCREEN ADVANCE INDEX
  76. BF EQU 35 BREAKPOINT ACTIVE FLAG
  77. BA EQU 36 - 37 BREAKPOINT ADDRESS (2 LOCATIONS)
  78. KI EQU 40 KEYBOARD INDEX
  79. KE EQU 41 KEYBOARD ENTRY
  80. KM EQU 42 KEYBOARD MESSAGE ADDRESS
  81. CA EQU 43 CHARACTER ADDRESS
  82. UC EQU 44 UPPER CASE FLAG
  83. T8 EQU 46 TEMPORARY STORAGE
  84. T9 EQU 47 TEMPORARY STORAGE
  85. CC EQU 57 CYCLE COUNT
  86. SM EQU 60 SECURITY MODE
  87. SF EQU SM
  88. PC EQU 61 BASE OF PP COMMUNICATION AREA
  89. PN EQU 62 NUMBER OF PPU-S
  90. KR EQU 63 KEYBOARD LINE REFRESH CONTROL
  91. XC EQU 66 X-COORDINATE
  92. YC EQU 67 Y-COORDINATE
  93. ****
  94. SPACE 4
  95. * ASSEMBLY CONSTANTS.
  96.  
  97.  
  98. CH EQU CHDS DISPLAY CHANNEL
  99. WCDC EQU 4 WAITING FOR CM DELAY COUNT
  100. WDDC EQU 4 WAITING FOR DISK DELAY COUNT
  101. WEDC EQU 4 WAITING FOR EM DELAY COUNT
  102. SPACE 4,10
  103. * OVERLAY CONTROL.
  104.  
  105.  
  106. NAME MICRO 1,, DIS
  107. OVNG MICRO 1,, IH OVERLAY NUMBER GENERATOR
  108. OVNB MICRO 1,1, "OVNG" OVERLAY NAME BIAS MICRO
  109. OVNB EQU 1R"OVNB" OVERLAY NAME BIAS
  110. NOREF .L,.N
  111. .N SET 0 OVERLAY NUMBER
  112. .N OCTMIC .N,2
  113. .L SET *
  114. TITLE MACRO DEFINITIONS.
  115. COMMAND SPACE 4
  116. ** COMMAND - GENERATE COMMAND OVERLAY.
  117. *
  118. *
  119. * COMMAND (SUBTITLE)
  120. * ENTRY *SUBTITLE* = COMMAND SUBTITLE.
  121.  
  122.  
  123. COMMAND MACRO TEXT
  124. QUAL
  125. .M OVLN .N
  126. QUAL DIS".M"
  127. TTL DIS/9".M" - TEXT
  128. TITLE
  129. BSS 0
  130. HERE
  131. QUAL
  132. USE END FORCE /LITERALS*/
  133. .1 SET *
  134. .N SET .N+1
  135. .N MICRO 1,, ".M"
  136. QUAL DIS".N"
  137. IDENT 9".N",OVL TEXT
  138. ORG OVL
  139. *COMMENT DIS - TEXT
  140. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  141. QUAL
  142. .L MAX .1,.L
  143. QUAL *
  144. ENDM
  145. DISPLAY SPACE 4
  146. ** DISPLAY - GENERATE DISPLAY OVERLAY.
  147. *
  148. *
  149. * DISPLAY (SUBTITLE)
  150. * ENTRY *SUBTITLE* = DISPLAY SUBTITLE.
  151.  
  152.  
  153. DISPLAY MACRO TEXT
  154. QUAL
  155. .M OVLN .N
  156. QUAL DIS".M"
  157. TTL DIS/9".M" - TEXT
  158. TITLE
  159. BSS 0
  160. HERE
  161. DIS HERE
  162. QUAL
  163. USE END FORCE /LITERALS*/
  164. .1 SET *
  165. .N SET .N+1
  166. .N MICRO 1,, ".M"
  167. QUAL DIS".N"
  168. IDENT 9".N",OVD TEXT
  169. ORG OVD
  170. *COMMENT DIS - TEXT
  171. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  172. QUAL
  173. .L MAX .1,.L
  174. QUAL *
  175. ENDM
  176. ENTER SPACE 4
  177. ** ENTER - ENTER SPECIAL SYNTAX.
  178. *
  179. *
  180. *ADDR ENTER (SYNTAX)
  181. * ENTRY *ADDR* = OVERLAY ENTRY ADDRESS.
  182. * *SYNTAX* = SYNTAX OF COMMAND.
  183.  
  184.  
  185. MACRO ENTER,ADDR,SYNTAX
  186. CON ADDR/10000+100*OVNB,ADDR-ADDR/10000*10000
  187. ORG *-2
  188. DATA Z$SYNTAX$
  189. VFD 24/ADDR
  190. ENDM
  191. ENTRY SPACE 4
  192. ** ENTRY - DEFINE OVERLAY ENTRY POINT.
  193. *
  194. *
  195. *NAME ENTRY ADDR
  196. * ENTRY *NAME* = ENTRY POINT NAME.
  197. * *ADDR* = ADDRESS OF ENTRY POINT.
  198. * IF *ADDR* IS NOT PRESENT, ADDRESS OF ENTRY
  199. * POINT IS THE CURRENT VALUE OF THE ORIGIN COUNTER.
  200.  
  201.  
  202. PURGMAC ENTRY
  203.  
  204. MACRO ENTRY,NAME,ADDR
  205. IFC NE,*ADDR**
  206. RMT
  207. QUAL
  208. NAME EQU .N*10000B+/DIS".N"/ADDR
  209. QUAL *
  210. RMT
  211. ELSE 4
  212. NAME BSS 0
  213. QUAL
  214. NAME EQU .N*10000B+/DIS".N"/NAME
  215. QUAL *
  216. ENDM
  217. JMP SPACE 4
  218. ** JMP - THREADED JUMP.
  219. *
  220. *
  221. * JMP ADDR
  222. * ENTRY *ADDR* = JUMP ADDRESS.
  223.  
  224.  
  225. JMP MACRO ADDR
  226. IF -DEF,.ADDR,2
  227. NOREF .ADDR
  228. .ADDR MAX ADDR,*-40
  229. IFGT .ADDR,*-40
  230. UJN .ADDR
  231. .ADDR SET *-1
  232. ELSE 2
  233. .ADDR SET *
  234. LJM ADDR
  235. ENDM
  236. OVLN SPACE 4
  237. ** OVLN - GENERATE OVERLAY NUMBER.
  238. *
  239. *
  240. *A OVLN B
  241. * ENTRY *B* = OVERLAY NUMBER.
  242. * EXIT *A* = MICRO OF OVERLAY NAME.
  243.  
  244.  
  245. MACRO OVLN,A,B
  246. LOCAL C
  247. C SET B/1R4
  248. C MICRO C+1,1, "OVNG"
  249. A MICRO B-C*1R4+1,1, ABCDEFGHIJKLMNOPQRSTUVWXYZ01234
  250. A MICRO 1,, "C""A"
  251. ENDM
  252. TITLE MAIN PROGRAM.
  253. ** DIS - MAIN PROGRAM.
  254.  
  255.  
  256. ORG PPFW
  257. DIS RJM PRS PRESET STORAGE
  258. * RJM CJS (CHECK JOB STATUS)
  259. DISD EQU *-1
  260. RJM DLS DISPLAY LEFT SCREEN
  261.  
  262. * PROCESS KEYBOARD IF CDC721 SYSTEM CONSOLE.
  263.  
  264. DFIM (CON RJMI)
  265. UJN *+2 SKIP IF CC545
  266. CON KBI PROCESS KEYBOARD INPUT
  267.  
  268. * DISPLAY RIGHT SCREEN.
  269.  
  270. RJM SYS DISPLAY HEADERS
  271. LDM DPCA,RS DISPLAY RIGHT SCREEN
  272. STD T1
  273. PAUSE NE (R) = CONTROL POINT RA
  274. RJM 0,T1
  275. CFNC THCF COMBINATION OF *THVF* AND *CHSF*
  276. DCN CH+40
  277. RJM KBI KEYBOARD INPUT
  278. DIS1 LDD BA CHECK BREAKPOINT
  279. ADD BA+1
  280. ZJN DIS3 IF NO BREAKPOINT
  281. LDN STSW
  282. ADD CP
  283. CRD CM CHECK PP-S ASSIGNED
  284. DISE UJN DIS2 (*BKPA*)
  285. * SOD CM (*BKP*)
  286. LPN 37
  287. NJN DIS3 IF OTHER PP-S ASSIGNED
  288. DIS2 LDD CM+2
  289. LPN 1
  290. NJN DIS3 IF ROLLOUT REQUESTED
  291. LDM KBIA
  292. LMC KBI5
  293. NJN DIS3 IF OVERLAY LOAD IN PROGRESS
  294. LDC MBK MONITOR BREAKPOINT
  295. LJM LOV LOAD BREAKPOINT OVERLAY
  296.  
  297. DIS3 AOD CC ADVANCE CYCLE COUNT
  298. RJM PSS PAUSE FOR SYSTEM
  299. LJM DIS LOOP
  300. DPP SPACE 4,10
  301. ** DPP - DROP PP.
  302.  
  303.  
  304. DPP RJM DDS DROP DISPLAY
  305. RJM RBW RESTORE BREAKPOINT WORD
  306. LDN 10 CLEAR *DIS* FLAG
  307. STD CM+4
  308. LDN CCTS
  309. STD CM+1
  310. MONITOR SJCM
  311. MONITOR DPPM DROP PP
  312. LJM PPR EXIT TO PP RESIDENT
  313. SPACE 4,10
  314. ** GLOBAL VARIABLES.
  315.  
  316.  
  317. DFIM (CON C721) CODE FOR 721 CONSOLE
  318. DCTY CON C545 DISPLAY CONSOLE TYPE (0 = *CC545*)
  319. DFIM (CON T721) FIRST VISIBLE LINE FOR THE 721
  320. CTOS CON T545 FIRST LINE IN THE BODY OF THE DISPLAY
  321. DFIM (CON Y721) LAST VISIBLE LINE FOR THE 721
  322. CBOS CON Y545 LAST LINE IN THE BODY OF THE DISPLAY
  323. MORE CON XMOR X-COORDINATE FOR *MORE* MESSAGE
  324. DATA H$MORE$
  325. MOREL EQU *-MORE
  326. TITLE MAIN PROGRAM SUBROUTINES.
  327. CJS SPACE 4
  328. ** CJS - CHECK JOB STATUS.
  329. *
  330. * USES KM, AB - AB+4, CM - CM+4, NL - NL+F, T1 - T6.
  331. *
  332. * CALLS CKB, CRA, IAJ.
  333. *
  334. * MACROS MONITOR.
  335.  
  336.  
  337. CJS15 LDN 0 (CPU REQUEST FLAG)
  338. CJSC EQU *-1
  339. * LDN 1 (CKR)
  340. ZJN CJSX IF NOT TO REQUEST CPU
  341. MONITOR RCPM
  342.  
  343. CJS SUBR ENTRY/EXIT
  344.  
  345. * MAKE SURE THAT *DIS* FLAG IS SET IN CONTROL POINT AREA.
  346.  
  347. LDD CP READ CONTROL POINT AREA
  348. ADN JCIW
  349. CRD CM
  350. LDD CM+3
  351. SHN 21-11
  352. MJN CJS0 IF *DIS* FLAG ALREADY SET
  353. LDN SCTS SET JOB CONTROL FLAG(S)
  354. STD CM+1
  355. LDN 10 SET *DIS* FLAG
  356. STD CM+4
  357. MONITOR SJCM
  358. CJS0 LDD CP READ STATUS
  359. ADN STSW
  360. CRD CM
  361. ADN FLSW-STSW RESET NFL / 100
  362. CRD NL
  363. ERRNZ NL+1-AB READ DESTROYS DIRECT CELLS
  364.  
  365. ADN RFCW-FLSW FETCH *TCS* COMMAND REQUEST
  366. CRD AB
  367. ADN SEPW-RFCW READ SPECIAL ENTRY POINT WORD
  368. CRD T1
  369. ADN SPCW-SEPW READ SPECIAL CALL WORD
  370. CRD T2
  371. LDD NL SET END OF NFL
  372. SHN 6
  373. ADN 1
  374. STD NL
  375.  
  376. * CHECK ROLLOUT STATUS.
  377.  
  378. LDD CM+2
  379. LPN 1
  380. ZJN CJS2 IF ROLLOUT NOT REQUESTED
  381. LDD T2
  382. ZJN CJS2 IF DMP= NOT IN PROGRESS
  383. LDD CM
  384. LPN 37
  385. SHN -1
  386. CJS1 NJP CJSX IF PP ACTIVITY
  387. LDM IAJB EJT ORDINAL
  388. SFA EJT
  389. CRD CM
  390. LDD CM+4
  391. LPC 101
  392. NJP CJS1 IF ADVANCE OR INTERLOCK SET
  393. LDD T2+1 CHECK SPECIAL REQUEST ACTIVE
  394. LPN 1S5
  395. NJN CJS1 IF NOT SPECIAL REQUEST
  396. * LDN PSNI
  397. STM IAJC
  398. UJN CJS3 CALL *1AJ*
  399.  
  400. * CHECK JOB ACTIVITY.
  401.  
  402. CJS2 RJM CAJ CHECK JOB ACTIVITY
  403. NJN CJS1 IF ACTIVITY
  404.  
  405. * CHECK IF *TCS* EXECUTE COMMAND REQUEST PENDING.
  406.  
  407. LDD AB+3
  408. SCN 77
  409. ADD AB+2
  410. ZJN CJS3.1 IF NO *TCS* COMMAND REQUEST PENDING
  411. LJM CJS12 CALL *1AJ*
  412.  
  413. * CLEAR REPRIEVE PROCESSING AFTER SPECIAL ENTRY PROGRAM END.
  414.  
  415. CJS2.1 LDN ZERL CLEAR REPRIEVE PROCESSING
  416. CRD CM
  417. LDD CP
  418. ADN EECW
  419. CRD T1
  420. LDD T1 RESET *NOEXIT* FLAG
  421. LPC 4000
  422. STD CM
  423. LDD CP
  424. ADN EECW
  425. CWD CM
  426. CJS3 LDN 2
  427. UJN CJS5 CALL *1AJ* FOR SPECIAL ENTRY JOB
  428.  
  429. * CHECK SPECIAL ENTRY CONDITIONS.
  430.  
  431. CJS3.1 LDD T1 CHECK FOR DMP=
  432. LPN 20
  433. ZJN CJS4 IF NOT SPECIAL ENTRY JOB
  434. RJM CRA CHECK SYSTEM REQUEST
  435. MJN CJS6 IF NOT *END* OR *ABT*
  436. LDD CM+1
  437. ZJN CJS2.1 IF NO ERROR FLAG SET
  438. LDN ZERL
  439. CRD CM CLEAR ERROR FLAG
  440. MONITOR CEFM
  441. CJS3.2 RJM CKB CLEAR KEYBOARD BUFFER
  442. UJN CJS10 CLEAR AUTO MODE
  443.  
  444. CJS4 LDN 0 CHECK IF SPECIAL COMMAND
  445. CJSD EQU *-1
  446. * LDN 1 (EXC)
  447. ZJN CJS6 IF NOT SPECIAL CALL
  448. SOM CJSD
  449. LDC 20006 FORCE *1AJ* TO READ COMMAND IN
  450. CJS5 LJM CJS13 MS1W OF CONTROL POINT AREA
  451.  
  452. * CHECK FOR NEXT COMMAND.
  453.  
  454. CJS6 LDD KM CHECK AUTO MODE
  455. LMC CJSA
  456. NJN CJS11 IF NOT AUTO MODE
  457. LDD CM+1
  458. NJN CJS3.2 IF ERROR FLAG SET
  459. LDC CKR CHECK KEYBOARD REQUEST
  460. LJM LOV
  461.  
  462. * GET NEXT COMMAND FROM COMMAND BUFFER.
  463.  
  464. CJS7 LDD CP READ COMMAND POINTER
  465. ADN CSPW
  466. CRD AB
  467. LDD AB+3 CHECK IF CM PORTION EXHAUSTED
  468. LMD AB+4
  469. NJN CJS12 IF BUFFER NOT EMPTY
  470. LDD AB+1 CHECK IF EOR ON COMMAND FILE
  471. SHN 21-13
  472. PJN CJS12 IF NOT EOR
  473. CJS10 LDN 0 CLEAR AUTO MODE
  474. STD KM
  475. CJS11 LDD CM+1
  476. NJN CJS12 IF ERROR FLAG SET
  477. LDD CP
  478. ADN EOJW READ PROLOGUE/EPILOGUE FLAGS
  479. CRD AB
  480. ADN EECW-EOJW READ REPRIEVE FLAGS
  481. CRD CM
  482. LDD CM
  483. SHN 21-12
  484. MJN CJS11.1 IF EXTENDED REPRIEVE MODE ACTIVE
  485. LDD CM+1
  486. SHN 21-13
  487. MJN CJS14 IF ERROR EXIT ACTIVE
  488. CJS11.1 LDD CM+1
  489. SHN 21-6
  490. MJN CJS12 IF REPRIEVE ON NORMAL TERMINATION
  491. LDD AB+2
  492. LPC 700
  493. ZJN CJS14 IF NO PROLOGUE OR EPILOGUE ACTIVITY
  494.  
  495. CJS12 LDC 20000 CALL*1AJ* FOR NORMAL JOBS
  496. CJS13 RJM IAJ ADVANCE JOB
  497. CJS14 LJM CJSX RETURN
  498.  
  499. CJSA DATA C*AUTO MODE.*
  500. DKB SPACE 4
  501. ** DKB - DISPLAY KEYBOARD BUFFER.
  502. *
  503. * ENTRY (KM) = ADDRESS OF KEYBOARD MESSAGE.
  504. * (KI) = KEYBOARD INDEX.
  505. *
  506. * MACROS CFNC, DFIM.
  507.  
  508.  
  509. DKB SUBR ENTRY/EXIT
  510. LDN XINC SET CHARACTER SIZE
  511. STD T3
  512. LDN 1
  513. STD T2
  514. CFNC SLPF SELECT LEFT SCREEN - PRIORITY OUTPUT
  515. DFIM (UJN DKB1) BYPASS LARGE CHARACTER CHECK
  516. LDD KI CHECK KEYBOARD INDEX
  517. SBN 40
  518. PJN DKB1 IF > 32 CHARACTERS
  519. DCN CH+40
  520. CFNC SLMF SELECT LEFT SCREEN - MEDIUM CHARACTERS
  521. LDN 2*XINC RESET SIZE
  522. STD T3
  523. LDN 2 ADVANCE COUNT
  524. RAD T2
  525. LDN LN49-LN50 CHANGE Y-COORDINATE
  526. RAM DKBA+1
  527. DKB1 LDN 2 OUTPUT COORDINATES
  528. OAM DKBA,CH
  529. LDD KM
  530. ZJN DKB3 IF NO MESSAGE
  531. STD T1
  532. DKB2 LDI T1 DISPLAY MESSAGE
  533. ZJN DKB3 IF END OF MESSAGE
  534. OAN CH+40
  535. AOD T1
  536. UJN DKB2 DISPLAY NEXT BYTE
  537.  
  538. DKB3 CFNC EELF ERASE TO END OF LINE
  539. RJM DKL DISPLAY KEYBOARD LINE
  540. SOD T2
  541. DFIM (PSN) INTENSIFICATION NOT TO BE DONE
  542. PJN DKB1 LOOP
  543. DCN CH+40
  544. LDD KI CALCULATE KEYBOARD REFRESH CHECKSUM
  545. LMD KM
  546. STD KR
  547. LDC LN50 RESET Y-COORDINATE
  548. STM DKBA+1
  549. LJM DKBX RETURN
  550.  
  551.  
  552. DKBA CON CH01,LN50
  553. DKL SPACE 4
  554. ** DKL - DISPLAY KEYBOARD LINE.
  555. *
  556. * ENTRY (T3) = CHARACTER SIZE.
  557. *
  558. * USES T1, XC.
  559. *
  560. * MACROS CFNC, DFIM.
  561. *
  562. * RESTORES XC.
  563.  
  564.  
  565. DKL8 CFNC EELF ERASE TO END OF LINE
  566.  
  567. DKL SUBR ENTRY/EXIT
  568. LDC CH01 SET X-COORDINATE
  569. STD XC
  570. LDC LN51 SET Y-COORDINATE
  571. STD YC
  572. LDN 2 OUTPUT COORDINATES
  573. OAM XC,CH
  574. * LDN 0 CLEAR BUFFER INDEX
  575. STD T1
  576. LDD KI
  577. ZJN DKL8 IF BUFFER EMPTY
  578.  
  579. DKL1 LDM KBUF,T1 CHECK CHARACTER
  580. ZJN DKL2 IF CHARACTER = 00 (COLON IN 64 CHAR SET)
  581. SBN 1R$
  582. ZJN DKL2 IF CHARACTER = *$*
  583. SBN 60-1R$
  584. MJN DKL3 IF LEGAL CODE
  585. DFIM (CFNC DSCF)
  586. DFIM (LDM KBUF,T1)
  587. DFIM (UJN DKL4) IF CDC 721 CONSOLE
  588. DKL2 LDD YC REVISE Y-COORDINATE
  589. ADD T3
  590. OAN CH+40
  591. LDM KBUF,T1 DISPLAY UPPER DIGIT
  592. SHN -3
  593. ADN 1R0
  594. OAN CH+40
  595. LDN 2 OUTPUT COORDINATES
  596. OAM XC,CH
  597. LDM KBUF,T1 PREPARE LOWER DIGIT
  598. LPN 7
  599. SBN 60-1R0
  600. DKL3 ADN 60 DISPLAY CHARACTER
  601. DKL4 OAN CH+40
  602. LDD T3 ADVANCE X-COORDINATE
  603. RAD XC
  604. OAN CH+40
  605. AOD T1 ADVANCE BUFFER
  606. LMD KI
  607. NJN DKL1 IF NOT END OF BUFFER
  608. LDD UC CHECK FOR UPPER CASE
  609. DFIM (ZJN DKL6)
  610. ZJN DKL7 IF NOT UPPER CASE
  611. DFIM (UJN DKL5)
  612. LDD YC OUTPUT Y-COORDINATE
  613. ADD T3
  614. OAN CH+40
  615. DKL5 LDM KBIC OUTPUT UPPER CASE CHARACTER
  616. LPN 77
  617. DKL6 OAN CH+40
  618. DKL7 LDC CH01 RESET X-COORDINATE
  619. STD XC
  620. LJM DKL8 ERASE TO END OF LINE
  621. DLS SPACE 4
  622. ** DLS - DISPLAY LEFT SCREEN.
  623. *
  624. * ENTRY (LS) = SCREEN NAME.
  625. *
  626. * MACROS CFNC, DISPLA.
  627.  
  628.  
  629. DLS1 CFNC SLSF SELECT LEFT SCREEN - SMALL CHARACTERS
  630. LDD CP READ JOB STATUS
  631. ADN STSW
  632. CRD AB
  633. ADN PFCW-STSW READ FAMILY EST ORDINAL
  634. CRD T4
  635. ADN UIDW-PFCW READ USER IDENTIFICATION
  636. CRD T2
  637. ADN PKNW-UIDW READ PACKNAME
  638. CRD CM
  639. DISPLA CH01,HL04,(USER =)
  640. LDN 3 DISPLAY ACCOUNT NAME
  641. OAM T2,CH
  642. LDD T2+3
  643. SCN 77
  644. OAN CH+40
  645. DISPLA CH16,,(USER INDEX =)
  646. LDD T2+3 DISPLAY USER INDEX
  647. LPN 37
  648. SHN 14
  649. LMD T2+4
  650. RJM D6S
  651. LDD CM+3 DISPLAY PACKNAME
  652. SCN 77
  653. STD CM+3
  654. LDN 4 DISPLAY WORD
  655. OAM CM,CH
  656. SFA EST,T4+3
  657. ADK EQDE
  658. CRD CM
  659. LDD CM+4 READ FAMILY NAME WORD
  660. SHN 3
  661. ADN PFGL
  662. CRD CM
  663. LDD CM+3
  664. SCN 77
  665. STD CM+3
  666. LDN 4 DISPLAY FAMILY NAME
  667. OAM CM,CH
  668. LDD AB+2
  669. LPN 1
  670. ZJN DLS3 IF ROLLOUT FLAG NOT SET
  671. DISPLA CH52,,(ROLLOUT),H
  672.  
  673. DLS3 LDM DPCA,LN SET DISPLAY PROGRAM
  674. STD T1
  675. PAUSE NE (R) = CONTROL POINT RA/100B
  676. RJM 0,T1 DISPLAY LEFT SCREEN
  677. FJM *,CH IF DATA TRANSFER NOT COMPLETE
  678. DCN CH+40
  679.  
  680. DLS SUBR ENTRY/EXIT
  681. LDD LS CHECK DISPLAY
  682. LMD LN
  683. ZJN DLS0 IF LOADED
  684. RJM LDO LOAD DISPLAY OVERLAY
  685. DLS0 LJM DLS1 DISPLAY GENERAL INFORMATION
  686. LDO SPACE 4,10
  687. ** LDO - LOAD DISPLAY OVERLAY.
  688. *
  689. * USES LA.
  690. *
  691. * CALLS LOV.
  692.  
  693.  
  694. LDO SUBR ENTRY/EXIT
  695. LDM KBIA CHECK LOAD
  696. LMC KBI5
  697. NJN LDOX IF LOAD BUSY
  698. LDC LDO2 SET DISPLAY LOAD
  699. STM KBIA
  700. UJN LDOX RETURN
  701.  
  702. * START DISPLAY LOAD.
  703.  
  704. LDO2 LDC OVD SET LOAD ADDRESS
  705. STD LA
  706. LDM DLSA,LS CHECK OVERLAY
  707. SHN 14
  708. ADC LDO3
  709. LJM LOV LOAD OVERLAY
  710.  
  711. * COMPLETE DISPLAY LOAD.
  712.  
  713. LDO3 LDD LS
  714. STD LN
  715. DFIM (RJM CSB) CLEAR SCREEN BUFFER, IF CONSOLE IS A 721
  716. LJM KBI3 RETURN
  717.  
  718. LJM KBI3 RETURN (IF 721 CONSOLE)
  719. PRO SPACE 4
  720. ** PRO - PROCESS ROLLOUT FLAG WHILE IN HOLD.
  721.  
  722.  
  723. PRO BSS 0 ENTRY
  724. LDD CP CHECK FOR ERROR FLAG IN CPA
  725. ADN STSW
  726. CRD AB
  727. ADK SPCW-STSW GET *DMP=* STATUS
  728. CRD CM
  729. LDD CM
  730. ZJN PRO1 IF *DMP=* NOT ACTIVE
  731. LDD CM+1
  732. SHN 21-5
  733. PJN PRO2 IF *DMP=* NOT INITIATED
  734. SHN 5-1
  735. MJN PRO2 IF *1RO* NOT COMPLETE
  736. PRO1 LDD AB+1
  737. ZJN RPP IF NO ERROR FLAG
  738. PRO2 LJM /COMDDSP/ROFX EXIT
  739. RPP SPACE 4,10
  740. ** RPP - RECALL PP.
  741. *
  742. * USES CM - CM+4.
  743. *
  744. * CALLS DDS, RBW.
  745. *
  746. * MACROS MONITOR.
  747.  
  748.  
  749. RPP LDC 4000
  750. RAD IR+4
  751. RJM DDS DROP DISPLAY
  752. RJM RBW RESTORE BREAKPOINT WORD
  753. LDN ZERL
  754. CRD CM
  755. LDD MA STORE PP RECALL REQUEST
  756. CWD IR
  757. MONITOR RECM
  758. LJM PPR EXIT TO PP RESIDENT
  759. TITLE KEYBOARD INPUT.
  760. KBI SPACE 4
  761. *** KEYBOARD INPUT.
  762. *
  763. * ALL ENTRIES ARE DISPLAYED ON THE BOTTOM OF THE LEFT SCREEN
  764. * AS THEY ARE ENTERED.
  765. *
  766. * *CR* MUST FOLLOW ALL ENTRIES BEFORE ACTION IS TAKEN.
  767. * *BKSP* DELETES THE PREVIOUS CHARACTER TYPED.
  768. * *LEFT BLANK* DELETES THE CURRENT LINE BEING ENTERED.
  769. * *RIGHT BLANK* ADVANCES LEFT SCREEN DISPLAY.
  770. *
  771. * IF THESE CHARACTERS ARE THE FIRST ENTRY, THE FOLLOWING
  772. * APPLIES -
  773. * *8* = INCREMENT LEFT SCREEN MANAGED TABLE POINTER.
  774. * *9* = DECREMENT LEFT SCREEN MANAGED TABLE POINTER.
  775. * *+* = ADVANCE LEFT SCREEN MEMORY DISPLAY ADDRESS BY 40.
  776. * *-* = DECREMENT LEFT SCREEN MEMORY DISPLAY ADDRESS BY 40.
  777. * INSERT A *BEGIN,* IN THE KEYBOARD BUFFER FOR A LEFT
  778. * SCREEN *A* DISPLAY.
  779. * (*) = HOLD DISPLAY.
  780. * */* = ADVANCE LEFT SCREEN MEMORY DISPLAY ADDRESS BY THE
  781. * VALUE IN THE BOTTOM 18 BITS OF THE FIRST WORD
  782. * DISPLAYED
  783. * *=* = TOGGLE MEMORY REFERENCES BETWEEN ABSOLUTE AND
  784. * RELATIVE.
  785. * *(* = BREAKPOINT PROGRAM TO (P+1).
  786. * *)* = BREAKPOINT PROGRAM TO (P-1).
  787. * *,* = CALL *O26*.
  788. * *.* = ENTER AUTOMATIC JOB ADVANCE MODE.
  789. *
  790. * ABOVE THE ENTRY DISPLAY, THE FOLLOWING MESSAGES MAY
  791. * APPEAR -
  792. * *REPEAT ENTRY.* = ENTRY WILL NOT BE CLEARED BY A
  793. * CARRIAGE RETURN.
  794. * *OUT OF RANGE.* = MEMORY ENTRY ADDRESS \ FL.
  795. * *PP BUSY.* = NO PP IS AVAILABLE TO HANDLE
  796. * THE REQUEST.
  797. * *DISK BUSY.* = DISK IS BUSY WHILE LOADING
  798. * AN OVERLAY.
  799.  
  800.  
  801.  
  802. KBI SUBR ENTRY/EXIT
  803. KBI1 RJM SKI SELECT KEYBOARD INPUT
  804. LJM KBI5 PROCESS OVERLAY LOAD
  805. KBIA EQU *-1
  806. UJN KBI4 PROCESS KEYBOARD ENTRY
  807.  
  808. KBI3 LDN 0 CLEAR KEYBOARD ENTRY
  809. STD KE
  810. DFIM (LDD KI) CHECK FOR CHANGE IN KEYBOARD STATUS
  811. KBI4 UJN KBI4.1 CC545 CONSOLE, DISPLAY KEYBOARD
  812. LMD KM
  813. LMD KR
  814. ZJN KBI4.2 IF NO CHANGE HAS OCCURRED
  815. KBI4.1 RJM DKB DISPLAY KEYBOARD BUFFER
  816. DFIM (CON LDMI)
  817. KBI4.2 UJN KBIX CC545 CONSOLE, RETURN
  818. CON SKIC CHECK LAST CHARACTER
  819. ZJN KBIX IF NONE
  820. UJN KBI1 CHECK FOR ANOTHER ONE
  821.  
  822. KBI5 LDD KE
  823. ZJN KBI4 IF NO INPUT
  824. LDD KI
  825. NJN KBI6 IF NOT FIRST CHARACTER
  826. LDD KE
  827. SBN 1R8
  828. MJN KBI6 IF ALPHANUMERIC
  829. SBN KBIFL
  830. PJN KBI6 IF CHARACTER NOT IN TABLE
  831. LDM KBIF-1R8,KE
  832. STM KBIB SET ADDRESS
  833. LDN 0
  834. LJM * EXECUTE PROGRAM
  835. KBIB EQU *-1
  836.  
  837. KBI6 LDD KE CHECK CHARACTER
  838. KBIC LMN 0
  839. NJN KBI7 IF NOT UPPER CASE SHIFT
  840. LDD UC
  841. NJN KBI7 IF UPPER CASE SET
  842. AOD UC
  843. UJP KBIX RETURN
  844.  
  845. KBI7 LDD UC
  846. ZJN KBI9 IF NOT UPPER CASE
  847. LDN 0 CLEAR UPPER CASE FLAG
  848. STD UC
  849. LDC KBID-1 SET UPPER CASE TABLE
  850. STD T2
  851. KBI8 AOD T2 ADVANCE TABLE
  852. LDI T2
  853. ZJN KBI9 IF END OF TABLE
  854. SHN -6
  855. LMD KE COMPARE ENTRY
  856. NJN KBI8 IF NO MATCH
  857. LDI T2 ENTER SPECIAL CHARACTER
  858. LPN 77
  859. STD KE
  860. UJN KBI11 PROCESS NORMAL CHARACTER
  861.  
  862. KBI9 LDD KE CHECK ENTRY
  863. SBN 53
  864. MJN KBI11 IF < *$*
  865. SBN KBIEL
  866. PJN KBI11 IF > * *
  867. LDM KBIE-53,KE
  868. STD T2
  869. LJM 0,T2 PROCESS ENTRY
  870.  
  871.  
  872. * PROCESS *SPACE*.
  873.  
  874. KBI10 LDN 1R SUBSTITUTE * *
  875. STD KE
  876.  
  877.  
  878. * PROCESS NORMAL CHARACTER.
  879.  
  880. KBI11 LDD KE STORE CHARACTER
  881. STM KBUF,KI
  882. AOD KI
  883. LMN KBUFL
  884. ZJN KBI12 IF BUFFER FULL
  885. JMP KBI3 RETURN
  886.  
  887.  
  888. * PROCESS *BKSP*.
  889.  
  890. KBI12 SOD KI CLEAR PREVIOUS ENTRY
  891. LDN 0
  892. STM KBUF,KI
  893. LDD KM
  894. LMC INTB
  895. ZJN KBI13 IF *REPEAT ENTRY.*
  896. LMC CJSA&INTB
  897. ZJN KBI13 IF *AUTO COMMAND PROCESSING.*
  898. LDN 0 CLEAR MESSAGE
  899. STD KM
  900. KBI13 JMP KBI3 RETURN
  901.  
  902. KBID BSS 0
  903. VFD 6/1RS,6/1R$
  904. VFD 6/1R0,6/1R#
  905. VFD 6/1R1,6/1R[
  906. VFD 6/1R2,6/1R]
  907. VFD 6/1R3,6/63
  908. VFD 6/1R4,6/64
  909. VFD 6/1R5,6/65
  910. VFD 6/1R6,6/1R!
  911. VFD 6/1R7,6/1R&
  912. VFD 6/1RQ,6/1R'
  913. VFD 6/1RW,6/1R?
  914. VFD 6/1RE,6/1R<
  915. VFD 6/1RR,6/1R>
  916. VFD 6/1RT,6/1R@
  917. VFD 6/1RY,6/1R\
  918. VFD 6/1RU,6/1R^
  919. VFD 6/1RI,6/77
  920. VFD 6/1RZ,6/00
  921. VFD 6/1R=,6/64
  922. VFD 6/1RA,6/67
  923. VFD 6/1R(,6/72
  924. VFD 6/1R),6/73
  925. VFD 6/1R+,6/74
  926. VFD 6/1R-,6/75
  927. VFD 6/1R,,6/77
  928. DATA 0
  929.  
  930. KBIE BSS 0
  931. LOC 53
  932. CON PLB 53 *LEFT BLANK*
  933. CON KBI11 54
  934. CON ALS 55 *RIGHT BLANK*
  935. CON KBI11 56
  936. CON KBI11 57
  937. CON INT 60 *CR*
  938. CON KBI12 61 *BKSP*
  939. CON KBI10 62 * *
  940. LOC *O
  941. KBIEL EQU *-KBIE
  942.  
  943. * TABLE OF FIRST CHARACTER FORMATS.
  944.  
  945.  
  946. KBIF BSS 0
  947. LOC 1R8
  948. CON AMT 8 - INCREMENT MANAGED TABLE POINTER
  949. CON DMT 9 - DECREMENT MANAGED TABLE POINTER
  950. CON AVD3 + - ADVANCE LEFT SCREEN
  951. CON AVD1 - - DECREMENT LEFT SCREEN
  952. CON RDC * - RELEASE DISPLAY CHANNEL
  953. CON AMV / - SET LEFT DISPLAY
  954. CON AVD2 ( - ADVANCE RIGHT SCREEN
  955. CON AVD ) - DECREMENT RIGHT SCREEN
  956. CON KBI6 LEFT BLANK
  957. CON KBI6 =
  958. CON KBI6 RIGHT BLANK
  959. CON LTE , - LOAD TEXT EDITOR
  960. CON SAC . - SET AUTO COMMAND PROCESSING
  961. CON SRE CR
  962. CON KBI3 BKSP
  963. CON KBI3 SPACE
  964. LOC *O
  965. KBIFL EQU *-KBIF
  966. TITLE KEYBOARD INPUT SUBROUTINES.
  967. ALS SPACE 4
  968. * ALS - ADVANCE LEFT SCREEN DISPLAY.
  969.  
  970.  
  971. ALS AOD AI ADVANCE INDEX
  972. LDM ALSA,AI SET SCREEN INDEX
  973. NJN ALS1
  974. STD AI
  975. LDM ALSA
  976. ALS1 STD LS SET LEFT SCREEN DISPLAY
  977. RJM LDO LOAD DISPLAY OVERLAY
  978. JMP KBI3 RETURN
  979.  
  980. ALSA BSS 0
  981. DATA 1RA
  982. DATA 1RC
  983. DATA 1RH
  984. BSSZ 8D
  985. ALSAL EQU *-ALSA
  986. AVD SPACE 4
  987. ** AVD - ADVANCE DISPLAY.
  988. *
  989. * ENTRY (A) = 0.
  990. *
  991. * EXIT (T2) = DIRECTION.
  992. * 0 = INCREMENT OR FORWARD.
  993. * 1 = DECREMENT OR BACKWARD.
  994. * (T3) = NAME OF DISPLAY TO BE PAGED.
  995. *
  996. * USES T1.
  997.  
  998.  
  999. AVD LDN 1 DECREMENT RIGHT SCREEN
  1000. AVD1 ADN 1 DECREMENT LEFT SCREEN
  1001. AVD2 ADN 1 INCREMENT RIGHT SCREEN
  1002. AVD3 SHN 21-0 INCREMENT LEFT SCREEN
  1003. STD T2 SET INCREMENT/DECREMENT FLAG
  1004. SHN -21
  1005. ADN LS
  1006. ERRNZ LS+1-RS *LS* AND *RS* ARE NOT CONSECUTIVE
  1007. STD T3
  1008. LDI T3 GET CURRENT DISPLAY
  1009. STD T3 SET CURRENT DISPLAY
  1010. LDM TDAD,T3 GET ADDRESS OF ADVANCE ROUTINE
  1011. STD T1
  1012. LJM 0,T1
  1013. AMV SPACE 4,10
  1014. ** AMV - ADVANCE LEFT SCREEN MEMORY DISPLAY ADDRESS BY THE
  1015. * VALUE IN THE BOTTOM 18-BITS OF THE FIRST WORD DISPLAYED.
  1016. *
  1017. * USES T1, AB - AB+4.
  1018.  
  1019.  
  1020. AMV LDD LS CHECK LEFT SCREEN DISPLAY
  1021. LMN 1RM
  1022. NJN AMV1 IF NOT *M*
  1023. LDD EB SET ADDRESS OF FIRST EXTENDED MEMORY WORD
  1024. SHN 14
  1025. LMD EB+1
  1026. ADN 4
  1027. UJN AMV2
  1028.  
  1029. AMV1 LDM DFCA,LS SET DISPLAY FIELD ADDRESS
  1030. STD T1
  1031. LDI T1 READ FIRST DISPLAY WORD
  1032. SHN 6
  1033. ADD RA
  1034. SHN 6
  1035. ADM 1,T1
  1036. AMV2 CRD AB
  1037. LDD AB+3 ADVANCE = VALUE
  1038. LPN 37
  1039. STD AB+3
  1040. LDD T1 GET DISPLAY FIELD ADDRESS
  1041. UJN AMF2 ADVANCE DISPLAY FIELD
  1042. AMF SPACE 4
  1043. ** AMF - ADVANCE MEMORY FIELDS.
  1044. *
  1045. * USES AB+3, AB+4.
  1046. *
  1047. * CALLS ADF.
  1048. *
  1049. * MACROS DFIM.
  1050.  
  1051.  
  1052. AMF BSS 0 ENTRY
  1053. LDD T2 CHECK CHARACTER
  1054. ZJN AMF1 IF *+*
  1055. DFIM (LCN 17+20) TWO-S COMPLEMENT OF 20
  1056. LCN 37+40 TW0-S COMPLEMENT OF 40
  1057. DFIM (ADN 20)
  1058. AMF1 ADN 40
  1059. STD AB+4 (AB+4) = 0040/0020/7760/7740
  1060. SHN -6
  1061. STD AB+3 (AB+3) = 0000/7777
  1062. LDM DFCA,T3
  1063. AMF2 RJM ADF ADVANCE DISPLAY FIELD
  1064. JMP KBI3 RETURN
  1065. BPA SPACE 4
  1066. ** BPA - BREAKPOINT PROGRAM TO (P) +/- 1.
  1067. *
  1068. * ENTRY (BA) = BREAKPOINT ACTIVE FLAG.
  1069. * (T2) = 0, IF INCREMENT P.
  1070. * = 1, IF DECREMENT P.
  1071. *
  1072. * EXIT TO BREAKPOINT INCREMENT OVERLAY.
  1073. * (CA) = 2 * (T2).
  1074. *
  1075. * USES CA.
  1076. *
  1077. * CALLS ECP, LOV.
  1078.  
  1079.  
  1080. BPA LDD T2
  1081. SHN 1
  1082. STD CA
  1083. LDD BF
  1084. NJN BPA2 IF BREAKPOINT ACTIVE
  1085. LJM ILE INCORRECT ENTRY
  1086.  
  1087. BPA2 RJM ECP END CENTRAL PROGRAM
  1088. LDC BPI&O26
  1089. * UJN LTE LOAD OVERLAY
  1090. LTE SPACE 4,10
  1091. ** LTE - LOAD CONSOLE TEXT EDITOR.
  1092. *
  1093. * CALLS LOV.
  1094.  
  1095.  
  1096. LTE LMC O26
  1097. LJM LOV LOAD OVERLAY
  1098. RCD SPACE 4,10
  1099. ** RDC - RELEASE DISPLAY CHANNEL.
  1100.  
  1101.  
  1102. RDC RJM HDC HOLD DISPLAY CHANNEL
  1103. RJM CSB CLEAR SCREEN BUFFER
  1104. JMP KBI3 RETURN
  1105. SAC SPACE 4
  1106. ** SAC - SET AUTO COMMAND PROCESSING.
  1107.  
  1108.  
  1109. SAC LDD CP CHECK FOR SPECIAL ENTRY JOB
  1110. ADC SEPW
  1111. CRD CM
  1112. LDD CM
  1113. LPN 24
  1114. ZJN SAC1 IF NOT DMP= OR SSJ=
  1115. LDN 2 CALL *1AJ* TO CLEAN UP JOB
  1116. RJM IAJ
  1117. SAC1 LDC CJSA SET AUTO MODE
  1118. UJN SRE1
  1119. SRE SPACE 4
  1120. ** SRE - SET REPEAT ENTRY.
  1121.  
  1122.  
  1123. SRE LDC INTB *REPEAT ENTRY.*
  1124. SRE1 STD KM
  1125. JMP KBI3 RETURN
  1126. AMT SPACE 4
  1127. ** AMT - ADVANCE MANAGED TABLE POINTER.
  1128.  
  1129.  
  1130. AMT LDM DFCA,LS
  1131. STD T1
  1132. ZJN AMT1
  1133. AOM -1,T1
  1134. AMT1 JMP KBI3 RETURN
  1135. DMT SPACE 4
  1136. ** DMT - DECREMENT MANAGED TABLE POINTER.
  1137.  
  1138.  
  1139. DMT LDM DFCA,LS
  1140. STD T1
  1141. ZJN AMT1
  1142. SOM -1,T1
  1143. JMP KBI3 RETURN
  1144. ADA SPACE 4,10
  1145. ** ADA - ADVANCE *A* DISPLAY.
  1146. *
  1147. * IF A *-* HAS BEEN ENTERED, INSERT A *BEGIN,* IN THE
  1148. * KEYBOARD BUFFER.
  1149. *
  1150. * ENTRY (T2) = 0, ADVANCE THE A DISPLAY.
  1151. * = 1, INSERT *BEGIN,* INTO THE KEYBOARD BUFFER.
  1152.  
  1153.  
  1154. ADA LDD T2
  1155. ZJN ADA1 IF *+*
  1156. LDC BEG *-* WAS ENTERED, ENTER *BEGIN,*
  1157. LJM LOV LOAD OVERLAY
  1158.  
  1159. ADA1 LDC DSAA ADVANCE FNT
  1160. UJN ADH1 UPDATE PAGING BYTES
  1161. ADH SPACE 4,10
  1162. ** ADH - ADVANCE *H* DISPLAY.
  1163. *
  1164. * ENTRY (T2) = 0, IF FORWARD.
  1165. * = 1, IF BACKWARD.
  1166. * (A) = FWA OF PAGING BYTES WHEN ENTERED AT *ADH1*.
  1167.  
  1168.  
  1169. ADH LDC DSHA ADVANCE FNT
  1170. ADH1 STD T1
  1171. LDD T2
  1172. LMN 1
  1173. ZJN ADH2 IF *-*
  1174. LDM 1,T1 ADVANCE FNT
  1175. ADH2 STI T1
  1176. JMP KBI3 RETURN
  1177. ADT SPACE 4
  1178. ** ADT - ADVANCE *T* DISPLAY.
  1179. *
  1180. * ENTRY (T2) = 0, IF FORWARD.
  1181. * = 1, IF BACKWARD.
  1182. * (T3) = NAME OF DISPLAY TO BE PAGED.
  1183.  
  1184.  
  1185. ADT LDD T2 CHECK CHARACTER
  1186. ZJN ADT1 IF *+*
  1187. DFIM (LDC 377740)
  1188. LDC 377700 SET *-*
  1189. DFIM (LMN 20)
  1190. ADT1 LMN 40
  1191. RAM DSTA+2-1RT,T3
  1192. SHN -14
  1193. ADM DSTA-1RT,T3
  1194. LPN 37
  1195. STM DSTA-1RT,T3
  1196. JMP KBI3 RETURN
  1197. CKB SPACE 4
  1198. ** CKB - CLEAR KEYBOARD BUFFER.
  1199.  
  1200.  
  1201. CKB SUBR ENTRY/EXIT
  1202. LDD KM
  1203. ZJN CKB1 IF NO MESSAGE
  1204. LMC INTC
  1205. ZJN CKB1 IF MESSAGE *DISK BUSY.*
  1206. LMC CJSA&INTC
  1207. NJN CKBX IF NOT *AUTOMATIC COMMAND PROCESSING.*
  1208. CKB1 STD KI CLEAR KEYBOARD INDEX
  1209. STD T1
  1210. CKB2 LDN 0 CLEAR BUFFER
  1211. STM KBUF,T1
  1212. AOD T1
  1213. LMN KBUFL
  1214. NJN CKB2
  1215. UJN CKBX RETURN
  1216. CSB SPACE 4,10
  1217. ** CSB - CLEAR SCREEN BUFFER.
  1218. *
  1219. * CLEAR SCREEN BUFFER, RESET TOP OF PAGE, AND SET *KBI*-S
  1220. * RETURN ADDRESS TO *DIS1* WHEN THE CONSOLE TYPE IS A *CDC721*.
  1221. *
  1222. * USES T1.
  1223. *
  1224. * MACROS CFNC, DFIM.
  1225.  
  1226.  
  1227. CSB1 LDN CSBAL-1
  1228. STD T1
  1229. CSB2 LDM CSBA,T1 ISSUE FUNCTION
  1230. CFNC
  1231. SOD T1
  1232. PJN CSB2 IF MORE FUNCTIONS
  1233. STD KR FORCE *DKB* TO EXECUTE
  1234. LDC DIS1 SET *KBI* EXIT
  1235. STM KBI
  1236.  
  1237. CSB SUBR ENTRY/EXIT
  1238. DFIM (UJN CSB1)
  1239. UJN CSBX RETURN
  1240.  
  1241. CSBA BSS 0 TABLE OF FUNCTION CODES IN REVERSE ORDER
  1242. CON CHSF CLEAR HIDDEN SCREEN
  1243. CON RTPF RESET TOP OF PAGE
  1244. CON SRSF SELECT RIGHT SCREEN, SMALL CHARACTERS
  1245. CON RTPF RESET TOP OF PAGE
  1246. CON SLSF SELECT LEFT SCREEN, SMALL CHARACTERS
  1247. CSBAL EQU *-CSBA
  1248. PLB SPACE 4
  1249. ** PLB - PROCESS *LEFT BLANK*.
  1250.  
  1251.  
  1252. PLB LDN 0 CLEAR KEYBOARD MESSAGE
  1253. STD KM
  1254. * UJN KBR
  1255. KBR SPACE 4
  1256. ** KBR - NORMAL RETURN.
  1257.  
  1258.  
  1259. KBR RJM CKB CLEAR KEYBOARD BUFFER
  1260. JMP KBI3 RETURN
  1261. ILE SPACE 4,10
  1262. ** ILE - INCORRECT ENTRY.
  1263.  
  1264.  
  1265. ILE LDC INTG *INCORRECT ENTRY.*
  1266. * UJN KIC PROCESS INCORRECT ENTRY
  1267. KIC SPACE 4
  1268. ** KIC - INCOMPLETE RETURN.
  1269. *
  1270. * ENTRY (A) = MESSAGE ADDRESS.
  1271.  
  1272.  
  1273. KIC STD T1
  1274. LDD KE
  1275. LMN 53
  1276. NJN KIC1 IF NOT *LEFT BLANK*
  1277. LJM AOL ABORT OVERLAY LOAD
  1278.  
  1279. KIC1 LDD KM
  1280. NJN KIC2 IF MESSAGE
  1281. LDD T1
  1282. STD KM
  1283. KIC2 JMP KBI4 RETURN
  1284. SPACE 4
  1285. TITLE INTERPRET KEYBOARD MESSAGE.
  1286. INT SPACE 4
  1287. *** NOTE - ALL NUMERIC ENTRIES ARE OCTAL AND RIGHT JUSTIFIED
  1288. * IN THE FIELD IN WHICH THEY ARE STORED, UNLESS SPECIFIED
  1289. * OTHERWISE. IMBEDDED SPACES ARE IGNORED IN NUMERIC FIELDS
  1290. * AND LEADING ZEROES MAY BE OMMITTED. SPACES ARE NOT
  1291. * IGNORED IN ALPHABETIC FIELDS.
  1292. *
  1293. *** MN.
  1294. *
  1295. * IF M AND N ARE VALID DISPLAY IDENTIFIERS, CHANGE THE LEFT
  1296. * AND RIGHT SCREEN DISPLAYS TO M AND N RESPECTIVELY.
  1297. *
  1298. *** MX,YYYYYY.
  1299. *
  1300. * IF M IS ONE OF THE LETTERS C,D,F,G, OR M, AND X IS
  1301. * AN OCTAL DIGIT, CHANGE THE M DISPLAY FIELDS AS FOLLOWS:
  1302. *
  1303. * X = 0 - 3, CHANGE FIELD X TO DISPLAY FROM YYYYYY.
  1304. * X = 4, CHANGE FIELDS 0 - 3 TO DISPLAY FROM YYYYYY
  1305. * CONSECUTIVELY.
  1306. * X = 5, ADVANCE DISPLAY OF FIELDS BY YYYYYY.
  1307. * X = 6, DECREMENT DISPLAY OF FIELDS BY YYYYYY.
  1308. *
  1309. *** M,XXXX.
  1310. *
  1311. * IF M IS ONE OF THE LETTERS C,D,F,G, OR M, XXXX IS
  1312. * THE BIAS ADDRESS FOR MANAGED TABLE DISPLAY.
  1313. INT SPACE 4
  1314. ** INT - INTERPRET KEYBOARD MESSAGE.
  1315.  
  1316.  
  1317. INT LDC UJNI+ILL-INTD ENTRY
  1318. UJN INT2
  1319.  
  1320. ERRPL ILL-INTD-40B
  1321.  
  1322. INT1 LDC RJMI ENTRY TO FORCE DIS COMMAND
  1323. INT2 STM INTD
  1324. LDM KBUF
  1325. STD T9
  1326. SBN 1R0
  1327. MJN INT4 IF ALPHA
  1328. SBN 1R8-1R0
  1329. PJN INT4 IF NON-OCTAL DIGIT
  1330. LDC ENM ENTER MEMORY
  1331. INT3 LJM LOV
  1332.  
  1333. INT4 LDD T9 CHECK FIRST CHARACTER
  1334. LMN 1RE
  1335. NJN INT5 IF NOT *E*
  1336. LDM KBUF+1 CHECK SECOND CHARACTER
  1337. SBN 1R0
  1338. MJN INT5 IF ALPHA
  1339. SBN 1R8-1R0
  1340. PJN INT5 IF NON- OCTAL DIGIT
  1341. LDC EEC
  1342. UJN INT3
  1343.  
  1344. INT5 LDM KBUF+2 CHECK THIRD CHARACTER
  1345. LMN 1R.
  1346. NJN INT6 IF NOT PERIOD
  1347.  
  1348. * CHANGE DISPLAY.
  1349.  
  1350. LDD T9 CHECK LEFT SCREEN INDEX
  1351. SBN DPCAL
  1352. PJN INT6 IF NO DISPLAY
  1353. LDM KBUF+1 CHECK RIGHT SCREEN INDEX
  1354. STD T1
  1355. SBN DPCAL
  1356. PJN INT6 IF NO DISPLAY
  1357. LDM DLSA,T1
  1358. NJN INT6 IF RIGHT SCREEN IS OVERLAY
  1359. LDD T9 SET LEFT SCREEN DISPLAY
  1360. STD LS
  1361. LDD T1 SET RIGHT SCREEN DISPLAY
  1362. STD RS
  1363. RJM LDO LOAD DISPLAY OVERLAY
  1364. LJM KBR RETURN
  1365.  
  1366. INT6 LDM KBUF+2
  1367. LMN 1R,
  1368. NJN INT7 IF NOT COMMA
  1369.  
  1370. * CHANGE DISPLAY FIELD.
  1371.  
  1372. LDD T9 SET DISPLAY INDEX
  1373. STD T6
  1374. SBN DPCAL
  1375. PJN INT7 IF NO DISPLAY
  1376. LDM DFCA,T6 SET DISPLAY FIELD
  1377. STD T7
  1378. ZJN INT7 IF NO FIELD
  1379. LDM KBUF+1 SET FIELD NUMBER
  1380. SBN 1R0
  1381. STD T5
  1382. MJN INT7 IF ALPHA
  1383. SBN 10
  1384. PJN INT7 IF NOT DIGIT
  1385. LDC CDF
  1386. UJN INT8.1 LOAD OVERLAY
  1387.  
  1388. INT7 LDM KBUF+1 CHECK 2ND CHARACTER
  1389. LMN 1R,
  1390. NJN INT8 IF NOT *,*
  1391.  
  1392. * CHANGE DISPLAY TABLE.
  1393.  
  1394. LDD T9 SET DISPLAY INDEX
  1395. STD T6
  1396. SBN DPCAL
  1397. PJN INT8 IF NO DISPLAY
  1398. LDM DFCA,T6 SET DISPLAY FIELD
  1399. STD T7
  1400. ZJN INT8 IF NO FIELD
  1401. LDC KBUF+2 ASSEMBLE DIGITS
  1402. RJM ASD
  1403. LDD AB+4 SET ADDRESS
  1404. STM -1,T7
  1405. LDD T6
  1406. LJM SLS SET LEFT SCREEN
  1407.  
  1408. INT8 LDC INTA SERACH FOR SPECIAL FORMAT
  1409. RJM SSF
  1410. LDC IKM INTERPRET KEYSET MESSAGE
  1411. INT8.1 UJN INT10 LOAD OVERLAY
  1412.  
  1413. INT9 RJM PPC PROCESS PP CALL
  1414. INTD RJM CKB CLEAR KEYBOARD BUFFER
  1415. LJM CJS7
  1416.  
  1417. * INCORRECT DIS COMMAND.
  1418.  
  1419. ILL LDC KBUF
  1420. STD CA
  1421. LDC EXC EXECUTE COMMAND
  1422. INT10 LJM LOV LOAD OVERLAY
  1423.  
  1424. * TABLE OF REQUESTS.
  1425.  
  1426.  
  1427. INTA BSS 0
  1428.  
  1429. CDS ENTER (DIS.)
  1430. DRP ENTER (DROP.)
  1431. ERR ENTER (ERR.)
  1432. HOL ENTER (HOLD.)
  1433. MCU ENTER (M.)
  1434. O26 ENTER (O26.) THIS MUST BE THE LAST ITEM IN THE LIST
  1435.  
  1436. DATA 0 END OF TABLE
  1437.  
  1438. INTB DATA C*REPEAT ENTRY.*
  1439.  
  1440. INTC DATA C*DISK BUSY.*
  1441.  
  1442. INTE DATA C*PP BUSY.*
  1443.  
  1444. INTF DATA C*JOB ACTIVE.*
  1445.  
  1446. INTG DATA C*INCORRECT ENTRY.*
  1447. SKI SPACE 4
  1448. ** SKI - SELECT KEYBOARD INPUT.
  1449. *
  1450. * EXIT (A) = (KE) = (SKIC) = INPUT KEY.
  1451.  
  1452.  
  1453. SKI2 LDN 20 SET REPEAT DELAY
  1454. SKI3 LMN 24 SET INITIAL DELAY
  1455. STM SKIB
  1456. LDD KE
  1457. SKI4 STM SKIA STORE CURRENT CHARACTER
  1458.  
  1459. SKI SUBR ENTRY/EXIT
  1460. CFNC SKIF SELECT KEYBOARD INPUT
  1461. IAN CH+40 INPUT CHARACTER
  1462. DCN CH+40
  1463. STM SKIC
  1464. SBN 63
  1465. MJN SKI1 IF LEGAL CHARACTER
  1466. LCN 63
  1467. SKI1 ADN 63
  1468. STD KE
  1469. DFIM (UJN SKIX) RETURN
  1470. ZJN SKI4 IF INPUT CHARACTER NOT PRESENT
  1471. LDC 0
  1472. SKIA EQU *-1
  1473. ZJN SKI3 IF NO PREVIOUS CHARACTER
  1474. SOM SKIB DECREMENT DELAY
  1475. ZJN SKI2 IF DELAY ELAPSED
  1476. LDN 0
  1477. STD KE
  1478. UJN SKIX RETURN
  1479.  
  1480.  
  1481. SKIB DATA 0 REPEAT KEY DELAY
  1482. SKIC CON 0
  1483. SSF SPACE 4
  1484. ** SSF - SEARCH FOR SPECIAL FORMAT.
  1485. *
  1486. * ENTRY (A) = ADDRESS OF FORMAT TABLE.
  1487. *
  1488. * EXIT TO PROCESSOR IF FORM FOUND.
  1489. * (A) = CHARACTER ADDRESS.
  1490. *
  1491. * USES T1, T2.
  1492.  
  1493.  
  1494. SSF SUBR ENTRY/EXIT
  1495. STD T1 SET TABLE ADDRESS
  1496. SSF1 LDI T1
  1497. ZJN SSFX RETURN IF END OF TABLE
  1498. LDC KBUF SET CHARACTER ADDRESS
  1499. STD CA
  1500. SSF2 LDI T1 COMPARE UPPER
  1501. SHN -6
  1502. ZJN SSF5 IF COMPARE COMPLETE
  1503. LMI CA
  1504. NJN SSF4
  1505. AOD CA
  1506. LDI T1 COMPARE LOWER
  1507. LPN 77
  1508. ZJN SSF5 IF COMPARE COMPLETE
  1509. LMI CA
  1510. NJN SSF4
  1511. AOD CA
  1512. AOD T1
  1513. UJN SSF2
  1514.  
  1515. SSF3 AOD T1 SKIP TO END OF SYNTAX
  1516. SSF4 LDI T1
  1517. LPN 77
  1518. NJN SSF3 LOOP
  1519. LDN 3
  1520. RAD T1
  1521. UJN SSF1 LOOP
  1522.  
  1523. SSF5 LDM 1,T1 SET OVERLAY ADDRESS
  1524. SHN 14
  1525. ADM 2,T1
  1526. LJM LOV LOAD OVERLAY
  1527. TITLE RESIDENT DISPLAY ROUTINES.
  1528. DSC SPACE 4
  1529. *** DISPLAY C. CENTRAL MEMORY, 5 GROUPS OF 4 DIGITS, WITH
  1530. *
  1531. * DISPLAY CODE TRANSLATION.
  1532.  
  1533.  
  1534. DSC CON * ENTRY
  1535. LDM DSC
  1536. STM DSD SET RETURN ADDRESS
  1537. LDC 1RC*10000+DSCA
  1538. * UJN DSD1 GENERATE HEADER MESSAGE
  1539. DSD SPACE 4,10
  1540. *** DISPLAY D. CENTRAL MEMORY, 5 GROUPS OF 4 DIGITS, WITH
  1541. *
  1542. * DISPLAY CODE TRANSLATION.
  1543.  
  1544.  
  1545. DSD1 STD T8 SAVE FIELD TABLE ADDRESS
  1546. SHN -6
  1547. SCN 77
  1548. LMN 1R. FORM DISPLAY IDENTIFIER
  1549. STM DSDH+4
  1550. * DISPHD (DIS C. CENTRAL MEMORY.)
  1551. * DISPHD (DIS D. CENTRAL MEMORY.)
  1552. LDN DSDHL
  1553. OAM DSDH,CH DISPLAY HEADER
  1554. LDC D5F
  1555. STD T6 SET WORD FORMAT
  1556. LDD T8
  1557. RJM DCM DISPLAY CENTRAL MEMORY
  1558.  
  1559. DSD SUBR ENTRY/EXIT
  1560. LDC 1RD*10000+DSDA
  1561. UJN DSD1 GENERATE HEADER MESSAGE
  1562.  
  1563.  
  1564. DSDH CON CH01,HL01
  1565. DATA H*DIS D. CENTRAL MEMORY.*
  1566. DSDHL EQU *-DSDH
  1567. DSJ SPACE 4,10
  1568. *** DISPLAY B. CONTROL POINT STATUS.
  1569. *
  1570. * DISPLAYS CONTROL POINT STATUS AND NEXT COMMANDS.
  1571. *
  1572. * ENTRY (CP) = CPA ADDRESS.
  1573. *
  1574. * XREF COMDGJD.
  1575. *
  1576. * NOTE - THE DISPLAY FORMAT IS DOCUMENTED IN *COMDGJD*.
  1577. * ALSO, THE EXIT POINT FROM THIS ROUTINE MUST BE
  1578. * *DSJX* DUE TO REQUIREMENTS OF *COMDGJD*.
  1579.  
  1580.  
  1581. DSJX LDC 2R. RESTORE *.*-S
  1582. STM D6SA
  1583. STM D4SB
  1584. LJM * EXIT
  1585. DSB EQU *-1 ENTRY
  1586.  
  1587. DISPHD (DIS B. JOB STATUS.)
  1588. * LDN 0 CLEAR *.*-S
  1589. STM D6SA
  1590. STM D4SB
  1591. LDD CP GET EJTO
  1592. ADN TFSW
  1593. CRD T7
  1594. SFA EJT,T7 GET JSN AND CONNECTION STATUS
  1595. ADK JSNE
  1596. CRD AB
  1597. LDM CMEF GET CENTRAL MEMORY EXTENSION FLAG
  1598. * UJN GJD
  1599. SPACE 4,10
  1600. * COMMON DECKS.
  1601.  
  1602.  
  1603. QUAL GJD
  1604. GJD$ EQU UE DEFINE LOCATION OF *UESC* SHIFT
  1605. LIST X
  1606. *CALL COMDGJD
  1607. LIST *
  1608. QUAL *
  1609. DSN SPACE 4
  1610. *** DISPLAY N. BLANK SCREEN.
  1611.  
  1612.  
  1613. DSN SUBR ENTRY/EXIT
  1614. DISPHD (DIS N. BLANK SCREEN.)
  1615. UJN DSNX RETURN
  1616. TITLE DISPLAY SUBROUTINES.
  1617. DAL SPACE 4,10
  1618. ** DAL - DISPLAY ACCESS LEVEL STRING.
  1619. *
  1620. * ENTRY (A) = VALID ACCESS LEVEL.
  1621.  
  1622.  
  1623. DAL SUBR ENTRY/EXIT
  1624. SHN 2 CONVERT ACCESS LEVEL TO TABLE INDEX
  1625. ADK TALV
  1626. STM DALA
  1627. LDN 4
  1628. OAM 0,CH DISPLAY STRING
  1629. DALA EQU *-1
  1630. UJN DALX RETURN
  1631. DLA SPACE 4,10
  1632. ** DLA - DISPLAY LINE ADVANCE.
  1633. *
  1634. * EXIT (A) .LT. 0 IF END OF DISPLAY.
  1635. *
  1636. * USES T4, YC, XC.
  1637.  
  1638.  
  1639. DLA SUBR ENTRY/EXIT
  1640. LDD XC DISPLAY X-COORDINATE
  1641. OAN CH+40
  1642. LCN YINC ADVANCE Y-COORDINATE
  1643. RAD YC
  1644. OAN CH+40
  1645. DFIM (ADC -Y721)
  1646. ADC -Y545
  1647. UJN DLAX RETURN
  1648. DMS SPACE 4,10
  1649. SPACE 4
  1650. * COMMON DECKS.
  1651. LIST X
  1652.  
  1653.  
  1654. *CALL COMDDCM
  1655. N2Z$ EQU 1 DO NOT ASSEMBLE *D2Z*
  1656. *CALL COMDDIS
  1657. *CALL COMDDSP
  1658. DSS$ EQU 0 DISPLAY SUBSYSTEM STATUS
  1659. N2S$ EQU 1 DO NOT ASSEMBLE *D2S*
  1660. *CALL COMDSYS
  1661. LIST *
  1662. EJT$ EQU 1 EJT SEARCH
  1663. IFP$ EQU 1 *COMPGFP* REMOTE ASSEMBLY
  1664. *CALL COMPGFP
  1665. VAL$ EQU 1
  1666. *CALL COMPVLC
  1667. TITLE RESIDENT COMMAND PROCESSOR ROUTINES.
  1668.  
  1669.  
  1670. CMEF EQU DCMD CENTRAL MEMORY EXTENSION FLAG
  1671. DIS SPACE 4
  1672. *** DIS.
  1673. *
  1674. * CALL DIS AND DROP DISPLAY.
  1675.  
  1676.  
  1677. QUAL DIS".N"
  1678. CDS ENTRY
  1679. LDM /COMDDSP/DDSA SET EST ORDINAL
  1680. LMC 4000 FORCE DIRECT CALL
  1681. STD IR+4
  1682. LDD KM CHECK IF AUTO COMMAND PROCESSING
  1683. LMC CJSA
  1684. NJN CDS1 IF NOT AUTO COMMAND
  1685. LDD HN
  1686. RAD IR+3
  1687. CDS1 RJM DDS DROP DISPLAY
  1688. LDD IA WRITE INPUT REGISTER FOR *DIS*
  1689. CWD IR
  1690. LJM PPR EXIT TO PP RESIDENT
  1691. DROP SPACE 4
  1692. *** DROP.
  1693. *
  1694. * DROP DISPLAY.
  1695.  
  1696.  
  1697. DRO EQU DPP DEFINE ENTRY POINT TO DROP DISPLAY
  1698.  
  1699. DRP ENTRY DRO
  1700. * RJM DDS DROP DISPLAY
  1701. * RJM RBW RESTORE BREAKPOINT WORD
  1702. * LJM DPP DROP PPU
  1703. ERR SPACE 4
  1704. *** ERR.
  1705. *
  1706. * SET ERROR FLAG.
  1707. *
  1708. * USES CM - CM+4.
  1709. *
  1710. * MACROS MONITOR.
  1711.  
  1712.  
  1713. ERR ENTRY
  1714. LDN ZERL
  1715. CRD CM
  1716. LDN FSET SET FORCED ERROR FLAG
  1717. STD CM+1
  1718. MONITOR CEFM
  1719. JMP KBR RETURN
  1720. HOL SPACE 4
  1721. *** HOLD.
  1722. *
  1723. * DROP DISPLAY AND WAIT FOR RE-ASSIGNMENT.
  1724.  
  1725.  
  1726. HOL ENTRY
  1727. RJM DDS DROP DISPLAY
  1728. * LDN 0
  1729. STM OVD-5 CLEAR DISPLAY OVERLAY
  1730. LDN 1RN
  1731. STD LN
  1732. RJM RDS REQUEST DISPLAY
  1733. RJM CSB CLEAR SCREEN BUFFER
  1734. JMP KBR RETURN
  1735. QUAL
  1736. TITLE COMMAND PROCESSOR SUBROUTINES.
  1737. ADF SPACE 4
  1738. ** ADF - ADVANCE DISPLAY FIELD.
  1739. *
  1740. * ENTRY (A) = ADDRESS OF FIELD TO BE ADVANCED,
  1741. * (AB+3 - AB+4) = ADVANCE INCREMENT.
  1742. *
  1743. * EXIT NONE.
  1744. *
  1745. * USES T1, T2.
  1746.  
  1747.  
  1748. ADF SUBR ENTRY/EXIT
  1749. STD T1 SET FIELD ADDRESS
  1750. ZJN ADFX RETURN IF NO FIELD
  1751. ADN 10 SET LIMIT
  1752. STD T2
  1753. ADF1 LDD AB+4 ADVANCE DISPLAY FIELD
  1754. RAM 1,T1
  1755. SHN -14
  1756. ADD AB+3
  1757. RAI T1
  1758. LDN 2 ADVANCE FIELD
  1759. RAD T1
  1760. LMD T2
  1761. NJN ADF1 LOOP FOR ALL FIELDS
  1762. UJN ADFX RETURN
  1763. ASC SPACE 4
  1764. ** ASC - ASSEMBLE CHARACTERS.
  1765. *
  1766. * ENTRY (A) = ADDRESS OF CHARACTER STRING.
  1767. *
  1768. * EXIT (AB - AB+4) = ASSEMBLY.
  1769. *
  1770. * USES T1, T2
  1771.  
  1772.  
  1773. ASC SUBR ENTRY/EXIT
  1774. STD T1 STORE CHARACTER ADDRESS
  1775. LDN AB SET BYTE ADDRESS
  1776. STD T2
  1777. ASC1 LDI T1 PACK BYTE
  1778. SHN 6
  1779. ADM 1,T1
  1780. STI T2
  1781. ZJN ASC2 IF ZERO BYTE
  1782. LDN 2 ADVANCE ADDRESS
  1783. RAD T1
  1784. ASC2 AOD T2 ADVANCE BYTE
  1785. LMN AB+5
  1786. NJN ASC1 LOOP TO END OF WORD
  1787. UJN ASCX RETURN
  1788. ASD SPACE 4
  1789. ** ASD - ASSEMBLE DIGITS.
  1790. *
  1791. * ENTRY (A) = CHARACTER ADDRESS.
  1792. *
  1793. * EXIT (AB - AB+4) = ASSEMBLY.
  1794. *
  1795. * CALLS CDR.
  1796.  
  1797.  
  1798. ASD SUBR ENTRY/EXIT
  1799. RJM CDR CONVERT DIGITS
  1800. LMN 1R.
  1801. ZJN ASDX RETURN IF PERIOD
  1802. LJM ILL INCORRECT ENTRY
  1803. ASN SPACE 4,10
  1804. ** ASN - ASSEMBLE NAME.
  1805. *
  1806. * ENTRY (A) = ADDRESS OF CHARACTER STRING.
  1807. *
  1808. * EXIT (A) = SEPARATOR CHARACTER.
  1809. * (AB - AB+4) = ASSEMBLY.
  1810. *
  1811. * USES T1, T2.
  1812.  
  1813.  
  1814. ASN3 ADN 1R+ STORE CHARACTER
  1815. RAI T2
  1816. AOD T1
  1817. AOD T2
  1818. LMN AB+4
  1819. NJN ASN1 LOOP FOR 7 CHARACTERS
  1820. LDI T1 RETURN WITH CHARACTER
  1821.  
  1822. ASN SUBR ENTRY/EXIT
  1823. STD T1 STORE CHARACTER ADDRESS
  1824. LDN ZERL CLEAR ASSEMBLY
  1825. CRD AB
  1826. LDN AB SET BYTE ADDRESS
  1827. STD T2
  1828. ASN1 LDI T1 CHECK UPPER CHARACTER
  1829. SBN 1R+
  1830. MJN ASN2 IF NOT SEPARATOR
  1831. ADN 1R+ RETURN WITH SEPARATOR
  1832. UJN ASNX
  1833.  
  1834. ASN2 ADN 1R+ STORE CHARACTER
  1835. SHN 6
  1836. STI T2
  1837. AOD T1
  1838. LDI T1 CHECK LOWER
  1839. SBN 1R+
  1840. MJN ASN3 IF NOT SEPARATOR
  1841. ADN 1R+ RETURN WITH SEPARATOR
  1842. UJN ASNX
  1843. BCP SPACE 4
  1844. ** BCP - BEGIN CENTRAL PROGRAM.
  1845.  
  1846.  
  1847. BCP SUBR ENTRY/EXIT
  1848. RJM CRA CHECK SYSTEM REQUEST
  1849. PJN BCP1 IF *END* OR *ABT*
  1850. LDD AB+1
  1851. ADD AB+2
  1852. ADD AB+3
  1853. NJN BCP2
  1854. LDD AB+4
  1855. ZJN BCP2 IF NO PP OA
  1856. BCP1 LDN ZERL CLEAR SYSTEM REQUEST (RA+1)
  1857. CRD CM
  1858. LDD RA
  1859. SHN 6
  1860. ADN 1
  1861. CWD CM
  1862. BCP2 MONITOR RCPM REQUEST CPU
  1863. UJN BCPX RETURN
  1864. CAJ SPACE 4,10
  1865. ** CAJ - CHECK ACTIVE JOB.
  1866. *
  1867. * EXIT (A) = 0, IF NO ACTIVITY.
  1868. *
  1869. * USES CM - CM+4.
  1870.  
  1871.  
  1872. CAJ SUBR ENTRY/EXIT
  1873. LDD CP FETCH CP STATUS WORD
  1874. ADN STSW
  1875. CRD CM
  1876. LDD CM+2 EXTRACT ROLLOUT CPU STATUS
  1877. LPN 2
  1878. SHN 11-1
  1879. LMD CM
  1880. SBN 1
  1881. SHN 4 APPEND PP REQUEST QUEUE STATUS
  1882. ADD CM+4
  1883. SCN 17
  1884. UJN CAJX RETURN
  1885. CDR SPACE 4
  1886. ** CDR - CONVERT DIGITS RIGHT ADJUSTED.
  1887. *
  1888. * ENTRY (A) = ADDRESS OF CHARACTER STRING.
  1889. *
  1890. * EXIT (A) = SEPARATOR CHARACTER.
  1891. * (AB - AB+4) = ASSEMBLY.
  1892. *
  1893. * USES T1, T2.
  1894.  
  1895.  
  1896. CDR SUBR ENTRY/EXIT
  1897. STD T1 SAVE ADDRESS
  1898. LDN ZERL CLEAR ASSEMBLY AREA
  1899. CRD AB
  1900. CDR1 LDI T1 LOAD CHARACTER
  1901. SBN 1R0
  1902. MJN CDR2 IF ALPHA
  1903. SBN 1R8-1R0
  1904. MJN CDR3 IF OCTAL DIGIT
  1905. SBN 1R -1R8
  1906. ZJN CDR5 IF SPACE
  1907. CDR2 LDI T1 LOAD CHARACTER
  1908. UJN CDRX RETURN
  1909.  
  1910. CDR3 ADN 10 STORE DIGIT
  1911. STD T3
  1912. LDN AB+4 SET BYTE ADDRESS
  1913. STD T2
  1914. CDR4 LDI T2 LOAD BYTE
  1915. SHN 3
  1916. ADD T3 ADD NEW DIGIT
  1917. STI T2 STORE
  1918. SHN -14 SAVE OVERFLOW
  1919. STD T3
  1920. SOD T2 ADVANCE BYTE ADDRESS
  1921. LMN AB-1
  1922. NJN CDR4 LOOP
  1923. CDR5 AOD T1 ADVANCE ADDRESS
  1924. UJN CDR1 LOOP
  1925. CRA SPACE 4
  1926. ** CRA - CHECK SYSTEM REQUEST FOR *END* OR *ABT*.
  1927. *
  1928. * EXIT (A) = 0 IF *END*
  1929. * (A) = 1 IF *ABT*
  1930. * (A) = -1 IF NEITHER
  1931. * (AB - AB+4) = RA+1.
  1932.  
  1933.  
  1934. CRA1 LDN 1 SET *ABT* EXIT
  1935.  
  1936. CRA SUBR ENTRY/EXIT
  1937. LDD RA CHECK SYSTEM REQUEST
  1938. SHN 6
  1939. ADN 1
  1940. CRD AB
  1941. LDD AB+1
  1942. SCN 77
  1943. SHN 6
  1944. LMD AB
  1945. LMC 3RDEN
  1946. ZJN CRAX IF *END*
  1947. LMC 3RTAB&3RDEN
  1948. ZJN CRA1 IF *ABT*
  1949. LCN 1 SET NEITHER EXIT
  1950. UJN CRAX RETURN
  1951. ECP SPACE 4
  1952. ** ECP - END CENTRAL PROGRAM.
  1953. *
  1954. * CALLS FTN.
  1955.  
  1956.  
  1957. ECP SUBR ENTRY/EXIT
  1958. LDN 0
  1959. STD CM+1
  1960. MONITOR DCPM DROP CPU
  1961. RJM RBW RESTORE BREAKPOINT WORD
  1962. UJN ECPX RETURN
  1963. IAJ SPACE 4
  1964. ** IAJ - CALL *1AJ*.
  1965. *
  1966. * ENTRY (A) = 6/FN,9/0,1/S,1/E,1/R
  1967. * FN = 0, FOR MTR TYPE REQUEST (FOR SSJ= AND DMP=).
  1968. * = 2, FOR DIS TYPE REQUEST.
  1969. * R = RSS FLAG.
  1970. * E = FOR RETURN ERROR MESSAGE TO MS2W.
  1971. * S = FOR TAKE COMMAND FROM MS1W.
  1972. * (IAJC) = *PSNI* IF *DMP=* REQUEST
  1973. *
  1974. * EXIT (KM) = KEYBOARD MESSAGE CODE.
  1975. *
  1976. * USES KM, CM - CM+4.
  1977. *
  1978. * CALLS CAJ.
  1979. *
  1980. * MACROS EXECUTE, MONITOR, SFA.
  1981.  
  1982.  
  1983. IAJ3 LDC INTF *JOB ACTIVE.*
  1984. STD KM
  1985.  
  1986. IAJ SUBR ENTRY/EXIT
  1987. STM IAJA+4
  1988. SHN -14
  1989. STM IAJA+2
  1990. RJM CAJ CHECK ACTIVE JOB
  1991. IAJ1 NJN IAJ3 IF JOB ACTIVE
  1992. IAJC EQU *-1
  1993. * PSNI (DMP=)
  1994. LDC 0 RESTORE ACTIVITY CHECK
  1995. ORG *-1
  1996. LOC IAJC
  1997. NJN IAJ3 IF JOB ACTIVE
  1998. LOC *O
  1999. STM IAJC
  2000. LDN ZERL
  2001. CRD CM
  2002. LDC 4001 VERIFY JOB ADVANCE NOT SET
  2003. STD CM
  2004. LDN 6 SET LOW ORDER BIT OF FIELD
  2005. SHN 6
  2006. STD CM+1
  2007. LDD MA
  2008. CWD CM
  2009. LDN 1 SET JOB ADVANCE
  2010. STD CM
  2011. STD CM+4
  2012. LDD MA
  2013. ADN 1
  2014. CWD CM
  2015. LDN ZERL
  2016. CRD CM
  2017. LDN 40+2 VERIFY AND SET JOB ADVANCE AND INTERLOCK
  2018. STD CM+1
  2019. LDC ** INTERLOCK EJT ENTRY
  2020. IAJB EQU *-1 (EJTO)
  2021. SFA EJT
  2022. STD CM+4
  2023. SHN -14
  2024. STD CM+3
  2025. MONITOR UTEM
  2026. LDD CM+1
  2027. NJN IAJ2 IF INTERLOCK NOT SET
  2028. * LDN 0 ALLOW QUEUING OF PP REQUEST
  2029. * STD CM+1
  2030. EXECUTE 1AJ,=
  2031. LDD MA WRITE REQUEST
  2032. CWM IAJA,ON
  2033. MONITOR RPPM
  2034. LJM IAJX RETURN
  2035.  
  2036. IAJ2 LJM IAJ3 DISPLAY * JOB ACTIVE.*
  2037.  
  2038.  
  2039. IAJA VFD 18D/0L1AJ,6/0,12D/2,12D/0,12D/0
  2040. PPC SPACE 4
  2041. *** AAA. OR AAA,XXXXXX. OR AAA,XXXXXX,YYYYYY.
  2042. *
  2043. * IF AAA IS THE NAME OF A PP PROGRAM BEGINNING WITH A
  2044. * LETTER, CALL THIS PROGRAM TO EXECUTE WITH PARAMETERS
  2045. * XXXXXX AND YYYYYY. IN THE FORMS MISSING EITHER XXXXXX
  2046. * OR YYYYYY, THE ASSUMED VALUE WILL BE 0.
  2047.  
  2048.  
  2049. PPC SUBR ENTRY/EXIT
  2050. LDC KBUF ASSEMBLE NAME
  2051. RJM ASN
  2052. SBN 1R+
  2053. MJN PPCX RETURN IF NO SEPARATOR
  2054. LDD AB CHECK NAME
  2055. SHN -6
  2056. SBN 1R0
  2057. PJN PPCX RETURN IF NOT ALPHA
  2058. LDD AB+1
  2059. ZJN PPCX RETURN IF NOT 3 CHARACTERS
  2060. LPN 77
  2061. NJN PPCX RETURN IF MORE THAN 3 CHARACTERS
  2062. LDC CPP CALL PPU
  2063. LJM LOV
  2064. RBW SPACE 4
  2065. ** RBW - RESTORE BREAKPOINT WORD.
  2066. *
  2067. * ENTRY (BA - BA+1) = BREAKPOINT ADDRESS.
  2068. *
  2069. * USES BA, BA+1.
  2070.  
  2071.  
  2072. RBW SUBR ENTRY/EXIT
  2073. LDD BA
  2074. SHN 14
  2075. ADD BA+1
  2076. ZJN RBWX IF BREAKPOINT NOT SET
  2077. SHN 14 RESTORE BREAKPOINT WORD
  2078. ADD RA
  2079. SHN 6
  2080. CWM RBWA,ON
  2081. LDN 0 CLEAR BREAKPOINT
  2082. STD BA
  2083. STD BA+1
  2084. UJN RBWX RETURN
  2085.  
  2086.  
  2087. RBWA VFD 60D/0 INSTRUCTION WORD BUFFER
  2088. SLS SPACE 4
  2089. ** SLS - SET LEFT SCREEN.
  2090. *
  2091. * ENTRY (A) = NAME OF SCREEN.
  2092.  
  2093.  
  2094. SLS LMD RS
  2095. ZJN SLS1 IF RIGHT SCREEN DISPLAY
  2096. LMD RS
  2097. STD LS SET LEFT SCREEN
  2098. RJM LDO LOAD DISPLAY OVERLAY
  2099. SLS1 LJM KBR
  2100. TITLE TABLE OF DISPLAYS.
  2101. TDSP SPACE 4
  2102. ** TDSP - TABLE OF DISPLAYS.
  2103. *
  2104. *
  2105. *A TDSP B,C
  2106. * ENTRY (A) = DISPLAY NAME.
  2107. * (B) = DISPLAY FIELD ADDRESS (OPTIONAL).
  2108. * (C) = + AND - PROCESSOR (OPTIONAL).
  2109.  
  2110.  
  2111. MACRO TDSP,A,B,C
  2112. ORG TDAD+1R;A
  2113. CON C AMF
  2114. ORG DFCA+1R;A
  2115. CON B 0
  2116. ORG DPCA+1R;A
  2117. CON DS;A-DS;A/10000*10000
  2118. ORG DLSA+1R;A
  2119. CON DS;A/10000
  2120. ENDM
  2121. TDSP SPACE 4
  2122. ** TABLE OF DISPLAYS.
  2123.  
  2124.  
  2125. TDAD EQU *-1
  2126. DUP 1RZ,1
  2127. CON AMF
  2128.  
  2129. DFCA EQU *-1
  2130. DUP 1RZ,1
  2131. CON 0
  2132. DFCAL EQU *-DFCA
  2133.  
  2134. DPCA EQU *-1
  2135. DUP 1RZ,1
  2136. CON DSZ-DSZ/10000*10000
  2137. DPCAL EQU *-DPCA
  2138.  
  2139. DLSA EQU *-1
  2140. DUP 1RZ,1
  2141. CON DSZ/10000
  2142. TDSP SPACE 4
  2143. ** TDSP - DISPLAY CONTROL TABLE.
  2144.  
  2145.  
  2146. A TDSP ,ADA
  2147. B TDSP
  2148. C TDSP DSCA
  2149. D TDSP DSDA
  2150. F TDSP DSFA
  2151. G TDSP DSGA
  2152. H TDSP ,ADH
  2153. M TDSP DSMA
  2154. N TDSP
  2155. T TDSP ,ADT
  2156. U TDSP ,ADT
  2157. V TDSP
  2158. X TDSP ,BPA
  2159. Y TDSP
  2160. Z TDSP
  2161. TFNT SPACE 4
  2162. ** TFNT - TABLE OF FILE TYPES.
  2163.  
  2164. TFNT DATA H*"NMFT"*
  2165. TITLE OVERLAY AREA.
  2166. OVL SPACE 4
  2167. * TERMINATE RESIDENT ROUTINES.
  2168.  
  2169.  
  2170. QUAL
  2171. HERE
  2172. DIS HERE
  2173. USE END FORCE /LITERALS*/
  2174. SPACE 4
  2175. * OVERLAY AREA.
  2176.  
  2177.  
  2178. USE OVL
  2179. OVD EQU *+5
  2180. TITLE PRESET PROGRAM.
  2181. PRS SPACE 4
  2182. QUAL PRESET
  2183. PRS SPACE 4
  2184. ** PRS - PRESET PROGRAM.
  2185. *
  2186. * CALLS CKB, CUA, DFM, MDC, RDS, SFI.
  2187.  
  2188.  
  2189. PRS SUBR ENTRY/EXIT
  2190. LDN 0 CLEAR *RCPM* REQUIRED FLAG
  2191. STD T8
  2192. LDD IR+4
  2193. SHN 21-13
  2194. MJN PRS3 IF DIRECT CALL
  2195. LDD CP
  2196. ADN STSW
  2197. CRD CM
  2198. LDD CM
  2199. SHN -11
  2200. LMN 6
  2201. NJN PRS2 IF NOT *I* STATUS
  2202. LDD IR+1
  2203. LPN 40
  2204. STD T8 SET *RCPM* REQUIRED FLAG IF RECALL SET
  2205. PRS2 RJM CUA CHECK USER ACCESS
  2206. ZJN PRS3 IF VALID USER
  2207. LDC PRSC * INCORRECT COMMAND.*
  2208. RJM DFM
  2209. MONITOR ABTM ABORT CONTROL POINT
  2210. LJM PPR EXIT TO PP RESIDENT
  2211.  
  2212. PRS3 LDD IR+1 CLEAR AUTO-RECALL IN INPUT REGISTER
  2213. SCN 40
  2214. STD IR+1
  2215. RJM IFP INITIALIZE *SFA* MACRO
  2216. LDN DSEQ
  2217. SFA EST GET EST ENTRY FOR DISPLAY CONSOLE
  2218. ADK EQAE
  2219. CRD CM
  2220. LDD CM+2
  2221. ZJN PRS4 IF CC545 CONSOLE
  2222. MDIN MODIFY DISPLAY GENERATOR
  2223. PRS4 LDN SSML SAVE SECURITY MODE
  2224. CRD CM
  2225. LDD CM
  2226. LPN 3
  2227. STD SM
  2228. LDN NCPL SAVE NUMBER OF CP-S
  2229. CRD CM
  2230. LDD CM+1
  2231. STD NC
  2232. LDK EIBP GET POINTER TO *EICB*
  2233. CRD CM
  2234. LDD CM+3
  2235. SHN 14
  2236. LMD CM+4
  2237. ZJN PRS4.1 IF *EICB* NOT DEFINED
  2238. ADK D7ST SAVE POINTER TO *D7ST* FOR *COMDSYS*
  2239. STM FDPA+1
  2240. SHN -14
  2241. RAM FDPA
  2242. PRS4.1 LDD CP FETCH INPUT FILE STATUS
  2243. ADN TFSW
  2244. CRD T1
  2245. LDD T1 SET JOB EJTO
  2246. STM IAJB
  2247. LDD IR+4
  2248. SHN 21-13
  2249. PJN PRS5 IF NOT DIRECT CALL
  2250. LDD T1
  2251. NJN PRS5 IF JOB PRESENT
  2252. MONITOR DPPM DROP PP
  2253. LJM PPR EXIT TO PP RESIDENT
  2254.  
  2255. PRS5 LDK MABL CHECK MAINFRAME TYPE
  2256. CRD CM
  2257. LDD CM+1
  2258. SHN -11
  2259. LMN 7
  2260. SHN -2+22 SAVE CM EXTENSION STATUS
  2261. STM CMEF
  2262. ZJN PRS5.1 IF CYBER 176 MAINFRAME
  2263. LDC EEMC SET DEFAULT ERROR EXIT MODE
  2264. UJN PRS6 SET ERROR EXIT MODE
  2265.  
  2266. PRS5.1 LDC EEMC&1 DESELECT UNDERFLOW
  2267. PRS6 STM PRSA SET ERROR EXIT MODE
  2268. LDD IR+4
  2269. SHN 21-13
  2270. MJN PRS7 IF CALLED TO RUNNING JOB
  2271. LDD CP SET EXIT MODE IN EXCHANGE PACKAGE
  2272. ADN 3
  2273. CRD CM CURRENT EXIT MODE
  2274. LDD CM
  2275. LPC 770 RETAIN NON EXIT MODE BITS
  2276. LMC EEMC
  2277. * LDC EEMC&1 (CYBER 176 CPU)
  2278. PRSA EQU *-1
  2279. STD CM
  2280. LDD CP
  2281. ADN 3
  2282. CWD CM WRITE CHANGED EXIT MODE
  2283. PRS7 LDN 10 SET MASK FOR *JCIW*
  2284. STD CM+4
  2285. LDN SCTS SET *DIS* FLAG IN CPA
  2286. STD CM+1
  2287. MONITOR SJCM
  2288. * LDN 0 CLEAR KEYBOARD MESSAGE
  2289. STD KM
  2290. STD BA CLEAR BREAKPOINT
  2291. STD BA+1
  2292. STD AI CLEAR ADVANCE INDEX
  2293. STD UC CLEAR UPPER CASE FLAG
  2294. LDC CH01 SET X-COORDINATE
  2295. STD XC
  2296. LDN 1RA SET LEFT SCREEN DISPLAY
  2297. STD LS
  2298. LDN 1RN
  2299. STD LN
  2300. LDN 1RB SET RIGHT SCREEN DISPLAY
  2301. STD RS
  2302. LDC OVL SET LOAD ADDRESS
  2303. STD LA
  2304. LDD IR+2 SET UPPER CASE CHARACTER
  2305. LPN 77
  2306. RAM KBIC
  2307. LDD IR+3 CHECK CALLING PARAMETER
  2308. SHN 13
  2309. PJN PRS8 IF NOT AUTO COMMAND PROCESSING
  2310. LDC CJSA SET AUTO COMMAND
  2311. STD KM
  2312. LDD IR+3 CLEAR CALLING PARAMETER
  2313. LPC 7677
  2314. STD IR+3
  2315.  
  2316. * SET UP DIRECT CELLS.
  2317.  
  2318. PRS8 LDN PPUL FETCH PP CONFIGURATION
  2319. CRD CM
  2320. LDN 20D PRESET NUMBER OF PPU,S
  2321. STD PN
  2322. LDD CM+2
  2323. SBN 11D
  2324. PJN PRS9 IF MORE THAN 10 PP-S
  2325. LDN 10D SET 10 PPU,S
  2326. STD PN
  2327. PRS9 LDN PPCP FETCH PP COMMUNICATION AREA POINTER
  2328. CRD CM
  2329. LDD CM+4 SET FIRST PP INPUT REGISTER
  2330. STD PC SET PP COMMUNICATION AREA POINTER
  2331. LDK MEFL SET USER EM SHIFT COUNT
  2332. CRD CM
  2333. LDD CM+2
  2334. SHN -11
  2335. STD UE
  2336. LDC EDBP GET EXTENDED MEMORY DISPLAY BUFFER POINTER
  2337. CRD CM
  2338. LDD CM
  2339. STD EB
  2340. LDD CM+1
  2341. STD EB+1
  2342.  
  2343. * CALL *9IA* TO COMPLETE PRESET.
  2344.  
  2345. LDM PRS CALL *9IA* TO COMPLETE PRESET
  2346. STM EXR
  2347. EXECUTE 9IA,*
  2348. LJM EXR+1 LOAD OVERLAY
  2349.  
  2350.  
  2351. PRSC DATA C* INCORRECT COMMAND.*
  2352. SPACE 4
  2353. ** COMMON DECKS.
  2354.  
  2355.  
  2356. *CALL COMPCUA
  2357. QUAL
  2358.  
  2359. IFP HERE
  2360. QUAL *
  2361.  
  2362.  
  2363. QUAL *
  2364.  
  2365. PRS EQU /PRESET/PRS
  2366. SPACE 4,10
  2367. ** DUMP INSTRUCTION MODIFICATION BLOCK.
  2368.  
  2369.  
  2370. DIMB
  2371. SPACE 4,10
  2372. OVERFLOW
  2373. DISPLAY (PRESET PROGRAM.)
  2374. SPACE 4,10
  2375. *** FINISH PRESETTING *DIS* RESIDENT.
  2376. *
  2377. * 1. LOAD SUBROUTINES INTO THE MASS STORAGE DRIVER AREA.
  2378. * 2. CLEAR THE KEYBOARD BUFFER.
  2379. * 3. ISSUE *RCPM* IF THE CONTROL POINT IS IN *I* STATUS.
  2380. PRP SPACE 4,15
  2381. *** PRP - PRESET PROGRAM.
  2382. *
  2383. * FINISH PRESETTING *DIS* RESIDENT.
  2384. *
  2385. * ENTRY (T8) .NE. 0 = RESTART CPU PROGRAM WITH *RCPM*.
  2386. *
  2387. * USES T1, CM - CM+4.
  2388. *
  2389. * CALLS CKB, RDS.
  2390. *
  2391. * MACROS DFIM, DIMB, MDIN, MONITOR, SETMS.
  2392.  
  2393.  
  2394. PRP SUBR ENTRY/EXIT
  2395. LDM DCTY
  2396. ZJN PRP1 IF THE CONSOLE IS A *CC545*
  2397. MDIN
  2398. PRP1 LDN 0
  2399. STD T1
  2400. PRP2 LDM PRPA,T1 MOVE CODE TO DRIVER AREA
  2401. STM MSFW,T1
  2402. AOD T1
  2403. LMC PRPAL
  2404. NJN PRP2 IF NOT END OF MOVE
  2405. SETMS NODRIVER INVALIDATE DRIVER
  2406. LDD IR+4 CLEAR ROLLOUT/JOB CALL FLAG
  2407. LPC 3777
  2408. STD IR+4
  2409. LDD IR+1
  2410. LPN 37 SET CP NUMBER FOR *1DL*
  2411. RAM LOVB+1
  2412. LDC PRO SET ADDRESS TO EXIT TO
  2413. STM /COMDDSP/ROFA
  2414. RJM RDS REQUEST DISPLAY
  2415. RJM CSB CLEAR SCREEN BUFFER
  2416. RJM CKB CLEAR KEYBOARD BUFFER
  2417. LDN ZERL LAST 3 WORDS ALWAYS ZERO
  2418. CRM KBUF+KBUFL-2,ON
  2419. LDC CJS RESET PRESET CALL
  2420. STM DISD
  2421. LDD T8
  2422. ZJN PRP4 IF CP IS NOT IN *I* STATUS
  2423. MONITOR RCPM
  2424. PRP4 LJM PRPX RETURN
  2425. DFT SPACE 4
  2426. ** DISPLAY FIELD TABLES.
  2427.  
  2428.  
  2429. PRPA BSS 0
  2430. QUAL
  2431. LOC MSFW
  2432. CON 0
  2433.  
  2434. DSAA CON 0 CURRENT FNT INDEX
  2435. CON 0 NEXT FNT INDEX
  2436.  
  2437. CON 0
  2438. DSCA CON 0,0
  2439. CON 0,10
  2440. CON 0,20
  2441. CON 0,30
  2442.  
  2443. CON 0
  2444. DSDA CON 0,0
  2445. CON 0,10
  2446. CON 0,20
  2447. CON 0,30
  2448.  
  2449.  
  2450. CON 0
  2451. DSFA CON 0,0
  2452. CON 0,10
  2453. CON 0,20
  2454. CON 0,30
  2455.  
  2456. CON 0
  2457. DSGA CON 0,0
  2458. CON 0,10
  2459. CON 0,20
  2460. CON 0,30
  2461.  
  2462. DSHA CON 0
  2463. CON 0
  2464.  
  2465. CON 0
  2466. DSMA CON 0,0
  2467. CON 0,10
  2468. CON 0,20
  2469. CON 0,30
  2470.  
  2471. DSTA CON 0
  2472. DSUA CON 0
  2473. CON 100
  2474. CON 400
  2475. DSVA CON 0,0
  2476.  
  2477. TDSL CON 0,0
  2478. LOV SPACE 4
  2479. ** LOV - LOAD OVERLAY.
  2480. *
  2481. * ENTRY (A) = BITS 17-12 OVERLAY INDEX.
  2482. * BITS 11-00 ENTRY ADDRESS.
  2483.  
  2484.  
  2485. LOV STM LOVA SET ENTRY
  2486. SHN -14
  2487. ZJN LOV1 IF RESIDENT
  2488. STD T0
  2489. SHN 1
  2490. SCN 77
  2491. LMD T0
  2492. SCN 40
  2493. STD T0
  2494. SHN -6
  2495. ADD T0
  2496. LMC 2L9"OVNB"
  2497. ERRNZ 2R"OVNG"-2RIH CODE ASSUMES *9I* AND *9H* OVERLAYS
  2498. STM LOVB+4
  2499. SHN -14
  2500. STM LOVB+3
  2501. SHN 6
  2502. LMM -5,LA
  2503. SHN 6
  2504. LMM LOVB+4
  2505. SHN 6
  2506. LMM -4,LA
  2507. ZJN LOV1 IF PROGRAM IN CORE
  2508. RJM LPP LOAD PP PROGRAM
  2509. LOV1 LDN ZERL CLEAR ASSEMBLY BUFFER
  2510. CRD AB
  2511. LDC KBI5 CLEAR OVERLAY LOAD
  2512. STM KBIA
  2513. LDC OVL
  2514. STD LA
  2515. LDD CA (A) = CHARACTER ADDRESS
  2516. LJM *
  2517. LOVA EQU *-1
  2518.  
  2519. LOVB VFD 24/3L1DL,12/CH,24/0
  2520. LPP SPACE 4
  2521. ** LPP - LOAD PP PROGRAM.
  2522. *
  2523. * ENTRY (LOVB+3 - LOVB+4) = PP PROGRAM NAME.
  2524.  
  2525.  
  2526. LPP SUBR ENTRY/EXIT
  2527. PAUSE NE PAUSE FOR STORAGE RELOCATION
  2528. LDD LA SET LOAD ADDRESS
  2529. SBN 5
  2530. STM LPPC
  2531. EXECUTE 1DL,=
  2532. LDD MA
  2533. CWM LOVB,ON
  2534. LDN 1 SELECT NO QUEUING OF PP REQUEST
  2535. STD CM+1
  2536. MONITOR RPPM CALL *1DL*
  2537. LDK WDDC SET KEYBOARD MESSAGE DELAY
  2538. STM LPPD
  2539. LDD CM+1 CHECK CALL
  2540. STM LPPA
  2541. NJN LPP1 IF PP AVAILABLE
  2542. LDC INTE
  2543. UJN AOL1 ABORT OVERLAY LOAD
  2544.  
  2545. * WAIT FOR 1DL.
  2546.  
  2547. LPP1 RJM KBIA SET RE-ENTRY
  2548. DFIM (CON SDCF),*+1
  2549. LDC 0
  2550. CFNC CLEAR DISPLAY
  2551. LDC ** READ PP INPUT REGISTER
  2552. LPPA EQU *-1
  2553. CRD CM
  2554. LDD CM+1 CHECK INPUT REGISTER
  2555. LMM LOVB+1
  2556. ZJN LPP2 IF *1DL*
  2557.  
  2558. * AOL - ABORT OVERLAY LOAD.
  2559.  
  2560. AOL LDN 0 CLEAR KEYBOARD MESSAGE
  2561. AOL1 STD KM
  2562. LDD LN RESET LEFT SCREEN DISPLAY
  2563. STD LS
  2564. LDC OVL SET LOAD ADDRESS
  2565. STD LA
  2566. DCN CH+40
  2567. CCF *+2,CH CLEAR CHANNEL FLAG
  2568. LDC KBI5 CLEAR OVERLAY LOAD
  2569. STM KBIA
  2570. LJM KBI3 RETURN
  2571.  
  2572.  
  2573. LPP2 LDD CM+2
  2574. LMC 7777
  2575. ZJN LPP4 IF TRANSMISSION READY
  2576. SOM LPPD
  2577. SHN -14
  2578. ZJN LPP3 IF THE DELAY HAS NOT EXPIRED
  2579. LDC INTC
  2580. LPP3 DCN CH+40
  2581. CCF *+2,CH CLEAR CHANNEL FLAG
  2582. LJM KIC INCOMPLETE ENTRY
  2583.  
  2584. * INPUT OVERLAY.
  2585.  
  2586. LPP4 LDD TH
  2587. SBN 1
  2588. NJN *-1
  2589. DCN CH+40
  2590. * LDN 0 SET RECEIVE READY
  2591. STD CM+2
  2592. STD T1 SET TIMER
  2593. LDM LPPA
  2594. CWD CM
  2595. ACN CH+40
  2596. LPP5 FJM LPP6,CH IF CHANNEL FULL
  2597. SOD T1
  2598. NJN LPP5 IF NOT TIMED OUT
  2599. DCN CH+40
  2600. CCF *+2,CH CLEAR CHANNEL FLAG
  2601. * LDN 0
  2602. UJP AOL1 ABORT OVERLAY LOAD
  2603.  
  2604. LPP6 LCN 0 INPUT OVERLAY
  2605. STD T1
  2606. IAM OVL,CH
  2607. LPPC EQU *-1
  2608. LPP7 LDM LPPA CHECK INPUT REGISTER
  2609. CRD CM
  2610. LDD CM+1
  2611. LMM LOVB+1
  2612. NJN LPP8 IF *1DL* GONE
  2613. SOD T1
  2614. NJN LPP7 IF DELAY NOT EXPIRED
  2615. LPP8 LDD KM
  2616. LMC INTC
  2617. NJN LPP9 IF MESSAGE NOT *DISK BUSY.*
  2618. * LDN 0 CLEAR KEYBOARD BUFFER
  2619. STD KM
  2620. LPP9 CCF *+2,CH CLEAR CHANNEL FLAG
  2621. LJM LPPX RETURN
  2622.  
  2623.  
  2624. LPPD CON WDDC WAITING FOR DISK DELAY COUNT
  2625.  
  2626. ERRNG PPFW-* IF PP RESIDENT MEMORY OVERFLOW
  2627. LOC *O
  2628. QUAL *
  2629. PRPAL EQU *-PRPA
  2630. SPACE 4,10
  2631. ** DUMP INSTRUCTION MODIFICATION BLOCK.
  2632.  
  2633.  
  2634. DIMB
  2635. SPACE 4,10
  2636. OVERFLOW OVD
  2637. TTL DIS - DISPLAY OVERLAYS.
  2638. DISPLAY (DISPLAY A. - DAYFILE.)
  2639. .L SET 0 RESET *.L* FOR THE DISPLAY OVERLAYS
  2640. DSA SPACE 4
  2641. *** *A* DISPLAY.
  2642. *
  2643. * DISPLAYS ACCUMULATED DAYFILE MESSAGES FOR JOB.
  2644.  
  2645.  
  2646. DSA ENTRY DSA
  2647. DSA SUBR ENTRY/EXIT
  2648. DISPHD (DIS A. JOB DAYFILE.)
  2649. NFA LFCN READ NUMBER OF LOCAL FILES
  2650. CRD T2 (T6) = NUMBER OF LOCAL FILES - 1
  2651.  
  2652. * NEXT INSTRUCTION IS AN *SBK* BECAUSE THE TAGS ARE IN NFL.
  2653.  
  2654. SBK DAPN-LFCN READ DAYFILE BUFFER POINTERS
  2655. CRD AB
  2656. ADN 1
  2657. CRD T1
  2658. ADN 1 READ FILE STATUS
  2659. CRD CM
  2660. NFA DAYN SET ABSOLUTE VALUE OF FIRST
  2661. STD AB+1
  2662. SHN -14
  2663. STD AB
  2664. RJM SDF SET DISPLAY FWA
  2665.  
  2666. * DISPLAY NEXT LINE.
  2667.  
  2668. DSA1 LDN 2 OUTPUT COORDINATES
  2669. OAM XC,CH
  2670. DSA2 LDN 6 SET WORD COUNT PER LINE
  2671. STD T5
  2672. DSA3 SOD T5
  2673. MJN DSA6 IF EDGE OF SCREEN
  2674. LDD AB DISPLAY NEXT WORD
  2675. LPN 77
  2676. SHN 14
  2677. ADD AB+1
  2678. ADD T7
  2679. CRD CM
  2680. RJM DWD DISPLAY WORD
  2681. AOD T7 UPDATE INDEX
  2682. LMD T3
  2683. NJN DSA4 IF NOT AT END OF BUFFER
  2684. STD T7
  2685. DSA4 LDD T7
  2686. LMD T2
  2687. ZJN DSA7 IF ALL DATA DISPLAYED
  2688. LDD CM+4
  2689. NJN DSA3 IF NOT END OF LINE
  2690. LDD T5
  2691. LMN 5
  2692. NJN DSA5 IF NOT FIRST WORD OF LINE
  2693. LDD CM
  2694. ZJN DSA1 IF NULL LINE
  2695. DSA5 LCN YINC UPDATE Y-COORDINATE
  2696. RAD YC
  2697. UJN DSA1 PROCESS NEXT LINE
  2698.  
  2699. DSA6 LDC CH11 ADJUST X-COORDINATE FOR SECOND LINE
  2700. OAN CH+40
  2701. LCN YINC MOVE DOWN ONE LINE
  2702. RAD YC
  2703. OAN CH+40
  2704. LJM DSA2 FINISH CURRENT LINE
  2705.  
  2706. * DISPLAY FILES TO END OF SCREEN.
  2707.  
  2708. DSA7 LCN 2*YINC SET Y-COORDINATE
  2709. ADM SDFA
  2710. OAN CH+40
  2711. SBN YINC
  2712. STD YC
  2713. LDD SM
  2714. ZJN DSA8 IF UNSECURED SYSTEM
  2715. LDN DSAB2-DSAB1
  2716. DSA8 ADN DSAB1
  2717. OAM DSAB,CH DISPLAY COLUMN HEADERS
  2718. * LDN 0
  2719. STM /COMDDIS/D4SB CLEAR *. *
  2720. STM /COMDSYS/D6SA
  2721. STM //DSAA+1 CLEAR NEXT INDEX
  2722. LDM //DSAA SET CURRENT INDEX
  2723. STD T7
  2724. SHN 1
  2725. ADD T7
  2726. STD T1
  2727. LDC FNTN-LENF
  2728. ADD T1
  2729. STD FA
  2730. DSA9 LDN LENF ADVANCE FNT ADDRESS
  2731. RAD FA
  2732. SBD NL
  2733. PJN DSA10 IF END OF LOCAL FNT
  2734. AOD T7 ADVANCE FILE ORDINAL
  2735. NFA FA,R READ FNT ENTRY
  2736. CRD CM
  2737. LDD CM
  2738. ZJN DSA9 IF EMPTY ENTRY
  2739. LDC CH01 OUTPUT X-COORDINATE
  2740. OAN CH+40
  2741. LCN YINC DECREMENT Y-COORDINATE
  2742. RAD YC
  2743. OAN CH+40 OUTPUT Y-COORDINATE
  2744. SBM CBOS
  2745. PJN DSA11 IF NOT BOTTOM OF SCREEN
  2746. LDN MOREL
  2747. OAM MORE,CH DISPLAY *MORE*
  2748. SOD T7 SET NEXT INDEX
  2749. STM //DSAA+1
  2750. DSA10 LDC 2R. RESTORE *. *
  2751. STM /COMDDIS/D4SB
  2752. STM /COMDSYS/D6SA
  2753. LJM DSAX RETURN
  2754.  
  2755. DSA11 LDD T7 DISPLAY NUMBER
  2756. SBN 1
  2757. RJM D4S
  2758. LDN 0 SKIP TWO SPACES
  2759. OAN CH+40
  2760. LDN 3 DISPLAY NAME
  2761. OAM CM,CH
  2762. LDD CM+3
  2763. SCN 77
  2764. OAN CH+40
  2765. LDC CH18 OUTPUT X-COORDINATE
  2766. OAN CH+40
  2767. LDD CM+4 INDEX = TYPE
  2768. SHN 14
  2769. STD T1
  2770. SHN -14
  2771. STD T9
  2772. LDM TFNT,T1 DISPLAY TYPE
  2773. OAN CH+40
  2774. LDD CM+3 EXTRACT LOCK BIT
  2775. LPN 1
  2776. ZJN DSA12 IF NOT LOCKED
  2777. LDC 2R*
  2778. DSA12 OAN CH+40 DISPLAY (*) FOR LOCK
  2779. NFA FA,R READ FST INFORMATION
  2780. ADN FSTL
  2781. CRD CM
  2782. ADN FUTL-FSTL READ FUT INFORMATION
  2783. CRD AB
  2784. LDD CM DISPLAY EQUIPMENT
  2785. RJM D4S
  2786. SFA EST,CM
  2787. ADK EQDE
  2788. CRD T1
  2789. LDD T1
  2790. SHN 21-13
  2791. PJN DSA13 IF NOT MASS STORAGE DEVICE
  2792. LDD CM+1 DISPLAY FIRST TRACK
  2793. RJM D4S
  2794. DSA13 LDC CH35 OUTPUT X-COORDINATE
  2795. OAN CH+40
  2796. LDM TSID,T9 DISPLAY ID STATUS
  2797. OAN CH+40
  2798. LDN 0
  2799. OAN CH+40
  2800. LDD CM+4 DISPLAY STATUS
  2801. RJM D6S
  2802. LDD SM
  2803. ZJN DSA14 IF UNSECURED SYSTEM
  2804. LDN 0
  2805. OAN CH+40
  2806. LDD AB+2 GET FILE ACCESS LEVEL
  2807. LPN 7
  2808. RJM DAL DISPLAY FILE ACCESS LEVEL
  2809. DSA14 LJM DSA9 DISPLAY NEXT FILE
  2810.  
  2811.  
  2812. DSAB CON CH02
  2813. DATA 4HFNT
  2814. CON CH09
  2815. DATA 4HNAME
  2816. CON CH17
  2817. DATA 30HTYPE EST TRACK FS STATUS
  2818. DSAB1 EQU *-DSAB
  2819. CON CH49
  2820. DATA 6HLEVEL
  2821. DSAB2 EQU *-DSAB
  2822. TSID SPACE 4,10
  2823. ** TSID - TABLE OF STATUS VALUE-ID CODE CORRESPONDENCES.
  2824.  
  2825.  
  2826. TSID INDEX
  2827. INDEX UPST,2RUP USER FILE PRIVACY
  2828. INDEX SSST,2RSS SPECIAL SYSTEM JOB FILE
  2829. INDEX CBST,2RCB CB CHECKPOINT FILE
  2830. INDEX CKST,2RCK CK CHECKPOINT FILE
  2831. INDEX SOST,2RSO SPECIAL OUTPUT FILE
  2832. INDEX AAST,2RAA APPLICATION ACCOUNTING FILE
  2833. INDEX NDST,2RND NO DROP FILE
  2834. INDEX MXST END OF TABLE
  2835. SDF SPACE 4,25
  2836. ** SDF - SET DISPLAY FWA.
  2837. *
  2838. * ENTRY (AB - AB+4) = FIRST WORD OF DAYFILE BUFFER POINTERS.
  2839. * (T1 - T1+4) = SECOND WORD OF DAYFILE BUFFER POINTERS.
  2840. * (CM - CM+4) = THIRD WORD OF DAYFILE BUFFER POINTERS.
  2841. *
  2842. * EXIT (T2) = *IN*.
  2843. * (T7) = POINTER WITHIN BUFFER TO FIRST LINE OF DISPLAY.
  2844. * (YC) = (*CTOS*).
  2845. * TO *DSAX* IF THE DAYFILE BUFFER IS EMPTY.
  2846. *
  2847. * USES AB+2, T2, T4, T7, T8, T9, CM - CM+4.
  2848. *
  2849. * NOTE - *SDF* USES THE FOLLOWING BYTES FROM THE DAYFILE BUFFER
  2850. * POINTER WORDS.
  2851. *
  2852. * (AB - AB+1) = FWA OF BUFFER.
  2853. * (AB+4) = *IN*.
  2854. * (T1+2) = *LIMIT*.
  2855. * (T1+4) = *OUT*.
  2856. * (CM+1) = FIRST TRACK OF DAYFILE FILE.
  2857. * (CM+2) = CURRENT TRACK OF DAYFILE FILE.
  2858. * (CM+3) = CURRENT SECTOR OF DAYFILE FILE.
  2859.  
  2860.  
  2861. SDF SUBR ENTRY/EXIT
  2862. LDD AB+4 START DISPLAY AT *IN*
  2863. STD T4
  2864. STD T7
  2865. STD T2 SAVE *IN*
  2866. LDD CM+1 COMPARE CURRENT TRACK AND FIRST TRACK
  2867. LMD CM+2
  2868. NJN SDF1 IF BUFFER DUMPED
  2869. LDD CM+3 COMPARE CURRENT SECTOR TO SYSTEM SECTOR
  2870. SBN FSMS+1
  2871. PJN SDF1 IF BUFFER DUMPED
  2872. LDD T1+4 START DISPLAY AT *OUT*
  2873. STD T4
  2874. LMD AB+4
  2875. NJN SDF1 IF *OUT* .NE. *IN*
  2876. LJM DSAX EXIT
  2877.  
  2878. SDF1 LDM CTOS SET Y-COORDINATE
  2879. STD YC
  2880. STD T9 INITIALIZE LINE COUNTER
  2881. LDM DCTY DETERMINE LAST LINE OF DAYFILE
  2882. ZJN SDF1.1 IF *CC545*
  2883. LDK 9D*YINC
  2884. SDF1.1 SBK 21D*YINC
  2885. ADD YC
  2886. STM SDFA SET LAST LINE OF DAYFILE
  2887. LDN 0
  2888. SDF2 STD T8 INITIALIZE LINE LENGTH COUNTER
  2889. STD AB+2 SAVE INITIAL VALUE
  2890. SDF2.1 SOD T7 DECREMENT POINTER
  2891. PJN SDF3 IF POINTER .GE. *FIRST*
  2892. ADD T1+2 POINTER = *LIMIT* - 1
  2893. STD T7
  2894. SDF3 SBD T4
  2895. NJN SDF3.1 IF NOT BACK TO START OF DISPLAY
  2896. LJM SDFX RETURN
  2897.  
  2898. SDF3.1 LDD AB READ WORD FROM BUFFER
  2899. SHN 14
  2900. LMD AB+1
  2901. ADD T7
  2902. CRD CM
  2903. AOD T8 INCREMENT LINE LENGTH COUNTER
  2904. LDD CM+4
  2905. NJN SDF2.1 IF NOT END OF LINE
  2906. LDD T8
  2907. SHN -1
  2908. NJN SDF5 IF NOT NULL LINE
  2909. SDF4 LDD CM
  2910. ZJN SDF2 IF NULL WORD
  2911. LDN 1
  2912. UJN SDF2 FIND NEXT LINE
  2913.  
  2914. SDF5 SHN -2
  2915. ZJN SDF6 IF LINE WAS SIX OR LESS WORDS LONG
  2916. LCN YINC
  2917. SDF6 SBN YINC
  2918. RAD T9 UPDATE LINE COUNT
  2919. SBM SDFA
  2920. ZJN SDF7 IF EXACTLY AT THE BOTTOM LINE
  2921. PJN SDF4 IF NOT AT THE BOTTOM LINE YET
  2922. LDD T8 GO BACK TO THE NEXT LINE
  2923. SBD AB+2 SKIP PAST NULL WORD IF NECESSARY
  2924. SDF7 ADN 1
  2925. RAD T7
  2926. SBD T1+2
  2927. MJN SDF8 IF POINTER .LT. *LIMIT*
  2928. STD T7
  2929. SDF8 LJM SDFX RETURN
  2930.  
  2931. SDFA CON T545-21D*YINC BOTTOM LINE FOR THE DAYFILE
  2932. DISPLAY (DISPLAY X. - EXCHANGE PACKAGE.)
  2933. DSB SPACE 4,10
  2934. *** *X* DISPLAY.
  2935. *
  2936. * DISPLAY OF THE BREAKPOINT ADDRESS LINE AND
  2937. * EXCHANGE PACKAGE WHEN THE CPU IS NOT ACTIVE.
  2938.  
  2939.  
  2940. DSX ENTRY DSX
  2941. DSX SUBR ENTRY/EXIT
  2942. DISPHD (DIS X. EXCHANGE PACKAGE.)
  2943.  
  2944. * DISPLAY BREAKPOINT ADDRESS LINE.
  2945.  
  2946. LDD BA CHECK BREAKPOINT ADDRESS
  2947. ADD BA+1
  2948. ZJN DSX1 IF NOT SET
  2949. DISPLA CH06,LN06,(BKP = )
  2950. LDD BA DISPLAY BREAKPOINT ADDRESS
  2951. SHN 14
  2952. LMD BA+1
  2953. RJM D6S
  2954.  
  2955. * DISPLAY EXCHANGE PACKAGE.
  2956.  
  2957. DSX1 LDD CP GET CPU STATUS
  2958. ADN STSW
  2959. CRD CM
  2960. LDD CM
  2961. SHN -11
  2962. LMN 1RA
  2963. ZJN DSXX IF JOB ACTIVE IN CPU 0
  2964. LMN 1RB&1RA
  2965. ZJN DSXX IF JOB ACTIVE IN CPU 1
  2966. LDC LN08 SET Y-COORDINATE
  2967. STD YC
  2968. LDN 0 CLEAR *. *
  2969. STM /COMDSYS/D6SA
  2970. STD T7 CLEAR EXCHANGE REGISTER INDEX
  2971. LDM CMEF
  2972. NJN DSX2 IF NOT CYBER 176 MAINFRAME
  2973. LDC 2RPS SET *PSD* REGISTER NAME
  2974. STM DSXBA
  2975. LDC 2RD
  2976. STM DSXCA
  2977. DSX2 LDD YC OUTPUT Y-COORDINATE
  2978. OAN CH+40
  2979. LDC CH06 OUTPUT X-COORDINATE
  2980. OAN CH+40
  2981. LDD CP
  2982. ADD T7
  2983. CRD CM
  2984. LPN 17
  2985. SBN 10
  2986. MJN DSX3 IF NOT *X* REGISTER
  2987. ADC 2RX0 DISPLAY *XX*
  2988. OAN CH+40
  2989. LDC 2R =
  2990. OAN CH+40
  2991. RJM D5F DISPLAY DIGITS 0-19
  2992. LJM DSX7 DISPLAY NEXT LINE
  2993.  
  2994. DSX3 LDM DSXB,T7 DISPLAY REGISTER LABEL
  2995. OAN CH+40
  2996. LDM DSXC,T7
  2997. OAN CH+40
  2998. LDC 2R=
  2999. OAN CH+40
  3000. LDD CM DISPLAY DIGITS 0-1
  3001. SHN -6
  3002. STD T0
  3003. ZJN DSX5 IF 2 LEADING ZEROS
  3004. SHN -3
  3005. ZJN DSX4 IF 1 LEADING ZERO
  3006. ADN 1R0
  3007. SHN 6
  3008. DSX4 LMD T0
  3009. SCN 70
  3010. ADN 1R0
  3011. OAN CH+40
  3012. LDD CM DISPLAY DIGITS 2-3
  3013. RJM D2D
  3014. LDD CM+1 DISPLAY DIGITS 4-7
  3015. RJM D4D
  3016. UJN DSX6 DISPLAY A REGISTER
  3017.  
  3018. * PROCESS 2 LEADING ZEROS.
  3019.  
  3020. DSX5 OAN CH+40 OUTPUT ZERO BYTE
  3021. LDD CM DISPLAY DIGITS 2-7
  3022. SHN 14
  3023. LMD CM+1
  3024. RJM D6S
  3025. DSX6 LDC CH25 OUTPUT X-COORDINATE
  3026. OAN CH+40
  3027. LDD T7 DISPLAY *AX*
  3028. ADC 2RA0
  3029. OAN CH+40
  3030. LDC 2R =
  3031. OAN CH+40
  3032. LDC CH30 OUTPUT X-COORDINATE
  3033. OAN CH+40
  3034. LDD CM+3 DISPLAY A REGISTER
  3035. SCN 77
  3036. SHN 6
  3037. LMD CM+2
  3038. SHN 6
  3039. RJM D6S
  3040. LDC CH41 OUTPUT X-COORDINATE
  3041. OAN CH+40
  3042. LDD T7 DISPLAY *BX*
  3043. ADC 2RB0
  3044. OAN CH+40
  3045. LDC 2R =
  3046. OAN CH+40
  3047. LDC CH46 OUTPUT X-COORDINATE
  3048. OAN CH+40
  3049. LDD CM+3 DISPLAY B REGISTER
  3050. LPN 77
  3051. SHN 14
  3052. LMD CM+4
  3053. RJM D6S
  3054. DSX7 LCN YINC DECREASE Y-COORDINATE
  3055. RAD YC
  3056. AOD T7 ADVANCE EXCHANGE ADDRESS
  3057. LPN 7
  3058. NJN DSX8 IF NOT END OF FIELD
  3059. LCN YINC DECREASE Y-COORDINATE
  3060. RAD YC
  3061. LDD T7 CHECK INDEX
  3062. LMN 20
  3063. ZJN DSX9 IF END OF DISPLAY
  3064. DSX8 LJM DSX2 LOOP
  3065.  
  3066. DSX9 LDC 2R. RESTORE *. * DISPLAY
  3067. STM /COMDSYS/D6SA
  3068. LDD BF
  3069. ZJN DSX10 IF BREAKPOINT NOT ACTIVE
  3070. DISPLA CH06,LN26,(+ AND - WILL SET *BKP* TO (P) +/- 1.)
  3071. DSX10 LJM DSXX RETURN
  3072.  
  3073.  
  3074. DSXB DATA H*P *
  3075. DATA H*RA*
  3076. DATA H*FL*
  3077. DSXBA DATA H*EM*
  3078. * DATA H*PS* (CYBER 176)
  3079. DATA H*RA*
  3080. DATA H*FL*
  3081. DATA H*MA*
  3082. DATA H*EE*
  3083.  
  3084. DSXC DATA 0
  3085. DATA 0
  3086. DATA 0
  3087. DSXCA DATA 0
  3088. * DATA L*D * (CYBER 176)
  3089. DATA L*E *
  3090. DATA L*E *
  3091. DATA 0
  3092. DATA L*A *
  3093. DISPLAY (DISPLAY F. - CENTRAL MEMORY 4 GROUPS OF 5.)
  3094. DSF SPACE 4
  3095. *** *F* DISPLAY.
  3096. *
  3097. * DISPLAY CM IN 4 GROUPS OF 5 DIGITS, WITH
  3098. * DISPLAY CODE TRANSLATION.
  3099.  
  3100.  
  3101. DSF ENTRY DSF
  3102. DSF SUBR ENTRY/EXIT
  3103. DISPHD (DIS F. CENTRAL MEMORY.)
  3104. LDC D4F SET WORD FORMAT
  3105. STD T6
  3106. LDC DSFA
  3107. * LDN (NON-ZERO) SIMULATE SECURED SYSTEM
  3108. STD T8
  3109. RJM DCM DISPLAY CENTRAL MEMORY
  3110. UJN DSFX
  3111. D5D SPACE 4
  3112. ** D5D - DISPLAY 5 DIGITS.
  3113. *
  3114. * ENTRY (A) = DIGITS RIGHT ADJUSTED.
  3115. *
  3116. * USES T1.
  3117. *
  3118. * CALLS D4D.
  3119.  
  3120.  
  3121. D5D SUBR ENTRY/EXIT
  3122. STD T1 UNPACK, CONVERT UPPER DIGIT
  3123. SHN -14
  3124. LPN 7
  3125. ADN 1R0
  3126. OAN CH+40 DISPLAY ONE DIGIT
  3127. LDD T1
  3128. RJM D4D DISPLAY 4 DIGITS
  3129. UJN D5DX RETURN
  3130. D4F SPACE 4
  3131. ** D4F - DISPLAY 4 GROUPS OF 5 DIGITS.
  3132. *
  3133. * ENTRY (CM - CM+4) = CONTENTS OF CM WORD.
  3134. *
  3135. * USES T1.
  3136. *
  3137. * CALLS D5D, DIN.
  3138.  
  3139.  
  3140. D4F SUBR ENTRY/EXIT
  3141. LDD XC OUTPUT X-COORD
  3142. ADC 110
  3143. OAN CH+40
  3144. LDD CM+1 PACK 1ST BYTE
  3145. SHN -11
  3146. STD T1
  3147. LDD CM
  3148. SHN 3
  3149. ADD T1
  3150. RJM D5D DISPLAY 5 DIGITS
  3151. LDD CM+2 PACK 2ND BYTE
  3152. SHN -6
  3153. STD T1
  3154. LDD CM+1
  3155. LPC 777
  3156. SHN 6
  3157. ADD T1
  3158. RJM D5D DISPLAY 5 DIGITS
  3159. LDD CM+3 PACK 3RD BYTE
  3160. SHN -3
  3161. STD T1
  3162. LDD CM+2
  3163. LPN 77
  3164. SHN 11
  3165. ADD T1
  3166. RJM D5D DISPLAY 5 DIGITS
  3167. LDD CM+3 PACK 4TH BYTE
  3168. LPN 7
  3169. SHN 14
  3170. ADD CM+4
  3171. RJM D5D DISPLAY 5 DIGITS
  3172. LDN 0 DISPLAY 2 SPACES
  3173. OAN CH
  3174. RJM DWD DISPLAY WORD
  3175. LJM D4FX RETURN
  3176. DISPLAY (DISPLAY G. - CM, 4 GROUPS OF 5.)
  3177. DSG SPACE 4
  3178. *** *G* DISPLAY.
  3179. *
  3180. * DISPLAY CM IN 4 GROUPS OF 5 DIGITS, WITH
  3181. * INSTRUCTION FORMAT TRANSLATION.
  3182.  
  3183.  
  3184. DSG ENTRY DSG
  3185. DSG SUBR ENTRY/EXIT
  3186. DISPHD (DIS G. CENTRAL MEMORY.)
  3187. LDC D4F SET WORD FORMAT
  3188. STD T6
  3189. LDC DSGA
  3190. * LDN (NON-ZERO) SIMULATE SECURED SYSTEM
  3191. STD T8
  3192. RJM DCM DISPLAY CENTRAL MEMORY
  3193. UJN DSGX RETURN
  3194. D5D SPACE 4
  3195. ** D5D - DISPLAY 5 DIGITS.
  3196. *
  3197. * ENTRY (A) = DIGITS RIGHT ADJUSTED.
  3198. *
  3199. * USES T1.
  3200. *
  3201. * CALLS D4D.
  3202.  
  3203.  
  3204. D5D SUBR ENTRY/EXIT
  3205. STD T1 UNPACK, CONVERT UPPER DIGIT
  3206. SHN -14
  3207. LPN 7
  3208. ADN 1R0
  3209. OAN CH+40 DISPLAY ONE DIGIT
  3210. LDD T1
  3211. RJM D4D DISPLAY 4 DIGITS
  3212. UJN D5DX RETURN
  3213. D4F SPACE 4
  3214. ** D4F - DISPLAY 4 GROUPS OF 5 DIGITS.
  3215. *
  3216. * ENTRY (CM - CM+4) = CONTENTS OF CM WORD.
  3217. *
  3218. * USES T1, T3.
  3219. *
  3220. * CALLS D5D, IIN.
  3221.  
  3222.  
  3223. D4F SUBR ENTRY/EXIT
  3224. LDD XC OUTPUT X-COORD
  3225. ADC 110
  3226. OAN CH+40
  3227. LDD CM+1 PACK 1ST BYTE
  3228. SHN -11
  3229. STD T1
  3230. LDD CM
  3231. SHN 3
  3232. ADD T1
  3233. RJM D5D DISPLAY 5 DIGITS
  3234. LDD CM+2 PACK 2ND BYTE
  3235. SHN -6
  3236. STD T1
  3237. LDD CM+1
  3238. LPC 777
  3239. SHN 6
  3240. ADD T1
  3241. RJM D5D DISPLAY 5 DIGITS
  3242. LDD CM+3 PACK 3RD BYTE
  3243. SHN -3
  3244. STD T1
  3245. LDD CM+2
  3246. LPN 77
  3247. SHN 11
  3248. ADD T1
  3249. RJM D5D DISPLAY 5 DIGITS
  3250. LDD CM+3 PACK 4TH BYTE
  3251. LPN 7
  3252. SHN 14
  3253. ADD CM+4
  3254. RJM D5D DISPLAY 5 DIGITS
  3255. LDN 0 DISPLAY 2 SPACES
  3256. OAN CH+40
  3257.  
  3258. * DISPLAY INSTRUCTION FORMAT TRANSLATION.
  3259.  
  3260. LDD XC SET PSEUDO X-COORDINATE
  3261. ADC 26D*10+110
  3262. STD T3
  3263. LDD CM DISPLAY PARCEL 0
  3264. SHN -3
  3265. RJM IIN INTERPRET INSTRUCTION
  3266. ZJN D4F1 IF 30 BIT INSTRUCTION
  3267. LDN 7*10 SET X-COORDINATE
  3268. ADD T3
  3269. OAN CH+40
  3270. LDD CM+1 DISPLAY PARCEL 1
  3271. LPC 777
  3272. RJM IIN INTERPRET INSTRUCTION
  3273. ZJN D4F2 IF 30 BIT INSTRUCTION
  3274. D4F1 LDC 14D*10 SET X-COORDINATE
  3275. ADD T3
  3276. OAN CH+40
  3277. LDD CM+2 DISPLAY PARCEL 2
  3278. LPN 77
  3279. SHN 14
  3280. LMD CM+3
  3281. SHN -11
  3282. RJM IIN
  3283. ZJN D4F3 IF 30 BIT INSTRUCTION
  3284. D4F2 LDC 21D*10 SET X-COORDINATE
  3285. ADD T3
  3286. OAN CH+40
  3287. LDD CM+3 DISPLAY PARCEL 3
  3288. LPN 7
  3289. SHN 14
  3290. LMD CM+4
  3291. SHN -6
  3292. RJM IIN
  3293. D4F3 LJM D4FX RETURN
  3294. IIN SPACE 4
  3295. ** IIN - INTERPRET AND DISPLAY INSTRUCTION.
  3296. *
  3297. * ENTRY (A) = 9 BIT OPCODE.
  3298. *
  3299. * EXIT (A) " 0 IF 15 BIT INSTRUCTION ENCOUNTERED.
  3300. *
  3301. * USES T1, T2.
  3302. *
  3303. * CALLS NONE.
  3304.  
  3305.  
  3306. * PROCESS 03X INSTRUCTIONS.
  3307.  
  3308. IIN1 LDD T1 GET OPCODE
  3309. LPN 7 GET X
  3310. STD T2
  3311. LDM O3T,T2 DISPLAY MNEMONIC
  3312. OAN CH+40
  3313. LDN 1RX DISPLAY * X*
  3314. OAN CH+40
  3315. LDN 0 SET 30 BIT INSTRUCTION FLAG
  3316. UJN IINX RETURN
  3317.  
  3318. * PROCESS 5X, 6X, 7X INSTRUCTIONS.
  3319.  
  3320. IIN2 SHN -3
  3321. STD T2 SAVE PRIMARY TYPE 5, 6, OR 7
  3322. LDM SIM,T2 DISPLAY MENMONIC
  3323. OAN CH+40
  3324. LDD T1 SET SUFFIX
  3325. LPN 70
  3326. SHN -2
  3327. STD T2
  3328. LDM SIT,T2 DISPLAY FIRST SUFFIX WORD
  3329. OAN CH+40
  3330. LDM SIT+1,T2 DISPLAY SECOND SUFFIX WORD
  3331. IIN3 OAN CH+40
  3332. LPN 70 SET 15/30 BIT INSTRUCTION FLAG
  3333.  
  3334. IIN SUBR ENTRY/EXIT
  3335. STD T1 SAVE OPCODE
  3336. SHN -3
  3337. SBN 3
  3338. ZJN IIN1 IF 03X INSTRUCTION
  3339. SBN 50-3
  3340. PJN IIN2 IF 5X, 6X, OR 7X
  3341.  
  3342. * PROCESS 01, 02, 04-47 INSTRUCTIONS.
  3343.  
  3344. ADN 50
  3345. STD T2
  3346. LDM IND,T2 GET TABLE INDICES
  3347. STD T2
  3348. SHN -6 GET MNEMONIC ORDINAL
  3349. STD T1
  3350. LDM TMN,T1 DISPLAY MNEMONIC
  3351. OAN CH+40
  3352. LDD T2
  3353. LPN 77 DISPLAY SUFFIX
  3354. SHN 1
  3355. STD T2
  3356. LDM OPT,T2 DISPLAY FIRST WORD OF SUFFIX WORD
  3357. OAN CH+40
  3358. LDM OPT+1,T2 DISPLAY SECOND SUFFIX WORD
  3359. UJN IIN3 EXIT
  3360.  
  3361.  
  3362. * O3T - TABLE OF 03X INSTRUCTION MNEMONICS.
  3363.  
  3364. O3T CON 2RZR ZERO
  3365. CON 2RNZ NON-ZERO
  3366. CON 2RPL POSITIVE
  3367. CON 2RNG NEGATIVE
  3368. CON 2RIR IN RANGE
  3369. CON 2ROR OUT OF RANGE
  3370. CON 2RDF DEFINITE
  3371. CON 2RID INDEFINITE
  3372.  
  3373. * SIM - TABLE OF SET INSTRUCTION MNEMONICS.
  3374.  
  3375. SIM CON 2RSA SET (AI)
  3376. CON 2RSB SET (BI)
  3377. CON 2RSX SET (XI)
  3378.  
  3379. * SIT - TABLE OF SET INSTRUCTION TYPES.
  3380.  
  3381. SIT DATA 3LA+K (AJ) + K
  3382. DATA 3LB+K (BJ) + K
  3383. DATA 3LX+K (XJ) + K
  3384. DATA 4HX+B (XJ) + (BK)
  3385. DATA 4HA+B (AJ) + (BK)
  3386. DATA 4HA-B (AJ) - (BK)
  3387. DATA 4HB+B (BJ) + (BK)
  3388. DATA 4HB-B (BJ) - (BK)
  3389.  
  3390. * IND - TABLE OF INDICES TO MNEMONIC CODES AND SUFFIXES FOR
  3391. * 01, 02, 04-47 INSTRUCTIONS.
  3392. *
  3393. * EACH ENTRY CONTAINS -
  3394. * VFD 6/ MNEMONIC TABLE ORDINAL.
  3395. * VFD 6/ SUFFIX TABLE ORDINAL.
  3396.  
  3397.  
  3398. IND BSS 0
  3399. LOC 0
  3400.  
  3401. CON 0000 00 - PS 0
  3402. CON 0101 01 - RJ/RWE
  3403. CON 0202 02 - JP B+K
  3404. CON 0000 03 - (INSTRUCTION PROCESSED SEPARATELY)
  3405. CON 0303 04 - EQ BB
  3406. CON 0403 05 - NE BB
  3407. CON 0503 06 - GE BB
  3408. CON 0603 07 - LT BB
  3409.  
  3410. CON 0704 10 - BX X
  3411. CON 0705 11 - BX X*X
  3412. CON 0706 12 - BX X+X
  3413. CON 0707 13 - BX X-X
  3414. CON 0710 14 - BX -X
  3415. CON 0711 15 - BXX*-X
  3416. CON 0712 16 - BXX+-X
  3417. CON 0713 17 - BXX--X
  3418.  
  3419. CON 1014 20 - LX JK
  3420. CON 1114 21 - AX JK
  3421. CON 1015 22 - LX XB
  3422. CON 1115 23 - AX XB
  3423. CON 1215 24 - NX XB
  3424. CON 1315 25 - ZX XB
  3425. CON 1415 26 - UX XB
  3426. CON 1515 27 - PX XB
  3427.  
  3428. CON 1606 30 - FX X+X
  3429. CON 1607 31 - FX X-X
  3430. CON 1706 32 - DX X+X
  3431. CON 1707 33 - DX X-X
  3432. CON 2006 34 - RX X+X
  3433. CON 2007 35 - RX X-X
  3434. CON 2106 36 - IX X+X
  3435. CON 2107 37 - IX X-X
  3436.  
  3437. CON 1605 40 - FX X*X
  3438. CON 2005 41 - RX X*X
  3439. CON 1705 42 - DX X*X
  3440. CON 2214 43 - MX JK
  3441. CON 1616 44 - FX X/X
  3442. CON 2016 45 - RX X/X
  3443. CON 2317 46 - NO
  3444. CON 2420 47 - CX X
  3445. LOC *O
  3446.  
  3447. * TMN - TABLE OF MNEMONICS FOR 01, 02, 04-47 INSTRUCTIONS.
  3448.  
  3449. TMN BSS 0
  3450. LOC 0
  3451.  
  3452. CON 2RPS PROGRAM/ERROR STOP
  3453. CON 2RRJ RETURN JUMP - READ/WRITE ECS/LCM
  3454. CON 2RJP GO TO BI+K
  3455. CON 2REQ GO TO K IF BI=BK
  3456. CON 2RNE GO TO K IF BI"BJ
  3457. CON 2RGE GO TO K IF BI\BJ
  3458. CON 2RLT GO TO K IF BI<BJ
  3459. CON 2RBX PERFORM BOOLEAN OPERATION
  3460. CON 2RLX PERFORM LOGICAL SHIFT
  3461. CON 2RAX PERFORM ARITHMETIC SHIFT
  3462. CON 2RNX NORMALIZE (XI,BJ FROM XK)
  3463. CON 2RZX ROUND AND NORMALIZE (XI,BJ FROM XK)
  3464. CON 2RUX UNPACK (XK TO XI,BJ)
  3465. CON 2RPX PACK (XI FROM XK,BJ)
  3466. CON 2RFX PERFORM SINGLE PRECISION F.P. OPERATION
  3467. CON 2RDX PERFORM DOUBLE PRECISION F.P. OPERATION
  3468. CON 2RRX PERFORM ROUNDED SINGLE PREC. F.P. OPERATION
  3469. CON 2RIX PERFORM INTEGER ARITHMETIC OPERATION
  3470. CON 2RMX SET A MASK OF JK BITS IN XI
  3471. CON 2RNO NO OPERATION (PASS)
  3472. CON 2RCX SET XI TO THE NUMBER OF 1 BITS IN XK
  3473. LOC *O
  3474.  
  3475. * OPT - SUFFIXES FOR 01, 02, 04-47 INSTRUCTIONS.
  3476.  
  3477. OPT BSS 0
  3478. DATA 3L
  3479. DATA 4H/RWE
  3480. DATA 3LB+K
  3481. DATA 3L BB
  3482. DATA 4H X
  3483. DATA 4HX*X
  3484. DATA 4HX+X
  3485. DATA 4HX-X
  3486. DATA 4H -X
  3487. DATA 4HX*-X
  3488. DATA 4HX+-X
  3489. DATA 4HX--X
  3490. DATA 4H JK
  3491. DATA 4H XB
  3492. DATA 4HX/X
  3493. DATA 4H
  3494. DATA 4H X
  3495. DISPLAY (DISPLAY H. - FILE NAME TABLE.)
  3496. DSH SPACE 4
  3497. *** *H* DISPLAY.
  3498. *
  3499. * DISPLAYS ALL FILES ASSIGNED TO CONTROL POINT ALONG WITH
  3500. * THE EQUIPMENT ASSIGNED TO THE FILES.
  3501. *
  3502. * EXAMPLE -
  3503. *
  3504. * 1 2 3 4 5 6
  3505. * 1234567890123456789012345678901234567890123456789012345678901234
  3506. *
  3507. * FNT NAME TYPE EST TRACK FS STATUS LEVEL
  3508. *
  3509. * 0 OUTPUT* IN* 6 1234 ND 5 LVLXXXX
  3510.  
  3511.  
  3512. DSH ENTRY DSH
  3513. DSH SUBR ENTRY/EXIT
  3514. DISPHD (DIS H. FILE STATUS.)
  3515. LDM CTOS
  3516. OAN CH+40
  3517. SBN YINC SET Y-COORDINATE
  3518. STD YC
  3519. LDD SM
  3520. ZJN DSH1 IF UNSECURED SYSTEM
  3521. LDN DSHB2-DSHB1
  3522. DSH1 ADN DSHB1
  3523. OAM DSHB,CH DISPLAY COLUMN HEADERS
  3524. * LDN 0
  3525. STM /COMDDIS/D4SB CLEAR *. *
  3526. STM /COMDSYS/D6SA
  3527. STM DSHA+1 CLEAR NEXT INDEX
  3528. LDM DSHA SET INDEX
  3529. STD T7
  3530. SHN 1
  3531. ADD T7
  3532. STD T1
  3533. LDC FNTN-LENF
  3534. ADD T1
  3535. STD FA
  3536. DSH2 LDN LENF ADVANCE FNT ADDRESS
  3537. RAD FA
  3538. SBD NL
  3539. MJN DSH4 IF NOT END OF LOCAL FNT
  3540. DSH3 LDC 2R. RESTORE *. *
  3541. STM /COMDDIS/D4SB
  3542. STM /COMDSYS/D6SA
  3543. LJM DSHX RETURN
  3544.  
  3545. DSH4 AOD T7 INCREMENT INDEX
  3546. NFA FA,R READ FNT ENTRY
  3547. CRD CM
  3548. LDD CM
  3549. ZJN DSH2 IF EMPTY ENTRY
  3550. LDC CH01 OUTPUT X-COORDINATE
  3551. OAN CH+40
  3552. LCN YINC DECREMENT Y-COORDINATE
  3553. RAD YC
  3554. OAN CH+40 OUTPUT Y-COORDINATE
  3555. SBM CBOS
  3556. NJN DSH5 IF NOT BOTTOM OF SCREEN
  3557. LDN MOREL
  3558. OAM MORE,CH DISPLAY *MORE*
  3559. SOD T7 SET NEXT INDEX
  3560. STM DSHA+1
  3561. UJN DSH3 RETURN
  3562.  
  3563. DSH5 LDD T7 DISPLAY NUMBER
  3564. SBN 1
  3565. RJM D4S
  3566. LDN 0 SKIP TWO SPACES
  3567. OAN CH+40
  3568. LDN 3 DISPLAY NAME
  3569. OAM CM,CH
  3570. LDD CM+3
  3571. SCN 77
  3572. OAN CH+40
  3573. LDC CH18 OUTPUT X-COORDINATE
  3574. OAN CH+40
  3575. LDD CM+4 INDEX = TYPE
  3576. SHN 14
  3577. STD T1
  3578. SHN -14
  3579. STD T9
  3580. LDM TFNT,T1 DISPLAY TYPE
  3581. OAN CH+40
  3582. LDD CM+3 EXTRACT LOCK BIT
  3583. LPN 1
  3584. ZJN DSH6 IF FILE UNLOCKED
  3585. LDC 2R* DISPLAY (*) FOR LOCK
  3586. DSH6 OAN CH+40
  3587. NFA FA,R READ FST INFORMATION
  3588. ADN FSTL
  3589. CRD CM
  3590. ADN FUTL-FSTL GET ACCESS LEVEL
  3591. CRD AB
  3592. LDD CM DISPLAY EQUIPMENT
  3593. RJM D4S
  3594. SFA EST,CM
  3595. ADK EQDE
  3596. CRD T1
  3597. LDD T1
  3598. SHN 21-13
  3599. PJN DSH6.1 IF NOT MASS STORAGE DEVICE
  3600. LDD CM+1 DISPLAY FIRST TRACK
  3601. RJM D4S
  3602. DSH6.1 LDC CH35 OUTPUT X-COORDINATE
  3603. OAN CH+40
  3604. LDM TSID,T9 DISPLAY ID STATUS
  3605. OAN CH+40
  3606. LDN 0
  3607. OAN CH+40
  3608. LDD CM+4 DISPLAY STATUS
  3609. RJM D6S
  3610. LDD SM
  3611. ZJN DSH7 IF UNSECURED SYSTEM
  3612. LDN 0
  3613. OAN CH+40
  3614. LDD AB+2 DISPLAY FILE ACCESS LEVEL
  3615. LPN 7
  3616. RJM DAL
  3617. DSH7 LJM DSH2 DISPLAY NEXT FILE
  3618.  
  3619.  
  3620. DSHB CON CH02
  3621. DATA 4HFNT
  3622. CON CH09
  3623. DATA 4HNAME
  3624. CON CH17
  3625. DATA 30HTYPE EST TRACK FS STATUS
  3626. DSHB1 EQU *-DSHB
  3627. CON CH49
  3628. DATA 6HLEVEL
  3629. DSHB2 EQU *-DSHB
  3630. TSID SPACE 4,10
  3631. * TSID - TABLE OF STATUS VALUE - ID CODE CORRESPONDENCES.
  3632.  
  3633.  
  3634. TSID INDEX
  3635. INDEX UPST,2RUP USER FILE PRIVACY
  3636. INDEX SSST,2RSS SPECIAL SYSTEM JOB FILE
  3637. INDEX CBST,2RCB CB CHECKPOINT FILE
  3638. INDEX CKST,2RCK CK CHECKPOINT FILE
  3639. INDEX SOST,2RSO SPECIAL OUTPUT FILE
  3640. INDEX AAST,2RAA APPLICATION ACCOUNTING FILE
  3641. INDEX NDST,2RND NO DROP FILE
  3642. INDEX MXST END OF TABLE
  3643. DISPLAY (DISPLAY M - EXTENDED MEMORY DISPLAY.)
  3644. DSM ENTRY DSM
  3645. DSM SPACE 4
  3646. *** *M* DISPLAY.
  3647. *
  3648. * DISPLAY EXTENDED MEMORY.
  3649.  
  3650.  
  3651. DSM14 DISPLA CH01,LN06,(EXTENDED MEMORY EQUIPMENT UNDEFINED.)
  3652.  
  3653. DSM SUBR ENTRY/EXIT
  3654. DISPHD (DIS M. EXTENDED MEMORY.)
  3655. LDD EB
  3656. ADD EB+1
  3657. ZJN DSM14 IF NO EXTENDED MEMORY DEFINED
  3658. LDD UE PRESET SHIFT INSTRUCTIONS
  3659. ADD TH
  3660. ERRNZ SHNI-1000
  3661. STM DSMF
  3662. LMN 77
  3663. SBN 11
  3664. STM DSMG
  3665. LDK MEFL SET EM CONFIGURATION
  3666. CRD CM
  3667. LDD CM+2
  3668. SHN 21-7
  3669. PJN DSM1 IF NOT EXPANDED ADDRESSING MODE
  3670. LCN 0
  3671. STM DSMA
  3672. DSM1 LDD CP
  3673. ADN ECSW EXTENDED MEMORY STATUS WORD
  3674. CRD AB
  3675. LDD AB+2 SET EXTENDED MEMORY RA (RAE)
  3676. SHN 14
  3677. ADD AB+3
  3678. DSMF SHN 0
  3679. * SHN UESC
  3680. SHN 11-14+22
  3681. STD T6
  3682. SHN 11-11+14-22
  3683. SCN 77
  3684. STD T7
  3685. LDD AB+4 SAVE EXTENDED MEMORY FL
  3686. STD T8
  3687. NJN DSM2 IF EXTENDED MEMORY FL ASSIGNED
  3688. LJM DSMX RETURN
  3689.  
  3690. DSM2 LDC DSMC SET ADDRESS OF ERROR STATUS WORDS
  3691. STD T3
  3692. LDN 0 SET RELATIVE LIST ADDRESS
  3693. STD T4
  3694. ADN 4
  3695. STD T5
  3696. SOM DSMB CHECK REREAD COUNTER
  3697. MJN DSM3 IF TIME TO REREAD
  3698. LJM DSM7 CHECK FOR ERRORS
  3699.  
  3700. DSM3 LDC //DSMA ADDRESS TABLE
  3701. STD T1
  3702. ADN 10 SET END OF TABLE
  3703. STD T2
  3704. LDN 0
  3705. STD AB
  3706. STD AB+2
  3707. LDN 10 SET UP ADDRESS LIST FOR ECSM FUNCTION
  3708. STM DSMB
  3709. SHN 6
  3710. STD AB+1 SET NUMBER OF WORDS IN EACH GROUP = 10
  3711. DSM4 LDI T1
  3712. LPC 777 MASK ADDRESS TO 21 BITS
  3713. * LPC 7777 (ABSOLUTE ESM MODE MASK)
  3714. DSMA EQU *-1
  3715. STI T1
  3716. STD AB+3
  3717. AOD T1
  3718. LDI T1
  3719. STD AB+4
  3720. LDD T7 ADD RAE TO EM ADDRESS
  3721. RAD AB+4
  3722. SHN -14
  3723. ADD T6
  3724. RAD AB+3
  3725. LDD EB
  3726. SHN 14
  3727. LMD EB+1
  3728. ADD T4
  3729. CWD AB WRITE ADDRESS LIST
  3730. AOD T4
  3731. AOD T1
  3732. LMD T2
  3733. NJN DSM4 IF NOT END OF ADDRESS TABLE
  3734. LDD EB+1 SET LIST ADDRESS IN *ECSM* REQUEST
  3735. STD CM+2
  3736. LDD EB
  3737. ADC 400 SET NUMBER OF ENTRIES IN LIST = 4
  3738. STD CM+1
  3739. LDC PELS*1000+200 SET *ECSM* READ LIST (USER) REQUEST
  3740. STD CM+3
  3741. MONITOR ECSM READ EXTENDED MEMORY
  3742. LDN 3
  3743. STM DSME
  3744. DSM6 SOD T4 READ ERROR RESPONSE
  3745. LDD EB
  3746. SHN 14
  3747. LMD EB+1
  3748. ADD T4
  3749. CRD CM
  3750. LDD CM+4
  3751. STM 0,T3
  3752. DSME EQU *-1
  3753. SOM DSME
  3754. PJN DSM6 IF NOT END OF TABLE
  3755. DSM7 LDN 0 TABLE INDEX
  3756. STD T6
  3757. LDC LN07 SET Y-COORDINATE
  3758. STD YC
  3759. DSM8 LDN 1 SET ERROR FLAG MASK
  3760. STD T4
  3761. LDI T3 SET ERROR BITS
  3762. STM DSMD
  3763. LDM //DSMA,T6 EXTENDED MEMORY ADDRESS
  3764. STD AB
  3765. LDM //DSMA+1,T6
  3766. STD AB+1
  3767. DSM9 LCN YINC DECREMENT Y-COORDINATE
  3768. RAD YC
  3769. LDD T4 CHECK FOR EXTENDED MEMORY ERROR
  3770. LPC 1
  3771. DSMD EQU *-1
  3772. ZJN DSM10 IF NO ERROR ON THIS WORD
  3773. CFNC BIVF BEGIN INVERSE VIDEO
  3774. LDD CC
  3775. ADD T5
  3776. LPN 3
  3777. DSM10 STD T2 SET INTENSIFICATION COUNT
  3778. LDN 2 OUTPUT COORDINATES
  3779. OAM XC,CH
  3780. LDD AB DISPLAY ADDRESS
  3781. RJM D4D
  3782. LDD AB+1
  3783. RJM D4D
  3784. LDD SM
  3785. ZJN DSM10.2 IF SYSTEM UNSECURED
  3786. LDD AB GET ADDRESS
  3787. SHN 14
  3788. LMD AB+1
  3789. DSMG SHN -11 CHECK ADDRESS
  3790. * SHN -11-UESC
  3791. SBD T8
  3792. MJN DSM10.2 IF ADDRESS WITHIN EM FL
  3793. LDN DCMFL DISPLAY SECURITY BLANKET
  3794. OAM DCMF,CH
  3795. UJN DSM10.3 CONTINUE
  3796.  
  3797. DSM10.2 LDD EB READ AND DISPLAY WORD
  3798. SHN 14
  3799. LMD EB+1
  3800. ADD T5
  3801. CRD CM
  3802. RJM D5F DISPLAY WORD
  3803. DSM10.3 LDM DCTY
  3804. NJN DSM10.4 IF CDC 721 CONSOLE
  3805. SOD T2
  3806. PJP DSM10 IF MORE INTENSIFICATION
  3807. DSM10.4 CFNC EIVF END INVERSE VIDEO
  3808. AOD AB+1 INCREMENT ADDRESS
  3809. SHN -12D
  3810. RAD AB
  3811. AOD T5
  3812. LDD T4 SHIFT MASK
  3813. SHN 1
  3814. STD T4
  3815. SHN -10
  3816. NJN DSM11 IF END OF GROUP
  3817. LJM DSM9 CHECK FOR ERRORS
  3818.  
  3819. DSM11 LCN YINC DECREMENT Y-COORDINATE
  3820. RAD YC
  3821. AOD T3 ADVANCE ERROR WORD POINTER
  3822. LDN 2
  3823. RAD T6
  3824. LMN 10
  3825. ZJN DSM13 IF END OF DISPLAY
  3826. LDM DCTY
  3827. ZJN DSM12 IF CC545 CONSOLE
  3828. LDD T6
  3829. LMN 4
  3830. ZJN DSM13 IF END OF DISPLAY FOR CDC 721 CONSOLE
  3831. DSM12 LJM DSM8 CHECK FOR ERRORS
  3832.  
  3833. DSM13 LJM DSMX RETURN
  3834.  
  3835. DSMB CON 0 REREAD COUNTER
  3836. DSMC BSS 4 ERROR INDICATION TEMPORARIES
  3837. DISPLAY (DISPLAYS T,U. - TEXT DISPLAYS.)
  3838. DST SPACE 4,10
  3839. *** DISPLAY T. TEXT DISPLAY.
  3840. *
  3841. * DISPLAYS TEXT FROM CENTRAL MEMORY IN CODED LINES.
  3842. * LINES ARE FOLDED AT 60 CHARACTERS.
  3843.  
  3844.  
  3845. DST ENTRY DST
  3846. DST SUBR ENTRY/EXIT
  3847. DISPHD (DIS T. TEXT DISPLAY.)
  3848. LDC DSTA DISPLAY CHARACTER TEXT
  3849. RJM DCT
  3850. UJN DSTX RETURN
  3851. DSU SPACE 4,10
  3852. *** DISPLAY U. TEXT DISPLAY.
  3853. *
  3854. * DISPLAYS TEXT FROM CENTRAL MEMORY IN CODED LINES.
  3855. * LINES ARE FOLDED AT 60 CHARACTERS.
  3856.  
  3857.  
  3858. DSU ENTRY DSU
  3859. DSU SUBR ENTRY/EXIT
  3860. DISPHD (DIS U. TEXT DISPLAY.)
  3861. LDC DSUA DISPLAY CHARACTER TEXT
  3862. RJM DCT
  3863. UJN DSUX RETURN
  3864. DCT SPACE 4,10
  3865. ** DCT - DISPLAY CHARACTER TEXT.
  3866. *
  3867. * ENTRY (A) = ADDRESS TABLE ADDRESS.
  3868. *
  3869. * USES T1, T4, T5, T6, T7, CM - CM+4.
  3870. *
  3871. * CALLS CYC, DLA, D6S, SMD.
  3872.  
  3873.  
  3874. DCT SUBR ENTRY/EXIT
  3875. STD T1
  3876. DISPLA CH01,BL01,(ADDRESS =)
  3877. LDI T1 SET DISPLAY ADDRESS
  3878. STD T6
  3879. SHN 14
  3880. ADM 2,T1
  3881. STD T7
  3882. RJM D6S DISPLAY ADDRESS
  3883. LDC LN06 SET Y-COORDINATE
  3884. STD YC
  3885. LCN 0 SET WORD COUNTER
  3886. STD T5
  3887. LDN T6 SET POINTER TO ADDRESS
  3888. STD T2
  3889. LDD SM GET SECURITY MODE
  3890. STD T8
  3891.  
  3892. * PROCESS END OF LINE.
  3893.  
  3894. DCT1 LCN 0 RESET CHARACTER COUNT
  3895. STD T4
  3896. RJM DLA DISPLAY LINE ADVANCE
  3897. DCT2 MJN DCTX IF END OF SCREEN
  3898.  
  3899. * DISPLAY LINE.
  3900.  
  3901. DCT3 AOD T5 ADVANCE MEMORY INDEX
  3902. LDD T6 CHECK ADDRESS .LE. 131K
  3903. SHN 14
  3904. ADD T7
  3905. ADD T5
  3906. MJN DCT2 IF ADDRESS .GT. 131K
  3907. SHN 14 READ MEMORY
  3908. ADD RA
  3909. SHN 6
  3910. CRD CM
  3911. AOD T4 ADVANCE CHARACTER COUNT
  3912. LMN 6
  3913. NJN DCT3.5 IF NOT END OF SCREEN
  3914. STD T4 RESET CHARACTER COUNT
  3915. RJM DLA DISPLAY LINE ADVANCE
  3916. MJN DCT2 IF END OF SCREEN
  3917. DCT3.5 RJM SMD SECURE MEMORY DISPLAY
  3918. ZJN DCT4 IF WORD MAY BE DISPLAYED
  3919. LDN DCMFL DISPLAY SECURITY BLANKET
  3920. OAM DCMF,CH
  3921. UJN DCT1 CONTINUE
  3922.  
  3923. DCT4 LDM DCTY
  3924. ZJN DCT5 IF THE CONSOLE IS A CC545
  3925. RJM CYC CHECK Y-COORDINATES
  3926. DCT5 LDN 5 DISPLAY WORD
  3927. OAM CM,CH
  3928. LDD CM+4
  3929. ZJP DCT1 IF END OF LINE
  3930. LJM DCT3 CONTINUE
  3931. CYC SPACE 4,10
  3932. ** CYC - CHECK Y-COORDINATES.
  3933. *
  3934. * ENTRY (CM - CM+4) = WORD TO BE CHECKED.
  3935. *
  3936. * EXIT OUT OF BOUNDS Y-COORDINATES REPLACED WITH *LN06*.
  3937. *
  3938. * USES T0.
  3939.  
  3940.  
  3941. CYC SUBR ENTRY/EXIT
  3942. LDN CM CHECK Y-COORDINATES
  3943. STD T0
  3944. CYC1 LDI T0
  3945. ADC -LN51
  3946. MJN CYC3 IF BYTE IS NOT A Y-COORDINATE
  3947. ADK -LN46+LN51
  3948. MJN CYC2 IF Y-COORDINATE IS IN THE TRAILER AREA
  3949. ADK -LN06-1+LN46
  3950. MJN CYC3 IF Y-COORDINATE IS NOT IN THE HEADER AREA
  3951. CYC2 LDC LN06 FORCE Y-COORDINATE TO LINE BELOW ADDRESS
  3952. STI T0
  3953. CYC3 AOD T0
  3954. SBN CM+5
  3955. MJN CYC1 IF MORE BYTES TO CHECK
  3956. UJN CYCX RETURN
  3957. DISPLAY (DISPLAY V. - CENTRAL MEMORY BUFFER.)
  3958. DSV SPACE 4
  3959. *** *V* DISPLAY.
  3960. *
  3961. * DISPLAY CM. THE DISPLAY TERMINATES AFTER 240 WORDS
  3962. * HAVE BEEN DISPLAYED ON A CC545 OR 120 WORDS HAVE
  3963. * BEEN DISPLAYED ON A CDC 721.
  3964.  
  3965.  
  3966. DSV ENTRY DSV
  3967. DSV SUBR ENTRY/EXIT
  3968. DISPHD (DIS V. CM BUFFER.)
  3969. DISPLA CH01,BL01,(ADDRESS =)
  3970. LDM DSVA SET DISPLAY ADDRESS
  3971. LPN 37
  3972. STD T6
  3973. SHN 14
  3974. LMM DSVA+1
  3975. STD T7
  3976. RJM D6S DISPLAY ADDRESS
  3977. LDN 50 SET LOOP COUNT FOR 40 GROUPS OF 6
  3978. STD T5
  3979. LDM DCTY
  3980. ZJN DSV1 IF CC545 CONSOLE
  3981. LDN 24 SET LOOP COUNT FOR 20 GROUPS OF 6
  3982. STD T5
  3983. DSV1 LDC LN06 SET Y-COORDINATE
  3984. STD YC
  3985. DSV2 RJM DLA DISPLAY LINE ADVANCE
  3986. LDN 6 SET GROUP SIZE
  3987. STD T1
  3988. LDN 0
  3989. STD T2
  3990. LDD T6 CHECK FWA .LE. 131K
  3991. SHN 14
  3992. LMD T7
  3993. PJN DSV3 IF FWA .LE. 131K
  3994. LJM DSVX RETURN
  3995.  
  3996. DSV3 ADN 6 CHECK FOR FINAL GROUP
  3997. PJN DSV4 IF NOT FINAL GROUP
  3998. LPN 7 SET FINAL GROUP SIZE
  3999. LMN 7
  4000. ADN 1
  4001. STD T1
  4002. DSV4 LDD T6 GET LWA
  4003. SHN 14
  4004. LMD T7
  4005. ADD T1
  4006. SHN -6 CHECK LWA
  4007. SBD FL
  4008. MJN DSV7 IF WORD GROUP MAY BE DISPLAYED
  4009. NJN DSV5 IF WORD GROUP IS SECURED AREA
  4010. LDD T7 DETERMINE NUMBER OF SECURED WORDS
  4011. ADD T1
  4012. LPN 77
  4013. STD T2
  4014. SBD T1
  4015. MJN DSV6 IF NOT ALL WORDS ARE IN SECURED AREA
  4016. DSV5 LDD T1
  4017. STD T2
  4018. DSV6 LDD T1 NUMBER OF WORDS WHICH CAN BE DISPLAYED
  4019. SBD T2
  4020. STD T1
  4021. DSV7 LDD T1
  4022. ZJN DSV8 IF NO WORDS TO DISPLAY
  4023. LDD T6 READ GROUP OF CM WORDS
  4024. SHN 6
  4025. ADD RA
  4026. SHN 6
  4027. ADD T7
  4028. CRM DSVC,T1
  4029. LDM DCTY
  4030. ZJN DSV7.1 IF THE CONSOLE IS A CC545
  4031. RJM CYC CHECK Y-COORDINATES
  4032. DSV7.1 LDD T1 DISPLAY GROUP OF CM WORDS
  4033. SHN 2
  4034. ADD T1
  4035. OAM DSVC,CH
  4036. DSV8 LDD T2
  4037. ZJN DSV9 IF NO SECURITY BLANKETS TO DISPLAY
  4038. SHN 2
  4039. ADD T2
  4040. OAM DSVD,CH DISPLAY SECURITY BLANKETS
  4041. DSV9 LDD T1 INCREMENT GROUP ADDRESS
  4042. ADD T2
  4043. RAD T7
  4044. SHN -14
  4045. RAD T6
  4046. SOD T5 DECREMENT GROUP COUNT
  4047. ZJN DSV10 IF ALL GROUPS DISPLAYED
  4048. LJM DSV2 DISPLAY NEXT LINE
  4049.  
  4050. DSV10 LJM DSVX RETURN
  4051.  
  4052. DSVC BSS 6*5 SCRATCH AREA FOR CURRENT LINE
  4053. DSVD BSS 0
  4054. DUP 6,1
  4055. DATA C$* SECURE *$
  4056. CYC SPACE 4,10
  4057. ** CYC - CHECK Y-COORDINATES.
  4058. *
  4059. * ENTRY (T1) = NUMBER OF WORDS TO BE CHECKED.
  4060. * (DSVC - DSVC+(T1)*5-1) = WORDS TO BE CHECKED.
  4061. *
  4062. * EXIT OUT OF BOUNDS Y-COORDINATES REPLACED WITH *LN06*.
  4063. *
  4064. * USES T1, T4.
  4065.  
  4066.  
  4067. CYC SUBR ENTRY/EXIT
  4068. LDD T1
  4069. SHN 2
  4070. ADD T1
  4071. STD T4
  4072. CYC1 SOD T4
  4073. MJN CYCX IF DONE, RETURN
  4074. LDM DSVC,T4
  4075. ADC -LN51
  4076. MJN CYC1 IF BYTE IS NOT A Y-COORDINATE
  4077. ADK -LN46+LN51
  4078. MJN CYC2 IF Y-COORDINATE IS IN THE TRAILER AREA
  4079. ADK -LN06-1+LN46
  4080. MJN CYC1 IF Y-COORDINATE IS NOT IN THE HEADER AREA
  4081. CYC2 LDC LN06 FORCE Y-COORDINATE TO LINE BELOW ADDRESS
  4082. STM DSVC,T4
  4083. UJN CYC1 CHECK NEXT BYTE
  4084. DISPLAY (DISPLAY Y. - MONITOR FUNCTIONS.)
  4085. DSY SPACE 4
  4086. *** *Y* DISPLAY.
  4087. *
  4088. * DISPLAY MNEMONICS AND VALUES OF ALL MONITOR FUNCTIONS.
  4089.  
  4090.  
  4091.  
  4092. DSY ENTRY DSY
  4093. DSY SUBR ENTRY/EXIT
  4094. DISPHD (DIS Y. MONITOR FUNCTIONS.)
  4095. * LDN 0 CLEAR FUNCTION TABLE INDEX
  4096. STD T6
  4097. STD T7
  4098. LDC CH01 SET X-COORDINATE
  4099. STD XC
  4100. DSY1 LDM CTOS SET Y-COORDINATE TO (*CTOS*) OR *LN06*
  4101. SBK LN06
  4102. MJN DSY1.1 IF STARTING LINE IS BELOW LINE 6
  4103. LDN 0
  4104. DSY1.1 ADK LN06
  4105. STD YC
  4106. DSY2 LDN 2 OUTPUT COORDINATES
  4107. OAM XC,CH
  4108. LDN 2 ADVANCE TABLE
  4109. RAD T7
  4110. LDM TFTN,T7
  4111. NJN DSY3 IF NOT END OF TABLE
  4112. LDC CH01 RESET X-COORDINATE
  4113. STD XC
  4114. LJM DSYX RETURN
  4115.  
  4116. DSY3 LDD T7 DISPLAY VALUE
  4117. SHN -1
  4118. RJM D4S
  4119. LDM TFTN,T7 DISPLAY FUNCTION NAME
  4120. OAN CH+40
  4121. LDM TFTN+1,T7
  4122. OAN CH+40
  4123. LDD T7
  4124. LPN 37
  4125. NJN DSY4 IF NOT END OF COLUMN
  4126. LDC XINC*14 ADVANCE X-COORDINATE
  4127. RAD XC
  4128. LJM DSY1 LOOP
  4129.  
  4130. DSY4 LPN 17
  4131. ZJN DSY5 IF DOUBLE SPACING
  4132. LDN YINC/2+1 DECREMENT Y-COORDINATE
  4133. SBM DCTY
  4134. SHN -1+22
  4135. DSY5 ADM DCTY
  4136. SBN YINC/2+1
  4137. SHN 2
  4138. RAD YC
  4139. LJM DSY2 LOOP
  4140. SPACE 4
  4141. * COMMON DECKS.
  4142.  
  4143.  
  4144. *CALL COMDTFN
  4145. CON 0
  4146. DISPLAY (DISPLAY Z. - DIRECTORY.)
  4147. DSZ SPACE 4
  4148. *** *Z* DISPLAY.
  4149. *
  4150. * DISPLAY DIRECTORY OF ALL DISPLAYS.
  4151.  
  4152.  
  4153. DSZ ENTRY DSZ
  4154. DSZ SUBR ENTRY/EXIT
  4155. DISPHD (DIS Z. DIRECTORY.)
  4156. LCN 0 CLEAR INDEX
  4157. STD T1
  4158. LDC CH13 SET X-COORDINATE
  4159. STD XC
  4160. LDM CTOS SET Y-COORDINATE TO (*CTOS*) OR *LN06*
  4161. SBK LN06
  4162. MJN DSZ0 IF STARTING LINE IS BELOW LINE 6
  4163. LDN 0
  4164. DSZ0 ADK LN06
  4165. STD YC
  4166. DSZ1 LDN 2 OUTPUT COORDINATES
  4167. OAM XC,CH
  4168. DSZ2 AOD T1 ADVANCE BYTE
  4169. LDM DSZA,T1 OUTPUT BYTE
  4170. OAN CH+40
  4171. NJN DSZ2 IF NOT END OF MESSAGE
  4172. LDM DCTY DECREMENT Y-COORDINATE
  4173. SHN 1
  4174. SBN YINC+2
  4175. RAD YC
  4176. LDM DSZA+1,T1 CHECK NEXT MESSAGE
  4177. NJN DSZ1 IF NOT EMPTY MESSAGE
  4178. LDC CH01 RESET X-COORDINATE
  4179. STD XC
  4180. LJM DSZX RETURN
  4181.  
  4182. DSZA BSS 0
  4183. DATA C*LEFT SCREEN ONLY DISPLAY*
  4184.  
  4185. DATA C* * BLANK LINE
  4186.  
  4187. DATA C*A JOB DAYFILE.*
  4188.  
  4189. DATA C*F CENTRAL MEMORY. FOUR GROUPS OF FIVE.*
  4190.  
  4191. DATA C*G CENTRAL MEMORY. FOUR GROUPS OF FIVE.*
  4192.  
  4193. DATA C*H FILE STATUS.*
  4194.  
  4195. DATA C*M EXTENDED MEMORY.*
  4196.  
  4197. DATA C*T TEXT DISPLAY.*
  4198.  
  4199. DATA C*U TEXT DISPLAY.*
  4200.  
  4201. DATA C*V CM BUFFER.*
  4202.  
  4203. DATA C*X EXCHANGE PACKAGE.*
  4204.  
  4205. DATA C*Y MONITOR FUNCTIONS.*
  4206.  
  4207. DATA C*Z DIRECTORY.*
  4208.  
  4209. DATA C* * BLANK LINE
  4210.  
  4211. DATA C* * BLANK LINE
  4212.  
  4213. DATA C*LEFT AND RIGHT SCREEN DISPLAYS*
  4214.  
  4215. DATA C* * BLANK LINE
  4216.  
  4217. DATA C*B JOB STATUS.*
  4218.  
  4219. DATA C*C CENTRAL MEMORY. FIVE GROUPS OF FOUR.*
  4220.  
  4221. DATA C*D CENTRAL MEMORY. FIVE GROUPS OF FOUR.*
  4222.  
  4223. DATA C*N BLANK SCREEN.*
  4224.  
  4225. DATA 0 END OF TABLE
  4226. TITLE OVERLAY CONTROL.
  4227. * TERMINATE DISPLAY OVERLAYS.
  4228.  
  4229.  
  4230. QUAL
  4231. HERE
  4232. DIS HERE
  4233. USE END FORCE /LITERALS*/
  4234. SPACE 4
  4235. * OVERLAY CONTROL.
  4236.  
  4237.  
  4238. .L MAX *,.L
  4239. .L SET .L+4-OVD
  4240. .L SET .L/5*5+OVD
  4241. OVL EQU .L+5
  4242. TTL DIS - COMMAND OVERLAYS.
  4243. COMMAND (CPU COMMANDS.)
  4244. ENTL, SPACE 4
  4245. *** ENTL,XXXXXX.
  4246. *
  4247. * ENTER CPU TIME LIMIT OF XXXXXX SECONDS.
  4248.  
  4249.  
  4250. ETL ENTRY
  4251. RJM ASD ASSEMBLE DIGITS
  4252. LDD AB+3 ENTER TIME LIMIT
  4253. LPN 77
  4254. STD CM+3
  4255. LDD AB+4
  4256. STD CM+4
  4257. LDN RLTL SET TIME LIMIT SUBFUNCTION
  4258. STD CM+1
  4259. MONITOR RLMM
  4260. JMP KBR RETURN
  4261. GO. SPACE 4
  4262. *** GO.
  4263. *
  4264. * CLEAR PAUSE BIT.
  4265.  
  4266.  
  4267. GGO ENTRY
  4268. LDN ZERL
  4269. CRD AB
  4270. LDD CP READ SWITCH WORD
  4271. ADN SNSW
  4272. CRD CM
  4273. LDD CM+3 CLEAR PAUSE BIT
  4274. SCN 1
  4275. STD CM+3
  4276. LDD CP STORE SWITCH WORD
  4277. ADN SNSW
  4278. CWD CM
  4279. ADN MS2W-SNSW CLEAR MESSAGE 2
  4280. CWD AB
  4281. LDD RA READ (RA)
  4282. SHN 6
  4283. CRD CM
  4284. LDD CM+3 CLEAR PAUSE BIT
  4285. SCN 1
  4286. STD CM+3
  4287. LDD RA RESTORE (RA)
  4288. SHN 6
  4289. CWD CM
  4290. MONITOR RCLM RECALL CPU
  4291. JMP KBR RETURN
  4292. RCP. SPACE 4
  4293. *** RCP.
  4294. *
  4295. * REQUEST CENTRAL PROCESSOR.
  4296.  
  4297.  
  4298. RCP ENTRY
  4299. RJM ECP END CENTRAL PROGRAM
  4300. RJM BCP BEGIN CENTRAL PROGRAM
  4301. JMP KBR RETURN
  4302. RCS. SPACE 4
  4303. *** RCS.
  4304. *
  4305. * READ AND EXECUTE FOLLOWING COMMANDS.
  4306. *
  4307. * USES KM, CM - CM+4.
  4308.  
  4309.  
  4310. RCS ENTRY
  4311. LDC CJSA SET AUTO COMMAND MODE
  4312. STD KM
  4313. RJM CAJ CHECK JOB ACTIVITY
  4314. ZJN RNS1 IF NOT ACTIVE
  4315. JMP KBR RETURN
  4316. RNS. SPACE 4
  4317. *** RNS.
  4318. *
  4319. * READ AND EXECUTE NEXT COMMAND.
  4320.  
  4321.  
  4322. RNS ENTRY
  4323. LDN 0 CLEAR RSS
  4324. RNS1 STD T1
  4325. LDD CP READ COMMAND POINTER
  4326. ADN CSPW
  4327. CRD CM
  4328. LDD CM+3
  4329. LMD CM+4
  4330. NJN RNS2 IF BUFFER NOT EMPTY
  4331. LDD CM+1 CHECK STATUS
  4332. SHN 6
  4333. MJN RNS3 IF EOR
  4334. RNS2 LDC 20000 CALL *1AJ*
  4335. LMD T1
  4336. RJM IAJ
  4337. RNS3 JMP KBR RETURN
  4338. RSS. SPACE 4
  4339. *** RSS.
  4340. *
  4341. * READ COMMAND AND STOP BEFORE EXECUTION.
  4342.  
  4343.  
  4344. RSS ENTRY
  4345. LDN 1 SET RSS
  4346. JMP RNS1
  4347. DCP. SPACE 4
  4348. *** DCP.
  4349. *
  4350. * DROP CENTRAL PROCESSOR.
  4351.  
  4352.  
  4353. SCP ENTRY
  4354. RJM ECP END CENTRAL PROGRAM
  4355. LDN 0 CLEAR AUTO MODE
  4356. STD KM
  4357. JMP KBR RETURN
  4358. COMMAND (BREAKPOINT PROCESSING.)
  4359. BKPA SPACE 4,10
  4360. *** BKPA,XXXXXX.
  4361. *
  4362. * BREAKPOINT CENTRAL PROGRAM TO XXXXXX WITH ASSIGNED PP-S.
  4363.  
  4364.  
  4365. BKA ENTRY
  4366. LDC * SET *BKPA*
  4367. ORG *-1
  4368. LOC DISE
  4369. UJN DIS2 CHECK BREAKPOINT ADDRESS
  4370. LOC *O
  4371. UJN BKP1
  4372. BKP SPACE 4,10
  4373. *** BKP,XXXXXX.
  4374. *
  4375. * BREAKPOINT CENTRAL PROGRAM TO XXXXXX.
  4376.  
  4377.  
  4378. BKP ENTRY
  4379. LDC SODI+CM SET *BKP*
  4380. BKP1 STM DISE SET BREAKPOINT TYPE
  4381. LDD CA ASSEMBLE ADDRESS
  4382. RJM ASD
  4383. RJM ECP END CENTRAL PROGRAM
  4384. UJN BPP BREAKPOINT PROGRAM
  4385. BPI SPACE 4,10
  4386. ** BPI - BREAKPOINT P INCREMENT.
  4387. *
  4388. * ENTRY (CA) = 0, IF INCREMENT.
  4389. * = 2, IF DECREMENT.
  4390.  
  4391.  
  4392. BPI ENTRY
  4393. LDD CP
  4394. CRD CM READ P
  4395. LDD CM
  4396. SHN 14 ADVANCE P
  4397. ADD CM+1
  4398. ADN 1
  4399. SBD CA
  4400. STD AB+4 SAVE FOR BPP
  4401. SHN -14
  4402. STD AB+3
  4403. * UJN BPP BREAKPOINT PROGRAM
  4404. BPP SPACE 4,10
  4405. *** BPP - BREAKPOINT PROGRAM.
  4406. *
  4407. * ENTRY (AB - AB+4) = BREAKPOINT ADDRESS.
  4408.  
  4409.  
  4410. BPP ENTRY
  4411. LDD AB+3 CHECK ENTRY
  4412. LPN 37
  4413. SHN 14
  4414. LMD AB+4
  4415. ZJN BPP1 IF BREAKPOINT AT ZERO
  4416. SHN -6
  4417. SBD FL
  4418. MJN BPP2 IF NOT OUT OF RANGE
  4419. LDC =C*OUT OF RANGE.*
  4420. STD KM
  4421. BPP1 UJN BPP3 EXIT
  4422.  
  4423. BPP2 LDD AB+3 SET BREAKPOINT ADDRESS
  4424. STD BA
  4425. SHN 14
  4426. LMD AB+4
  4427. STD BA+1
  4428. SHN 14 FORM JUMP TO *
  4429. STD CM+1
  4430. SHN -6
  4431. SCN 77
  4432. STD CM+2
  4433. LDC 400 SET BREAKPOINT ACTIVE FLAG
  4434. STD BF
  4435. STD CM
  4436. LDN 0
  4437. STD CM+3
  4438. STD CM+4
  4439. LDD BA READ INSTRUCTION WORD
  4440. SHN 6
  4441. ADD RA
  4442. SHN 6
  4443. ADD BA+1
  4444. CRM RBWA,ON
  4445. SBN 1 STORE JUMP
  4446. CWD CM
  4447. RJM BCP BEGIN CENTRAL PROGRAM
  4448. BPP3 LJM KBR EXIT
  4449. MBK SPACE 4,10
  4450. *** MBK - MONITOR BREAKPOINT.
  4451. *
  4452. * USES KM, CM - CM+4.
  4453. *
  4454. * CALLS RBW.
  4455. *
  4456. * MACROS MONITOR.
  4457.  
  4458.  
  4459. MBK ENTRY
  4460. LDN ZERL
  4461. CRD CM
  4462. LDD BA
  4463. STD CM+3 SET BREAKPOINT ADDRESS INTO *RPNM* REQUEST
  4464. LDD BA+1
  4465. STD CM+4
  4466. MONITOR RPNM
  4467. LDD CM+4
  4468. NJN MBK1 IF BREAKPOINT NOT ENCOUNTERED
  4469. RJM RBW RESTORE BREAKPOINT WORD
  4470. LDD KM
  4471. LMC CJSA
  4472. NJN MBK1 IF NOT *AUTO MODE*
  4473. STD KM CLEAR *AUTO MODE*
  4474. MBK1 LJM DIS3 RETURN
  4475. COMMAND (STATEMENT ENTRY.)
  4476. ELS. SPACE 4
  4477. *** ELS.CCC - CCC
  4478. *
  4479. * ENTER CHARACTERS CCC - CCC AS LAST COMMAND.
  4480.  
  4481.  
  4482. ELS ENTRY
  4483. RJM CJA CHECK JOB ACTIVITY
  4484. LDD CM+3 CHECK BUFFER
  4485. LMD CM+4
  4486. NJN ELS2 IF BUFFER NOT EMPTY
  4487. LDC CSBN
  4488. STD CM+3
  4489. STD CM+4
  4490. LDD CM+1 CHECK COMMAND FILE
  4491. SHN 6
  4492. MJN ELS2 IF EOR
  4493. LDC =C*COMMANDS ON FILE.*
  4494. STD KM
  4495. UJN ELS4
  4496.  
  4497. ELS2 LDI CA
  4498. ZJN ELS4 IF KEYBOARD BUFFER EMPTY
  4499. RJM EST
  4500. ZJN ELS3 IF BUFFER NOT FULL
  4501. LDC =C*COMMAND BUFFER FULL.*
  4502. STD KM
  4503. UJN ELS4
  4504.  
  4505. ELS3 LDD CP STORE COMMAND POINTER
  4506. ADN CSPW
  4507. CWD CM
  4508. ELS4 LDD KM
  4509. ZJN ELS5 IF NO KEYBOARD MESSAGE
  4510. LMC CJSA
  4511. NJN ELS7 IF KEYBOARD MESSAGE SET
  4512. ELS5 LDN 4 SET KEYBOARD MESSAGE
  4513. STD KI
  4514. STD T1
  4515. ELS6 LDN 0 CLEAR REMAINDER OF BUFFER
  4516. STM KBUF,T1
  4517. AOD T1
  4518. LMN KBUFL
  4519. NJN ELS6
  4520. ELS7 JMP KBI3 RETURN
  4521. ENS. SPACE 4
  4522. *** ENS.CCC - CCC
  4523. *
  4524. * ENTER CHARACTERS CCC - CCC AS NEXT COMMAND.
  4525.  
  4526.  
  4527. ENS ENTRY
  4528. RJM CJA CHECK JOB ACTIVITY
  4529. LDD CM+1 SET EOR FLAG
  4530. LPC 3777
  4531. LMC 4000
  4532. STD CM+1
  4533. LDC CSBN SET BUFFER EMPTY
  4534. STD CM+3
  4535. STD CM+4
  4536. RJM EST ENTER STATEMENT
  4537. LDD CP STORE COMMAND POINTER
  4538. ADN CSPW
  4539. CWD CM
  4540. JMP KBR RETURN
  4541. CJA SPACE 4,10
  4542. ** CJA - CHECK JOB ACTIVITY AND RETURN COMMAND POINTER.
  4543. *
  4544. * EXIT TO KBI3, IF ACTIVITY EXITS.
  4545. * (CM - CM+4) = CSPW WORD.
  4546. *
  4547. * CALLS CAJ.
  4548.  
  4549.  
  4550. CJA1 LDD CP FETCH COMMAND POINTER WORD
  4551. ADN CSPW
  4552. CRD CM
  4553.  
  4554. CJA SUBR ENTRY/EXIT
  4555. RJM CAJ CHECK ACTIVE JOB
  4556. ZJN CJA1 IF NO ACTIVITY
  4557. LDC INTF MESSAGE = *JOB ACTIVE.*
  4558. STD KM
  4559. JMP KBI3 RETURN
  4560. EST SPACE 4
  4561. ** EST - ENTER STATEMENT (COMMAND).
  4562. *
  4563. * ENTRY (CA) = CHARACTER ADDRESS.
  4564. * (CM+4) = COMMAND BUFFER LIMIT POINTER.
  4565. *
  4566. * EXIT (A) = 0 IF BUFFER NOT FULL.
  4567. *
  4568. * USES T1.
  4569. *
  4570. * CALLS ASC.
  4571. *
  4572. * MACROS NFA.
  4573.  
  4574.  
  4575. EST SUBR ENTRY/EXIT
  4576. LDD CA SET CHARACTER ADDRESS
  4577. STD T1
  4578. LDI T1
  4579. ZJN ESTX RETURN IF KEYBOARD BUFFER EMPTY
  4580. EST1 LDD T1 ASSEMBLE CHARACTERS
  4581. RJM ASC
  4582. NFA CM+4,R STORE WORD
  4583. CWD AB
  4584. SOD CM+4 ADVANCE LIMIT POINTER
  4585. LDD AB+4
  4586. ZJN ESTX IF END OF COMMAND, RETURN
  4587. LDD CM+4
  4588. LMC CSBN-110
  4589. NJN EST1 IF COMMAND BUFFER NOT FULL
  4590. LDN 1
  4591. UJN ESTX RETURN
  4592. COMMAND (EXECUTE COMMANDS.)
  4593. GTO SPACE 4
  4594. *** BEGIN,CCC-CCC
  4595. * OR
  4596. * CALL,CCC-CCC
  4597. * OR
  4598. * GOTO,CCC-CCC
  4599. * OR
  4600. * ENTER./CCCCCCC./CCCCCCC./
  4601. *
  4602. * SET AUTO COMMAND PROCESSING AND EXECUTE COMMAND.
  4603.  
  4604.  
  4605. GTO ENTRY
  4606. LDD CP READ COMMAND POINTER
  4607. ADN CSSW
  4608. CRD CM
  4609. LDD CM
  4610. LPC 5777 CLEAR ADVANCE TO EXIT FLAG
  4611. STD CM
  4612. LDD CP
  4613. ADN CSSW
  4614. CWD CM
  4615.  
  4616. ESX ENTRY
  4617. LDC CJSA SET AUTO COMMAND PROCESSING
  4618. STD KM
  4619. LDC KBUF
  4620. STD CA
  4621. X. SPACE 4
  4622. *** X.CCC - CCC
  4623. * OR
  4624. * CCC - CCC
  4625. *
  4626. * EXECUTE CHARACTERS CCC - CCC AS NEXT COMMAND.
  4627.  
  4628.  
  4629. EXC ENTRY
  4630. LDI CA
  4631. ZJN EXC3 IF KEYBOARD BUFFER EMPTY
  4632. RJM EST ENTER STATEMENT
  4633. LDD CP CHECK SPECIAL ENTRY PENDING
  4634. ADC SEPW
  4635. CRD CM
  4636. LDD CM
  4637. LPN 24
  4638. ZJN EXC1 IF NOT PENDING
  4639. LDC LDNI+1 SET SPECIAL CALL FLAG
  4640. STM CJSD
  4641. LDN 2
  4642. UJN EXC2 CLEAN UP SPECIAL ENTRY POINTS
  4643.  
  4644. EXC1 LDC 20006 CALL *1AJ*
  4645. EXC2 RJM IAJ
  4646. EXC3 JMP KBR RETURN
  4647. ROLLOUT. SPACE 4
  4648. *** ROLLOUT.
  4649. *
  4650. * ALLOW JOB TO ROLLOUT.
  4651.  
  4652.  
  4653. ROL ENTRY
  4654. LDN ROSR SELECT SCHEDULER ROLLOUT OPTION
  4655. UJN ROL4 ISSUE *ROCM*
  4656. ROL1 SPACE 4,10
  4657. *** ROLLOUT,XXXX.
  4658. *
  4659. * SET TIMED ROLLOUT OF XXXX JOB SCHEDULER TIME PERIODS.
  4660. * IF XXXX .GT. 7777B, 7777B WILL BE USED.
  4661.  
  4662.  
  4663. ROL1 ENTRY
  4664. RJM ASD
  4665. LDD AB+3 SET ROLLOUT TIME
  4666. NJN ROL2 IF MAXIMUM ROLLOUT TIME EXCEEDED
  4667. LDD AB+4
  4668. UJN ROL3 STORE ROLLOUT TIME IN *TERW*
  4669.  
  4670. ROL2 LDC 7777 SET MAXIMUM TIME
  4671. ROL3 STD CM+4 SET TIME
  4672. LDK EXTM/10000 SET EVENT DESCRIPTOR
  4673. STD CM+3
  4674. LDN 0 CLEAR MULTIPLIER
  4675. STD CM+2
  4676. LDD MA WRITE TIMED/EVENT PARAMETERS TO MB
  4677. CWD CM
  4678. LDN ROTE SET TIMED/EVENT ROLLOUT OPTION
  4679. ROL4 STD CM+1
  4680. MONITOR ROCM ROLLOUT CONTROL POINT
  4681. LJM RPP SET *DIS* RECALL AND DROP PP
  4682. RSS, SPACE 4
  4683. *** RSS,CCC-CCC
  4684. *
  4685. * READ COMMAND CCC-CCC AND STOP BEFORE EXECUTION.
  4686.  
  4687.  
  4688. RSN ENTRY
  4689. LDI CA
  4690. ZJN RSN1 IF KEYBOARD BUFFER EMPTY
  4691. RJM EST ENTER STATEMENT
  4692. LDC 20007 CALL *1AJ*
  4693. RJM IAJ
  4694. RSN1 JMP KBR RETURN
  4695. EST SPACE 4
  4696. ** EST - ENTER (STATEMENT) COMMAND.
  4697. *
  4698. * ENTRY (CA) = CHARACTER ADDRESS.
  4699. *
  4700. * USES T1, T3.
  4701. *
  4702. * CALLS ASC.
  4703.  
  4704.  
  4705. EST SUBR ENTRY/EXIT
  4706. LDN MS1W SET ADDRESS FOR COMMAND
  4707. STD T3
  4708. LDD CA SET CHARACTER ADDRESS
  4709. STD T1
  4710. LDI T1
  4711. ZJN ESTX RETURN IF KEYBOARD BUFFER EMPTY
  4712. EST1 LDD T1 ASSEMBLE CHARACTERS
  4713. RJM ASC
  4714. LDD CP STORE WORD
  4715. ADD T3
  4716. CWD AB
  4717. AOD T3 ADVANCE COMMAND ADDRESS
  4718. LDD AB+4
  4719. ZJN ESTX IF END OF COMMAND
  4720. LDD T3
  4721. LMN MS2W
  4722. NJN EST1 IF NOT END OF BUFFER
  4723. LDC =C*COMMAND TOO LONG.*
  4724. STD KM
  4725. JMP KBR RETURN
  4726. COMMAND (ENTER REGISTER.)
  4727. ENA, SPACE 4
  4728. *** ENAX,YYYYYY.
  4729. *
  4730. * ENTER *A* REGISTER *X* WITH YYYYYY.
  4731.  
  4732.  
  4733. ENA ENTRY
  4734. RJM REG SET UP REGISTER ENTRY
  4735. LDD CP READ REGISTER WORD
  4736. ADD T7
  4737. CRD CM
  4738. LDD AB+3 REPLACE A REGISTER
  4739. LPN 77
  4740. SHN 14
  4741. LMD AB+4
  4742. SHN 14
  4743. STD CM+2
  4744. SHN -6
  4745. LMD CM+3
  4746. SCN 77
  4747. LMD CM+3
  4748. STD CM+3
  4749. LDD CP RESTORE REGISTER WORD
  4750. ADD T7
  4751. CWD CM
  4752. JMP KBR RETURN
  4753. ENB, SPACE 4
  4754. *** ENBX,YYYYYY.
  4755. *
  4756. * ENTER *B* REGISTER *X* WITH YYYYYY.
  4757.  
  4758.  
  4759. ENB ENTRY
  4760. RJM REG SET UP REGISTER ENTRY
  4761. LDD CP READ REGISTER WORD
  4762. ADD T7
  4763. CRD CM
  4764. LDD AB+4 REPLACE B REGISTER
  4765. STD CM+4
  4766. LDD AB+3
  4767. LMD CM+3
  4768. LPN 77
  4769. LMD CM+3
  4770. STD CM+3
  4771. LDD CP RESTORE REGISTER WORD
  4772. ADD T7
  4773. CWD CM
  4774. JMP KBR RETURN
  4775. ENEM, SPACE 4
  4776. *** ENEM,X.
  4777. *
  4778. * ENTER EXIT MODE WITH X.
  4779.  
  4780.  
  4781. ENE ENTRY
  4782. RJM ASD ASSEMBLE DIGITS
  4783. RJM ECP END CENTRAL PROGRAM
  4784. LDD CP READ EXCHANGE PACKAGE
  4785. ADN 3
  4786. CRD CM
  4787. LDD AB+4 SET EXIT MODE
  4788. LMD CM
  4789. LPC 7007 RETAIN EXCHANGE PACKAGE FLAG BITS
  4790. LMD CM
  4791. STD CM
  4792. LDD CP STORE EXCHANGE PACKAGE
  4793. ADN 3
  4794. CWD CM
  4795. JMP KBR RETURN
  4796. ENP, SPACE 4
  4797. *** ENP,XXXXXX.
  4798. *
  4799. * ENTER *P* REGISTER WITH XXXXXX.
  4800.  
  4801.  
  4802. ENP ENTRY
  4803. RJM ASD ASSEMBLE DIGITS
  4804. RJM ECP END CENTRAL PROGRAM
  4805. LDD CP READ WORD
  4806. CRD CM
  4807. LDD AB+3 REPLACE P
  4808. LPN 37
  4809. STD CM
  4810. LDD AB+4
  4811. STD CM+1
  4812. LDD CP RESTORE WORD
  4813. CWD CM
  4814. JMP KBR RETURN
  4815. ENPR, SPACE 4
  4816. *** ENPR,XX.
  4817. *
  4818. * ENTER PRIORITY OF XX.
  4819. * IF NN = *, SET PRIORITY TO SERVICE CLASS VALUE.
  4820.  
  4821.  
  4822. EPR ENTRY
  4823. STD T1 SAVE CHARACTER ADDRESS
  4824. LDI T1
  4825. LMN 1R*
  4826. NJN EPR1 IF NOT ENPR,*.
  4827. LDM 1,T1
  4828. LMN 1R.
  4829. NJP ILL IF COMMAND NOT TERMINATED
  4830. LDN 0 SET PRIORITY TO SERVICE CLASS VALUE
  4831. STD CM+4
  4832. UJN EPR5 CHECK CURRENT CPU PRIORITY
  4833.  
  4834. EPR1 LDD T1
  4835. RJM ASD
  4836. LDD AB+4 SET REQUESTED PRIORITY
  4837. STD CM+4
  4838. SBN LJCS
  4839. PJN EPR4 IF .GE. LOWEST USER JOB PRIORITY
  4840. EPR3 LDC =C*INCORRECT PRIORITY.*
  4841. STD KM
  4842. JMP KBR RETURN
  4843.  
  4844. EPR4 SBN LSCS-LJCS
  4845. PJN EPR3 IF NOT .LT. SYSTEM PRIORITIES
  4846. EPR5 LDD CP CHECK CURRENT PRIORITY
  4847. ADN CWQW
  4848. CRD T1
  4849. LDD T1
  4850. SHN -3
  4851. ADC -200-LSCS
  4852. PJN EPR3 IF NOT .LT. SYSTEM PRIORITIES
  4853. LDN CPRS CHANGE CPU PRIORITY
  4854. STD CM+1
  4855. MONITOR SJCM
  4856. JMP KBR RETURN
  4857. REG SPACE 4
  4858. ** REG - SET UP REGISTER ENTRY.
  4859. *
  4860. * EXIT (T7) = REGISTER NUMBER.
  4861. *
  4862. * CALLS ASD, ECP.
  4863.  
  4864.  
  4865. REG2 LDM KBUF+3 CHECK 4TH CHARACTER
  4866. SBN 1R0
  4867. MJN REG1 IF ALPHA
  4868. STD T7 SET REGISTER NUMBER
  4869. SBN 10
  4870. PJN REG1 IF NOT OCTAL DIGIT
  4871. LDC KBUF+5 ASSEMBLE ENTRY
  4872. RJM ASD
  4873. RJM ECP END CENTRAL PROGRAM
  4874.  
  4875. REG SUBR ENTRY/EXIT
  4876. LDM KBUF+4 CHECK 5TH CHARACTER
  4877. LMN 1R,
  4878. ZJN REG2 IF *,*
  4879. REG1 LJM ILL INCORRECT ENTRY
  4880. COMMAND (ENTER X REGISTER.)
  4881. ENX, SPACE 4
  4882. *** ENXY,ZZZZ - ZZZZ.
  4883. * ENTER *X* REGISTER *Y* WITH ZZZZ - ZZZZ.
  4884. *
  4885. * ENXY,LZZZZ - ZZZZ.
  4886. * ENTER *X* REGISTER *Y* WITH ZZZZ - ZZZZ LEFT JUSTIFIED.
  4887. *
  4888. * ENXY,DCCCC - CCCC
  4889. * ENTER *X* REGISTER *Y* WITH CHARACTERS CCCC - CCCC.
  4890. *
  4891. * ENXY,B,ZZZZ.
  4892. * ENTER BYTE B OF *X* REGISTER *Y* WITH ZZZZ.
  4893. *
  4894.  
  4895.  
  4896. ENX ENTRY
  4897. LDM KBUF+4 CHECK 5TH CHARACTER
  4898. LMN 1R,
  4899. ZJN ENX2 IF *,*
  4900. ENX1 LJM ILL INCORRECT ENTRY
  4901.  
  4902. ENX2 LDM KBUF+3 CHECK 4TH CHARACTER
  4903. SBN 1R0
  4904. MJN ENX1 IF ALPHA
  4905. STD T7
  4906. SBN 10
  4907. PJN ENX1 IF NOT OCTAL DIGIT
  4908. LDN 0 SET ADDRESS
  4909. STD T6
  4910. LDD CP
  4911. ADN 10
  4912. RAD T7
  4913. RJM ECP END CENTRAL PROGRAM
  4914. LDC KBUF+4 SET CHARACTER ADDRESS
  4915. STD T1
  4916. RJM EWD ENTER WORD
  4917. JMP KBR RETURN
  4918. EWD SPACE 4
  4919. ** EWD - ENTER WORD.
  4920. *
  4921. * ENTRY (T1) = CHARACTER ADDRESS.
  4922. * (T6 - T7) = CM ADDRESS ABSOLUTE.
  4923. *
  4924. * USES T1, T5, AB - AB+4.
  4925. *
  4926. * CALLS CDR, CDL, ENI, ASC.
  4927.  
  4928.  
  4929. EWD SUBR ENTRY/EXIT
  4930. AOD T1 CHECK NEXT CHARACTER
  4931. LDI T1
  4932. LMN 1RD
  4933. NJN EWD1 IF NOT *D*
  4934. AOD T1 ASSEMBLE CHARACTERS
  4935. RJM ASC
  4936. LJM EWD5 STORE WORD
  4937. EWD1 LMN 1RL&1RD
  4938. NJN EWD2 IF NOT *L*
  4939. AOD T1 ASSEMBLE DIGITS LEFT ADJUSTED
  4940. RJM CDL
  4941. LMN 1R,
  4942. UJN EWD3 CHECK SEPARATOR
  4943.  
  4944. EWD2 LDD T1 CONVERT DIGITS RIGHT ADJUSTED
  4945. RJM CDR
  4946. LMN 1R,
  4947. NJN EWD3 IF NOT *,*
  4948. LDD AB+4 SAVE BYTE NUMBER
  4949. STD T5
  4950. SBN 5
  4951. PJN EWD4 IF > 4
  4952. AOD T1 ASSEMBLE DIGITS
  4953. RJM ASD
  4954. LDD AB+4 SAVE ENTRY
  4955. STD T1
  4956. LDD T6 READ WORD
  4957. SHN 14
  4958. ADD T7
  4959. CRD AB
  4960. LDD T1 STORE BYTE
  4961. STM AB,T5
  4962. UJN EWD5 STORE WORD
  4963.  
  4964. EWD3 LMN 1R.&1R,
  4965. ZJN EWD5 IF *.*
  4966. EWD4 LJM ILL INCORRECT ENTRY
  4967.  
  4968. EWD5 LDD T6 STORE WORD
  4969. SHN 14
  4970. ADD T7
  4971. CWD AB
  4972. LJM EWDX RETURN
  4973. CDL SPACE 4
  4974. ** CDL - CONVERT DIGITS LEFT JUSTIFIED.
  4975. *
  4976. * ENTRY (A) = ADDRESS OF CHARACTER STRING.
  4977. *
  4978. * EXIT (A) = NON-OCTAL CHARACTER FOUND.
  4979. * (AB - AB+4) = LEFT JUSTIFIED ASSEMBLY.
  4980. *
  4981. * USES T1, T2.
  4982. *
  4983. * CALLS NONE.
  4984.  
  4985.  
  4986. CDL SUBR ENTRY/EXIT
  4987. STD T1 STORE CHARACTER ADDRESS
  4988. LDN ZERL CLEAR ASSEMBLY
  4989. CRD AB
  4990. LDN AB SET BYTE ADDRESS
  4991. STD T2
  4992. CDL1 LDC SHNI&11 SET SHIFT
  4993. STM CDLA
  4994. CDL2 LDI T1 CHECK CHARACTER
  4995. SBN 1R0
  4996. MJN CDL4 IF ALPHA
  4997. SBN 1R8-1R0
  4998. MJN CDL3 IF OCTAL DIGIT
  4999. SBN 1R -1R8
  5000. NJN CDL4 IF NOT SPACE
  5001. AOD T1 SKIP SPACE
  5002. UJN CDL2 LOOP
  5003.  
  5004. CDL3 ADN 10 STORE DIGIT
  5005. CDLA SHN 11
  5006. RAI T2
  5007. AOD T1 ADVANCE CHARACTER
  5008. LCN 3 ADVANCE SHIFT
  5009. RAM CDLA
  5010. SHN -11
  5011. NJN CDL2 LOOP FOR 4 DIGITS
  5012. AOD T2 ADVANCE BYTE
  5013. LMN AB+5
  5014. NJN CDL1 LOOP FOR FULL WORD
  5015. CDL4 LDI T1 LOAD CHARACTER
  5016. LJM CDLX RETURN
  5017. COMMAND (ENTER MEMORY.)
  5018. ENM SPACE 4
  5019. *** ENTER MEMORY.
  5020. * XXXXXX,YYY - YYY. ENTER YYY - YYY IN MEMORY LOCATION XXXXXX.
  5021. *
  5022. * XXXXXX,LYYY - YYY. ENTER YYY - YYY LEFT JUSTIFIED IN
  5023. * MEMORY LOCATION XXXXXX.
  5024. *
  5025. * XXXXXX,Y,ZZZZ. ENTER ZZZZ IN BYTE Y, (0 - 4 FROM LEFT),
  5026. * OF MEMORY LOCATION XXXXXX.
  5027. *
  5028. * XXXXXX,DCCC - CCC. ENTER CHARACTERS CCC - CCC LEFT
  5029. * JUSTIFIED IN LOCATION XXXXXX.
  5030. *
  5031. * SUBSTITUTING A *+* FOR THE FIRST *,*, THE ADDRESS WILL BE
  5032. * INCREMENTED AND THE ENTRY LEFT UNCLEARED.
  5033.  
  5034.  
  5035. ENM ENTRY
  5036. LDC KBUF ASSEMBLE ADDRESS
  5037. RJM CDR
  5038. LMN 1R+
  5039. ZJN ENM3 IF *+*
  5040. LMN 1R,&1R+
  5041. ZJN ENM3 IF *,*
  5042. ENM1 JMP ILE INCORRECT ENTRY
  5043.  
  5044. ENM3 LDD T1 SAVE ADDRESS OF SEPARATOR
  5045. STD CA
  5046. LDD AB+3 SAVE ADDRESS
  5047. LPN 77
  5048. STD T6
  5049. SHN 14
  5050. LMD AB+4
  5051. STD T7
  5052. PJN ENM5 IF POSITIVE MEMORY
  5053. LMC -0
  5054. ADN 1
  5055. STD T7
  5056. SBD NL
  5057. ENM4 PJN ENM1 IF OUT OF NFL
  5058. NFA T7,R
  5059. STD T7 SET ABSOLUTE NFL ADDRESS
  5060. SHN -14
  5061. STD T6
  5062. UJN ENM6 ENTER WORD
  5063.  
  5064. ENM5 SHN -6
  5065. SBD FL
  5066. PJN ENM4 IF .GE. FL
  5067. LDD RA SET ABSOLUTE ADDRESS
  5068. SHN 6
  5069. RAD T7
  5070. SHN -14
  5071. RAD T6
  5072. ENM6 RJM EWD ENTER WORD
  5073. LDI CA CHECK FIRST SEPARATOR
  5074. LMN 1R+
  5075. NJN ENM7 IF NOT *+*
  5076. LDC EIE ENTER MEMORY/ENTER INSTRUCTION EXIT
  5077. JMP LOV
  5078.  
  5079. ENM7 JMP KBR RETURN
  5080. EWD SPACE 4,10
  5081. ** EWD - ENTER WORD.
  5082. *
  5083. * ENTRY (T1) = CHARACTER ADDRESS.
  5084. * (T6 - T7) = CM ADDRESS ABSOLUTE.
  5085. *
  5086. * USES T1, T5, AB - AB+4.
  5087. *
  5088. * CALLS CDR, CDL, ENI, ASC.
  5089.  
  5090.  
  5091. EWD SUBR ENTRY/EXIT
  5092. AOD T1 CHECK NEXT CHARACTER
  5093. LDI T1
  5094. LMN 1RD
  5095. NJN EWD1 IF NOT *D*
  5096. AOD T1 ASSEMBLE CHARACTERS
  5097. RJM ASC
  5098. LJM EWD6 STORE WORD
  5099.  
  5100. EWD1 LMN 1RI&1RD
  5101. NJN EWD2 IF NOT *I*
  5102. LDC ENI ENTER INSTRUCTION
  5103. JMP LOV
  5104.  
  5105. EWD2 LMN 1RL&1RI
  5106. NJN EWD3 IF NOT *L*
  5107. AOD T1 ASSEMBLE DIGITS LEFT ADJUSTED
  5108. RJM CDL
  5109. LMN 1R,
  5110. UJN EWD4 CHECK SEPARATOR
  5111.  
  5112. EWD3 LDD T1 CONVERT DIGITS RIGHT ADJUSTED
  5113. RJM CDR
  5114. LMN 1R,
  5115. NJN EWD4 IF NOT *,*
  5116. LDD AB+4 SAVE BYTE NUMBER
  5117. STD T5
  5118. SBN 5
  5119. PJN EWD5 IF > 4
  5120. AOD T1 ASSEMBLE DIGITS
  5121. RJM ASD
  5122. LDD AB+4 SAVE ENTRY
  5123. STD T1
  5124. LDD T6 READ WORD
  5125. SHN 14
  5126. LMD T7
  5127. CRD AB
  5128. LDD T1 STORE BYTE
  5129. STM AB,T5
  5130. UJN EWD6 STORE WORD
  5131.  
  5132. EWD4 LMN 1R.&1R,
  5133. ZJN EWD6 IF *.*
  5134. EWD5 JMP ILE INCORRECT ENTRY
  5135.  
  5136. EWD6 LDD T6 STORE WORD
  5137. SHN 14
  5138. LMD T7
  5139. CWD AB
  5140. LJM EWDX RETURN
  5141. CDL SPACE 4
  5142. ** CDL - CONVERT DIGITS LEFT JUSTIFIED.
  5143. *
  5144. * ENTRY (A) = ADDRESS OF CHARACTER STRING.
  5145. *
  5146. * EXIT (A) = NON-OCTAL CHARACTER FOUND.
  5147. * (AB - AB+4) = LEFT JUSTIFIED ASSEMBLY.
  5148. *
  5149. * USES T1, T2.
  5150.  
  5151.  
  5152. CDL SUBR ENTRY/EXIT
  5153. STD T1 STORE CHARACTER ADDRESS
  5154. LDN ZERL CLEAR ASSEMBLY
  5155. CRD AB
  5156. LDN AB SET BYTE ADDRESS
  5157. STD T2
  5158. CDL1 LDC SHNI&11 SET SHIFT
  5159. STM CDLA
  5160. CDL2 LDI T1 CHECK CHARACTER
  5161. SBN 1R0
  5162. MJN CDL4 IF ALPHA
  5163. SBN 1R8-1R0
  5164. MJN CDL3 IF OCTAL DIGIT
  5165. SBN 1R -1R8
  5166. NJN CDL4 IF NOT SPACE
  5167. AOD T1 SKIP SPACE
  5168. UJN CDL2 LOOP
  5169.  
  5170. CDL3 ADN 10 STORE DIGIT
  5171. CDLA SHN 11
  5172. RAI T2
  5173. AOD T1 ADVANCE CHARACTER
  5174. LCN 3 ADVANCE SHIFT
  5175. RAM CDLA
  5176. SHN -11
  5177. NJN CDL2 LOOP FOR 4 DIGITS
  5178. AOD T2 ADVANCE BYTE
  5179. LMN AB+5
  5180. NJN CDL1 LOOP FOR FULL WORD
  5181. CDL4 LDI T1 LOAD CHARACTER
  5182. LJM CDLX RETURN
  5183. COMMAND (ENTER INSTRUCTION.)
  5184. ENI SPACE 4
  5185. *** ENTER INSTRUCTION.
  5186. *
  5187. * XXXXXX,IY,ZZZZZ. ENTER ZZZZZ IN INSTRUCTION Y, (0 - 3 FROM
  5188. * LEFT), OF LOCATION XXXXXX. ZZZZZ MAY BE A 15 OR 30 BIT
  5189. * INSTRUCTION. ONE OR MORE BITS MUST BE SET IN UPPER 15
  5190. * BITS OF 30 BIT INSTRUCTION OR ENTRY WILL BE TREATED AS
  5191. * 15 BIT OPERATION.
  5192. *
  5193. * SUBSTITUTING A *+* FOR THE FIRST *,*, THE ADDRESS WILL BE
  5194. * INCREMENTED AND THE ENTRY LEFT UNCLEARED.
  5195.  
  5196.  
  5197. ENI ENTRY
  5198. LDC KBUF ASSEMBLE ADDRESS
  5199. RJM CDR
  5200. LDD T1 SAVE ADDRESS OF SEPARATOR
  5201. STD CA
  5202. LDD AB+3 SAVE ADDRESS
  5203. LPN 37
  5204. STD T6
  5205. SHN 14
  5206. ADD AB+4
  5207. STD T7
  5208. LDD T6 ADD RA TO ADDRESS
  5209. SHN 6
  5210. ADD RA
  5211. SHN 6
  5212. RAD T7
  5213. SHN -14
  5214. STD T6
  5215. AOD T1 POSITION PAST *I*
  5216. AOD T1 ASSEMBLE DIGITS
  5217. RJM CDR
  5218. LMN 1R,
  5219. ZJN ENI2 IF COMMA
  5220. ENI1 JMP ILE INCORRECT ENTRY
  5221.  
  5222. ENI2 LDD AB+4 SET PARCEL COUNT
  5223. STD T5
  5224. SBN 4
  5225. PJN ENI1 IF NOT LESS THAN 4
  5226. AOD T1 ASSEMBLE ENTRY
  5227. RJM ASD
  5228. LDD T6 READ WORD
  5229. SHN 14
  5230. ADD T7
  5231. CRD CM
  5232. ENI3 LDM ENIB,T5 SET PARCEL ADDRESS
  5233. STM ENIA
  5234. LDD AB+3 CHECK INSTRUCTION
  5235. SHN -3
  5236. ADD AB+2
  5237. ZJN ENI4 IF 15 BIT
  5238. LDD AB+2 SET UPPER 15 BITS
  5239. LPN 77
  5240. SHN 14
  5241. LMD AB+3
  5242. SHN -3
  5243. UJN ENI5
  5244.  
  5245. ENI4 LDD AB+3 SET SECOND HALF
  5246. LPN 7
  5247. SHN 14
  5248. LMD AB+4
  5249. ENI5 LJM * REPLACE PARCEL
  5250.  
  5251. ENIA EQU *-1
  5252.  
  5253. * ENTER PARCEL 0.
  5254.  
  5255. ENI6 SHN 17
  5256. STD CM
  5257. SHN -6
  5258. LMD CM+1
  5259. LPC 7000
  5260. LMD CM+1
  5261. STD CM+1
  5262. UJN ENI10
  5263.  
  5264. * ENTER PARCEL 1.
  5265.  
  5266. ENI7 SHN 14
  5267. LMD CM+1
  5268. LPC 770777
  5269. LMD CM+1
  5270. STD CM+1
  5271. SHN -6
  5272. LMD CM+2
  5273. SCN 77
  5274. LMD CM+2
  5275. STD CM+2
  5276. UJN ENI10
  5277.  
  5278. * ENTER PARCEL 2.
  5279.  
  5280. ENI8 SHN 3
  5281. LMD CM+3
  5282. SCN 7
  5283. LMD CM+3
  5284. STD CM+3
  5285. SHN -14
  5286. LMD CM+2
  5287. LPN 77
  5288. LMD CM+2
  5289. STD CM+2
  5290. UJN ENI10
  5291.  
  5292. * ENTER PARCEL 3.
  5293.  
  5294. ENI9 STD CM+4
  5295. SHN -14
  5296. LMD CM+3
  5297. LPN 7
  5298. LMD CM+3
  5299. STD CM+3
  5300.  
  5301. * STORE WORD.
  5302.  
  5303. ENI10 AOD T5 ADVANCE PARCEL COUNT
  5304. SBN 4
  5305. PJN ENI11
  5306. LDD AB+3
  5307. SHN -3
  5308. ADD AB+2
  5309. ZJN ENI11 IF 15-BIT INSTRUCTION
  5310. LDN 0
  5311. STD AB+2
  5312. LDD AB+3
  5313. LPN 7
  5314. STD AB+3
  5315. LJM ENI3 LOOP TO NEXT INSTRUCTION
  5316.  
  5317. ENI11 LDD T6 STORE WORD
  5318. SHN 14
  5319. ADD T7
  5320. CWD CM
  5321. LDI CA CHECK FIRST SEPARATOR
  5322. LMN 1R+
  5323. ZJN ENI12 IF *+*
  5324. JMP KBR RETURN
  5325.  
  5326. ENI12 LDC EIE ENTER MEMORY/ENTER INSTRUCTION EXIT
  5327. LJM LOV
  5328.  
  5329. ENIB CON ENI6 PARCEL 0
  5330. CON ENI7 PARCEL 1
  5331. CON ENI8 PARCEL 2
  5332. CON ENI9 PARCEL 3
  5333. COMMAND (ENTER EXTENDED MEMORY.)
  5334. SPACE 4
  5335. *** ENTER EXTENDED MEMORY.
  5336. *
  5337. * XXXXXXXX,YY. ENTER YY IN EXTENDED MEMORY
  5338. * LOCATION XXXXXXXX, WHERE YY IS FROM 1 TO 20 DIGITS.
  5339. *
  5340. * XXXXXXXX,Y,ZZZZ. ENTER ZZZZ IN BYTE Y (0 - 4 FROM LEFT)
  5341. * OF EXTENDED MEMORY LOCATION XXXXXXXX.
  5342. *
  5343. * XXXXXXXX,DCC. ENTER CHARACTER(S) CC LEFT JUSTIFIED IN
  5344. * EXTENDED MEMORY LOCATION XXXXXXXX WHERE CC IS FROM
  5345. * 1 TO 10 CHARACTERS.
  5346. *
  5347. * SUBSTITUTING A *+* FOR THE FIRST *,* CAUSES THE
  5348. * ADDRESS TO BE INCREMENTED AND THE ENTRY LEFT UNCLEARED.
  5349.  
  5350.  
  5351. EEC ENTRY
  5352. LDD EB
  5353. SHN 14
  5354. LMD EB+1
  5355. NJN EEC2 IF EXTENDED MEMORY DEFINED
  5356. EEC1 JMP ILE INCORRECT ENTRY
  5357.  
  5358. EEC2 LDC KBUF+1 SET START OF ADDRESS
  5359. RJM CDR CONVERT DIGITS RIGHT JUSTIFIED
  5360. LMN 1R+ CHECK SEPARATOR
  5361. ZJN EEC3 IF *+*
  5362. LMN 1R,&1R+
  5363. NJN EEC1 IF NOT *,*
  5364. EEC3 LDC SHNI+77 PRESET SHIFT INSTRUCTION
  5365. SBD UE
  5366. STM EECA
  5367. LDD T1 SAVE ADDRESS
  5368. STD CA
  5369. LDD CP READ EXTENDED MEMORY RA AND FL
  5370. ADN ECSW
  5371. CRD CM
  5372. LDD AB+4 CHECK FOR ADDRESS OUT OF RANGE
  5373. SHN -11
  5374. SHN 17
  5375. ADD AB+3
  5376. SHN 3
  5377. EECA SHN 0
  5378. * SHN -UESC
  5379. SBD CM+4
  5380. PJN EEC1 IF ADDRESS .GE. FLE
  5381. LDD MA SAVE EXTENDED MEMORY ADDRESS
  5382. ADN 1
  5383. CWD AB
  5384. AOD T1 CHECK NEXT CHARACTER
  5385. LDI T1
  5386. LMN 1RD
  5387. ZJN EEC6 IF *D*
  5388. LDD T1 CONVERT DIGITS RIGHT JUSTIFIED
  5389. RJM CDR
  5390. LMN 1R, CHECK BYTE ENTRY
  5391. NJN EEC4 IF NOT *,*
  5392. LDD AB+4 SAVE BYTE NUMBER
  5393. STD T5
  5394. SBN 5
  5395. PJN EEC5 IF BYTE NUMBER TOO LARGE
  5396. AOD T1 ASSEMBLE DIGITS
  5397. RJM ASD
  5398. LDD AB+4 SAVE ENTRY
  5399. STD T1
  5400. LDN 0 READ EXTENDED MEMORY WORD
  5401. RJM RWE
  5402. LDD T1 STORE BYTE
  5403. STM AB,T5
  5404. UJN EEC7 STORE WORD
  5405.  
  5406. EEC4 LMN 1R.&1R,
  5407. ZJN EEC7 IF *.*
  5408. EEC5 JMP ILE PROCESS INCORRECT ENTRY
  5409.  
  5410. EEC6 AOD T1 ASSEMBLE CHARACTERS
  5411. RJM ASC
  5412. EEC7 LDN 1 WRITE EXTENDED MEMORY WORD
  5413. RJM RWE
  5414. LDI CA CHECK FIRST SEPARATOR
  5415. LMN 1R+
  5416. NJN EEC8 IF NOT *+*
  5417. LDC EIE ENTER MEMORY/ENTER EXTENDED MEMORY EXIT
  5418. JMP LOV LOAD OVERLAY
  5419.  
  5420. EEC8 JMP KBR EXIT
  5421. RWE SPACE 4,15
  5422. ** RWE - READ/WRITE RELATIVE EXTENDED MEMORY WORD.
  5423. *
  5424. * ENTRY (A) = 0 IF TO READ RELATIVE EXTENDED MEMORY WORD.
  5425. * = 1 IF TO WRITE RELATIVE EXTENDED MEMORY WORD.
  5426. * (AB - AB+4) = EXTENDED MEMORY WORD IF TO WRITE.
  5427. * (MB+1) = EXTENDED MEMORY ADDRESS.
  5428. *
  5429. * EXIT (AB - AB+4) = EXTENDED MEMORY WORD.
  5430. *
  5431. * USES T6, AB - AB+4, CM - CM+4.
  5432. *
  5433. * MACROS MONITOR.
  5434.  
  5435.  
  5436. RWE SUBR ENTRY/EXIT
  5437. STD T6 SAVE READ/WRITE FLAG
  5438. LDD MA SAVE EXTENDED MEMORY WORD
  5439. CWD AB
  5440. ADN 1 GET EXTENDED MEMORY ADDRESS
  5441. CRD CM
  5442. LDN RRES SET TO READ RELATIVE EXTENDED MEMORY
  5443. ADD T6 SET *ECSM* READ/WRITE SUBFUNCTION
  5444. ERRNZ WRES-RRES-1 CODE DEPENDS ON CONSECUTIVE VALUES
  5445. SHN 11
  5446. RAD CM+3
  5447. LDN 0 SET WORD COUNT TO TRANSFER 1 WORD
  5448. STD CM+1
  5449. LDD MA SET CM ADDRESS FOR TRANSFER
  5450. STD CM+2
  5451. MONITOR ECSM READ/WRITE RELATIVE EXTENDED MEMORY
  5452. LDD MA GET EXTENDED MEMORY WORD
  5453. CRD AB
  5454. UJN RWEX RETURN
  5455. COMMAND (ENTER MEMORY/ENTER INSTRUCTION EXIT.)
  5456. EIEX SPACE 4
  5457. ** EIE - ENTER MEMORY/ENTER INSTRUCTION EXIT.
  5458.  
  5459.  
  5460. EIE ENTRY
  5461. LDD CA SET PREVIOUS CHARACTER
  5462. SBN 1
  5463. STD T1
  5464. EIE2 LDI T1 CHECK CHARACTER
  5465. SBN 1RE
  5466. NJN EIE3 IF NOT *E*
  5467. LJM EIE11
  5468.  
  5469. EIE3 AOI T1
  5470. SBN 1R8
  5471. MJN EIE6 IF NO OVERFLOW
  5472. LDN 1R0 RESET NUMBER
  5473. STI T1
  5474. SOD T1 NEXT
  5475. ADC -KBUF
  5476. PJN EIE2 IF NOT PAST START OF BUFFER
  5477. LDN KBUFL-1
  5478. STD T1
  5479. EIE4 LDM KBUF,T1 MOVE CONTENTS OF BUFFER
  5480. STM KBUF+1,T1
  5481. SOD T1
  5482. PJN EIE4 IF BUFFER NOT MOVED
  5483. LDN 1R1 SET FIRST CHARACTER OF BUFFER
  5484. STM KBUF
  5485. EIE5 AOD KI INCREMENT KEYBOARD INDEX
  5486. AOD CA SKIP PREVIOUS CHARACTER
  5487. EIE6 AOD CA SKIP *+*
  5488. LDI CA CHECK NEXT CHARACTER
  5489. LMN 1RD
  5490. ZJN EIE7 IF *D*
  5491. LMN 1RI&1RD
  5492. ZJN EIE7 IF *I*
  5493. LMN 1RL&1RI
  5494. NJN EIE8 IF NOT *L*
  5495. EIE7 AOD CA SKIP CHARACTER
  5496. EIE8 LDD KM CHECK MESSAGE
  5497. NJN EIE10 IF SET
  5498. LDD CA SET ENTRY INDEX
  5499. ADC -KBUF
  5500. STD KI
  5501. STD T1 CLEAR BUFFER
  5502. EIE9 LDN 0
  5503. STM KBUF,T1
  5504. AOD T1
  5505. LMN KBUFL
  5506. NJN EIE9 IF BUFFER NOT MOVED
  5507. EIE10 LJM KBI3 RETURN
  5508.  
  5509. EIE11 LDN KBUFL-2 OVERFLOW PAST START OF ECS ADDRESS
  5510. STD T1
  5511. EIE12 LDM KBUF+1,T1 MOVE CONTENTS OF BUFFER
  5512. STM KBUF+2,T1
  5513. SOD T1
  5514. PJN EIE12 IF BUFFER NOT MOVED
  5515. LDN 1R1 SET FIRST CHARACTER OF ADDRESS
  5516. STM KBUF+1
  5517. LJM EIE5
  5518. COMMAND (CPU PROGRAM INTERFACE COMMANDS.)
  5519. M. SPACE 4
  5520. *** M.CCC - CCC
  5521. *
  5522. * ENTER CCC - CCC AS CPU PROGRAM COMMAND.
  5523. * DATA IS PASSED STARTING AT (RA+CCDR).
  5524.  
  5525.  
  5526. MCU ENTRY
  5527. LDD FL
  5528. NJN MCU1 IF FL GREATER THAN ZERO
  5529. LDC =C*OUT OF RANGE.*
  5530. STD KM SET ERROR MESSAGE
  5531. JMP KBR EXIT
  5532.  
  5533. MCU1 LDN CCDR
  5534. STD T3 SET COMMAND ADDRESS
  5535. LDD CA SET CHARACTER ADDRESS
  5536. STD T1
  5537. MCU2 LDD T1
  5538. RJM ASC ASSEMBLE CHARACTERS
  5539. LDD RA STORE WORD
  5540. SHN 6
  5541. ADD T3
  5542. CWD AB
  5543. AOD T3 ADVANCE WORD ADDRESS
  5544. LDD AB+4
  5545. NJN MCU2 IF NOT END OF COMMAND
  5546. LDN 2 SET KEYBOARD INDEX
  5547. STD KI
  5548. STD T1
  5549. MCU3 LDN 0 CLEAR REMAINDER OF BUFFER
  5550. STM KBUF,T1
  5551. AOD T1
  5552. LMN KBUFL
  5553. NJN MCU3 LOOP
  5554. JMP KBI3 RETURN
  5555. N. SPACE 4
  5556. *** N.
  5557. *
  5558. * SET CPU DIRECT INPUT MODE.
  5559.  
  5560.  
  5561. NCU ENTRY
  5562. RJM CKB CLEAR KEYBOARD BUFFER
  5563. LDC NCUA SET KEYBOARD MESSAGE
  5564. STD KM
  5565. RJM KBIA SET DIRECT INPUT MODE
  5566.  
  5567. * RE-ENTRY FROM KEYBOARD INPUT.
  5568.  
  5569. LDD KE CHECK CHARACTER
  5570. ZJN NCU3 IF NO INPUT
  5571. LMN 53
  5572. NJN NCU1 IF NOT LEFT BLANK
  5573. AOM NCUB COUNT LEFT BLANK
  5574. LMN 2
  5575. NJN NCU2 IF NOT 2 IN SUCCESSION
  5576. STD KM CLEAR KEYBOARD MESSAGE
  5577. LDC KBI5 RESET KEYBOARD INPUT
  5578. STM KBIA
  5579. NCU1 LDN 0 CLEAR COUNT
  5580. STM NCUB
  5581. NCU2 LDD FL
  5582. ZJN NCU3 IF NO MEMORY
  5583. LDN ZERL STORE INPUT CHARACTER
  5584. CRD CM
  5585. LDD KE
  5586. STD CM+4
  5587. LDD RA
  5588. SHN 6
  5589. ADN CCDR
  5590. CWD CM
  5591. NCU3 JMP KBI3 RETURN
  5592.  
  5593. NCUA DATA 7001B
  5594. DATA C*DIRECT CPU INPUT.*
  5595. NCUB CON 0
  5596. COMMAND (ENTER FIELD LENGTH.)
  5597. ENFL, SPACE 4
  5598. *** ENFL,XXXXXX.
  5599. *
  5600. * ENTER FIELD LENGTH WITH XXXXXX. VALUE WILL BE
  5601. * ROUNDED TO NEXT HIGHER MULTIPLE OF 100B.
  5602.  
  5603.  
  5604. ENF ENTRY
  5605. RJM ASD ASSEMBLE DIGITS
  5606. RJM ECP END CENTRAL PROGRAM
  5607. LDD CP GET NFL SIZE
  5608. ADN FLSW
  5609. CRD CM
  5610. LDD AB+3 ROUND REQUEST
  5611. LPN 77
  5612. SHN 6
  5613. ADD CM INCLUDE NFL IN VALIDATION
  5614. SHN 6
  5615. ADD AB+4
  5616. ADN 77
  5617. MJN ENF1 IF FL .GT. 377700
  5618. SHN -6
  5619. SBD CM
  5620. STM RQSA
  5621. LDD CP CHECK FOR EXTENDED MEMORY ASSIGNED
  5622. ADN ECSW
  5623. CRD CM
  5624. LDD CM+4
  5625. ZJN ENF0 IF NO EXTENDED MEMORY ASSIGNED
  5626. LDM RQSA CHECK THAT REQUESTED CM IS ENOUGH FOR ECS
  5627. ADC -MCMX/100
  5628. MJN ENF1 IF .LT. MCMX WORDS REQUESTED WITH ECS
  5629. ENF0 RJM RQS REQUEST STORAGE
  5630. JMP KBR RETURN
  5631.  
  5632. ENF1 LDC =C*INCORRECT FL REQUEST.*
  5633. LJM RQS3
  5634. RQS SPACE 4
  5635. ** RQS - REQUEST STORAGE.
  5636. *
  5637. * ENTRY (RQSA) = FIELD LENGTH REQUESTED.
  5638. *
  5639. * CALLS RSI.
  5640.  
  5641.  
  5642. RQS4 STD KM
  5643. LDC KBI5 RESET KEYBOARD
  5644. STM KBIA
  5645.  
  5646. RQS SUBR ENTRY/EXIT
  5647. LDK WCDC SET KEYBOARD MESSAGE DELAY
  5648. STM RQSB
  5649. RQS1 LDC * REQUESTED FIELD LENGTH
  5650. RQSA EQU *-1
  5651. RJM RSI
  5652. ZJN RQS4 IF STORAGE ASSIGNED
  5653. MJN RQS2 IF NOT AVAILABLE
  5654. SOM RQSB
  5655. PJN RQS1.1 IF THE DELAY HAS NOT EXPIRED
  5656. LDC =C*WAITING FOR STORAGE.*
  5657. STD KM
  5658. RQS1.1 RJM KBIA RESUME KEYBOARD PROCESSING
  5659. LDD KE CHECK KEYBOARD ENTRY
  5660. LMN 53
  5661. NJN RQS1 IF NOT LEFT BLANK
  5662. RJM RSI CLEAR PENDING REQUEST IN *FLIW*
  5663. UJN RQS3
  5664.  
  5665. RQS2 LDC =C*STORAGE NOT AVAILABLE.*
  5666. RQS3 STD KM
  5667. LDC KBI5 RESET KEYBOARD
  5668. STM KBIA
  5669. JMP KBR RETURN
  5670.  
  5671.  
  5672. RQSB CON WCDC WAITING FOR CM DELAY COUNT
  5673. SPACE 4
  5674. * COMMON DECKS.
  5675.  
  5676.  
  5677. *CALL COMPRSI
  5678. COMMAND (ENTER EXTENDED MEMORY FIELD LENGTH.)
  5679. SPACE 4,10
  5680. *** ENFLE,XXXXX.
  5681. *
  5682. * ENTER EXTENDED MEMORY FIELD LENGTH WITH XXXXX*1000B.
  5683.  
  5684.  
  5685. EFX ENTRY
  5686. RJM ASD ASSEMBLE DIGITS
  5687. RJM ECP END CENTRAL PROGRAM
  5688. LDN ECRL DIRECT ACCESS ECS MUST BE DEFINED
  5689. CRD CM
  5690. LDD CM+1
  5691. ZJP EFX8 IF NO USER EXTENDED MEMORY
  5692. LDC SHNI+77 PRESET SHIFT INSTRUCTIONS
  5693. SBD UE
  5694. STM EFXB
  5695. ADK 6-77
  5696. STM EFXC
  5697. LDD CP EXTENDED MEMORY LENGTH CONTROL WORD
  5698. ADN ELCW
  5699. CRD CM
  5700. LDD AB+3 SET CURRENT AMOUNT REQUESTED
  5701. EFXB SHN 0
  5702. * SHN -UESC
  5703. NJN EFX2 IF .GE. 10000 WORD BLOCKS
  5704. LDD AB+3
  5705. ADD AB+4
  5706. ZJN EFX5 IF SETTING EXTENDED MEMORY FL TO ZERO
  5707. LDD FL CHECK FOR ENOUGH CM FOR ECS REQUEST
  5708. ADC -MCMX/100
  5709. MJN EFX4 IF NOT ENOUGH CM
  5710. LDD AB+3
  5711. SHN 14
  5712. LMD AB+4
  5713. EFXC SHN 6
  5714. * SHN 6-UESC
  5715. ADN 77
  5716. PJN EFX5 IF REQUEST .LE. 3777 BLOCKS
  5717. EFX2 LDC =C*REQUEST EXCEEDS MAXIMUM FLE.*
  5718. EFX3 LJM EFX9 RETURN WITH ERROR
  5719.  
  5720. EFX4 LDC =C*INSUFFICIENT FIELD LENGTH.*
  5721. UJN EFX3 RETURN WITH ERROR
  5722.  
  5723. EFX5 SHN -6 SET LAST EXTENDED MEMORY RFL
  5724. STD CM+1
  5725. LDD CP UPDATE EXTENDED MEMORY LENGTH CONTROL WORD
  5726. ADN ELCW
  5727. CWD CM
  5728. LDK WEDC SET KEYBOARD MESSAGE DELAY
  5729. STM EFXA
  5730. EFX6 LDD CM+1 REQUESTED FIELD LENGTH
  5731. RJM REI REQUEST ECS FIELD LENGTH CHANGE
  5732. ZJN EFX9 IF EXTENDED MEMORY ASSIGNED
  5733. MJN EFX8 IF EXTENDED MEMORY NOT AVAILABLE
  5734. SOM EFXA
  5735. PJN EFX7 IF DELAY HAS NOT EXPIRED
  5736. LDC =C*WAITING FOR EXTENDED MEMORY.*
  5737. STD KM
  5738. EFX7 RJM KBIA RESUME KEYBOARD PROCESSING
  5739. LDD KE CHECK KEYBOARD ENTRY
  5740. LMN 53
  5741. ZJN EFX9 IF LEFT BLANK (ABORT)
  5742. LDD CP READ EXTENDED MEMORY LENGTH CONTROL WORD
  5743. ADN ELCW
  5744. CRD CM
  5745. UJN EFX6 ISSUE RE-REQUEST
  5746.  
  5747. EFX8 LDC =C*EXTENDED MEMORY NOT AVAILABLE.*
  5748. EFX9 STD KM
  5749. LDC KBI5 RESET KEYBOARD
  5750. STM KBIA
  5751. JMP KBR RETURN
  5752.  
  5753.  
  5754. EFXA CON WEDC WAITING FOR EM DELAY COUNT
  5755. SPACE 4,10
  5756. *CALL COMPREI
  5757. COMMAND (CALL SPECIAL PP DISPLAYS TO CONTROL POINT.)
  5758. DDF SPACE 4,10
  5759. *** DDF.
  5760. *
  5761. * CALL *DDF* TO CONTROL POINT.
  5762.  
  5763.  
  5764. DDF ENTRY
  5765. LDC 3RFDD SET NAME TO *DDF*
  5766. EXECUTE DDF,=
  5767. UJN LSP LOAD SPECIAL PP
  5768. O26. SPACE 4
  5769. *** O26.
  5770. *
  5771. * CALL *O26* TO CONTROL POINT.
  5772.  
  5773.  
  5774. O26 ENTRY
  5775. LDC 3R6O2 SET NAME TO *O26*
  5776. EXECUTE O26,=
  5777. * UJN LSP LOAD SPECIAL PP
  5778. LSP SPACE 4,10
  5779. ** LSP - LOAD SPECIAL PP.
  5780. *
  5781. * ENTRY (A) = PP NAME.
  5782.  
  5783.  
  5784. LSP BSS 0 ENTRY
  5785. STM LSPA SAVE PP NAME
  5786. SHN -14
  5787. SHN 6
  5788. STM LSPB
  5789. RJM CAJ CHECK ACTIVE JOB
  5790. ZJN LSP1 IF JOB NOT ACTIVE
  5791. LDC INTF MESSAGE = *JOB ACTIVE.*
  5792. STD KM
  5793. JMP KBR
  5794.  
  5795. LSP1 LDD CP READ SPECIAL ENTRY INFORMATION
  5796. ADC SEPW
  5797. CRD CM
  5798. LDD CM
  5799. LPN 24
  5800. ZJN LSP2 IF NO SPECIAL ENTRY
  5801. LDN 2
  5802. RJM IAJ CALL 1AJ
  5803. LSP2 RJM RQS REQUEST STORAGE
  5804. LDC ** CHANGE NAME IN INPUT REGISTER
  5805. LSPA EQU *-1
  5806. STD IR
  5807. LDD IR+1
  5808. LPN 77
  5809. LMC **
  5810. LSPB EQU *-1
  5811. STD IR+1
  5812. LJM CDS LOAD THE PP
  5813. RQS SPACE 4
  5814. ** RQS - REQUEST STORAGE.
  5815. *
  5816. * USES CM - CM+4.
  5817. *
  5818. * CALLS RSI.
  5819.  
  5820.  
  5821. RQS4 STD KM
  5822. LDC KBI5 RESET KEYBOARD
  5823. STM KBIA
  5824.  
  5825. RQS SUBR ENTRY/EXIT
  5826. LDK WCDC SET KEYBOARD MESSAGE DELAY
  5827. STM RQSA
  5828. RQS1 LDD CP READ FL CONTROL
  5829. ADN FLCW
  5830. CRD CM
  5831. LDD CM+1 REQUEST STORAGE INCREASE
  5832. ZJN RQS1.0 IF NO FL SPECIFIED
  5833. SBN 2
  5834. MJN RQS1.3 IF INSUFFICIENT FL
  5835. SBN 76
  5836. RQS1.0 ADD HN
  5837. RQS1.1 RJM RSI
  5838. ZJN RQS4 IF STORAGE ASSIGNED
  5839. MJN RQS2 IF NOT AVAILABLE
  5840. SOM RQSA
  5841. PJN RQS1.2 IF THE DELAY HAS NOT EXPIRED
  5842. LDC =C*WAITING FOR STORAGE.*
  5843. STD KM
  5844. RQS1.2 RJM KBIA RESUME KEYBOARD PROCESSING
  5845. LDD KE CHECK KEYBOARD ENTRY
  5846. LMN 53
  5847. NJN RQS1 IF NOT LEFT BLANK
  5848. UJN RQS3
  5849.  
  5850. RQS1.3 LDC =C*INSUFFICIENT FIELD LENGTH.*
  5851. UJN RQS3 SET UP ERROR MESSAGE
  5852.  
  5853. RQS2 LDC =C*STORAGE NOT AVAILABLE.*
  5854. RQS3 STD KM
  5855. LDC KBI5 RESET KEYBOARD
  5856. STM KBIA
  5857. JMP KBR RETURN
  5858.  
  5859.  
  5860. RQSA CON WCDC WAITING FOR CM DELAY COUNT
  5861. SPACE 4
  5862. * COMMON DECKS.
  5863.  
  5864.  
  5865. *CALL COMPRSI
  5866. COMMAND (MISCELLANEOUS COMMANDS.)
  5867. CEF SPACE 4,10
  5868. *** CEF.
  5869. *
  5870. * CLEAR SKIP-TO-EXIT FLAG. THIS ALLOWS COMMAND PROCESSING
  5871. * TO CONTINUE WITH THE NEXT COMMAND INSTEAD OF SKIPPING TO
  5872. * THE *EXIT* COMMAND AFTER AN ERROR.
  5873.  
  5874.  
  5875. CEF ENTRY
  5876. RJM CAJ CHECK ACTIVE JOB
  5877. NJN CEF1 IF JOB ACTIVE
  5878. LDD CP READ *CSSW*
  5879. ADN CSSW
  5880. CRD CM
  5881. LDD CM CLEAR *SKIP TO EXIT* FLAG
  5882. LPC 5777
  5883. STD CM
  5884. LDD CP REWRITE *CSSW*
  5885. ADN CSSW
  5886. CWD CM
  5887. JMP KBR RETURN
  5888.  
  5889. CEF1 LDC INTF *JOB ACTIVE.*
  5890. STD KM
  5891. JMP KBR RETURN
  5892. OFFSW SPACE 4
  5893. *** OFFSWX.
  5894. *
  5895. * TURN SENSE SWITCH X OFF.
  5896.  
  5897.  
  5898. OFS ENTRY
  5899. RJM ASD ASSEMBLE DIGITS
  5900. LDD AB+4 COMPUTE SHIFT
  5901. LPN 7
  5902. ADC SHNI
  5903. STM OFSA
  5904. LDN 40
  5905. OFSA SHN 0
  5906. SCN 77
  5907. LMC -0 SET MASK
  5908. STM OFSB
  5909. LDD CP READ SWITCH WORD
  5910. ADN SNSW
  5911. CRD CM
  5912. LDD CM+4 CLEAR SWITCH
  5913. LPC 0
  5914. OFSB EQU *-1
  5915. STD CM+4
  5916. LDD CP RESTORE SWITCH WORD
  5917. ADN SNSW
  5918. CWD CM
  5919. LDD RA STORE IN (RA)
  5920. SHN 6
  5921. CWD CM
  5922. JMP KBR RETURN
  5923. ONSW SPACE 4
  5924. *** ONSWX.
  5925. *
  5926. * TURN SENSE SWITCH X ON.
  5927.  
  5928.  
  5929. ONS ENTRY
  5930. RJM ASD ASSEMBLE DIGITS
  5931. LDD AB+4 COMPUTE SHIFT
  5932. LPN 7
  5933. ADC SHNI
  5934. STM ONSA
  5935. LDN 40
  5936. ONSA SHN 0
  5937. SCN 77
  5938. STD T1
  5939. LMC -0 SET MASK
  5940. STM ONSB
  5941. LDD CP READ SWITCH WORD
  5942. ADN SNSW
  5943. CRD CM
  5944. LDD CM+4 SET SWITCH
  5945. LPC 0
  5946. ONSB EQU *-1
  5947. ADD T1
  5948. STD CM+4
  5949. LDD CP RESTORE WORD
  5950. ADN SNSW
  5951. CWD CM
  5952. LDD RA STORE IN (RA)
  5953. SHN 6
  5954. CWD CM
  5955. JMP KBR RETURN
  5956. UCC SPACE 4,4
  5957. *** UCC = C.
  5958. *
  5959. * SET UPPER CASE CHARACTER TO C.
  5960.  
  5961.  
  5962. UCC ENTRY
  5963. LDM KBIC CLEAR/SET UPPER CASE CONTROL
  5964. SCN 77
  5965. LMI CA
  5966. STM KBIC
  5967. LDD IR+2
  5968. SCN 77
  5969. LMI CA
  5970. STD IR+2
  5971. JMP KBR RETURN
  5972. COMMAND (MISCELLANEOUS COMMANDS.)
  5973. CDF SPACE 4
  5974. ** CDF - CHANGE DISPLAY FIELD.
  5975.  
  5976.  
  5977. CDF ENTRY
  5978. LDM KBUF SET DISPLAY INDEX
  5979. STD T6
  5980. LDM DFCA,T6 SET DISPLAY FIELD
  5981. STD T7
  5982. LDM KBUF+1 SET FIELD NUMBER
  5983. SBN 1R0
  5984. STD T5
  5985. LDC KBUF+3 ASSEMBLE DIGITS
  5986. RJM ASD
  5987. LDD T6 CHECK RIGHT SCREEN DISPLAY
  5988. LMD RS
  5989. ZJN CDF1 IF THIS DISPLAY
  5990. LMD RS SET LEFT SCREEN DISPLAY
  5991. STD LS
  5992. CDF1 LDD T5 CHECK FIELD INDEX
  5993. SBN 4
  5994. PJN CDF2 IF \ 4
  5995. ADN 4 SET FIELD INDEX
  5996. SHN 1
  5997. RAD T7
  5998. LDD AB+3 SET ADDRESS
  5999. STI T7
  6000. LDD AB+4
  6001. STM 1,T7
  6002. JMP KBR RETURN
  6003.  
  6004. CDF2 NJN CDF3 IF NOT 4
  6005. STI T7 CLEAR FIELDS T0 0, 10, 20, 30
  6006. STM 1,T7
  6007. STM 2,T7
  6008. STM 4,T7
  6009. STM 6,T7
  6010. ADN 10
  6011. STM 3,T7
  6012. ADN 10
  6013. STM 5,T7
  6014. ADN 10
  6015. STM 7,T7
  6016. UJN CDF4 ADVANCE DISPLAY FIELD
  6017.  
  6018. CDF3 SBN 1
  6019. ZJN CDF4 IF 5
  6020. SBN 1
  6021. NJN CDF5 IF NOT 6
  6022. LDD AB+3 FORM 2,S COMPLEMENT
  6023. LMC -770000
  6024. STD AB+3
  6025. LDD AB+4
  6026. LMC -770000
  6027. ADN 1
  6028. STD AB+4
  6029. SHN -14
  6030. RAD AB+3
  6031. CDF4 LDD T7 ADVANCE DISPLAY FIELD
  6032. RJM ADF
  6033. JMP KBR RETURN
  6034.  
  6035. CDF5 LDD AB+4 SET MANAGED TABLE BIAS
  6036. STM -1,T7
  6037. JMP KBR RETURN
  6038. SET SPACE 4,10
  6039. *** SET,IJ...K.
  6040. *
  6041. * SET LEFT SCREEN ADVANCE TABLE TO DISPLAYS IJ...K. (UP TO
  6042. * 8 ENTRIES ARE ALLOWED.)
  6043.  
  6044.  
  6045. SET ENTRY
  6046. LDD CA SET INDEX
  6047. STD T1
  6048. SET1 LDI T1
  6049. NJN SET3 IF NOT END
  6050. SET2 JMP ILE INCORRECT ENTRY
  6051.  
  6052. SET3 SBN DFCAL
  6053. PJN SET4 IF NOT DISPLAY
  6054. AOD T1
  6055. UJN SET1
  6056.  
  6057. SET4 SBN 1R.-DFCAL
  6058. NJN SET2 IF NOT *.*
  6059. STD T2
  6060. STD AI
  6061. LDD T1 CHECK NUMBER OF ENTRIES
  6062. SBD CA
  6063. ZJN SET2 IF NO ENTRIES
  6064. SBN ALSAL-1
  6065. PJN SET2 IF TOO MANY
  6066. SET6 LDI CA STORE CHARACTER
  6067. STM ALSA,T2
  6068. AOD T2 ADVANCE INDEX
  6069. AOD CA
  6070. LMD T1
  6071. NJN SET6 LOOP
  6072. STM ALSA,T2
  6073. JMP KBR RETURN
  6074. T, SPACE 4
  6075. *** T,XXXXXX.
  6076. *
  6077. * CHANGE *T* DISPLAY TO START AT ADDRESS XXXXXX.
  6078. TDC SPACE 4
  6079. *** U,XXXXXX.
  6080. *
  6081. * CHANGE *U* DISPLAY AT ADDRESS XXXXXX.
  6082.  
  6083.  
  6084. TDC ENTRY
  6085. RJM ASD ASSEMBLE DIGITS
  6086. LDM KBUF
  6087. STD T1
  6088. LDD AB+3 SET DISPLAY
  6089. LPN 37
  6090. STM DSTA-1RT,T1
  6091. LDD AB+4
  6092. STM DSTA+2-1RT,T1
  6093. LDD T1
  6094. JMP SLS SET LEFT SCREEN
  6095. V, SPACE 4
  6096. *** V,XXXXXX.
  6097. *
  6098. * SET *V* DISPLAY ADDRESS TO XXXXXX.
  6099.  
  6100.  
  6101. VDC ENTRY
  6102. RJM ASD ASSEMBLE DIGITS
  6103. LDD AB+3 SET DISPLAY ADDRESS
  6104. LPN 37
  6105. STM DSVA
  6106. LDD AB+4
  6107. STM DSVA+1
  6108. LDM KBUF SET LEFT SCREEN
  6109. JMP SLS
  6110. COMMAND (INTERPRET KEYSET MESSAGE.)
  6111. IKM SPACE 4
  6112. ** IKM - INTERPRET KEYSET MESSAGE.
  6113. *
  6114. * CALLS SSF.
  6115.  
  6116.  
  6117. IKM ENTRY
  6118. LDC IKMA SEARCH FOR SPECIAL FORMAT
  6119. RJM SSF
  6120. LDC IMM INTERPRET MORE MESSAGES
  6121. LJM LOV
  6122.  
  6123. * TABLE OF REQUESTS.
  6124.  
  6125.  
  6126. IKMA BSS 0
  6127.  
  6128. QUAL
  6129.  
  6130. BKA ENTER (BKPA,)
  6131. BKP ENTER (BKP,)
  6132. ESX ENTER (BEGIN)
  6133. ESX ENTER (CALL)
  6134. CEF ENTER (CEF.)
  6135. DDF ENTER (DDF.)
  6136. ELS ENTER (ELS.)
  6137. ENF ENTER (ENFL,)
  6138. EFX ENTER (ENFLE,)
  6139. ENS ENTER (ENS.)
  6140. EPR ENTER (ENPR,)
  6141. ESX ENTER (ENTER)
  6142. ETL ENTER (ENTL,)
  6143. EXC ENTER (X.)
  6144. GGO ENTER (GO.)
  6145. GTO ENTER (GOTO)
  6146. RCP ENTER (RCP.)
  6147. RCS ENTER (RCS.)
  6148. RNS ENTER (RNS.)
  6149. RSN ENTER (RSS,)
  6150. RSS ENTER (RSS.)
  6151. SCP ENTER (DCP.)
  6152. QUAL *
  6153. DATA 0 END OF TABLE
  6154. COMMAND (CHECK KEYBOARD REQUEST.)
  6155. BEG SPACE 4,10
  6156. ** BEG - ENTER *BEGIN,* INTO KEYBOARD BUFFER.
  6157. *
  6158. * ENTRY (KBUF) = FIRST CHARACTER.
  6159.  
  6160. BEG ENTRY
  6161. LDN 6
  6162. STD KI SET KEYBOARD INDEX
  6163. LDN 2 SET WORDS TO WRITE
  6164. STD T1
  6165. LDD MA
  6166. CWM BEGA,T1 WRITE ENTRY
  6167. LDD MA
  6168. CRM KBUF,T1 READ ENTRY
  6169. LJM KBIX PROCESS KEYBOARD INPUT
  6170.  
  6171. BEGA CON 1RB,1RE,1RG,1RI,1RN,1R,,0,0,0,0
  6172. CKR SPACE 4
  6173. ** CKR - CHECK KEYBOARD REQUEST.
  6174. *
  6175. * ENTRY NONE.
  6176. *
  6177. * EXIT TO CJS
  6178.  
  6179.  
  6180. CKR ENTRY
  6181. LDD CP READ LAST MESSAGE
  6182. ADN MS1W
  6183. CRD CM
  6184. STD T1 SET WORD ADDRESS
  6185. LDN CM+1 SET BYTE ADDRESS
  6186. STD T2
  6187. LDD CM CHECK FIRST CHARACTER
  6188. STD T3
  6189. SHN -6
  6190. LMN 1R*
  6191. ZJN CKR1 IF (*)
  6192. LJM CJS7 EXIT
  6193.  
  6194. CKR1 LDD KI CHECK KEYBOARD BUFFER
  6195. ZJN CKR2 IF EMPTY
  6196. LJM CJSX EXIT FROM CHECK JOB STATUS
  6197.  
  6198. CKR2 LDD CM CHECK SECOND CHARACTER
  6199. LPN 77
  6200. ZJN CKR3 IF NO SECOND CHARACTER
  6201. LMN 1R
  6202. NJN CKR5 IF SECOND CHARACTER NOT BLANK
  6203. CKR3 LDD CM+1
  6204. SHN -6
  6205. ZJN CKR5 IF NO THIRD CHARACTER
  6206. SBN 1R8
  6207. PJN CKR5 IF THIRD CHARACTER NOT ALPHAOCTAL
  6208. CKR4 LDI T2 UNPACK BYTE
  6209. ZJN CKR6 IF END OF MESSAGE
  6210. SHN 14
  6211. STM KBUF,KI
  6212. SHN -14
  6213. STM KBUF+1,KI
  6214. LDN 2
  6215. RAD KI
  6216. AOD T2 ADVANCE WORD
  6217. LMN CM+5
  6218. NJN CKR4 LOOP TO END OF WORD
  6219. AOD T1 READ NEXT WORD
  6220. CRD CM
  6221. LDN CM RESET BYTE ADDRESS
  6222. STD T2
  6223. LDD KI CHECK KEYBOARD
  6224. SBN KBUFL
  6225. MJN CKR4 IF NOT FULL
  6226. CKR5 LDN 0 CLEAR MESSAGE
  6227. STD CM
  6228. LDD CP
  6229. ADN MS1W
  6230. CWD CM
  6231. RJM CKB CLEAR KEYBOARD BUFFER
  6232. LJM CJS7 EXIT
  6233.  
  6234. CKR6 LDC CJS15 SET *KBI* RETURN
  6235. STM KBI
  6236. LDC LDNI SET CPU REQUEST STATUS
  6237. STM CJSC
  6238. LDD T3 CHECK 2ND CHARACTER
  6239. LPN 77
  6240. NJN CKR7 IF NOT CPU REQUEST
  6241. LDN ZERL
  6242. CRD CM CLEAR SYSTEM REQUEST (RA+1)
  6243. LDD RA
  6244. SHN 6
  6245. ADN 1
  6246. CWD CM
  6247. AOM CJSC SET TO REQUEST CPU
  6248. CKR7 LDN 0 CLEAR MESSAGE
  6249. STD CM
  6250. LDD CP
  6251. ADN MS1W
  6252. CWD CM
  6253. LJM INT1 INTERPRET KEYBOARD MESSAGE
  6254. COMMAND (INTERPRET MORE MESSAGES.)
  6255. IMM SPACE 4
  6256. ** IMM - INTERPRET MORE MESSAGE.
  6257. *
  6258. * CALLS SSF.
  6259.  
  6260.  
  6261. IMM ENTRY
  6262. LDC IMMA SEARCH FOR SPECIAL FORMAT
  6263. RJM SSF
  6264. LJM INT9
  6265.  
  6266. * TABLE OF REQUESTS.
  6267.  
  6268.  
  6269. IMMA BSS 0
  6270.  
  6271. QUAL
  6272.  
  6273. ENA ENTER (ENA)
  6274. ENB ENTER (ENB)
  6275. ENE ENTER (ENEM,)
  6276. ENP ENTER (ENP,)
  6277. ENX ENTER (ENX)
  6278. NCU ENTER (N.)
  6279. OFS ENTER (OFFSW)
  6280. ONS ENTER (ONSW)
  6281. ROL ENTER (ROLLOUT.)
  6282. ROL1 ENTER (ROLLOUT,)
  6283. SCS ENTER (SCS.)
  6284. SET ENTER (SET,)
  6285. TDC ENTER (T,)
  6286. TDC ENTER (U,)
  6287. UCC ENTER (UCC=)
  6288. VDC ENTER (V,)
  6289.  
  6290. QUAL *
  6291. DATA 0
  6292. SCS SPACE 4
  6293. *** SCS.
  6294. *
  6295. * STOP AUTO COMMAND SCAN.
  6296.  
  6297.  
  6298. SCS ENTRY
  6299. LDD KM CHECK KEYBOARD MESSAGE
  6300. LMC CJSA
  6301. NJN SCS1 IF NOT AUTO COMMAND SCAN
  6302. STD KM CLEAR MESSAGE
  6303. SCS1 JMP KBR RETURN
  6304. COMMAND (CALL PPU PROGRAM.)
  6305. CPP SPACE 4
  6306. ** CPP - CALL PP PACKAGE TO CONTROL POINT.
  6307. *
  6308. * USES T1, T6, T7, CM - CM+4.
  6309. *
  6310. * CALLS ASD, ASN, CDR, IAJ, RPP, SSF.
  6311.  
  6312.  
  6313. CPP ENTRY
  6314. LDC CPPA
  6315. RJM SSF SEARCH FOR SPECIAL FORMAT
  6316. LDD CP CHECK IF SPECIAL JOB
  6317. ADC SEPW
  6318. CRD CM
  6319. LDD CM
  6320. LPN 24
  6321. ZJN CPP1 IF NOT SPECIAL JOB
  6322. LDN 2
  6323. RJM IAJ CALL *1AJ* TO CLEAN UP JOB
  6324. CPP1 LDC KBUF ASSEMBLE NAME
  6325. RJM ASN
  6326. LDD AB+1 SET PROGRAM NAME IN MONITOR REQUEST
  6327. SHN 6
  6328. LMD AB
  6329. SHN 6
  6330. STD CM+3
  6331. SHN -14
  6332. STD CM+2
  6333. SHN 14
  6334. LMD CM+3
  6335. LMC 3RCIO
  6336. ZJN CPP2 IF *CIO* REQUEST
  6337. MONITOR SPLM
  6338. LDD CM+1 CHECK FOR PROGRAM FOUND
  6339. SHN -6-1
  6340. ZJN CPP2 IF PROGRAM FOUND AND IS 12 BIT BINARY
  6341. LJM PPCX RETURN
  6342.  
  6343. * ASSEMBLE PARAMETERS IN INPUT REGISTER.
  6344.  
  6345. CPP2 LDD MA SET PROGRAM NAME
  6346. CWD AB
  6347. CRD CM
  6348. LDN 0 CLEAR PARAMETERS
  6349. STD CM+2
  6350. STD CM+3
  6351. STD CM+4
  6352. LDI T1 CHECK CHARACTER
  6353. SBN 1R.
  6354. ZJN CPP5 IF PERIOD
  6355. AOD T1 ASSEMBLE DIGITS
  6356. RJM CDR
  6357. SBN 1R.
  6358. ZJN CPP4 IF PERIOD
  6359. ADN 1R.-1R,
  6360. ZJN CPP3 IF COMMA
  6361. LJM ILL INCORRECT ENTRY
  6362.  
  6363. CPP3 LDD AB+3 SET PARAMETER 1
  6364. LPN 77
  6365. SHN 14
  6366. LMD AB+4
  6367. SHN 14
  6368. STD CM+2
  6369. SHN -6
  6370. SCN 77
  6371. STD CM+3
  6372. AOD T1 ASSEMBLE DIGITS
  6373. RJM ASD
  6374. CPP4 LDD AB+3 SET PARAMETER 2
  6375. LPN 77
  6376. RAD CM+3
  6377. LDD AB+4
  6378. STD CM+4
  6379. CPP5 LDN ZERL
  6380. CRD AB
  6381. LDD MA STORE CALL
  6382. CWD CM
  6383. ADN 1
  6384. CWD AB
  6385. RJM CAJ CHECK ACTIVE JOB
  6386. NJN CPP6 IF JOB ACTIVE
  6387. STD CM+1 ALLOW QUEUING OF PP REQUEST
  6388. MONITOR RPPM
  6389. JMP KBR
  6390.  
  6391. CPP6 LDC INTF MESSAGE = *JOB ACTIVE.*
  6392. STD KM
  6393. JMP KBR RETURN
  6394. CPPA SPACE 4,10
  6395. * TABLE OF ENTRIES TO BE INTERPRETED AS CP PROGRAM ENTRY POINTS
  6396. * RATHER THAN PP PROGRAM NAMES.
  6397.  
  6398.  
  6399. CPPA BSS 0
  6400.  
  6401. QUAL
  6402.  
  6403. INTD ENTER (OUT.) RETURN TO PROCESS *OUT* COMMAND
  6404.  
  6405. QUAL *
  6406. DATA 0 END OF TABLE
  6407. TTL DIS - JOB DISPLAY.
  6408. TITLE TABLES AND BUFFERS.
  6409. KBUF SPACE 4
  6410. * TERMINATE COMMAND OVERLAYS.
  6411.  
  6412.  
  6413. QUAL
  6414. HERE
  6415. USE END FORCE /LITERALS*/
  6416. KBUF SPACE 4
  6417. * KEYBOARD ENTRY BUFFER.
  6418.  
  6419.  
  6420. KBUFL EQU 49D
  6421. KBUF EQU 7774-KBUFL LAST 3 WORDS ALWAYS ZERO
  6422. OVL SPACE 4
  6423. * OVERLAY CONTROL.
  6424.  
  6425.  
  6426. LL. SET *+4
  6427. ERRNG KBUF-LL. OVERFLOW CHECK FOR LAST OVERLAY
  6428. .L SET .L+4-OVL
  6429. .L SET .L/5*5+OVL
  6430. ERRNG KBUF-.L-1 PP MEMORY OVERFLOW
  6431. SPACE 4
  6432. TTL DIS - JOB DISPLAY.
  6433. END
cdc/nos2.source/opl871/dis.txt ยท Last modified: 2023/08/05 17:24 by Site Administrator