Source Code
These source-code files are part of a reconstructed copy of Comanche 72, the
first release of the Apollo Guidance Computer (AGC) Command Module (CM) software
for Apollo 13.
They have been adapted from sources files created from a listing of Comanche 55. These source files were updated to match binary dumps of a set of Comanche 67 rope modules. They were then further modified by applying known changes between Comanche 67 and Comanche 72. A binary dump of module B2 of Comanche 72, part number 2010802-021, was also used to validate changes made to banks 05-13. The resulting code assembles to have identical memory-bank checksums as those specified in NASA drawing 2021153G; this gives reasonably high confidence that the changes that have been made are correct. In places where ambiguity exists, this ambiguity is discussed in "## Reconstruction:" comments. Since no contemporary listings of Comanche 72 are available as source material, all comments and labels are approximate. They have been taken from other AGC programs where possible, or, in some places, written from scratch to match what we believe would have been in the original listing. |
007129,000002: ## Copyright: Public domain.
007130,000003: ## Filename: FRESH_START_AND_RESTART.agc
007131,000004: ## Purpose: A section of Comanche revision 072.
007132,000005: ## It is part of the reconstructed source code for the first
007133,000006: ## release of the software for the Command Module's (CM) Apollo
007134,000007: ## Guidance Computer (AGC) for Apollo 13. No original listings
007135,000008: ## of this program are available; instead, this file was recreated
007136,000009: ## from a printout of Comanche 055, binary dumps of a set of
007137,000010: ## Comanche 067 rope modules, and changelogs between Comanche 067
007138,000011: ## and 072. It has been adapted such that the resulting bugger words
007139,000012: ## exactly match those specified for Comanche 072 in NASA drawing
007140,000013: ## 2021153G, which gives relatively high confidence that the
007141,000014: ## reconstruction is correct.
007142,000015: ## Assembler: yaYUL
007143,000016: ## Contact: Ron Burkey <info@sandroid.org>.
007144,000017: ## Website: www.ibiblio.org/apollo/index.html
007145,000018: ## Mod history: 2024-05-13 MAS Created from Comanche 067.
007146,000019: ## 2024-05-14 MAS Added POOFLAG to FLAGTABL as part of the fix
007147,000020: ## for COM-21, "Backwards integration can occur
007148,000021: ## in P27 uplink".
007149,000022:
007150,000023: # PROGRAM DESCRIPTION 8 APRIL, 1967
007151,000024: # SUNDISK REV 120
007152,000025: # FUNCTIONAL DESCRIPTION
007153,000026:
007154,000027: # SLAP1 MAN INITIATED FRESH START
007155,000028: # 1. EXECUTE STARTSUB
007156,000029: # 2. TURN OFF DSKY DISCRETE-LAMPS
007157,000030: # 3. CLEAR FAIL REGISTERS,SELF CHECK ERROR COUNTER AND RESTART
007158,000031: # COUNTER
007159,000032: # 4. EXECUTE DOFSTART
007160,000033:
007161,000034: # DOFSTART MACHINE INITIATED FRESH START
007162,000035:
007163,000036: # 1. CLEAR SELF-CHECK REGISTERS, MODE REGISTER AND CDUZ REGISTER
007164,000037: # 2. CLEAR PHASE TABLE
007165,000038: # 3. INITIALIZE IMU FLAGS
007166,000039: # 4. INITIALIZE FLAGWORDS
007167,000040: # 5. TRANSFER CONTROL TO IDLE LOOP IN DUMMYJOB
007168,000041:
007169,000042: # GOPROG HARDWARE RESTART
007170,000043:
007171,000044: # 0. EXECUTE STARTSUB
007172,000045: # 1. TRANSFER CONTROL TO DOFSTART IF ANY OF THE FOLLOWING CONDITIONS
007173,000046: # EXIST.
007174,000047: # A. RESTART OCCURED DURING EXECUTION OF ERASCHK
007175,000048: # B. BOTH OSCILLATOR FAIL AND AGC WARNING ARE ON
007176,000049: # C. MARK REJECT AND EITHER NAV OR MAIN DSKY ERROR LIGHT RESET
007177,000050: # ARE ON.
007178,000051: # 2. SCHEDULE A T5RUPT PROGRAM FOR THE DAP
007179,000052: # 3. SET FLAGWRD5 BITS FOR INTWAKE ROUTINE
007180,000053: # 4. EXTINGUISH ALL DSKY LAMPS, EXCEPT PROGRAM ALARM, GIMBAL LOCK AND
007181,000054: # NO ATT
007182,000055: # 5. INITIALIZE IMU FLAGS
007183,000056: # 6. IF ENGINE COMMAND IS ON (FLAGWRD5,BIT 7), SET ENGINE ON (CHAN-
007184,000057: # NEL 11, BIT 13)
007185,000058: # 7. TRANSFER CONTROL TO GOPROG3
007186,000059:
007187,000060: # ENEMA SOFTWARE RESTART INITIATED BY MAJOR MODE CHANGE
007188,000061:
007189,000062: # 1. EXECUTE STARTSB2
007190,000063: # 2. KILL PROGRAMS THAT WERE INTEGRATING OR WAITING FOR INTEGRATION
007191,000064: # ROUTINE
007192,000065: # 3. TRANSFER CONTROL TO GOPROG3
007193,000066:
007194,000067: # GOPROG3 SUBROUTINE COMMON TO GOPROG AND ENEMA
007195,000068:
007196,000069: # 1. TEST PHASE TABLES - IF INCORRECT, DISPLAY ALARM 1107 AND
007197,000070: # TRANSFER CONTROL TO DOFSTART
007198,000071: # 2. DISPLAY MAJOR MODE
007199,000072: # 3. IF ANY GROUPS WERE ACTIVE UPON RESTART, TRANSFER CONTROL TO THE
007200,000073: # RESTARTS SUBROUTINE TO RESCHEDULE PENDING TASKS, LONGCALLS, AND
007201,000074: # JOBS (P20 IS RESTARTED VIA FINDVAC)
007202,000075: # 4. IF NO GROUPS WERE ACTIVE UPON RESTART, DISPLAY ALARM CODE
007203,000076: # 1110 (RESTART WITH NO ACTIVE GROUPS).
007204,000077: # 5. TRANSFER CONTROL TO IDLE LOOP IN DUMMYJOB
007205,000078:
007206,000079: # STARTSUB SUBROUTINE COMMON TO SLAP1 AND GOPROG
007207,000080:
007208,000081: # 1. CLEAR OUTBIT CHANNELS 5 AND 6
007209,000082: # 2. INITIALIZE TIME5, TIME4, TIME3
007210,000083: # 3. TRANSFER CONTROL TO STARTSB2
007211,000084:
007212,000085: # STARTSB2 SUBROUTINE COMMON TO STARTSUB AND ENEMA
007213,000086:
007214,000087: # 1. INITIALIZE OUTBIT CHANNELS 11,12,13 AND 14
007215,000088: # 2. REPLACE ALL TASKS ON WAITLIST WITH ENDTASK
007216,000089: # 3. MAKE ALL EXECUTIVE REGISTERS AVAILABLE
007217,000090: # 4. MAKE ALL VAC AREAS AVAILABLE
007218,000091: # 5. CLEAR DSKY REGISTERS
007219,000092: # 6. ZERO NUMEROUS SWITCHES
007220,000093: # 7. INITIALIZE OPTICS FLAGS
007221,000094: # 8. INITIALIZE PIPA AND TELEMETRY FAIL FLAGS
007222,000095: # 9. INITIALIZE DOWN TELEMETRY
007223,000096:
007224,000097: # INPUT/OUTPUT INITIALIZATION
007225,000098:
007226,000099: # A. CALLING SEQUENCE
007227,000100:
007228,000101: # SLAP1 - TC POSTJUMP OR VERB 36,ENTER
007229,000102: # CADR SLAP1
007230,000103:
007231,000104: # ENEMA - TC POSTJUMP *** DO NOT CALL ENEMA WITHOUT ***
007232,000105: # CADR ENEMA *** CONSULTING POOH PEOPLE ***
007233,000106:
007234,000107: # B. OUTPUT
007235,000108:
007236,000109: # ERASABLE MEMORY INITIALIZATION
007237,000110:
007238,000111: # PROGRAM ANALYSIS
007239,000112:
007240,000113: # A. SUBROUTINES CALLED
007241,000114:
007242,000115: # MR.KLEAN,WAITLIST,DSPMM,ALARM,RESTARTS,FINDVAC
007243,000116:
007244,000117: # B. ALARMS
007245,000118:
007246,000119: # 1107 PHASE TABLE ERROR
007247,000120: # 1110 RESTART WITH NO ACTIVE GROUPS
007248,000121:
007249,000122: 10,2203 BANK 10
007250,000123: 05,2000 SETLOC FRANDRES
007251,000124: 05,2000 BANK
007252,000125:
007253,000126: 05,2342 E3,1400 EBANK= LST1
007254,000127:
007255,000128: 05,2342 COUNT 05/START
007256,000129:
007257,000130: 05,2342 00004 SLAP1 INHINT # FRESH START. COMES HERE FROM PINBALL.
007258,000131: 05,2343 02776 TC STARTSUB # SUBROUTINE DOES MOST OF THE WORK.
007259,000132:
007260,000133: 05,2344 12351 STARTSW TCF SKIPSIM # PATCH....TCF STARTSIM...FOR SIMULATION
007261,000134: 05,2345 35016 STARTSIM CAF BIT14
007262,000135: 05,2346 05163 TC FINDVAC
007263,000136: 05,2347 77777 SIM2CADR OCT 77777 # PATCH 2CADR (AND EBANK DESIGNATION) OF
007264,000137: 05,2350 77777 OCT 77777 # SIMULATION START ADDRESS.
007265,000138:
007266,000139: 05,2351 31036 SKIPSIM CA DSPTAB +11D
007267,000140: 05,2352 75047 MASK BITS4&6
007268,000141: 05,2353 65015 AD BIT15
007269,000142: 05,2354 55036 TS DSPTAB +11D # REQUESTED FRESH START.
007270,000143:
007271,000144: 05,2355 35035 CA ZERO # SAME STORY ON ZEROING FAILREG.
007272,000145: 05,2356 55365 TS ERCOUNT
007273,000146: 05,2357 54374 TS FAILREG
007274,000147: 05,2360 54375 TS FAILREG +1
007275,000148: 05,2361 54376 TS FAILREG +2
007276,000149: 05,2362 55154 TS REDOCTR
007277,000150:
007278,000151: 05,2363 44724 CS PRIO12
007279,000152: 05,2364 55302 TS DSRUPTSW
007280,000153:
007281,000154: 05,2365 35035 DOFSTART CAF ZERO # DO A FRESH START.
007282,000155: 05,2366 55360 TS ERESTORE # ***** MUST NOT BE REMOVED FROM DOFSTART
007283,000156: 05,2367 55362 TS SMODE # ***** MUST NOT BE REMOVED FROM DOFSTART
007284,000157: 05,2370 55501 TS UPSVFLAG # UPDATE STATE VECTOR REQUEST FLAGWORD
007285,000158: 05,2371 00006 EXTEND
007286,000159: 05,2372 01005 WRITE CHAN5 # TURN OFF RCS JETS
007287,000160: 05,2373 00006 EXTEND
007288,000161: 05,2374 01006 WRITE CHAN6 # TURN OFF RCS JETS
007289,000162: 05,2375 00006 EXTEND
007290,000163: 05,2376 01011 WRITE DSALMOUT # ZERO CHANNEL 11
007291,000164: 05,2377 00006 EXTEND
007292,000165: 05,2400 01012 WRITE CHAN12 # ZERO CHANNEL 12
007293,000166: 05,2401 00006 EXTEND
007294,000167: 05,2402 01013 WRITE CHAN13 # ZERO CHANNEL 13
007295,000168: 05,2403 00006 EXTEND
007296,000169: 05,2404 01014 WRITE CHAN14 # ZERO CHANNEL 14
007297,000170: 05,2405 55316 TS WTOPTION
007298,000171: 05,2406 54332 TS DNLSTCOD
007299,000172: 05,2407 54370 TS NVSAVE
007300,000173: 05,2410 55071 TS EBANKTEM
007301,000174: 05,2411 55130 TS RATEINDX
007302,000175: 05,2412 55126 TS TRKMKCNT
007303,000176: 05,2413 55125 TS VHFCNT
007304,000177: 05,2414 55044 TS EXTVBACT
007305,000178:
007306,000179: 05,2415 41036 CS DSPTAB +11D
007307,000180: 05,2416 75047 MASK BITS4&6
007308,000181: 05,2417 10000 CCS A
007309,000182: 05,2420 02424 TC +4
007310,000183: 05,2421 35047 CA BITS4&6
007311,000184: 05,2422 00006 EXTEND # THE IMU WAS IN COARSE ALIGN IN GIMBAL
007312,000185: 05,2423 05012 WOR CHAN12 # LOCK, SO PUT IT BACK INTO COARSE ALIGN.
007313,000186: 05,2424 02501 TC MR.KLEAN
007314,000187:
007315,000188: 05,2425 45035 CS ZERO
007316,000189: 05,2426 55011 TS MODREG
007317,000190:
007318,000191: 05,2427 34371 CAF PRIO30
007319,000192: 05,2430 54365 TS RESTREG
007320,000193:
007321,000194: 05,2431 33201 CAF IM30INIF # FRESH START IMU INITIALIZATION.
007322,000195: 05,2432 55320 TS IMODES30
007323,000196:
007324,000197: 05,2433 37716 CAF NEGONE
007325,000198: 05,2434 55303 TS OPTIND # KILL COARSE OPTICS
007326,000199:
007327,000200: 05,2435 33204 CAF OPTINITF
007328,000201: 05,2436 55331 TS OPTMODES
007329,000202:
007330,000203: 05,2437 35104 CAF IM33INIT
007331,000204: 05,2440 55321 TS IMODES33
007332,000205:
007333,000206: 05,2441 00006 EXTEND # LET T5 IDLE.
007334,000207: 05,2442 33160 DCA T5IDLER
007335,000208: 05,2443 53313 DXCH T5LOC
007336,000209:
007337,000210: 05,2444 33206 CA SWINIT
007338,000211: 05,2445 54074 TS STATE
007339,000212:
007340,000213: 05,2446 30075 CA FLAGWRD1
007341,000214: 05,2447 75020 MASK NOP01BIT # LEAVE NODOP01 FLAG UNTOUCHED
007342,000215: 05,2450 63207 AD SWINIT +1
007343,000216: 05,2451 54075 TS FLAGWRD1
007344,000217:
007345,000218: 05,2452 33210 CA SWINIT +2
007346,000219: 05,2453 54076 TS STATE +2
007347,000220:
007348,000221: 05,2454 30077 CA FLAGWRD3
007349,000222: 05,2455 75017 MASK BIT13 # REFSMMAT FLAG
007350,000223: 05,2456 63211 AD SWINIT +3
007351,000224: 05,2457 54077 TS FLAGWRD3
007352,000225:
007353,000226: 05,2460 00006 EXTEND
007354,000227: 05,2461 33213 DCA SWINIT +4
007355,000228: 05,2462 52101 DXCH STATE +4
007356,000229: 05,2463 00006 EXTEND
007357,000230: 05,2464 33215 DCA SWINIT +6
007358,000231: 05,2465 52103 DXCH STATE +6
007359,000232: 05,2466 30104 CA FLAGWRD8
007360,000233: 05,2467 72525 MASK OCT6200 # CMOONFLG, LMOONFLG, AND SUFFLAG
007361,000234: 05,2470 63216 AD SWINIT +8D
007362,000235: 05,2471 54104 TS FLAGWRD8
007363,000236:
007364,000237: 05,2472 33217 CA SWINIT +9D
007365,000238: 05,2473 54105 TS STATE +9D
007366,000239:
007367,000240: 05,2474 00006 EXTEND
007368,000241: 05,2475 33221 DCA SWINIT +10D
007369,000242: 05,2476 52107 DXCH STATE +10D
007370,000243:
007371,000244: 05,2477 04715 ENDRSTRT TC POSTJUMP
007372,000245: 05,2500 03225 CADR DUMMYJOB +2 # DOES A RELINT. (IN A SWITCHED BANK.)
007373,000246:
007374,000247: 05,2501 00004 MR.KLEAN INHINT
007375,000248: 05,2502 00006 EXTEND
007376,000249: 05,2503 35035 DCA NEG0
007377,000250: 05,2504 52755 DXCH -PHASE2
007378,000251: 05,2505 00006 POOKLEAN EXTEND
007379,000252: 05,2506 35035 DCA NEG0
007380,000253: 05,2507 52761 DXCH -PHASE4
007381,000254: 05,2510 00006 EXTEND
007382,000255: 05,2511 35035 DCA NEG0
007383,000256: 05,2512 52753 DXCH -PHASE1
007384,000257: 05,2513 00006 V37KLEAN EXTEND
007385,000258: 05,2514 35035 DCA NEG0
007386,000259: 05,2515 52757 DXCH -PHASE3
007387,000260: 05,2516 00006 EXTEND
007388,000261: 05,2517 35035 DCA NEG0
007389,000262: 05,2520 52763 DXCH -PHASE5
007390,000263: 05,2521 00006 EXTEND
007391,000264: 05,2522 35035 DCA NEG0
007392,000265: 05,2523 52765 DXCH -PHASE6
007393,000266: 05,2524 00002 TC Q
007394,000267:
007395,000268: 05,2525 06200 OCT6200 OCT 6200
007396,000269:
007397,000270: # COMES HERE FROM LOCATION 4000, GOJAM. RESTART ANY PROGRAMS WHICH MAY HAVE BEEN RUNNING AT THE TIME.
007398,000271:
007399,000272: 05,2526 25154 GOPROG INCR REDOCTR # ADVANCE RESTART COUNTER.
007400,000273:
007401,000274: 05,2527 22002 LXCH Q
007402,000275: 05,2530 00006 EXTEND
007403,000276: 05,2531 04007 ROR SUPERBNK
007404,000277: 05,2532 53433 DXCH RSBBQ
007405,000278: 05,2533 04676 TC BANKCALL # STORE ERASABLES FOR DEBUGGING PURPOSES.
007406,000279: 05,2534 40000 CADR VAC5STOR
007407,000280: 05,2535 35015 CA BIT15 # TEST OSC FAIL BIT TO SEE IF WE HAVE
007408,000281: 05,2536 00006 EXTEND # HAD A POWER TRANSIENT. IF SO, ATTEMPT
007409,000282: 05,2537 03033 WAND CHAN33 # A RESTART. IF NOT, CHECK THE PRESENT
007410,000283: 05,2540 00006 EXTEND # STATE OF AGC WARNING BIT.
007411,000284: 05,2541 12547 BZF BUTTONS
007412,000285:
007413,000286: 05,2542 35016 CA BIT14 # IF AGC WARNING ON (BIT = 0), DO A
007414,000287: 05,2543 00006 EXTEND # FRESH START ON ASSUMPTION THAT
007415,000288: 05,2544 02033 RAND CHAN33 # WE ARE IN A RESTART LOOP.
007416,000289: 05,2545 00006 EXTEND
007417,000290: 05,2546 12774 BZF NONAVKEY +1
007418,000291:
007419,000292: 05,2547 02753 BUTTONS TC LIGHTSET # MAKE FRESH START CHECKS BEFORE ERESTORE.
007420,000293:
007421,000294: # ERASCHK TEMPORARILY STORES THE CONTENTS OF TWO ERASABLE LOCATIONS, X
007422,000295: # AND X+1 INTO SKEEP5 AND SKEEP6. IT ALSO STORES X INTO SKEEP7 AND
007423,000296: # ERESTORE. IF ERASCHK IS INTERRUPTED BY A RESTART, C(ERESTORE) SHOULD
007424,000297: # EQUAL C(SKEEP7),AND BE A + NUMBER LESS THAN 2000 OCT. OTHERWISE
007425,000298: # C(ERESTORE) SHOULD EQUAL +0.
007426,000299:
007427,000300: 05,2550 34364 CAF HI5
007428,000301: 05,2551 71360 MASK ERESTORE
007429,000302: 05,2552 00006 EXTEND
007430,000303: 05,2553 12555 BZF +2 # IF ERESTORE NOT = +0 OR +N LESS THAN 2K,
007431,000304: 05,2554 12774 TCF NONAVKEY +1 # DOUBT E MEMORY AND DO FRESH START.
007432,000305: 05,2555 41360 CS ERESTORE
007433,000306: 05,2556 00006 EXTEND
007434,000307: 05,2557 12574 BZF ELRSKIP -1
007435,000308: 05,2560 61377 AD SKEEP7
007436,000309: 05,2561 00006 EXTEND
007437,000310: 05,2562 12564 BZF +2 # = SKEEP7, RESTORE E MEMORY.
007438,000311: 05,2563 12774 TCF NONAVKEY +1 # NOT = SKEEP7, DOUBT EMEM, DO FRESH START
007439,000312: 05,2564 31374 CA SKEEP4
007440,000313: 05,2565 54003 TS EBANK # EBANK OF E MEMORY THAT WAS UNDER TEST.
007441,000314: 05,2566 00006 EXTEND # (NOT DXCH SINCE THIS MIGHT HAPPEN AGAIN)
007442,000315: 05,2567 31376 DCA SKEEP5
007443,000316: 05,2570 51377 INDEX SKEEP7
007444,000317: 05,2571 52001 DXCH 0000 # E MEMORY RESTORED.
007445,000318: 05,2572 35035 CA ZERO
007446,000319: 05,2573 55360 TS ERESTORE
007447,000320: 05,2574 02776 TC STARTSUB # DO INITIALIZATION AFTER ERASE RESTORE.
007448,000321: 05,2575 30102 ELRSKIP CA FLAGWRD6 # RESTART AUTOPILOTS
007449,000322: 05,2576 00006 EXTEND
007450,000323: 05,2577 75031 MP BIT3 # BITS 15,14 00 T5IDLOC
007451,000324: 05,2600 76211 MASK SIX # 01 REDORCS
007452,000325: 05,2601 00006 EXTEND # 10 REDOTVC
007453,000326: 05,2602 50000 INDEX A # 11 REDOSAT
007454,000327: 05,2603 33160 DCA T5IDLER
007455,000328: 05,2604 53313 DXCH T5LOC
007456,000329:
007457,000330: 05,2605 45016 CS INTFLBIT
007458,000331: 05,2606 70106 MASK RASFLAG
007459,000332: 05,2607 54106 TS RASFLAG
007460,000333:
007461,000334: 05,2610 31331 CA OPTMODES
007462,000335: 05,2611 73205 MASK OPTINITR
007463,000336: 05,2612 65025 AD BIT7
007464,000337: 05,2613 55331 TS OPTMODES
007465,000338:
007466,000339: 05,2614 35026 CAF BIT6
007467,000340: 05,2615 71321 MASK IMODES33
007468,000341: 05,2616 65104 AD IM33INIT
007469,000342: 05,2617 55321 TS IMODES33
007470,000343:
007471,000344: 05,2620 33203 CA 9,6,4 # LEAVE PROG ALARM, GIMBAL LOCK, NO ATT
007472,000345: 05,2621 71036 MASK DSPTAB +11D # LAMPS INTACT ON HARDWARE RESTART
007473,000346: 05,2622 65015 AD BIT15
007474,000347: 05,2623 57036 XCH DSPTAB +11D
007475,000348: 05,2624 75030 MASK BIT4 # IF NO ATT LAMP WAS ON, LEAVE ISS IN
007476,000349: 05,2625 00006 EXTEND # COURSE ALIGN
007477,000350: 05,2626 12635 BZF NOCOARSE
007478,000351: 05,2627 04754 TC IBNKCALL # IF NO ATT LAMP ON, RETURN ISS TO
007479,000352: 05,2630 17027 CADR SETCOARS # COARSE ALIGN
007480,000353:
007481,000354: 05,2631 36211 CAF SIX
007482,000355: 05,2632 05261 TC WAITLIST
007483,000356: 05,2633 E3,1474 EBANK= CDUIND
007484,000357: 05,2633 03023 16063 2CADR CA+ECE
007485,000358:
007486,000359: 05,2635 33167 NOCOARSE CAF IFAILINH # LEAVE FAILURE INHIBITS INTACT ON
007487,000360: 05,2636 71320 MASK IMODES30 # HARDWARE RESTART. RESET ALL
007488,000361: 05,2637 63202 AD IM30INIR # FAILURE CODES.
007489,000362: 05,2640 55320 TS IMODES30
007490,000363:
007491,000364: 05,2641 40101 CS FLAGWRD5
007492,000365: 05,2642 75025 MASK ENGONBIT
007493,000366: 05,2643 10000 CCS A
007494,000367: 05,2644 12667 TCF GOPROG3
007495,000368: 05,2645 35017 CAF BIT13
007496,000369: 05,2646 00006 EXTEND
007497,000370: 05,2647 05011 WOR DSALMOUT # TURN ENGINE ON
007498,000371: 05,2650 12667 TCF GOPROG3
007499,000372:
007500,000373: 05,2651 00004 ENEMA INHINT
007501,000374: 05,2652 02753 TC LIGHTSET # EXIT TO DOFSTART IF ERROR RESET AND
007502,000375: 05,2653 03006 TC STARTSB2 # MARK REJECT DEPRESSED SIMULTANEOUSLY
007503,000376: 05,2654 43174 CS INTMASK # RESET INTEGRATION BITS
007504,000377: 05,2655 70106 MASK RASFLAG
007505,000378: 05,2656 54106 TS RASFLAG
007506,000379:
007507,000380: 05,2657 40102 CS FLAGWRD6 # IS TVC ON
007508,000381: 05,2660 74105 MASK OCT60000
007509,000382: 05,2661 00006 EXTEND
007510,000383: 05,2662 62667 BZMF GOPROG3 # NO
007511,000384:
007512,000385: 05,2663 35052 CAF .5SEC # YES, CALL TVCEXEC TASK WHICH WAS KILLED
007513,000386: 05,2664 05261 TC WAITLIST # IN STARTSB2.
007514,000387: 05,2665 E6,1704 EBANK= BZERO
007515,000388: 05,2665 02772 34066 2CADR TVCEXEC
007516,000389:
007517,000390: 05,2667 35036 GOPROG3 CAF NUMGRPS # VERIFY PHASE TABLE AGREEMENTS
007518,000391: 05,2670 54161 PCLOOP TS MPAC +5
007519,000392: 05,2671 60000 DOUBLE
007520,000393: 05,2672 00006 EXTEND
007521,000394: 05,2673 50000 INDEX A
007522,000395: 05,2674 30753 DCA -PHASE1 # COMPLEMENT INTO A, DIRECT INTO L.
007523,000396: 05,2675 00006 EXTEND
007524,000397: 05,2676 06001 RXOR LCHAN # RESULT MUST BE -0 FOR AGREEMENT.
007525,000398: 05,2677 10000 CCS A
007526,000399: 05,2700 12746 TCF PTBAD # RESTART FAILURE.
007527,000400: 05,2701 12746 TCF PTBAD
007528,000401: 05,2702 12746 TCF PTBAD
007529,000402:
007530,000403: 05,2703 10161 CCS MPAC +5 # PROCESS ALL RESTART GROUPS.
007531,000404: 05,2704 12670 TCF PCLOOP
007532,000405:
007533,000406: 05,2705 54162 TS MPAC +6 # SET TO +0.
007534,000407: 05,2706 05374 TC MMDSPLAY # DISPLAY MAJOR MODE
007535,000408:
007536,000409: 05,2707 00004 INHINT # RELINT DONE IN MMDSPLAY
007537,000410:
007538,000411: 05,2710 30102 CAE FLAGWRD6 # IS RCS DAP RUNNING (BITS 15 14 OF
007539,000412: 05,2711 74105 MASK OCT60000 # FLAGWRD6 = 01)
007540,000413: 05,2712 00006 EXTEND # YES, DO STOPRATE
007541,000414: 05,2713 62721 BZMF NXTRST -1 # NO, SKIP TO NXTRST -1
007542,000415: 05,2714 35073 CAF EBANK6 # STOPRATE IS DONE IN EBANK 6
007543,000416: 05,2715 54003 TS EBANK
007544,000417: 05,2716 04526 TC STOPRATE # ZERO DELCDUS, WBODYS, AND BIASES THUS
007545,000418: # STOPPING AUTOMATIC MANEUVERING
007546,000419:
007547,000420: 05,2717 35065 CAF EBANK3
007548,000421: 05,2720 54003 TS EBANK
007549,000422: 05,2721 35036 CAF NUMGRPS # SEE IF ANY GROUPS RUNNING.
007550,000423: 05,2722 54161 NXTRST TS MPAC +5
007551,000424: 05,2723 60000 DOUBLE
007552,000425: 05,2724 50000 INDEX A
007553,000426: 05,2725 10753 CCS PHASE1
007554,000427: 05,2726 12730 TCF PACTIVE # PNZ - GROUP ACTIVE.
007555,000428: 05,2727 12735 TCF PINACT # +0 - GROUP NOT RUNNING.
007556,000429:
007557,000430: 05,2730 54154 PACTIVE TS MPAC
007558,000431: 05,2731 24154 INCR MPAC # ABS OF PHASE.
007559,000432: 05,2732 24162 INCR MPAC +6 # INDICATE GROUP DEMANDS PRESENT.
007560,000433: 05,2733 32752 CA RACTCADR
007561,000434: 05,2734 04702 TC SWCALL # MUST RETURN TO SWRETURN.
007562,000435:
007563,000436: 05,2735 10161 PINACT CCS MPAC +5 # PROCESS ALL RESTART GROUPS.
007564,000437: 05,2736 12722 TCF NXTRST
007565,000438:
007566,000439: 05,2737 10162 CCS MPAC +6 # NO, CHECK PHASE ACTIVITY FLAG
007567,000440: 05,2740 12477 TCF ENDRSTRT # PHASE ACTIVE
007568,000441: 05,2741 35015 CAF BIT15 # IS MODE -0
007569,000442: 05,2742 71011 MASK MODREG
007570,000443: 05,2743 00006 EXTEND
007571,000444: 05,2744 14106 BZF GOTOPOOH # NO
007572,000445: 05,2745 12477 TCF ENDRSTRT # YES
007573,000446: 05,2746 05664 PTBAD TC ALARM # SET ALARM TO SHOW PHASE TABLE FAILURE.
007574,000447: 05,2747 01107 OCT 1107
007575,000448:
007576,000449: 05,2750 12365 TCF DOFSTART # IN R2).
007577,000450:
007578,000451: # ******** ****** ******
007579,000452:
007580,000453: # DO NOT USE GOPROG2 OR ENEMA WITHOUT CONSULTING POOH PEOPLE
007581,000454:
007582,000455: 05,2751 05,2651 GOPROG2 EQUALS ENEMA
007583,000456: 05,2751 5017 OCT10000 = BIT13
007584,000457: 05,2751 4371 OCT30000 = PRIO30
007585,000458: 05,2751 07777 OCT7777 OCT 7777
007586,000459: 05,2752 03520 RACTCADR CADR RESTARTS
007587,000460:
007588,000461: 05,2753 35025 LIGHTSET CAF BIT7 # DOFSTART IF MARK REJECT AND EITHER
007589,000462: 05,2754 00006 EXTEND # ERROR LIGHT RESET BUTTONS ARE DEPRESSED
007590,000463: 05,2755 02016 RAND NAVKEYIN
007591,000464: 05,2756 00006 EXTEND
007592,000465: 05,2757 12773 BZF NONAVKEY # NO MARK REJECT
007593,000466: 05,2760 34362 CAF OCT37
007594,000467: 05,2761 00006 EXTEND
007595,000468: 05,2762 02016 RAND NAVKEYIN # NAV DSKY KEYCODES,MARK,MARK REJECT
007596,000469: 05,2763 63200 AD -ELR
007597,000470: 05,2764 00006 EXTEND
007598,000471: 05,2765 12774 BZF NONAVKEY +1
007599,000472: 05,2766 00006 EXTEND
007600,000473: 05,2767 00015 READ MNKEYIN # MAIN DSKY KEYCODES
007601,000474: 05,2770 63200 AD -ELR
007602,000475: 05,2771 00006 EXTEND
007603,000476: 05,2772 12774 BZF +2
007604,000477:
007605,000478: 05,2773 00002 NONAVKEY TC Q
007606,000479:
007607,000480: 05,2774 02776 TC STARTSUB
007608,000481: 05,2775 12365 TCF DOFSTART
007609,000482: 05,2776 33170 STARTSUB CAF LDNPHAS1 # SET POINTER SO NEXT 20MS DOWNRUPT WILL
007610,000483: 05,2777 54334 TS DNTMGOTO # CAUSE THE CURRENT DOWNLIST TO BE
007611,000484: # INTERRUPTED AND START SENDING FROM THE
007612,000485: # BEGINNING OF THE CURRENT DOWNLIST.
007613,000486:
007614,000487: 05,3000 37677 CAF OCT37774 # 37774 TO TIME5
007615,000488: 05,3001 54030 TS TIME5
007616,000489: 05,3002 65033 AD ONE # 37775 TO TIME4
007617,000490: 05,3003 54027 TS TIME4
007618,000491: 05,3004 67716 AD NEGONE
007619,000492: 05,3005 54030 TS TIME5 # 37774 TO TIME5.
007620,000493:
007621,000494: 05,3006 33175 STARTSB2 CAF OCT77603 # TURN OFF UPLINK ACTY, TEMP CAUTION, KR,
007622,000495: 05,3007 00006 EXTEND # FLASH, OP. ERROR, LEAVE OTHERS UNCHANGED
007623,000496: 05,3010 03011 WAND DSALMOUT
007624,000497:
007625,000498: 05,3011 35013 CAF POSMAX # 37777 to TIME3.
007626,000499: 05,3012 54026 TS TIME3
007627,000500:
007628,000501: 05,3013 33176 CAF OCT74777 # TURN OFF TEST ALARMS, STANDBY ENABLE.
007629,000502: 05,3014 00006 EXTEND
007630,000503: 05,3015 03013 WAND CHAN13
007631,000504: 05,3016 47662 CS PRIO25 # CLEAR R21MARK, P21FLAG, AND SKIPVHF BIT.
007632,000505: 05,3017 70076 MASK FLAGWRD2
007633,000506: 05,3020 65022 AD SKIPVBIT # NOW SET SKIPVHF FLAG.
007634,000507: 05,3021 54076 TS FLAGWRD2
007635,000508: 05,3022 E3,1400 EBANK= LST1
007636,000509: 05,3022 33177 CAF STARTEB
007637,000510: 05,3023 54003 TS EBANK # SET FOR E3
007638,000511:
007639,000512: 05,3024 35014 CAF NEG1/2 # INITIALIZE WAITLIST DELTA-TS.
007640,000513: 05,3025 55407 TS LST1 +7
007641,000514: 05,3026 55406 TS LST1 +6
007642,000515: 05,3027 55405 TS LST1 +5
007643,000516: 05,3030 55404 TS LST1 +4
007644,000517: 05,3031 55403 TS LST1 +3
007645,000518: 05,3032 55402 TS LST1 +2
007646,000519: 05,3033 55401 TS LST1 +1
007647,000520: 05,3034 55400 TS LST1
007648,000521:
007649,000522: 05,3035 45320 CS ENDTASK
007650,000523: 05,3036 55410 TS LST2
007651,000524: 05,3037 55412 TS LST2 +2
007652,000525: 05,3040 55414 TS LST2 +4
007653,000526: 05,3041 55416 TS LST2 +6
007654,000527: 05,3042 55420 TS LST2 +8D
007655,000528: 05,3043 55422 TS LST2 +10D
007656,000529: 05,3044 55424 TS LST2 +12D
007657,000530: 05,3045 55426 TS LST2 +14D
007658,000531: 05,3046 55430 TS LST2 +16D
007659,000532: 05,3047 45321 CS ENDTASK +1
007660,000533: 05,3050 55411 TS LST2 +1
007661,000534: 05,3051 55413 TS LST2 +3
007662,000535: 05,3052 55415 TS LST2 +5
007663,000536: 05,3053 55417 TS LST2 +7
007664,000537: 05,3054 55421 TS LST2 +9D
007665,000538: 05,3055 55423 TS LST2 +11D
007666,000539: 05,3056 55425 TS LST2 +13D
007667,000540: 05,3057 55427 TS LST2 +15D
007668,000541: 05,3060 55431 TS LST2 +17D
007669,000542:
007670,000543: 05,3061 45035 CS ZERO # MAKE ALL EXECUTIVE REGISTER SETS
007671,000544: 05,3062 54167 TS PRIORITY # AVAILABLE.
007672,000545: 05,3063 54203 TS PRIORITY +12D
007673,000546: 05,3064 54217 TS PRIORITY +24D
007674,000547: 05,3065 54233 TS PRIORITY +36D
007675,000548: 05,3066 54247 TS PRIORITY +48D
007676,000549: 05,3067 54263 TS PRIORITY +60D
007677,000550: 05,3070 54277 TS PRIORITY +72D
007678,000551:
007679,000552: 05,3071 55302 TS DSRUPTSW
007680,000553: 05,3072 54067 TS NEWJOB # SHOWS NO ACTIVE JOBS.
007681,000554:
007682,000555: 05,3073 33172 CAF VAC1ADRC # MAKE ALL VAC AREAS AVAILABLE.
007683,000556: 05,3074 54400 TS VAC1USE
007684,000557: 05,3075 63173 AD LTHVACA
007685,000558: 05,3076 54454 TS VAC2USE
007686,000559: 05,3077 63173 AD LTHVACA
007687,000560: 05,3100 54530 TS VAC3USE
007688,000561: 05,3101 63173 AD LTHVACA
007689,000562: 05,3102 54604 TS VAC4USE
007690,000563: 05,3103 63173 AD LTHVACA
007691,000564: 05,3104 54660 TS VAC5USE
007692,000565:
007693,000566: 05,3105 34377 CAF TEN # BLANK DSKY REGISTERS (PROGRAM,VERB,NOUN,
007694,000567: # R1,R2,R3)
007695,000568: 05,3106 54154 DSPOFF TS MPAC
007696,000569: 05,3107 45020 CS BIT12
007697,000570: 05,3110 50154 INDEX MPAC
007698,000571: 05,3111 55023 TS DSPTAB
007699,000572: 05,3112 10154 CCS MPAC
007700,000573: 05,3113 13106 TCF DSPOFF
007701,000574:
007702,000575: 05,3114 55141 TS DELAYLOC
007703,000576: 05,3115 55142 TS DELAYLOC +1
007704,000577: 05,3116 55143 TS DELAYLOC +2
007705,000578: 05,3117 55144 TS DELAYLOC +3
007706,000579: 05,3120 55073 TS R1SAVE
007707,000580: 05,3121 54045 TS INLINK
007708,000581: 05,3122 54776 TS DSPCNT
007709,000582: 05,3123 55042 TS CADRSTOR
007710,000583: 05,3124 55013 TS REQRET
007711,000584: 05,3125 55015 TS CLPASS
007712,000585: 05,3126 55012 TS DSPLOCK
007713,000586: 05,3127 55020 TS MONSAVE # KILL MONITOR
007714,000587: 05,3130 55021 TS MONSAVE1
007715,000588: 05,3131 55001 TS VERBREG
007716,000589: 05,3132 55002 TS NOUNREG
007717,000590: 05,3133 55043 TS DSPLIST
007718,000591: 05,3134 55330 TS MARKSTAT
007719,000592: 05,3135 55322 TS IMUCADR
007720,000593: 05,3136 55323 TS OPTCADR
007721,000594: 05,3137 55324 TS RADCADR
007722,000595: 05,3140 55325 TS ATTCADR
007723,000596: 05,3141 55304 TS LGYRO
007724,000597: 05,3142 54100 TS FLAGWRD4 # KILL INTERFACE DISPLAYS
007725,000598: 05,3143 35040 CAF NOUTCON
007726,000599: 05,3144 55016 TS NOUT
007727,000600:
007728,000601: 05,3145 35016 CAF BIT14
007729,000602: 05,3146 71044 MASK EXTVBACT
007730,000603: 05,3147 55044 TS EXTVBACT
007731,000604: 05,3150 33171 CAF LESCHK # SELF CHECK GO-TO REGISTER.
007732,000605: 05,3151 55361 TS SELFRET
007733,000606:
007734,000607: 05,3152 44374 CS VD1
007735,000608: 05,3153 54777 TS DSPCOUNT
007736,000609:
007737,000610: 05,3154 00002 TC Q
007738,000611:
007739,000612: 05,3155 30001 T5IDLOC CA L # T5RUPT COMES HERE EVERY 163.84 SECS
007740,000613: 05,3156 15352 TCF NOQRSM +1 # WHEN NOBODY IS USING IT.
007741,000614:
007742,000615: 05,3157 E6,1664 EBANK= OGANOW
007743,000616: 05,3157 03155 12066 T5IDLER 2CADR T5IDLOC
007744,000617:
007745,000618: 05,3161 E6,1664 EBANK= OGANOW
007746,000619: 05,3161 02117 42066 2CADR REDORCS
007747,000620:
007748,000621: 05,3163 E6,1664 EBANK= OGANOW
007749,000622: 05,3163 03212 34066 2CADR REDOTVC
007750,000623:
007751,000624: 05,3165 E6,1664 EBANK= OGANOW
007752,000625: 05,3165 02767 46066 2CADR REDOSAT
007753,000626:
007754,000627: 05,3167 00435 IFAILINH OCT 435
007755,000628: 05,3170 03523 LDNPHAS1 GENADR DNPHASE1
007756,000629: 05,3171 03350 LESCHK GENADR SELFCHK
007757,000630: 05,3172 00400 VAC1ADRC ADRES VAC1USE
007758,000631: 05,3173 00054 LTHVACA DEC 44 B-14
007759,000632:
007760,000633: 05,3174 20100 INTMASK OCT 20100
007761,000634: 05,3175 77603 OCT77603 OCT 77603
007762,000635: 05,3176 74777 OCT74777 OCT 74777
007763,000636: 05,3177 01400 STARTEB ECADR LST1
007764,000637: 05,3200 5036 NUMGRPS EQUALS FIVE
007765,000638: 05,3200 77755 -ELR OCT -22 # -ERROR LIGHT RESET KEY CODE.
007766,000639: 05,3201 37411 IM30INIF OCT 37411 # INHIBITS IMU FAIL FOR 5 SEC AND PIP ISSW
007767,000640: 05,3202 37000 IM30INIR OCT 37000
007768,000641: 05,3203 5104 IM33INIT = PRIO16 # NO PIP OR TM FAIL SIGNALS.
007769,000642: 05,3203 00450 9,6,4 OCT 450
007770,000643: 05,3204 00130 OPTINITF OCT 130
007771,000644: 05,3205 00430 OPTINITR OCT 430
007772,000645: 05,3206 00000 SWINIT OCT 0
007773,000646: 05,3207 00000 OCT 0
007774,000647: 05,3210 00000 OCT 0
007775,000648: 05,3211 00000 OCT 0
007776,000649:
007777,000650: 05,3212 00000 OCT 0
007778,000651: 05,3213 00200 OCT 00200
007779,000652: 05,3214 00004 OCT 00004 # .05GSW
007780,000653: 05,3215 00000 OCT 0
007781,000654: 05,3216 00000 OCT 0
007782,000655: 05,3217 00000 OCT 0
007783,000656: 05,3220 00000 OCT 0
007784,000657: 05,3221 00000 OCT 0
007785,000658: # PROGRAM NAME GOTOPOOH ASSEMBLY SUNDISK
007786,000659: # LOG SECTION FRESH START AND RESTART
007787,000660:
007788,000661: # FUNCTIONAL DESCRIPTION
007789,000662:
007790,000663: # 1. DISPLAY MAJOR MODE NUMBER 00 IN DSKY REGISTER R1 AND R3. FLASH V50N07 ON DSKY. (M M CHANGE REQUEST)
007791,000664: # 2. PERMIT A CURRENT PENDING REQUEST (FLASH ON DSKY) TO BE REPLACED (WITHOUT AN ABORT) BY THE MAJOR MODE
007792,000665: # CHANGE REQUEST
007793,000666:
007794,000667: # INPUT/OUTPUT INFORMATION
007795,000668:
007796,000669: # A. CALLING SEQUENCE TC GOTOPOOH
007797,000670: # B. ERASABLE INITIALIZATION NONE
007798,000671: # C. OUTPUT FLASH VERB 50 NOUN 07 ON DSKY
007799,000672: # D. DEBRIS L
007800,000673:
007801,000674: # PROGRAM ANALYSIS
007802,000675:
007803,000676: # A. SUBROUTINES CALLED GOPERF3, LINUS
007804,000677: # B. NORMAL EXIT TCF ENDOFJOB
007805,000678: # C. ALARM AND ABORT EXITS NONE
007806,000679:
007807,000680: 4106 BLOCK 02
007808,000681: 4000 SETLOC FFTAG10
007809,000682: 4000 BANK
007810,000683:
007811,000684: 4106 COUNT 02/P00
007812,000685:
007813,000686: 4106 05426 GOTOPOOH TC PHASCHNG # RESTART GOTOPOOH
007814,000687: 4107 00014 OCT 14
007815,000688:
007816,000689: 4110 04715 TC POSTJUMP
007817,000690: 4111 10000 CADR GOPOOFIX
007818,000691: 10,2203 BANK 10
007819,000692: 04,2000 SETLOC VERB37
007820,000693: 04,2000 BANK
007821,000694:
007822,000695: 04,2000 COUNT 04/P00
007823,000696:
007824,000697: 04,2000 02330 GOPOOFIX TC INITSUB
007825,000698: 04,2001 05554 TC CLEARMRK +2
007826,000699: 04,2002 32010 CAF V37N99
007827,000700: 04,2003 04676 TC BANKCALL
007828,000701: 04,2004 20720 CADR GOFLASH
007829,000702: 04,2005 12002 TCF -3
007830,000703: 04,2006 12002 TCF -4
007831,000704: 04,2007 12002 TCF -5
007832,000705: 04,2010 11343 V37N99 VN 3799
007833,000706:
007834,000707: # PROGRAM NAME V37 ASSEMBLY SUNDISK
007835,000708:
007836,000709: # LOG SECTION FRESH START AND RESTART
007837,000710:
007838,000711: # FUNCTIONAL DESCRIPTION
007839,000712:
007840,000713: # 1. CHECK IF NEW PROGRAM ALLOWED. IF BIT 1 OF FLAGWRD2 (NODOFLAG) IS SET, AN ALARM 1520 IS CALLED.
007841,000714: # 2. CHECK FOR VALIDITY OF PROGRAM SELECTED. IF AN INVALID PROGRAM IS SELECTED, THE OPERATOR ERROR LIGHT IS
007842,000715: # SET AND CURRENT ACTIVITY, IF ANY, CONTINUES.
007843,000716: # 3. SERVICER IS TERMINATED IF IT HAS BEEN RUNNING.
007844,000717: # 4. INSTALL IS EXECUTED TO AVOID INTERRUPTING INTEGRATION.
007845,000718: # 5. THE ENGINE IS TURNED OFF AND THE DAP IS INITIALIZED FOR COAST.
007846,000719: # 6. TRACK, UPDATE AND TARG1 FLAGS ARE SET TO ZERO.
007847,000720: # 7. DISPLAY SYSTEM IS RELEASED.
007848,000721: # 8. THE FOLLOWING ARE PERFORMED FOR EACH OF THE THREE CASES.
007849,000722: # A. PROGRAM SELECTED IS P00.
007850,000723: # 1. RENDEZVOUS FLAG IS RESET (KILL P20).
007851,000724: # 2. STATINT1 IS SCHEDULED BY SETTING RESTART GROUP 2.
007852,000725: # 3. MAJOR MODE 00 IS STORED IN THE MODE REGISTER (MODREG).
007853,000726: # 4. SUPERBANK 3 IS SELECTED.
007854,000727: # 5. NODOFLAG IS RESET.
007855,000728: # 6. ALL RESTART GROUPS EXCEPT GROUP2 ARE CLEARED. CONTROL IS TRANSFERRED TO RESTART PROGRAM (GOPROG2)
007856,000729: # WHICH CAUSES ALL CURRENT ACTIVITY TO BE DISCONTINUED AND A 9 MINUTE INTEGRATION CYCLE TO BE
007857,000730: # INITIATED.
007858,000731: # B. PROGRAM SELECTED IS P20
007859,000732: # 1. IF THE CURRENT MAJOR MODE IS THE SAME AS THE SELECTED NEWPROGRAM, THE PROGRAM IS RE-INITIALIZED
007860,000733: # VIA V37XEQ, ALL RESTART GROUPS, EXCEPT GROUP 4 ARE CLEARED.
007861,000734: # 2. IF THE CURRENT MAJOR MODE IS NOT EQUAL TO THE NEW REQUEST, A CHECK IS MADE TO SEE IF THE REQUEST-
007862,000735: # ED MAJOR MODE HAS BEEN RUNNING IN THE BACKGROUND,
007863,000736: # AND IF IT HAS, NO NEW PROGRAM IS SCHEDULED, THE EXISTING
007864,000737: # P20 IS RESTARTED TO CONTINUE, AND ITS MAJOR MODE IS SET.
007865,000738: # 3. CONTROL IS TRANSFERRED TO GOPROG2.
007866,000739: # C. PROGRAM SELECTED IS NEITHER P00 NOR P20
007867,000740: # 1. V37XEQ IS SCHEDULED (AS A JOB) BY SETTING RESTART GROUP 4
007868,000741: # 2. ALL CURRENT ACTIVITY EXCEPT RENDEZVOUS AND TRACKING IS DISCONTINUED BY CLEARING ALL RESTART
007869,000742: # GROUPS. GROUP 2 IS CLEARED. IF THE RENDEZVOUS FLAG IS ON P20 IS RESTARTED IN GOPROG2 VIA REDOP20.
007870,000743: # TO CONTINUE.
007871,000744:
007872,000745: # INPUT/OUTPUT INFORMATION
007873,000746:
007874,000747: # A. CALLING SEQUENCE
007875,000748: # CONTROL IS DIRECTED TO V37 BY THE VERBFAN ROUTINE.
007876,000749: # VERBFAN GOES TO C(VERBTAB+C(VERBREG)). VERB 37 = MMCHANG.
007877,000750: # MMCHANG EXECUTES A TC POSTJUMP, CADR V37.
007878,000751:
007879,000752: # B. ERASABLE INITIALIZATION NONE
007880,000753:
007881,000754: # C. OUTPUT
007882,000755: # MAJOR MODE CHANGE
007883,000756:
007884,000757: # D. DEBRIS
007885,000758: # MMNUMBER, MPAC +1, MINDEX, BASETEMP +C(MINDEX), FLAGWRD0, FLAGWRD1, FLAGWRD2, MODREG, GOLOC -1,
007886,000759: # GOLOC, GOLOC +1, GOLOC +2, BASETEMP, -PHASE2, PHASE2, -PHASE4
007887,000760:
007888,000761: # PROGRAM ANALYSIS
007889,000762:
007890,000763: # A. SUBROUTINES CALLED
007891,000764: # ALARM, RELDSP, PINBRNCH, INTSTALL, ENGINOF2, ALLCOAST, V37KLEAN, GOPROG2, FALTON, FINDVAC, SUPERSW,
007892,000765: # DSPMM
007893,000766:
007894,000767: # B. NORMAL EXIT TC ENDOFJOB
007895,000768:
007896,000769: # C. ALARMS 1520 (MAJOR MODE CHANGE NOT PERMITTED)
007897,000770:
007898,000771: 4112 BLOCK 02
007899,000772: 4000 SETLOC FFTAG10
007900,000773: 4000 BANK
007901,000774:
007902,000775: 4112 COUNT 02/V37
007903,000776:
007904,000777: 4112 00024 OCT24 MM 20 B-14
007905,000778: 4113 00031 OCT31 MM 25 B-14
007906,000779: 27,2000 BANK 27
007907,000780: 04,2000 SETLOC VERB37
007908,000781: 04,2000 BANK
007909,000782:
007910,000783: 04,2011 COUNT 04/V37
007911,000784:
007912,000785: 04,2011 54775 V37 TS MMNUMBER # SAVE MAJOR MODE
007913,000786: 04,2012 34371 CAF PRIO30 # RESTART AT PINBALL PRIORITY
007914,000787: 04,2013 54365 TS RESTREG
007915,000788:
007916,000789: 04,2014 31320 CA IMODES30 # IS IMU BEING INITIALIZED
007917,000790: 04,2015 75026 MASK BIT6
007918,000791: 04,2016 10000 CCS A
007919,000792: 04,2017 12071 TCF CANTROO
007920,000793:
007921,000794: 04,2020 35017 CAF BIT13 # IS ENGINE ON
007922,000795: 04,2021 00006 EXTEND
007923,000796: 04,2022 02011 RAND DSALMOUT
007924,000797: 04,2023 10000 CCS A
007925,000798: 04,2024 12031 TCF ROOTOPOO # YES, SET UP FOR POO
007926,000799:
007927,000800: 04,2025 40102 CS FLAGWRD6 # NO, IS TVC DAP ON
007928,000801: 04,2026 74105 MASK OCT60000
007929,000802: 04,2027 00006 EXTEND
007930,000803: 04,2030 62062 BZMF ISITPOO # NO, CONTINUE WITH ROO
007931,000804:
007932,000805: 04,2031 00004 ROOTOPOO INHINT
007933,000806: 04,2032 35073 CAF EBANK6
007934,000807: 04,2033 54003 TS EBANK
007935,000808: 04,2034 E6,1466 EBANK= DAPDATR1
007936,000809: 04,2034 31474 CAE CSMMASS
007937,000810: 04,2035 55654 TS MASSTMP
007938,000811: 04,2036 04754 TC IBNKCALL
007939,000812: 04,2037 51022 CADR SPSOFF
007940,000813: 04,2040 04754 TC IBNKCALL
007941,000814: 04,2041 13370 CADR MASSPROP
007942,000815: 04,2042 32415 CAF 3.1SEC
007943,000816: 04,2043 04754 TC IBNKCALL
007944,000817: 04,2044 42037 CADR RCSDAPON +1
007945,000818:
007946,000819: 04,2045 04754 TC IBNKCALL
007947,000820: 04,2046 51074 CADR TVCZAP # DISABLE TVC
007948,000821: 04,2047 35035 CAF ZERO
007949,000822: 04,2050 54775 TS MMNUMBER
007950,000823: 04,2051 00003 RELINT
007951,000824: 04,2052 35036 CAF FIVE
007952,000825: 04,2053 04676 TC BANKCALL
007953,000826: 04,2054 01732 CADR DELAYJOB
007954,000827: 04,2055 35035 CAF ZERO
007955,000828: 04,2056 00006 EXTEND
007956,000829: 04,2057 01005 WRITE 5
007957,000830: 04,2060 00006 EXTEND
007958,000831: 04,2061 01006 WRITE 6
007959,000832: 04,2062 30775 ISITPOO CA MMNUMBER
007960,000833: 04,2063 00006 EXTEND
007961,000834: 04,2064 12113 BZF ISSERVON # YES, CHECK SERVICER STATUS
007962,000835:
007963,000836: 04,2065 40076 CS FLAGWRD2 # NO, IS NODO V37 FLAG SET
007964,000837: 04,2066 75033 MASK NODOBIT
007965,000838: 04,2067 10000 CCS A
007966,000839: 04,2070 12076 TCF CHECKTAB # NO
007967,000840: 04,2071 05664 CANTROO TC ALARM
007968,000841: 04,2072 01520 OCT 1520
007969,000842:
007970,000843: 04,2073 04473 V37BAD TC RELDSP # RELEASES DISPLAY FROM ASTRONAUT
007971,000844:
007972,000845: 04,2074 04715 TC POSTJUMP # BRING BACK LAST NORMAL DISPLAY IF THERE
007973,000846: 04,2075 21272 CADR PINBRNCH # WAS ONE. OY
007974,000847:
007975,000848: 04,2076 32520 CHECKTAB CA NOV37MM # THE NO. OF MM
007976,000849: 04,2077 54155 AGAINMM TS MPAC +1
007977,000850: 04,2100 50155 NDX MPAC +1
007978,000851: 04,2101 32457 CA PREMM1 # OBTAIN WHICH MM THIS IS FOR
007979,000852: 04,2102 76043 MASK LOW7
007980,000853: 04,2103 40000 COM
007981,000854: 04,2104 60775 AD MMNUMBER
007982,000855: 04,2105 10000 CCS A
007983,000856: 04,2106 10155 CCS MPAC +1 # IF GR, SEE IF ANY MORE IN LIST
007984,000857: 04,2107 12077 TCF AGAINMM # YES, GET NEXT ONE
007985,000858: 04,2110 12272 TCF V37NONO # LAST TIME OR PASSED MM
007986,000859:
007987,000860: 04,2111 30155 CA MPAC +1
007988,000861: 04,2112 54774 TS MINDEX # SAVE INDEX FOR LATER
007989,000862:
007990,000863: 04,2113 40103 ISSERVON CS FLAGWRD7 # V37 FLAG SET - I.E. IS SERVICER GOING
007991,000864: 04,2114 75026 MASK V37FLBIT
007992,000865: 04,2115 10000 CCS A
007993,000866: 04,2116 12124 TCF CANV37 # NO
007994,000867:
007995,000868: 04,2117 00004 INHINT
007996,000869: 04,2120 45033 CS AVEGBIT # YES TURN OFF AVERAGE G FLAG AND WAIT
007997,000870: 04,2121 70075 MASK FLAGWRD1 # FOR SERVICER TO RETURN TO CANV37
007998,000871: 04,2122 54075 TS FLAGWRD1
007999,000872:
008000,000873: 04,2123 15233 TCF ENDOFJOB
008001,000874:
008002,000875: 04,2124 32412 CANV37 CAF ROOAD
008003,000876: 04,2125 54373 TS TEMPFLSH
008004,000877:
008005,000878: 04,2126 05426 TC PHASCHNG
008006,000879: 04,2127 00014 OCT 14
008007,000880:
008008,000881: 04,2130 06006 ROO TC INTPRET
008009,000882:
008010,000883: 04,2131 77624 CALL # WAIT FOR INTEGRATION TO FINISH
008011,000884: 04,2132 27446 INTSTALL
008012,000885: 04,2133 77776 DUMMYAD EXIT
008013,000886:
008014,000887: 04,2134 45065 CS OCT1400 # CLEAR CAUTION RESET
008015,000888: 04,2135 00006 EXTEND # AND TEST CONNECTOR OUTBIT
008016,000889: 04,2136 03011 WAND 11
008017,000890:
008018,000891: 04,2137 32403 CAF OCT44571 # CLEAR ENABLE OPTICS ERROR COUNTER, STAR
008019,000892: 04,2140 00006 EXTEND # TRAKERS ON BIT, TVC ENABLE, ZERO OPTICS,
008020,000893: 04,2141 03012 WAND 12 # DISENGAGE OPTICS DAP, SIVB IN J SEQUENCE
008021,000894: # START, AND SIVB CUTOFF BIT.
008022,000895:
008023,000896: 04,2142 42404 CS OCT600 # CLEAR UNUSED BITS
008024,000897: 04,2143 00006 EXTEND
008025,000898: 04,2144 03013 WAND 13
008026,000899:
008027,000900: 04,2145 02330 TC INITSUB
008028,000901:
008029,000902: 04,2146 05552 TC CLEARMRK
008030,000903:
008031,000904: 04,2147 05574 TC DOWNFLAG
008032,000905: 04,2150 00020 ADRES STIKFLAG
008033,000906:
008034,000907: 04,2151 04676 TC BANKCALL
008035,000908: 04,2152 57760 CADR UPACTOFF # TURN OFF UPLINK ACTIV LIGHT
008036,000909:
008037,000910: 04,2153 05574 TC DOWNFLAG
008038,000911: 04,2154 00215 ADRES VHFRFLAG
008039,000912: 04,2155 05574 TC DOWNFLAG
008040,000913: 04,2156 00037 ADRES R21MARK
008041,000914:
008042,000915: 04,2157 10775 CCS MMNUMBER # IS THIS A POOH REQUEST
008043,000916: 04,2160 12260 TCF NOUVEAU # NO, PICK UP NEW PROGRAM
008044,000917:
008045,000918: 04,2161 COUNT 04/P00
008046,000919:
008047,000920: 04,2161 04473 POOH TC RELDSP # RELEASE DISPLAY SYSTEM
008048,000921: 04,2162 35075 CAF PRIO5 # SET VARIABLE RESTART REGISTER FOR P00.
008049,000922: 04,2163 55056 TS PHSPRDT2
008050,000923:
008051,000924: 04,2164 00004 INHINT
008052,000925:
008053,000926: 04,2165 45033 CS NODOBIT # TURN OFF NODOFLAG
008054,000927: 04,2166 70076 MASK FLAGWRD2
008055,000928: 04,2167 54076 TS FLAGWRD2
008056,000929:
008057,000930: 04,2170 35036 CA FIVE # SET 2.5 RESTART FOR STATEINT1
008058,000931: 04,2171 54001 TS L
008059,000932: 04,2172 40000 COM
008060,000933: 04,2173 52755 DXCH -PHASE2
008061,000934:
008062,000935: 04,2174 42407 CS BIT7-8 # RESET IMUSE + KILL P20 BY TURNING OFF
008063,000936: 04,2175 70074 MASK FLAGWRD0
008064,000937: 04,2176 54074 TS FLAGWRD0 # RENDFLG
008065,000938:
008066,000939: 04,2177 35035 CAF DNLADP00
008067,000940:
008068,000941: 04,2200 COUNT 04/V37
008069,000942:
008070,000943: 04,2200 54332 SEUDOPOO TS DNLSTCOD # SET UP APPROPRIATE DOWNLIST.
008071,000944: # (OLD ONE WILL BE FINISHED FIRST)
008072,000945:
008073,000946: 04,2201 42410 CS OCT01120 # TURN OFF TRACK, TARG1, UPDATE FLAGS
008074,000947: 04,2202 55071 TS EBANKTEM
008075,000948: 04,2203 70075 MASK FLAGWRD1
008076,000949: 04,2204 54075 TS FLAGWRD1
008077,000950:
008078,000951: 04,2205 04754 GROUPKIL TC IBNKCALL # KILL GROUPS 3(5,6
008079,000952: 04,2206 12513 CADR V37KLEAN
008080,000953:
008081,000954: 04,2207 10775 CCS MMNUMBER # IS IT POOH
008082,000955: 04,2210 12217 TCF RENDVOO # NO
008083,000956: 04,2211 04754 TC IBNKCALL
008084,000957: 04,2212 12505 CADR POOKLEAN # REDUNDANT EXCEPT FOR GROUP 4.
008085,000958:
008086,000959: 04,2213 30775 GOMOD CA MMNUMBER
008087,000960: 04,2214 55011 TS MODREG
008088,000961:
008089,000962: 04,2215 04715 GOGOPROG TC POSTJUMP
008090,000963: 04,2216 12651 CADR GOPROG2
008091,000964:
008092,000965: 04,2217 40775 RENDVOO CS MMNUMBER # IS NEW PROG = 20
008093,000966: 04,2220 64112 AD OCT24 # 20
008094,000967: 04,2221 00006 EXTEND
008095,000968: 04,2222 12224 BZF RENDNOO # YES
008096,000969: 04,2223 12234 TCF POOFIZZ
008097,000970: 04,2224 40775 RENDNOO CS MMNUMBER
008098,000971: 04,2225 61011 AD MODREG
008099,000972: 04,2226 00006 EXTEND
008100,000973: 04,2227 12240 BZF KILL20
008101,000974:
008102,000975: 04,2230 30074 CA FLAGWRD0 # IS RENDEZVOO FLAG SET
008103,000976: 04,2231 75025 MASK RNDVZBIT
008104,000977: 04,2232 10000 CCS A
008105,000978: 04,2233 12251 TCF STATQUO
008106,000979:
008107,000980: 04,2234 35025 POOFIZZ CAF RNDVZBIT
008108,000981: 04,2235 70074 MASK FLAGWRD0
008109,000982: 04,2236 10000 CCS A
008110,000983: 04,2237 12246 TCF REV37
008111,000984: 04,2240 00006 KILL20 EXTEND # NO, KILL GROUPS 1 + 2
008112,000985: 04,2241 35035 DCA NEG0
008113,000986: 04,2242 52753 DXCH -PHASE1
008114,000987:
008115,000988: 04,2243 00006 EXTEND
008116,000989: 04,2244 35035 DCA NEG0
008117,000990: 04,2245 52755 DXCH -PHASE2
008118,000991:
008119,000992: 04,2246 32411 REV37 CAF V37QCAD # SET RESTART POINT
008120,000993: 04,2247 54373 TS TEMPFLSH
008121,000994:
008122,000995: 04,2250 12215 TCF GOGOPROG
008123,000996:
008124,000997:
008125,000998: 04,2251 40075 STATQUO CS FLAGWRD1 # SET TRACKFLAG AND UPDATE FLAG
008126,000999: 04,2252 75053 MASK OCT120
008127,001000: 04,2253 26075 ADS FLAGWRD1
008128,001001:
008129,001002: 04,2254 00006 EXTEND # KILL GROUP 4
008130,001003: 04,2255 35035 DCA NEG0
008131,001004: 04,2256 52761 DXCH -PHASE4
008132,001005:
008133,001006: 04,2257 12213 TCF GOMOD
008134,001007:
008135,001008: 04,2260 35025 NOUVEAU CAF RNDVZBIT
008136,001009: 04,2261 70074 MASK FLAGWRD0
008137,001010: 04,2262 10000 CCS A
008138,001011: 04,2263 12266 TCF +3
008139,001012: 04,2264 05574 TC DOWNFLAG # NO, RESET IMUSE FLAG.
008140,001013: 04,2265 00007 ADRES IMUSE # BIT 8 FLAG 0
008141,001014: 04,2266 50774 +3 INDEX MINDEX
008142,001015: 04,2267 32521 CAF DNLADMM1 # OBTAIN NEW DOWNLIST ADDRESS
008143,001016:
008144,001017: 04,2270 00004 INHINT
008145,001018: 04,2271 12200 TCF SEUDOPOO
008146,001019:
008147,001020: 04,2272 04400 V37NONO TC FALTON # COME HERE IF MM REQUESTED DOESNT EXIST
008148,001021: 04,2273 12073 TCF V37BAD
008149,001022:
008150,001023: 04,2274 5030 OCT00010 EQUALS BIT4
008151,001024: 04,2274 00004 V37XEQ INHINT
008152,001025: 04,2275 50774 INDEX MINDEX
008153,001026: 04,2276 32457 CAF PREMM1
008154,001027: 04,2277 55060 TS MMTEMP # OBTAIN PRIORITY BITS 15-11
008155,001028: 04,2300 54020 TS CYR # SHIFT RIGHT TO BITS 14-10
008156,001029:
008157,001030: 04,2301 30020 CA CYR
008158,001031: 04,2302 77674 MASK PRIO37
008159,001032: 04,2303 55062 TS PHSPRDT4 # PRESET GROUP 4 RESTART PRIORITY
008160,001033: 04,2304 54063 TS NEWPRIO # STORE PRIO FOR SPVAC
008161,001034:
008162,001035: 04,2305 31060 CA MMTEMP # OBTAIN EBANK - BITS 8, 9, 10 OF MMTEMP.
008163,001036: 04,2306 00006 EXTEND
008164,001037: 04,2307 75024 MP BIT8
008165,001038: 04,2310 75037 MASK LOW3
008166,001039: 04,2311 54001 TS L
008167,001040: 04,2312 50774 INDEX MINDEX
008168,001041: 04,2313 32416 CAF FCADRMM1
008169,001042: 04,2314 55061 TS BASETEMP
008170,001043: 04,2315 74364 MASK HI5
008171,001044: 04,2316 26001 ADS L
008172,001045:
008173,001046: 04,2317 31061 CA BASETEMP # OBTAIN GENADR PORTION OF 2CADR.
008174,001047: 04,2320 75070 MASK LOW10
008175,001048: 04,2321 65021 AD BIT11
008176,001049:
008177,001050: 04,2322 05174 TC SPVAC
008178,001051:
008179,001052: 04,2323 31060 V37XEQC CA MMTEMP # UPON RETURN FROM FINDVAC PLACE THE
008180,001053: 04,2324 76043 MASK LOW7 # NEW MM IN MODREG (THE LOW 7 BITS OF
008181,001054: 04,2325 05373 TC NEWMODEA # PHSBRDT1)
008182,001055:
008183,001056: # FOR SUNDISK ONLY
008184,001057: 04,2326 04473 TC RELDSP # RELEASE DISPLAY
008185,001058: 04,2327 05233 TC ENDOFJOB # AND EXIT
008186,001059:
008187,001060: 04,2330 00006 INITSUB EXTEND
008188,001061: 04,2331 22155 QXCH MPAC +1
008189,001062:
008190,001063: 04,2332 35073 CAF EBANK6 # SET E6 FOR DEADBAND CODING
008191,001064: 04,2333 54003 TS EBANK # WILL BE RESET IN STARTSB2.
008192,001065: 04,2334 00004 INHINT
008193,001066: 04,2335 04526 TC STOPRATE
008194,001067:
008195,001068: 04,2336 30105 CA FLAGWRD9 # RESTORE DEADBAND
008196,001069: 04,2337 75020 MASK MAXDBBIT
008197,001070: 04,2340 10000 CCS A
008198,001071: 04,2341 12345 TCF SETMAXER # MAX DB SELECTED
008199,001072: 04,2342 04676 TC BANKCALL # MIN DB SELECTED
008200,001073: 04,2343 50304 CADR SETMINDB
008201,001074: 04,2344 12347 TCF RAKE
008202,001075: 04,2345 04676 SETMAXER TC BANKCALL
008203,001076: 04,2346 50320 CADR SETMAXDB
008204,001077:
008205,001078: 04,2347 35040 RAKE CAF ELEVEN # THIS PART CLEARS FLAGWORD BITS.
008206,001079: 04,2350 54154 +1 TS MPAC # LOOP COMES HERE.
008207,001080: 04,2351 50154 INDEX MPAC
008208,001081: 04,2352 42367 CS FLAGTABL
008209,001082: 04,2353 50154 INDEX MPAC
008210,001083: 04,2354 70074 MASK FLAGWRD0
008211,001084: 04,2355 50154 INDEX MPAC # PUT REVISED FLAGWORD BACK.
008212,001085: 04,2356 54074 TS FLAGWRD0
008213,001086: 04,2357 10154 CCS MPAC
008214,001087: 04,2360 12350 TCF RAKE +1 # GET THE NEXT FLAGWORD.
008215,001088: 04,2361 00003 RELINT
008216,001089:
008217,001090: 04,2362 05562 TC UPFLAG # NOW SET IMPULSW
008218,001091: 04,2363 00044 ADRES IMPULSW
008219,001092:
008220,001093: 04,2364 37716 CA NEGONE
008221,001094: 04,2365 55303 TS OPTIND
008222,001095: 04,2366 00155 TC MPAC +1 # RETURN FROM INITSUB
008223,001096:
Reconstruction: POOFLAG was added to FLAGTABL as part of the fix for anomaly COM-21, "Backwards integration can occur in P27 uplink". |
008226,001099: 04,2367 00000 FLAGTABL OCT 0
008227,001100: 04,2370 00040 OCT 00040 # IDLEFAIL
008228,001101: 04,2371 06000 OCT 06000 # P21FLAG, STEERSW
008229,001102: 04,2372 20400 OCT 20400 # GLOKFAIL, POOFLAG
008230,001103: 04,2373 00000 OCT 0
008231,001104: 04,2374 04140 OCT 04140 # V59FLAG, ENGONFLG, 3AXISFLG
008232,001105: 04,2375 10000 OCT 10000 # STRULLSW
008233,001106: 04,2376 16000 OCT 16000
008234,001107: 04,2377 00000 OCT 0
008235,001108: 04,2400 42000 OCT 42000 # SWTOVER, V94FLAG
008236,001109: 04,2401 00000 OCT 0
008237,001110: 04,2402 00000 OCT 0
008238,001111:
008239,001112: 20,2000 SETLOC VAC5LOC
008240,001113: 20,2000 BANK
008241,001114: 20,2000 35035 VAC5STOR CA ZERO # INITIALIZE INDEX REGISTERS
008242,001115: 20,2001 54061 TS ITEMP1
008243,001116: 20,2002 54062 TS ITEMP2
008244,001117:
008245,001118: 20,2003 00006 V5LOOP1 EXTEND # LOOP TO STORE LOCS, BANKSETS, AND PRIOS.
008246,001119: 20,2004 50061 INDEX ITEMP1
008247,001120: 20,2005 30165 DCA LOC
008248,001121: 20,2006 50062 INDEX ITEMP2
008249,001122: 20,2007 52662 DXCH VAC5
008250,001123:
008251,001124: 20,2010 50061 INDEX ITEMP1
008252,001125: 20,2011 30167 CA PRIORITY
008253,001126: 20,2012 50062 INDEX ITEMP2
008254,001127: 20,2013 54663 TS VAC5 +2
008255,001128:
008256,001129: 20,2014 40062 CS ITEMP2 # HAVE WE STORED THEM ALL?
008257,001130: 20,2015 62064 AD EIGHTEEN
008258,001131: 20,2016 00006 EXTEND
008259,001132: 20,2017 12025 BZF V5OUT1 # YES, GET PHASE INFORMATION.
008260,001133:
008261,001134: 20,2020 35775 CA TWELVE # NO, INCREMENT INDEXES AND LOOP.
008262,001135: 20,2021 26061 ADS ITEMP1
008263,001136: 20,2022 36214 CA THREE
008264,001137: 20,2023 26062 ADS ITEMP2
008265,001138: 20,2024 12003 TCF V5LOOP1
008266,001139:
008267,001140: 20,2025 E3,1436 EBANK= PHSNAME1
008268,001141: 20,2025 35065 V5OUT1 CA EBANK3 # PHSNAME REGISTERS ARE IN EBANK3.
008269,001142: 20,2026 54003 TS EBANK
008270,001143:
008271,001144: 20,2027 35040 CA ELEVEN # GET PHASE 2CADRS.
008272,001145: 20,2030 05622 TC GENTRAN
008273,001146: 20,2031 01436 ADRES PHSNAME1
008274,001147: 20,2032 00706 ADRES VAC5 +21D
008275,001148:
008276,001149: 20,2033 35035 CA ZERO # NOW INITIALIZE INDEXES AGAIN.
008277,001150: 20,2034 54061 TS ITEMP1
008278,001151: 20,2035 54062 TS ITEMP2
008279,001152:
008280,001153: 20,2036 50061 V5LOOP2 INDEX ITEMP1 # LOOP TO GET PHASE TABLES.
008281,001154: 20,2037 30753 CA PHASE1
008282,001155: 20,2040 50062 INDEX ITEMP2
008283,001156: 20,2041 54722 TS VAC5 +33D
008284,001157:
008285,001158: 20,2042 40062 CS ITEMP2 # DO WE HAVE THEM ALL?
008286,001159: 20,2043 65036 AD FIVE
008287,001160: 20,2044 00006 EXTEND
008288,001161: 20,2045 12052 BZF V5OUT2 # YES, GO FINISH UP.
008289,001162:
008290,001163: 20,2046 35032 CA TWO # NO, INCREMENT INDEXES AND LOOP.
008291,001164: 20,2047 26061 ADS ITEMP1
008292,001165: 20,2050 24062 INCR ITEMP2
008293,001166: 20,2051 12036 TCF V5LOOP2
008294,001167:
008295,001168: 20,2052 30157 V5OUT2 CA MPAC +3
008296,001169: 20,2053 54730 TS VAC5 +39D
008297,001170:
008298,001171: 20,2054 00006 EXTEND
008299,001172: 20,2055 30066 DCA NEWLOC
008300,001173: 20,2056 52732 DXCH VAC5 +40D
008301,001174:
008302,001175: 20,2057 30067 CA NEWJOB
008303,001176: 20,2060 54707 TS VAC5 +22D
008304,001177:
008305,001178: 20,2061 30063 CA NEWPRIO
008306,001179: 20,2062 54713 TS VAC5 +26D
008307,001180:
008308,001181: 20,2063 04711 TC SWRETURN
008309,001182:
008310,001183: 20,2064 00022 EIGHTEEN OCT 22
008311,001184: 04,2000 SETLOC VERB37
008312,001185: 04,2000 BANK
008313,001186:
008314,001187: 04,2403 5735 NEG7 EQUALS OCT77770
008315,001188:
008316,001189: 04,2403 44571 OCT44571 OCT 44571 # CONSTANTS TO CLEAR CHANNEL BITS IN V37
008317,001190: 04,2404 00600 OCT600 OCT 600
008318,001191: 04,2405 E6,1423 EBANK= PACTOFF
008319,001192: 04,2405 03155 12066 POODAPAD 2CADR T5IDLOC
008320,001193:
008321,001194: 04,2407 1060 MMTEMP EQUALS PHSPRDT3
008322,001195: 04,2407 1061 BASETEMP EQUALS TBASE4
008323,001196: 04,2407 00300 BIT7-8 OCT 300
008324,001197: 04,2410 01120 OCT01120 OCT 01120
008325,001198:
008326,001199: 04,2411 10277 V37QCAD CADR V37XEQ +3
008327,001200: 04,2412 10133 ROOAD CADR DUMMYAD
008328,001201: 04,2413 E6,1466 EBANK= DAPDATR1
008329,001202: 04,2413 02134 42066 RCSADDR4 2CADR RCSATT
008330,001203:
008331,001204: 04,2415 37312 3.1SEC OCT 37312 # 2.5 + 0.6 SEC
008332,001205:
008333,001206: # FOR VERB 37 TWO TABLES ARE MAINTAINED. EACH TABLE HAS AN ENTRY FOR EACH
008334,001207: # MAJOR MODE THAT CAN BE STARTED FROM THE KEYBOARD. THE ENTRIES ARE PUT
008335,001208: # INTO THE TABLE WITH THE ENTRY FOR THE HIGHEST MAJOR MODE COMING FIRST,
008336,001209: # TO THE LOWEST MAJOR MODE WHICH IS THE LAST ENTRY IN EACH TABLE.
008337,001210:
008338,001211: # THE FCADRMM TABLE CONTAINS THE FCADR OF THE STARTING JOB OF
008339,001212: # THE MAJOR MODE. FOR EXAMPLE,
008340,001213:
008341,001214: # FCADRMM1 FCADR P79 START OF P 79
008342,001215: # FCADR PROG18 START OF P 18
008343,001216: # FCADR P01 START OF P 01
008344,001217:
008345,001218: 04,2416 FCADRMM1 EQUALS
008346,001219: 04,2416 11172 FCADR P79
008347,001220: 04,2417 10744 FCADR P78
008348,001221: 04,2420 73153 FCADR P77
008349,001222: 04,2421 26071 FCADR P76
008350,001223: 04,2422 72163 FCADR P75
008351,001224: 04,2423 72002 FCADR P74
008352,001225: 04,2424 11441 FCADR P73
008353,001226: 04,2425 11305 FCADR P72
008354,001227: 04,2426 54313 FCADR P62
008355,001228: 04,2427 54217 FCADR P61
008356,001229: 04,2430 32000 FCADR P54
008357,001230: 04,2431 31060 FCADR P53
008358,001231: 04,2432 32000 FCADR PROG52
008359,001232: 04,2433 31060 FCADR P51
008360,001233: 04,2434 50463 FCADR P47CSM
008361,001234: 04,2435 56615 FCADR P41CSM
008362,001235: 04,2436 50073 FCADR P40CSM
008363,001236: 04,2437 11166 FCADR P39
008364,001237: 04,2440 10742 FCADR P38
008365,001238: 04,2441 74466 FCADR P37
008366,001239: 04,2442 72157 FCADR P35
008367,001240: 04,2443 72000 FCADR P34
008368,001241: 04,2444 11437 FCADR P33
008369,001242: 04,2445 11303 FCADR P32
008370,001243: 04,2446 73337 FCADR P31
008371,001244: 04,2447 73323 FCADR P30
008372,001245: 04,2450 62403 FCADR P23
008373,001246: 04,2451 60000 FCADR PROG22
008374,001247: 04,2452 76001 FCADR PROG21
008375,001248: 04,2453 76270 FCADR PROG20
008376,001249: 04,2454 73151 FCADR P17
008377,001250: 04,2455 55657 FCADR P06
008378,001251: 04,2456 66001 FCADR GTSCPSS1 # GYROCOMPASS STANDARD LEAD IN.
008379,001252:
008380,001253: # THE PREMM TABLE CONTAINS THE E-BANK, MAJOR MODE, AND PRIORITY
008381,001254: # INFORMATION, IT IS IN THE FOLLOWING FORM,
008382,001255:
008383,001256: # PPP PPE EEM MMM MMM
008384,001257:
008385,001258: # WHERE THE 7 M BITS CONTAIN THE MAJOR MODE NUMBER
008386,001259: # 3 E BITS CONTAIN THE E-BANK NUMBER
008387,001260: # 5 P BITS CONTAIN THE PRIORITY AT WHICH THE JOB IS
008388,001261: # TO BE STARTED
008389,001262:
008390,001263: # FOR EXAMPLE,
008391,001264:
008392,001265: # PREMM1 OCT 67213 PRIORITY 33
008393,001266: # E-BANK 5
008394,001267: # MAJOR MODE 11
008395,001268: # OCT 25437 PRIORITY 12
008396,001269: # E-BANK 6
008397,001270: # MAJOR MODE 31
008398,001271:
008399,001272: 04,2457 PREMM1 EQUALS
008400,001273: 04,2457 27117 OCT 27117 # MM 79 EBANK 4 PRIO 13
008401,001274: 04,2460 27116 OCT 27116 # MM 78 EBANK 4 PR23 13
008402,001275: 04,2461 27115 OCT 27115 # MM 77 EBANK 4 PRIO 13
008403,001276: 04,2462 27714 OCT 27714 # MM 76 EBANK 7 PRIO 13
008404,001277: 04,2463 27113 OCT 27113 # MM 75 EBANK 4 PRIO 13
008405,001278: 04,2464 27112 OCT 27112 # MM 74 EBANK 4 PRIO13
008406,001279: 04,2465 27111 OCT 27111 # MM 73 EBANK 4 PRIO 13
008407,001280: 04,2466 27110 OCT 27110 # MM 72 EBANK 4 PRIO 13
008408,001281: 04,2467 27476 OCT 27476 # MM 62 EBANK 6 PRIO 13
008409,001282: 04,2470 27475 OCT 27475 # MM 61 EBANK 6 PRIO 13
008410,001283: 04,2471 27266 OCT 27266 # MM 54 EBANK 5 PRIO 13
008411,001284: 04,2472 27265 OCT 27265 # MM 53 EBANK 5 PRIO 13
008412,001285: 04,2473 27264 OCT 27264 # MM 52 EBANK 5 PRIO 13
008413,001286: 04,2474 27263 OCT 27263 # MM 51 EBANK 5 PRIO 13
008414,001287: 04,2475 27657 OCT 27657 # MM 47 EBANK 7 PRIO 13
008415,001288: 04,2476 27451 OCT 27451 # MM 41 EBANK 6 PRIO 13
008416,001289: 04,2477 27450 OCT 27450 # MM 40 EBANK 6 PRIO 13
008417,001290: 04,2500 27047 OCT 27047 # MM 39 EBANK 4 PRIO 13
008418,001291: 04,2501 27046 OCT 27046 # MM 38 EBANK 4 PRIO 13
008419,001292: 04,2502 27645 OCT 27645 # MM 37 EBANK 7 PRIO 13
008420,001293: 04,2503 27043 OCT 27043 # MM 35 EBANK 4 PRIO 13
008421,001294: 04,2504 27042 OCT 27042 # MM 34 EBANK 4 PRIO 13
008422,001295: 04,2505 27041 OCT 27041 # MM 33 EBANK 4 PRIO 13
008423,001296: 04,2506 27040 OCT 27040 # MM 32 EBANK 4 PRIO 13
008424,001297: 04,2507 27637 OCT 27637 # MM 31 EBANK 7 PRIO 13
008425,001298: 04,2510 27636 OCT 27636 # MM 30 EBANK 7 PRIO 13
008426,001299: 04,2511 27227 OCT 27227 # MM 23 EBANK 5 PRIO 13
008427,001300: 04,2512 27226 OCT 27226 # MM 22 EBANK 5 PRIO 13
008428,001301: 04,2513 27025 OCT 27025 # MM 21 EBANK 4 PRIO 13
008429,001302: 04,2514 27424 OCT 27424 # MM 20 EBANK 6 PRIO 13
008430,001303: 04,2515 27021 OCT 27021 # MM 17 EBANK 4 PRIO 13
008431,001304: 04,2516 27006 OCT 27006 # MM 06 EBANK 4 PRIO 13
008432,001305: 04,2517 41201 OCT 41201 # MM 01 EBANK 5 PRIO 20
008433,001306:
008434,001307: # THE FOLLOWING LIST IS FOR THE PURPOSE OF VERIFYING THAT THE EBA
008435,001308:
008436,001309: 04,2520 E7,1412 EBANK= TIG # EBANK SETTING REQUIRED BY MM 76
008437,001310: 04,2520 E4,1763 EBANK= KT # EBANK SETTING REQUIRED BY MM 75
008438,001311: 04,2520 E4,1770 EBANK= SUBEXIT # EBANK SETTING REQUIRED BY MM 74
008439,001312: 04,2520 E4,1770 EBANK= SUBEXIT # EBANK SETTING REQUIRED BY MM 73
008440,001313: 04,2520 E4,1770 EBANK= SUBEXIT # EBANK SETTING REQUIRED BY MM 72
008441,001314: 04,2520 E6,1661 EBANK= AOG # EBANK SETTING REQUIRED BY MM 62
008442,001315: 04,2520 E6,1661 EBANK= AOG # EBANK SETTING REQUIRED BY MM 61
008443,001316: 04,2520 0302 EBANK= BESTI # EBANK SETTING REQUIRED BY MM 54
008444,001317: 04,2520 0304 EBANK= STARIND # EBANK SETTING REQUIRED BY MM 53
008445,001318: 04,2520 0302 EBANK= BESTI # EBANK SETTING REQUIRED BY MM 52
008446,001319: 04,2520 0304 EBANK= STARIND # EBANK SETTING REQUIRED BY MM 51
008447,001320: 04,2520 E7,1672 EBANK= P40TMP # EBANK SETTING REQUIRED BY MM 47
008448,001321: 04,2520 E6,1466 EBANK= DAPDATR1 # EBANK SETTING REQUIRED BY MM 41
008449,001322: 04,2520 E6,1510 EBANK= KMPAC # EBANK SETTING REQUIRED BY MM 40
008450,001323: 04,2520 E4,1763 EBANK= KT # EBANK SETTING REQUIRED BY MM 35
008451,001324: 04,2520 E4,1770 EBANK= SUBEXIT # EBANK SETTING REQUIRED BY MM 34
008452,001325: 04,2520 E4,1770 EBANK= SUBEXIT # EBANK SETTING REQUIRED BY MM 33
008453,001326: 04,2520 E4,1770 EBANK= SUBEXIT # EBANK SETTING REQUIRED BY MM 32
008454,001327: 04,2520 E7,1625 EBANK= +MGA # EBANK SETTING REQUIRED BY MM 30
008455,001328: 04,2520 E5,1751 EBANK= LANDMARK # EBANK SETTING REQUIRED BY MM 23
008456,001329: 04,2520 0301 EBANK= MARKINDX # EBANK SETTING REQUIRED BY MM 22
008457,001330: 04,2520 E7,1777 EBANK= WHOCARES # EBANK SETTING REQUIRED BY MM 21
008458,001331: 04,2520 E6,1413 EBANK= ESTROKER # EBANK SETTING REQUIRED BY MM 20
008459,001332: 04,2520 1150 EBANK= TIME2SAV # EBANK SETTING REQUIRED BY MM 06
008460,001333: 04,2520 E5,1425 EBANK= QPLACE # EBANK SETTING REQUIRED BY MM 01
008461,001334:
008462,001335: # NOTE, THE FOLLOWING CONSTANT IS THE NUMBER OF ENTRIES IN EACH OF
008463,001336: # ---- THE ABOVE LISTS-1(IE, THE NUMBER OF MAJOR MODES (EXCEPT P00)
008464,001337: # THAT CAN BE CALLED FROM THE KEYBOARD MINUS ONE)
008465,001338:
008466,001339: 04,2520 EPREMM1 EQUALS # END OF PREMM1 TABLE
008467,001340: 04,2457 SETLOC PREMM1 # THIS CODING WILL AUTOMATICALLY CHANGE
008468,001341: 04,2457 NO.MMS =MINUS EPREMM1 # THE 'NOV37MM' CONSTANT AS ENTRIES ARE
008469,001342: 04,2000 SETLOC VERB37 # INSERTED(IN) OR DELETED(FROM) THE
008470,001343: 04,2000 BANK # 'PREMM1' TABLE.
008471,001344:
008472,001345: 04,2520 00040 NOV37MM ADRES NO.MMS -1 # ITEMS IN 'PREMM1'TABLE - 1. *DON'T MOVE*
008473,001346:
008474,001347: 04,2521 DNLADMM1 EQUALS
008475,001348: 04,2521 00002 ADRES RENDEZVU # P79
008476,001349: 04,2522 00002 ADRES RENDEZVU # P78
008477,001350: 04,2523 00002 ADRES RENDEZVU # P77
008478,001351: 04,2524 00002 ADRES RENDEZVU # P76
008479,001352: 04,2525 00002 ADRES RENDEZVU # P75
008480,001353: 04,2526 00002 ADRES RENDEZVU # P74
008481,001354: 04,2527 00002 ADRES RENDEZVU # P73
008482,001355: 04,2530 00002 ADRES RENDEZVU # P72
008483,001356: 04,2531 00001 ADRES ENTRYUPD # P62
008484,001357: 04,2532 00003 ADRES POWERED # P61
008485,001358: 04,2533 00000 ADRES COSTALIN
008486,001359: 04,2534 00000 ADRES COSTALIN
008487,001360: 04,2535 00000 ADRES COSTALIN # P52
008488,001361: 04,2536 00000 ADRES COSTALIN # P51
008489,001362: 04,2537 00003 ADRES POWERED # P47
008490,001363: 04,2540 00003 ADRES POWERED # P41
008491,001364: 04,2541 00003 ADRES POWERED # P40
008492,001365: 04,2542 00002 ADRES RENDEZVU # P39
008493,001366: 04,2543 00002 ADRES RENDEZVU # P38
008494,001367: 04,2544 00002 ADRES RENDEZVU # P37
008495,001368: 04,2545 00002 ADRES RENDEZVU # P35
008496,001369: 04,2546 00002 ADRES RENDEZVU # P34
008497,001370: 04,2547 00002 ADRES RENDEZVU # P33
008498,001371: 04,2550 00002 ADRES RENDEZVU # P32
008499,001372: 04,2551 00002 ADRES RENDEZVU
008500,001373: 04,2552 00002 ADRES RENDEZVU # P30
008501,001374: 04,2553 00002 ADRES RENDEZVU # P23
008502,001375: 04,2554 00004 ADRES P22DNLST # P22
008503,001376: 04,2555 00002 ADRES RENDEZVU # P21
008504,001377: 04,2556 00002 ADRES RENDEZVU # P20
008505,001378: 04,2557 00002 ADRES RENDEZVU # P17
008506,001379: 04,2560 00000 ADRES COSTALIN # P06
008507,001380: 04,2561 00000 ADRES COSTALIN # P01
008508,001381:
008509,001382: 04,2562 5035 DNLADP00 = ZERO
008510,001383: 04,2562 COSTALIN = 0
008511,001384: 04,2562 ENTRYUPD = 1
008512,001385: 04,2562 RENDEZVU = 2
008513,001386: 04,2562 POWERED = 3
008514,001387:
008515,001388: 04,2562 P22DNLST = 4
008516,001389:
008517,001390: # ORBITAL INTEGRATION CONSTANTS
008518,001391:
008519,001392: # THESE CONSTANTS ARE USED IN COMPUTING THE SETTING OF MIDFLAG.
008520,001393:
008521,001394: 04,2562 00465 32324 RMM 2DEC 2538.09 E3 B-27 # 800 KM ABOVE LUNAR SURFACE
008522,001395:
008523,001396: 04,2564 00333 01733 RME 2DEC 7178165 B-29 # 800 KM ABOVE EQ. RADIUS
008524,001397:
008525,001398: 13,2000 BANK 13
008526,001399: 13,2000 SETLOC INTINIT
008527,001400: 13,2000 BANK
008528,001401:
008529,001402: 13,2000 COUNT* $$/INTIN
008530,001403:
008531,001404: 13,2000 E3,1554 EBANK= RRECTCSM
008532,001405:
008533,001406: 13,2000 43014 STATEUP SET BOF # EXTRAPOLATE CM STATE VECTOR
008534,001407: 13,2001 01474 VINTFLAG
008535,001408: 13,2002 01751 ORBWFLAG # ALSO 6X6 W-MATRIX IF VALID
008536,001409: 13,2003 26006 +3 # FOR ORBITAL NAVIGATION
008537,001410: 13,2004 77614 SET
008538,001411: 13,2005 01476 DIM0FLAG
008539,001412: 13,2006 45014 CLEAR CALL
008540,001413: 13,2007 01667 PRECIFLG
008541,001414: 13,2010 27171 INTEGRV
008542,001415: 13,2011 71214 BON DLOAD
008543,001416: 13,2012 04307 SURFFLAG
008544,001417: 13,2013 26031 STATEND
008545,001418: 13,2014 01571 TETCSM
008546,001419: 13,2015 34041 STCALL TDEC1
008547,001420: 13,2016 27446 INTSTALL
008548,001421: 13,2017 45014 CLEAR CALL # EXTRAPOLATE LM STATE VECTOR
008549,001422: 13,2020 01674 VINTFLAG
008550,001423: 13,2021 26677 SETIFLGS # AND 6X6 W-MATRIX IF VALID
008551,001424: 13,2022 43014 BOF SET
008552,001425: 13,2023 02756 RENDWFLG # FOR RENDEZVOUS NAVIGATION
008553,001426: 13,2024 26026 +2
008554,001427: 13,2025 01476 DIM0FLAG
008555,001428: 13,2026 45014 SET CALL
008556,001429: 13,2027 01467 PRECIFLG
008557,001430: 13,2030 27171 INTEGRV
008558,001431: 13,2031 77614 STATEND CLRGO
008559,001432: 13,2032 01236 NODOFLAG
008560,001433: 13,2033 26665 ENDINT
008561,001434:
008562,001435: # THIS VINT IS CALLED BY MIDTOAV1 AND 2
008563,001436:
008564,001437: 13,2034 43414 THISVINT SET RVQ
008565,001438: 13,2035 01474 VINTFLAG
008566,001439:
End of include-file FRESH_START_AND_RESTART.agc. Parent file is MAIN.agc