Source Code
These source-code files are part of a reconstructed copy of Luminary 98, a
development version of the Apollo 11 Lunar Module (LM) Apollo Guidance Computer
(AGC) software.
The reconstruction began with source code of Luminary 99 revision 1 previously transcribed from a digitized copy of that program. The code was then updated by undoing changes described in original Luminary memo 85, using asterisks indicating changed lines in the listing as a guide. While no listing of this version is known to exist, nor are the memory-bank checksums available, the reconstruction is believed to be correct because it was an an intermediate step in reconstructing Luminary 97 whose reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152G. Note that page numbers in the reconstructed code match those on the Luminary 099 revision 001 printout, although the added code would likely have changed page numbers for a real Luminary 98 listing. Comments from 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. |
035955,000002: ## Copyright: Public domain.
035956,000003: ## Filename: ASCENT_GUIDANCE.agc
035957,000004: ## Purpose: A section of Luminary revision 98.
035958,000005: ## It is part of the reconstructed source code for the a
035959,000006: ## development version of the flight software for the Lunar
035960,000007: ## Module's (LM) Apollo Guidance Computer (AGC) for Apollo 11.
035961,000008: ## The code has been recreated from a copy of Luminary 99
035962,000009: ## revision 001, using asterisks indicating changed lines in
035963,000010: ## the listing and Luminary Memo #85, which lists changes between
035964,000011: ## Luminary 98 and 99.
035965,000012: ## Reference: pp. 843-856
035966,000013: ## Assembler: yaYUL
035967,000014: ## Contact: Ron Burkey <info@sandroid.org>.
035968,000015: ## Website: www.ibiblio.org/apollo/index.html
035969,000016: ## Mod history: 2019-07-28 MAS Created from Luminary 99.
035970,000017:
Page 843 |
035972,000019: 34,3642 BANK 34
035973,000020: 34,2000 SETLOC ASCFILT
035974,000021: 34,2000 BANK
035975,000022:
035976,000023: 34,3642 E7,1515 EBANK= DVCNTR
035977,000024:
035978,000025: 34,3642 COUNT* $$/ASENT
035979,000026:
035980,000027: 34,3642 05353 ATMAG TC PHASCHNG
035981,000028: 34,3643 00035 OCT 00035
035982,000029: 34,3644 06037 TC INTPRET
035983,000030: 34,3645 77614 BON
035984,000031: 34,3646 04705 FLRCS
035985,000032: 34,3647 60321 ASCENT
035986,000033: 34,3650 45345 DLOAD DSU
035987,000034: 34,3651 03514 ABDVCONV
035988,000035: 34,3652 26205 MINABDV
035989,000036: 34,3653 43040 BMN CLEAR
035990,000037: 34,3654 60750 ASCTERM4
035991,000038: 34,3655 04267 SURFFLAG
035992,000039: 34,3656 67214 CLEAR SLOAD
035993,000040: 34,3657 02676 RENDWFLG
035994,000041: 34,3660 31716 BIT3H
035995,000042: 34,3661 77471 DDV EXIT
035996,000043: 34,3662 03514 ABDVCONV
035997,000044: 34,3663 52155 DXCH MPAC
035998,000045: 34,3664 53641 DXCH 1/DV3
035999,000046: 34,3665 53637 DXCH 1/DV2
036000,000047: 34,3666 53635 DXCH 1/DV1
036001,000048: 34,3667 53571 DXCH 1/DV0
036002,000049: 34,3670 06037 TC INTPRET
036003,000050: 34,3671 43345 DLOAD DAD
036004,000051: 34,3672 03571 1/DV0
036005,000052: 34,3673 03635 1/DV1
036006,000053: 34,3674 43215 DAD DAD
036007,000054: 34,3675 03637 1/DV2
036008,000055: 34,3676 03641 1/DV3
036009,000056: 34,3677 41205 DMP DMP
036010,000057: 34,3700 02265 VE
036011,000058: 34,3701 21032 2SEC(9)
036012,000059: 34,3702 65252 SL3 PDDL
036013,000060: 34,3703 02271 TBUP
036014,000061: 34,3704 43342 SR1 DAD
036015,000062: 34,3705 77625 DSU
036016,000063: 34,3706 21027 6SEC(18)
036017,000064: 34,3707 16271 STODL TBUP
036018,000065: 34,3710 02265 VE
036019,000066: 34,3711 56342 SR1 DDV
036020,000067: 34,3712 02271 TBUP
036021,000068: 34,3713 36263 STCALL AT
Page 844 |
036023,000070: 34,3714 60321 ASCENT
036024,000071: 34,3715 00004 BIT3H OCT 4
036025,000072:
Page 845 |
036027,000074: 30,2321 BANK 30
036028,000075: 30,2000 SETLOC ASENT
036029,000076: 30,2000 BANK
036030,000077: 30,2321 COUNT* $$/ASENT
036031,000078:
036032,000079: 30,2321 51575 ASCENT VLOAD ABVAL
036033,000080: 30,2322 03521 R
036034,000081: 30,2323 26301 STOVL /R/MAG
036035,000082: 30,2324 03726 ZAXIS1
036036,000083: 30,2325 72441 DOT SL1
036037,000084: 30,2326 03527 V # Z.V = ZDOT*2(-8).
036038,000085: 30,2327 26313 STOVL ZDOT # ZDOT*2(-7)
036039,000086: 30,2330 03726 ZAXIS1
036040,000087: 30,2331 76435 VXV VSL1
036041,000088: 30,2332 03537 UNIT/R/ # Z X UR = LAXIS*2(-2)
036042,000089: 30,2333 02303 STORE LAXIS # LAXIS*2(-1)
036043,000090: 30,2334 72441 DOT SL1
036044,000091: 30,2335 03527 V # L.V = YDOT*2(-8).
036045,000092: 30,2336 36311 STCALL YDOT # YDOT * 2(-7)
036046,000093: 30,2337 57312 YCOMP
036047,000094: 30,2340 77775 VLOAD
036048,000095: 30,2341 03563 GDT1/2 # LOAD GDT1/2*2(-7) M/CS.
036049,000096: 30,2342 50341 V/SC DOT
036050,000097: 30,2343 27147 2SEC(18)
036051,000098: 30,2344 03537 UNIT/R/ # G.UR*2(9) = GR*2(9).
036052,000099: 30,2345 47315 PDVL VXV # STORE IN PDL(0) (2)
036053,000100: 30,2346 03537 UNIT/R/ # LOAD UNIT/R/ *2(-1).
036054,000101: 30,2347 03527 V # UR*2(-1) X V*2(-7) = H/R*2(-8).
036055,000102: 30,2350 56236 VSQ DDV # H(2)/R(2)*2(-16).
036056,000103: 30,2351 02301 /R/MAG # H(2)/R(3)*2(9).
036057,000104: 30,2352 43352 SL1 DAD
036058,000105: 30,2353 77626 STADR
036059,000106: 30,2354 61462 STODL GEFF # GEFF*2(10)M/CS/CS.
036060,000107: 30,2355 02277 ZDOTD
036061,000108: 30,2356 77625 DSU
036062,000109: 30,2357 02313 ZDOT
036063,000110: 30,2360 02343 STORE DZDOT # DZDOT = (ZDOTD - ZDOT) * 2(7) M/CS.
036064,000111: 30,2361 65361 VXSC PDDL
036065,000112: 30,2362 03726 ZAXIS1
036066,000113: 30,2363 02275 YDOTD
036067,000114: 30,2364 77625 DSU
036068,000115: 30,2365 02311 YDOT
036069,000116: 30,2366 02341 STORE DYDOT # DYDOT = (YDOTD - YDOT) *2(7) M/CS.
036070,000117: 30,2367 65361 VXSC PDDL
036071,000118: 30,2370 02303 LAXIS
036072,000119: 30,2371 02273 RDOTD
Page 846 |
036074,000121: 30,2372 77625 DSU
036075,000122: 30,2373 03474 RDOT
036076,000123: 30,2374 02337 STORE DRDOT # DRDOT = (RDOTD - RDOT) * 2(7) M/CS.
036077,000124: 30,2375 53361 VXSC VAD
036078,000125: 30,2376 03537 UNIT/R/
036079,000126: 30,2377 76455 VAD VSL1
036080,000127: 30,2400 77626 STADR
036081,000128: 30,2401 74131 STORE VGVECT # VG = (DRDOT)R + (DYDOT)L + (DZDOT)Z.
036082,000129: 30,2402 41345 DLOAD DMP # LOAD TGO
036083,000130: 30,2403 03517 TGO # TGO GEFF
036084,000131: 30,2404 02315 GEFF
036085,000132: 30,2405 76561 VXSC VSL1
036086,000133: 30,2406 03537 UNIT/R/ # TGO GEFF UR
036087,000134: 30,2407 77645 BVSU
036088,000135: 30,2410 03646 VGVECT # COMPENSATED FOR GEFF
036089,000136: 30,2411 03646 STORE VGVECT # STORE FOR DOWNLINK
036090,000137: 30,2412 76521 MXV VSL1 # GET VGBODY FOR N85 DISPLAY
036091,000138: 30,2413 02146 XNBPIP
036092,000139: 30,2414 27502 STOVL VGBODY
036093,000140: 30,2415 03646 VGVECT
036094,000141: 30,2416 43046 ABVAL BOFF # MAGNITUDE OF VGVECT
036095,000142: 30,2417 04745 FLRCS # IF FLRCS=0,DO NORMAL GUIDANCE
036096,000143: 30,2420 60425 MAINENG
036097,000144: 30,2421 77671 DDV # USE TGO=VG/AT WITH RCS
036098,000145: 30,2422 20001 AT/RCS
036099,000146: 30,2423 37517 STCALL TGO # THIS WILL BE USED ON NEXT CYCLE
036100,000147: 30,2424 60746 ASCTERM2
036101,000148: 30,2425 41471 MAINENG DDV PUSH # VG/VE IN PDL(0) (2)
036102,000149: 30,2426 02265 VE
036103,000150: 30,2427 44205 DMP BDSU # 1 - KT VG/VE
036104,000151: 30,2430 26201 KT1
036105,000152: 30,2431 17771 NEARONE
036106,000153: 30,2432 41205 DMP DMP # TBUP VG(1-KT VG/VE)/VE (0)
036107,000154: 30,2433 02271 TBUP # = TGO
036108,000155: 30,2434 77625 DSU # COMPENSATE FOR TAILOFF
036109,000156: 30,2435 02267 TTO
036110,000157: 30,2436 03517 STORE TGO
036111,000158: 30,2437 57461 SR DCOMP
036112,000159: 30,2440 20614 11D
036113,000160: 30,2441 17454 STODL TTOGO # TGO *2(-28) CS
036114,000161: 30,2442 03517 TGO
036115,000162: 30,2443 45214 BON DSU
036116,000163: 30,2444 03710 IDLEFLAG
036117,000164: 30,2445 60451 T2TEST
036118,000165: 30,2446 21021 4SEC(17) # ( TGO - 4 )*2(-17) CS.
036119,000166: 30,2447 77640 BMN
036120,000167: 30,2450 30355 ENGOFF
036121,000168: 30,2451 77745 T2TEST DLOAD
036122,000169: 30,2452 03517 TGO
036123,000170: 30,2453 50025 DSU BMN # IF TGO - T2 NEG., GO TO CMPONENT
Page 847 |
036125,000172: 30,2454 21023 T2A
036126,000173: 30,2455 60612 CMPONENT
036127,000174: 30,2456 45345 DLOAD DSU
036128,000175: 30,2457 02271 TBUP
036129,000176: 30,2460 03517 TGO
036130,000177: 30,2461 45071 DDV CALL # 1- TGO/TBUP
036131,000178: 30,2462 02271 TBUP
036132,000179: 30,2463 61036 LOGSUB
036133,000180: 30,2464 41461 SL PUSH # -L IN PDL(0) (2)
036134,000181: 30,2465 20206 5
036135,000182: 30,2466 44265 BDDV BDSU # -TGO/L*2(-17)
036136,000183: 30,2467 03517 TGO
036137,000184: 30,2470 02271 TBUP # TBUP + TGO/L = D12*2(-17)
036138,000185: 30,2471 43006 PUSH BON # STORE IN PDL(2) (4)
036139,000186: 30,2472 04703 FLPC # IF FLPC = 1, GO TO CONST
036140,000187: 30,2473 60502 NORATES
036141,000188: 30,2474 45345 DLOAD DSU
036142,000189: 30,2475 03517 TGO
036143,000190: 30,2476 21025 T3
036144,000191: 30,2477 43044 BPL SET # FLPC=1
036145,000192: 30,2500 60510 RATES
036146,000193: 30,2501 04463 FLPC
036147,000194: 30,2502 77745 NORATES DLOAD
036148,000195: 30,2503 06522 HI6ZEROS
036149,000196: 30,2504 02351 STORE PRATE # B = 0
036150,000197: 30,2505 02353 STORE YRATE # D = 0
036151,000198: 30,2506 77650 GOTO
036152,000199: 30,2507 60572 CONST # GO TO CONST
036153,000200: 30,2510 45345 RATES DLOAD DSU
036154,000201: 30,2511 03517 TGO
036155,000202: 30,2512 00003 02D # TGO - D12 = D21*2(-17)
036156,000203: 30,2513 72406 PUSH SL1 # IN PDL(4) (6)
036157,000204: 30,2514 52421 BDSU SL3 # (1/2TGO - D21)*2(-13) = E * 2(-13)
036158,000205: 30,2515 03517 TGO # (8)
036159,000206: 30,2516 41325 PDDL DMP # IN PDL(6)
036160,000207: 30,2517 03517 TGO
036161,000208: 30,2520 03474 RDOT # RDOT TGO * 2(-24)
036162,000209: 30,2521 45215 DAD DSU # R + RDOT TGO
036163,000210: 30,2522 02301 /R/MAG # R + RDOT TGO - RCO
036164,000211: 30,2523 03631 RCO # MPAC = -DR *2(-24).
036165,000212: 30,2524 41325 PDDL DMP # -DR IN PDL(8) (10)
036166,000213: 30,2525 02337 DRDOT
036167,000214: 30,2526 00005 04D # D21 DRDOT*2(-24)
036168,000215: 30,2527 62415 DAD SL2 # (D21 DRDOT-DR)*2(-22) (8)
036169,000216: 30,2530 56271 DDV DDV
036170,000217: 30,2531 00007 06D # (D21 DRDOT-DR)/E*2(-9)
036171,000218: 30,2532 03517 TGO
036172,000219: 30,2533 02351 STORE PRATE # B * 2(8)
036173,000220: 30,2534 71240 BMN DLOAD # B>0 NOT PERMITTED
036174,000221: 30,2535 60541 CHKBMAG
Page 848 |
036176,000223: 30,2536 06522 HI6ZEROS
036177,000224: 30,2537 36351 STCALL PRATE
036178,000225: 30,2540 60553 PROK
036179,000226: 30,2541 56202 CHKBMAG SR4 DDV # B*2(4)
036180,000227: 30,2542 02271 TBUP # (B / TAU) * 2(21)
036181,000228: 30,2543 51025 DSU BPL
036182,000229: 30,2544 26203 PRLIMIT # ( B / TAU ) * 2(21) MAX.
036183,000230: 30,2545 60553 PROK
036184,000231: 30,2546 41345 DLOAD DMP
036185,000232: 30,2547 26203 PRLIMIT
036186,000233: 30,2550 02271 TBUP # B MAX. * 2(4)
036187,000234: 30,2551 77612 SL4 # BMAX*2(8)
036188,000235: 30,2552 02351 STORE PRATE
036189,000236: 30,2553 77745 PROK DLOAD
036190,000237: 30,2554 03517 TGO
036191,000238: 30,2555 43205 DMP DAD # YDOT TGO
036192,000239: 30,2556 02311 YDOT
036193,000240: 30,2557 02335 Y # Y + YDOT TGO
036194,000241: 30,2560 65225 DSU PDDL # Y + YDOT TGO - YCO
036195,000242: 30,2561 03633 YCO # MPAC = - DY*2(-24.) IN PDL(8) (10)
036196,000243: 30,2562 02341 DYDOT
036197,000244: 30,2563 43205 DMP DAD # D21 DYDOT - DY (8)
036198,000245: 30,2564 00005 04D
036199,000246: 30,2565 56312 SL2 DDV # (D21 DYDOT - DY)/E*2(-9)
036200,000247: 30,2566 40271 DDV SETPD # (D21 DYDOT - DY)/E TGO*2(8)
036201,000248: 30,2567 03517 TGO # = D*2(8)
036202,000249: 30,2570 00005 04
036203,000250: 30,2571 02353 STORE YRATE
036204,000251: 30,2572 41345 CONST DLOAD DMP # LOAD B*2(8)
036205,000252: 30,2573 02351 PRATE # B D12*2(-9)
036206,000253: 30,2574 00003 02D
036207,000254: 30,2575 56325 PDDL DDV # D12 B IN PDL(4) (6)
036208,000255: 30,2576 02337 DRDOT # LOAD DRDOT*2(-7)
036209,000256: 30,2577 00001 00D # -DRDOT/L*2(-7)
036210,000257: 30,2600 45302 SR2 DSU # (-DRDOT/L-D12 B)=A*2(-9) (4)
036211,000258: 30,2601 77626 STADR
036212,000259: 30,2602 61432 STODL PCONS
036213,000260: 30,2603 02353 YRATE # D*2(8)
036214,000261: 30,2604 65205 DMP PDDL # D12 D,EXCH WITH -L IN PDL(0) (2,2)
036215,000262: 30,2605 60465 BDDV SR2 # -DYDOT/L*2(-9)
036216,000263: 30,2606 02341 DYDOT
036217,000264: 30,2607 77625 DSU # (-DYDOT/L-D12 D)=C*2(-9)
036218,000265: 30,2610 00001 00D
036219,000266: 30,2611 02347 STORE YCONS
036220,000267: 30,2612 71201 CMPONENT SETPD DLOAD
036221,000268: 30,2613 00001 00D
036222,000269: 30,2614 27147 100CS
036223,000270: 30,2615 77605 DMP
036224,000271: 30,2616 02351 PRATE # B(T-T0)*2(-9)
036225,000272: 30,2617 56215 DAD DDV # (A+B(T-T0))*2(-9)
Page 849 |
036227,000274: 30,2620 02345 PCONS # (A+B(T-T0))/TBUP*2(8)
036228,000275: 30,2621 02271 TBUP
036229,000276: 30,2622 45352 SL1 DSU
036230,000277: 30,2623 02315 GEFF # ATR*2(9)
036231,000278: 30,2624 16357 STODL ATR
036232,000279: 30,2625 27147 100CS
036233,000280: 30,2626 43205 DMP DAD
036234,000281: 30,2627 02353 YRATE
036235,000282: 30,2630 02347 YCONS # (C+D(T-T0))*2(-9)
036236,000283: 30,2631 72471 DDV SL1
036237,000284: 30,2632 02271 TBUP
036238,000285: 30,2633 02355 STORE ATY # ATY*2(9)
036239,000286: 30,2634 65361 VXSC PDDL # ATY UY*2(8) (6)
036240,000287: 30,2635 02303 LAXIS
036241,000288: 30,2636 02357 ATR
036242,000289: 30,2637 53361 VXSC VAD # (0)
036243,000290: 30,2640 03537 UNIT/R/
036244,000291: 30,2641 41572 VSL1 PUSH # AH*2(9) IN PDL(0) (6)
036245,000292: 30,2642 65246 ABVAL PDDL # AH(2) IN PDL(34)
036246,000293: 30,2643 02263 AT # AHMAG IN PDL(6) (8)
036247,000294: 30,2644 45316 DSQ DSU # (AT(2)-AH(2))*2(18)
036248,000295: 30,2645 00043 34D # =ATP2*2(18)
036249,000296: 30,2646 41525 PDDL PUSH # (12)
036250,000297: 30,2647 02263 AT
036251,000298: 30,2650 45316 DSQ DSU # (AT(2)KR(2)-AH(2))*2(18) (10)
036252,000299: 30,2651 00043 34D # =ATP3*2(18)
036253,000300: 30,2652 71240 BMN DLOAD # IF ATP3 NEG,GO TO NO-ATP
036254,000301: 30,2653 60657 NO-ATP # LOAD ATP2, IF ATP3 POS
036255,000302: 30,2654 00011 8D
036256,000303: 30,2655 52166 SQRT GOTO # ATP*2(9)
036257,000304: 30,2656 60665 AIMER
036258,000305: 30,2657 55345 NO-ATP DLOAD BDDV # KR AT/AH = KH (8)
036259,000306: 30,2660 00007 6D
036260,000307: 30,2661 77761 VXSC # KH AH*2(9)
036261,000308: 30,2662 00001 00D
036262,000309: 30,2663 14001 STODL 00D # STORE NEW AH IN PDL(0)
036263,000310: 30,2664 06522 HI6ZEROS
036264,000311: 30,2665 77765 AIMER SIGN
036265,000312: 30,2666 02343 DZDOT
036266,000313: 30,2667 02361 STORE ATP
036267,000314: 30,2670 77761 VXSC
036268,000315: 30,2671 03726 ZAXIS1 # ATP ZAXIS *2(8).
036269,000316: 30,2672 53372 VSL1 VAD # AT*2(9)
036270,000317: 30,2673 00001 00D
036271,000318: 30,2674 03254 STORE UNFC/2 # WILL BE OVERWRITTEN IF IN VERT. RISE.
036272,000319: 30,2675 43001 SETPD BON
036273,000320: 30,2676 00001 00D
036274,000321: 30,2677 04704 FLPI
036275,000322: 30,2700 60220 P12RET
036276,000323: 30,2701 77614 BON
Page 850 |
036278,000325: 30,2702 04701 FLVR
036279,000326: 30,2703 60755 CHECKALT
036280,000327: 30,2704 57575 MAINLINE VLOAD VCOMP
036281,000328: 30,2705 03537 UNIT/R/
036282,000329: 30,2706 17262 STODL UNWC/2
036283,000330: 30,2707 03654 TXO
036284,000331: 30,2710 51025 DSU BPL
036285,000332: 30,2711 01235 PIPTIME
036286,000333: 30,2712 60721 ASCTERM
036287,000334: 30,2713 77614 BON
036288,000335: 30,2714 04711 ROTFLAG
036289,000336: 30,2715 57273 ANG1CHEK
036290,000337: 30,2716 43014 CLRXFLAG CLEAR CLEAR
036291,000338: 30,2717 01664 NOR29FLG # START R29 IN ASCENT PHASE.
036292,000339: 30,2720 06666 XOVINFLG # ALLOW X-AXIS OVERRIDE
036293,000340: 30,2721 77776 ASCTERM EXIT
036294,000341: 30,2722 30105 CA FLAGWRD9
036295,000342: 30,2723 74742 MASK FLRCSBIT
036296,000343: 30,2724 10000 CCS A
036297,000344: 30,2725 12747 TCF ASCTERM3
036298,000345: 30,2726 06037 TC INTPRET
036299,000346: 30,2727 77624 CALL
036300,000347: 30,2730 61111 FINDCDUW -2
036301,000348: 30,2731 77776 ASCTERM1 EXIT
036302,000349: 30,2732 30105 +1 CA FLAGWRD9 # INSURE THAT THE NOUN 63 DISPLAY IS
036303,000350: 30,2733 74742 MASK FLRCSBIT # BYPASSED IF WE ARE IN THE RCS TRIMMING
036304,000351: 30,2734 10000 CCS A # MODE OF OPERATION
036305,000352: 30,2735 12747 TCF ASCTERM3
036306,000353: 30,2736 30104 CA FLAGWRD8 # BYPASS DISPLAYS IF ENGINE FAILURE IS
036307,000354: 30,2737 74742 MASK FLUNDBIT # INDICATED.
036308,000355: 30,2740 10000 CCS A
036309,000356: 30,2741 12747 TCF ASCTERM3
036310,000357: 30,2742 33033 CAF V06N63*
036311,000358: 30,2743 04616 TC BANKCALL
036312,000359: 30,2744 20451 CADR GODSPR
036313,000360: 30,2745 12747 TCF ASCTERM3
036314,000361: 30,2746 77776 ASCTERM2 EXIT
036315,000362: 30,2747 15155 ASCTERM3 TCF ENDOFJOB
036316,000363: 30,2750 77776 ASCTERM4 EXIT
036317,000364: 30,2751 00004 INHINT
036318,000365: 30,2752 04674 TC IBNKCALL # NO GUIDANCE THIS CYCLE -- HENCE ZERO
036319,000366: 30,2753 40153 CADR ZATTEROR # THE DAP ATTITUDE ERRORS.
036320,000367: 30,2754 12732 TCF ASCTERM1 +1
036321,000368:
036322,000369: 30,2755 45345 CHECKALT DLOAD DSU
036323,000370: 30,2756 02301 /R/MAG
036324,000371: 30,2757 02333 /LAND/
036325,000372: 30,2760 50025 DSU BMN # IF H LT 25K CHECK Z AXIS ORIENTATION.
036326,000373: 30,2761 26700 25KFT
036327,000374: 30,2762 16667 CHECKYAW
Page 851 |
036329,000376: 30,2763 43014 EXITVR CLEAR BON
036330,000377: 30,2764 04661 FLVR
036331,000378: 30,2765 04711 ROTFLAG
036332,000379: 30,2766 60704 MAINLINE
036333,000380: 30,2767 43345 DLOAD DAD
036334,000381: 30,2770 01235 PIPTIME
036335,000382: 30,2771 25755 10SECS
036336,000383: 30,2772 37654 STCALL TXO
036337,000384: 30,2773 60704 MAINLINE
036338,000385: 30,2774 77614 EXITVR1 CLRGO
036339,000386: 30,2775 04631 ROTFLAG
036340,000387: 30,2776 60763 EXITVR
036341,000388:
036342,000389: 27,2000 SETLOC ASENT1
036343,000390: 27,2000 BANK
036344,000391: 27,3273 COUNT* $$/ASENT
036345,000392:
036346,000393: 27,3273 50375 ANG1CHEK VLOAD DOT
036347,000394: 27,3274 03254 UNFC/2
036348,000395: 27,3275 02146 XNBPIP
036349,000396: 27,3276 51025 DSU BPL
036350,000397: 27,3277 02577 COSTHET1
036351,000398: 27,3300 57307 OFFROT
036352,000399: 27,3301 50375 VLOAD DOT
036353,000400: 27,3302 02146 XNBPIP
036354,000401: 27,3303 03537 UNIT/R/
036355,000402: 27,3304 50025 DSU BMN
036356,000403: 27,3305 02601 COSTHET2
036357,000404: 27,3306 30351 KEEPVR1
036358,000405: 27,3307 77614 OFFROT CLRGO
036359,000406: 27,3310 04631 ROTFLAG
036360,000407: 27,3311 60716 CLRXFLAG
036361,000408:
036362,000409: 07,2667 BANK 7
036363,000410: 07,2000 SETLOC ASENT2
036364,000411: 07,2000 BANK
036365,000412: 07,2667 COUNT* $$/ASENT
036366,000413:
036367,000414: 07,2667 07,2667 SETXFLAG = CHECKYAW
036368,000415:
036369,000416: 07,2667 77614 CHECKYAW SET
036370,000417: 07,2670 06466 XOVINFLG # PROHIBIT X-AXIS OVERRIDE
036371,000418: 07,2671 74345 DLOAD VXSC
036372,000419: 07,2672 02355 ATY
036373,000420: 07,2673 02303 LAXIS
036374,000421: 07,2674 74325 PDDL VXSC
036375,000422: 07,2675 02361 ATP
036376,000423: 07,2676 03726 ZAXIS1
036377,000424: 07,2677 53455 VAD UNIT
036378,000425: 07,2700 50206 PUSH DOT
Page 852 |
036380,000427: 07,2701 02154 YNBPIP
036381,000428: 07,2702 45246 ABS DSU
036382,000429: 07,2703 13503 SIN5DEG
036383,000430: 07,2704 71244 BPL DLOAD
036384,000431: 07,2705 30347 KEEPVR
036385,000432: 07,2706 03474 RDOT
036386,000433: 07,2707 51025 DSU BPL
036387,000434: 07,2710 13505 40FPS
036388,000435: 07,2711 60774 EXITVR1
036389,000436: 07,2712 77650 GOTO
036390,000437: 07,2713 30347 KEEPVR
036391,000438:
036392,000439: 05,3502 BANK 5
036393,000440: 05,2000 SETLOC ASENT3
036394,000441: 05,2000 BANK
036395,000442: 05,3502 COUNT* $$/ASENT
036396,000443:
036397,000444: 05,3502 00545 00171 SIN5DEG 2DEC 0.08716 B-2
036398,000445: 05,3504 00017 23305 40FPS 2DEC 0.12192 B-7
036399,000446:
036400,000447: 14,2347 BANK 14
036401,000448: 14,2000 SETLOC ASENT4
036402,000449: 14,2000 BANK
036403,000450: 14,2347 COUNT* $$/ASENT
036404,000451:
036405,000452: 14,2347 45575 KEEPVR VLOAD STADR # RECALL LOSVEC FROM PUSHLIST
036406,000453: 14,2350 74515 STORE UNWC/2
036407,000454: 14,2351 77775 KEEPVR1 VLOAD
036408,000455: 14,2352 03537 UNIT/R/
036409,000456: 14,2353 37254 STCALL UNFC/2
036410,000457: 14,2354 60721 ASCTERM
036411,000458:
036412,000459: 14,2355 77634 ENGOFF RTB
036413,000460: 14,2356 21573 LOADTIME
036414,000461: 14,2357 43225 DSU DAD
036415,000462: 14,2360 01235 PIPTIME
036416,000463: 14,2361 03454 TTOGO
036417,000464: 14,2362 77476 DCOMP EXIT
036418,000465: 14,2363 07257 TC TPAGREE # FORCE SIGN AGREEMENT ON MPAC, MPAC +1.
036419,000466: 14,2364 35016 CAF EBANK7
036420,000467: 14,2365 54003 TS EBANK
036421,000468: 14,2366 E7,1516 EBANK= TGO
036422,000469: 14,2366 00004 INHINT
036423,000470: 14,2367 10155 CCS MPAC +1
036424,000471: 14,2370 12373 TCF +3 # C(A) = DT - 1 BIT
036425,000472: 14,2371 12373 TCF +2 # C(A) = 0
036426,000473: 14,2372 34755 CAF ZERO # C(A) = 0
036427,000474: 14,2373 64753 AD BIT1 # C(A) = 1 BIT OR DT.
Page 853 |
036429,000476: 14,2374 55644 TS ENGOFFDT
036430,000477: 14,2375 05173 TC TWIDDLE
036431,000478: 14,2376 02410 ADRES ENGOFF1
036432,000479: 14,2377 05353 TC PHASCHNG
036433,000480: 14,2400 47014 OCT 47014
036434,000481: 14,2401 76133 -GENADR ENGOFFDT
036435,000482: 14,2402 E7,1516 EBANK= TGO
036436,000483: 14,2402 02410 30067 2CADR ENGOFF1
036437,000484:
036438,000485: 14,2404 06037 TC INTPRET
036439,000486: 14,2405 52014 SET GOTO
036440,000487: 14,2406 03470 IDLEFLAG # DISABLE DELTA-V MONITOR
036441,000488: 14,2407 60451 T2TEST
036442,000489:
036443,000490: 14,2410 04674 ENGOFF1 TC IBNKCALL # SHUT OFF THE ENGINE.
036444,000491: 14,2411 75551 CADR ENGINOF2
036445,000492:
036446,000493: 14,2412 35027 CAF PRIO17 # SET UP A JOB FOR THE ASCENT GUIDANCE
036447,000494: 14,2413 05105 TC FINDVAC # POSTBURN LOGIC.
036448,000495: 14,2414 E7,1455 EBANK= WHICH
036449,000496: 14,2414 02424 30067 2CADR CUTOFF
036450,000497:
036451,000498: 14,2416 05353 TC PHASCHNG
036452,000499: 14,2417 07024 OCT 07024
036453,000500: 14,2420 17000 OCT 17000
036454,000501: 14,2421 E7,1516 EBANK= TGO
036455,000502: 14,2421 02424 30067 2CADR CUTOFF
036456,000503:
036457,000504: 14,2423 15261 TCF TASKOVER
036458,000505:
036459,000506: 14,2424 05504 CUTOFF TC UPFLAG # SET FLRCS FLAG.
036460,000507: 14,2425 00214 ADRES FLRCS
036461,000508:
036462,000509: 14,2426 32445 -5 CAF V16N63
036463,000510: 14,2427 04616 TC BANKCALL
036464,000511: 14,2430 20476 CADR GOFLASH
036465,000512: 14,2431 12434 TCF +3
036466,000513: 14,2432 12436 TCF CUTOFF1
036467,000514: 14,2433 12426 TCF -5
036468,000515:
036469,000516: 14,2434 04635 +3 TC POSTJUMP
036470,000517: 14,2435 61007 CADR TERMASC
036471,000518:
036472,000519: 14,2436 00004 CUTOFF1 INHINT
036473,000520: 14,2437 04674 TC IBNKCALL # ZERO ATTITUDE ERRORS BEFORE REDUCING DB.
036474,000521: 14,2440 40153 CADR ZATTEROR
036475,000522: 14,2441 04674 TC IBNKCALL
036476,000523: 14,2442 40140 CADR SETMINDB
036477,000524: 14,2443 04635 TC POSTJUMP
036478,000525: 14,2444 60777 CADR CUTOFF2
Page 854 |
036480,000527:
036481,000528: 14,2445 04077 V16N63 VN 1663
036482,000529: 30,2777 BANK 30
036483,000530: 30,2000 SETLOC ASENT5
036484,000531: 30,2000 BANK
036485,000532: 30,2777 COUNT* $$/ASENT
036486,000533:
036487,000534: 30,2777 05353 CUTOFF2 TC PHASCHNG
036488,000535: 30,3000 04024 OCT 04024
036489,000536:
036490,000537: 30,3001 33017 CAF V16N85C
036491,000538: 30,3002 04616 TC BANKCALL
036492,000539: 30,3003 20476 CADR GOFLASH
036493,000540: 30,3004 13007 TCF TERMASC
036494,000541: 30,3005 13007 TCF +2 # PROCEED
036495,000542: 30,3006 12777 TCF CUTOFF2
036496,000543:
036497,000544: 30,3007 05353 TERMASC TC PHASCHNG
036498,000545: 30,3010 04024 OCT 04024
036499,000546:
036500,000547: 30,3011 00004 INHINT # RESTORE DEADBAND DESIRED BY ASTRONAUT.
036501,000548: 30,3012 04674 TC IBNKCALL
036502,000549: 30,3013 40123 CADR RESTORDB
036503,000550: 30,3014 05516 TC DOWNFLAG # DISALLOW ABORTS AT THIS TIME.
036504,000551: 30,3015 00215 ADRES LETABORT
036505,000552: 30,3016 16001 TCF GOTOPOOH
036506,000553:
036507,000554: 30,3017 04125 V16N85C VN 1685
036508,000555:
036509,000556: 27,3312 BANK 27
036510,000557: 27,2000 SETLOC ASENT1
036511,000558: 27,2000 BANK
036512,000559: 27,3312 COUNT* $$/ASENT
036513,000560:
036514,000561: 27,3312 50375 YCOMP VLOAD DOT
036515,000562: 27,3313 03537 UNIT/R/
036516,000563: 27,3314 03720 QAXIS
036517,000564: 27,3315 41312 SL2 DMP
036518,000565: 27,3316 03631 RCO
036519,000566: 27,3317 02335 STORE Y
036520,000567: 27,3320 77616 RVQ
036521,000568:
036522,000569: 30,3020 BANK 30
036523,000570: 30,2000 SETLOC ASENT
036524,000571: 30,2000 BANK
036525,000572:
Page 855 |
036527,000574: # ASCENT GUIDANCE CONSTANTS
036528,000575:
036529,000576: 30,3020 33,3146 100CS EQUALS 2SEC(18)
036530,000577: 30,3020 30,3022 T2A EQUALS 2SEC(17)
036531,000578: 30,3020 00062 00000 4SEC(17) 2DEC 400 B-17
036532,000579: 30,3022 00031 00000 2SEC(17) 2DEC 200 B-17
036533,000580: 30,3024 00175 00000 T3 2DEC 1000 B-17
036534,000581: 30,3026 00045 20000 6SEC(18) 2DEC 600 B-18
036535,000582: 30,3030 00010 BIT4H OCT 10
036536,000583: 30,3031 14400 00000 2SEC(9) 2DEC 200 B-9
036537,000584: 30,3033 01477 V06N63* VN 0663
036538,000585: 30,3034 01514 V06N76 VN 0676
036539,000586: 30,3035 01441 V06N33A VN 0633
036540,000587:
036541,000588: 33,2200 BANK 33
036542,000589: 33,2000 SETLOC ASENT6
036543,000590: 33,2000 BANK
036544,000591: 33,2200 COUNT* $$/ASENT
036545,000592:
036546,000593: 33,2200 20000 00000 KT1 2DEC 0.5000
036547,000594: 33,2202 75751 41775 PRLIMIT 2DEC -.0639 # (B/TBUP)MIN=-.1FT.SEC(-3)
036548,000595: 33,2204 00022 07212 MINABDV 2DEC .0356 B-5 # 10 PERCENT BIGGER THAN GRAVITY
036549,000596: 33,2206 E7,1570 1/DV0 = MASS1
036550,000597:
Page 856 |
036552,000599: # THE LOGARITHM SUBROUTINE
036553,000600:
036554,000601: 24,3670 BANK 24
036555,000602: 30,2000 SETLOC FLOGSUB
036556,000603: 30,2000 BANK
036557,000604:
036558,000605: # INPUT ..... X IN MPAC
036559,000606: # OUTPUT ..... -LOG(X) IN MPAC
036560,000607:
036561,000608: 30,3036 44301 LOGSUB NORM BDSU
036562,000609: 30,3037 00163 MPAC +6
036563,000610: 30,3040 17771 NEARONE
036564,000611: 30,3041 77776 EXIT
036565,000612: 30,3042 07222 TC POLY
036566,000613: 30,3043 00006 DEC 6 B-14
036567,000614: 30,3044 00000 00002 2DEC .0000000060
036568,000615: 30,3046 76777 77175 2DEC -.0312514377
036569,000616: 30,3050 77400 75416 2DEC -.0155686771
036570,000617: 30,3052 77507 65515 2DEC -.0112502068
036571,000618: 30,3054 77741 63547 2DEC -.0018545108
036572,000619: 30,3056 77052 55373 2DEC -.0286607906
036573,000620: 30,3060 01167 30361 2DEC .0385598563
036574,000621: 30,3062 76520 75267 2DEC -.0419361902
036575,000622:
036576,000623: 30,3064 34755 CAF ZERO
036577,000624: 30,3065 54156 TS MPAC +2
036578,000625: 30,3066 00006 EXTEND
036579,000626: 30,3067 33103 DCA CLOG2/32
036580,000627: 30,3070 52155 DXCH MPAC
036581,000628: 30,3071 52132 DXCH BUF +1
036582,000629: 30,3072 30162 CA MPAC +6
036583,000630: 30,3073 07307 TC SHORTMP
036584,000631: 30,3074 52156 DXCH MPAC +1
036585,000632: 30,3075 52155 DXCH MPAC
036586,000633: 30,3076 52132 DXCH BUF +1
036587,000634: 30,3077 20155 DAS MPAC
036588,000635: 30,3100 06037 TC INTPRET
036589,000636: 30,3101 43476 DCOMP RVQ
036590,000637:
036591,000638: 30,3102 00542 34414 CLOG2/32 2DEC .0216608494
036592,000639:
End of include-file ASCENT_GUIDANCE.agc. Parent file is MAIN.agc