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