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