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