Source Code
These source-code files derive from a printout of Luminary 116 (the Apollo 12
Lunar Module guidance computer program), from the personal library of
original AGC developer Don Eyles, digitally photographed at archive.org,
financially sponsored by Ron Burkey, and transcribed to source code by a
team of volunteers. This colorized, syntax-highlighted form was created
by assembling that transcribed source code. Note that the full page images
are available on the
Virtual AGC project page at archive.org, while reduced-size images
are presented at the VirtualAGC project website. Report or fix any
transcription errors at
the Virtual AGC project code repository. Notations on the program listing read, in part: GAP: ASSEMBLE REVISION 116 OF AGC PROGRAM LUMINARY BY NASA 2021112-071 19:09 AUG. 11,1969Note that the date is the date of the printout, not the date of the program revision. |
033859,000002: ## Copyright: Public domain.
033860,000003: ## Filename: LUNAR_LANDING_GUIDANCE_EQUATIONS.agc
033861,000004: ## Purpose: A section of Luminary revision 116.
033862,000005: ## It is part of the source code for the Lunar Module's (LM)
033863,000006: ## Apollo Guidance Computer (AGC) for Apollo 12.
033864,000007: ## This file is intended to be a faithful transcription, except
033865,000008: ## that the code format has been changed to conform to the
033866,000009: ## requirements of the yaYUL assembler rather than the
033867,000010: ## original YUL assembler.
033868,000011: ## Reference: pp. 791-822
033869,000012: ## Assembler: yaYUL
033870,000013: ## Contact: Ron Burkey <info@sandroid.org>.
033871,000014: ## Website: www.ibiblio.org/apollo/index.html
033872,000015: ## Mod history: 2017-01-22 MAS Created from Luminary 99.
033873,000016: ## 2017-03-10 RSB Transcribed, and then proofed comment-text using
033874,000017: ## 3-way diff vs Luminary 99 and Luminary 131.
033875,000018: ## (Admittedly, the former is more for detecting errors
033876,000019: ## in Luminary 99 than the other way around.)
033877,000020: ## The label 1406P00 was replaced with 1406POO.
033878,000021: ## 2017-03-16 RSB Comment-text fixes identified in 5-way
033879,000022: ## side-by-side diff of Luminary 69/99/116/131/210.
033880,000023: ## 2017-03-19 HG Add missing statement TC C13STALL (and shift label RESETRPT to it)
033881,000024: ## Fix value for BIASFACT B-28 --> B-26
033882,000025: ## Fix operand CGCALC --> EXTLOGIC
033883,000026: ## ENDLLJOB --> ENDOFJOB
033884,000027: ## REGODSPR --> REGDOSP
033885,000028: ## REFLASHR --> REFLASH
033886,000029: ## 2021-05-30 ABS Fixed a page number to match scans.
033887,000030:
Page 791 |
033889,000032: 31,2346 E7,1621 EBANK= E2DPS
033890,000033: 31,2346 COUNT* $$/F2DPS
033891,000034:
033892,000035: # ****************************************************************************************************************
033893,000036: # LUNAR LANDING FLIGHT SEQUENCE TABLES
033894,000037: # ****************************************************************************************************************
033895,000038:
033896,000039: # FLIGHT SEQUENCE TABLES ARE ARRANGED BY FUNCTION. THEY ARE REFERENCED USING AS AN INDEX THE REGISTER WCHPHASE:
033897,000040: # WCHPHASE = -1 ---> IGNALG
033898,000041: # WCHPHASE = 0 ---> BRAKQUAD
033899,000042: # WCHPHASE = 1 ---> APPRQUAD
033900,000043: # WCHPHASE = 2 ---> VERTICAL
033901,000044:
033902,000045: # ***************************************************************************************************************
033903,000046:
033904,000047: # ROUTINES FOR STARTING NEW GUIDANCE PHASES:
033905,000048:
033906,000049: 31,2346 12603 TCF TTFINCR # IGNALG
033907,000050: 31,2347 12603 NEWPHASE TCF TTFINCR # BRAKQUAD
033908,000051: 31,2350 12566 TCF STARTP64 # APPRQUAD
033909,000052: 31,2351 12557 TCF P65START # VERTICAL
033910,000053:
033911,000054: # PRE-GUIDANCE COMPUTATIONS:
033912,000055:
033913,000056: 31,2352 12763 TCF CALCRGVG # IGNALG
033914,000057: 31,2353 12773 PREGUIDE TCF RGVGCALC # BRAKQUAD
033915,000058: 31,2354 12664 TCF REDESIG # APPRQUAD
033916,000059: 31,2355 12773 TCF RGVGCALC # VERTICAL
033917,000060:
033918,000061: # GUIDANCE EQUATIONS:
033919,000062:
033920,000063: 31,2356 13041 TCF TTF/8CL # IGNALG
033921,000064: 31,2357 13041 WHATGUID TCF TTF/8CL # BRAKQUAD
033922,000065: 31,2360 13041 TCF TTF/8CL # APPRQUAD
033923,000066: 31,2361 13514 TCF VERTGUID # VERTICAL
033924,000067:
033925,000068: # POST GUIDANCE EQUATION COMPUTATIONS:
033926,000069:
033927,000070: 31,2362 13240 TCF CGCALC # IGNALG
033928,000071: 31,2363 13225 AFTRGUID TCF EXTLOGIC # BRAKQUAD
033929,000072: 31,2364 13225 TCF EXTLOGIC # APPRQUAD
033930,000073: 31,2365 13411 TCF STEER? # VERTICAL
033931,000074:
Page 792 |
033933,000076: # WINDOW VECTOR COMPUTATIONS:
033934,000077:
033935,000078: 31,2366 13310 TCF EXGSUB # IGNALG
033936,000079: 31,2367 13331 WHATEXIT TCF EXBRAK # BRAKQUAD
033937,000080: 31,2370 13337 TCF EXNORM # APPRQUAD
033938,000081:
033939,000082: # DISPLAY ROUTINES:
033940,000083:
033941,000084: 31,2371 13450 WHATDISP TCF P63DISPS # BRAKQUAD
033942,000085: 31,2372 13453 TCF P64DISPS # APPRQUAD
033943,000086: 31,2373 13502 TCF VERTDISP # VERTICAL
033944,000087:
033945,000088: # ALARM ROUTINE FOR TTF COMPUTATION:
033946,000089:
033947,000090: 31,2374 13712 TCF 1406POO # IGNALG
033948,000091: 31,2375 13714 WHATALM TCF 1406ALM # BRAKQUAD
033949,000092: 31,2376 13714 TCF 1406ALM # APPRQUAD
033950,000093:
033951,000094: # INDICES FOR REFERENCING TARGET PARAMETERS:
033952,000095:
033953,000096: 31,2377 00000 OCT 0 # IGNALG
033954,000097: 31,2400 00000 TARGTDEX OCT 0 # BRAKQUAD
033955,000098: 31,2401 00034 OCT 34 # APPRQUAD
033956,000099:
033957,000100: # ****************************************************************************************************************
033958,000101: # ENTRY POINTS: ?GUIDSUB FOR THE IGNITION ALGORITHM, LUNLAND FOR SERVOUT
033959,000102: # ****************************************************************************************************************
033960,000103:
033961,000104: # IGNITION ALGORITHM ENTRY: DELIVERS N PASSES OF QUADRATIC QUIDANCE
033962,000105:
033963,000106: 31,2402 77776 ?GUIDSUB EXIT
033964,000107: 31,2403 34752 CAF TWO # N = 3
033965,000108: 31,2404 55647 TS NGUIDSUB
033966,000109: 31,2405 12541 TCF GUILDRET +2
033967,000110:
033968,000111: 31,2406 55647 GUIDSUB TS NGUIDSUB # ON SUCEEDING PASSES SKIP TTFINCR
033969,000112: 31,2407 12763 TCF CALCRGVG
033970,000113:
033971,000114: # NORMAL ENTRY: CONTROL COMES HERE FROM SERVOUT
033972,000115:
033973,000116: 31,2410 05353 LUNLAND TC PHASCHNG
033974,000117: 31,2411 00035 OCT 00035 # GROUP 5: RETAIN ONLY PIPA TASK
033975,000118: 31,2412 30101 CA FLAGWRD5 # HAS THROTTLE-UP COME YET?
033976,000119: 31,2413 74744 MASK ZOOMBIT
033977,000120: 31,2414 00006 EXTEND
033978,000121: 31,2415 13442 BZF DISPEXIT +3 # NO: DO DISPLAYS ONLY
Page 793 |
033980,000123: 31,2416 05353 TC PHASCHNG # YES: DO GUIDANCE
033981,000124: 31,2417 05023 OCT 05023
033982,000125: 31,2420 20000 OCT 20000
033983,000126:
033984,000127: # ****************************************************************************************************************
033985,000128: # GUILDENSTERN: AUTO-MODES MONITOR (R13)
033986,000129: # ****************************************************************************************************************
033987,000130:
033988,000131: 31,2421 COUNT* $$/R13
033989,000132:
033990,000133: # HERE IS THE PHILOSOPHY OF GUILDENSTERN: ON EVERY APPEARANCE OR DISAPPEARANCE OF THE MANUAL THROTTLE
033991,000134: # DISCRETE TO SELECT P67 OR P66 RESPECTIVELY; ON EVERY APPEARANCE OF THE ATTITUDE-HOLD DISCRETE TO SELECT P66
033992,000135: # UNLESS THE CURRENT PROGRAM IS P67 IN WHICH CASE THERE IS NO CHANGE.
033993,000136:
033994,000137: 31,2421 00006 GUILDEN EXTEND # IS UN-AUTO-THROTTLE DISCRETE PRESENT?
033995,000138: 31,2422 00030 READ CHAN30
033996,000139: 31,2423 74747 MASK BIT5
033997,000140: 31,2424 10000 CCS A
033998,000141: 31,2425 12503 TCF STARTP67 # YES
033999,000142: 31,2426 05321 P67NOW? TC CHECKMM # NO: ARE WE IN P67 NOW?
034000,000143: 31,2427 00103 DEC 67 B-14
034001,000144: 31,2430 12511 TCF STABL? # NO
In the printout, a hand-drawn horizontal rule appears here: |
034004,000147: 31,2431 03717 STARTP66 TC FASTCHNG # YES
034005,000148: 31,2432 05311 TC NEWMODEX
034006,000149: 31,2433 00102 DEC66 DEC 66 B-14
034007,000150: 31,2434 00006 EXTEND
034008,000151: 31,2435 31474 DCA HDOTDISP # SET DESIRED ALTITUDE RATE = CURRENT
034009,000152: 31,2436 53645 DXCH VDGVERT # ALTITUDE RATE.
034010,000153: 31,2437 06042 STRTP66A TC INTPRET
034011,000154: 31,2440 41535 SLOAD PUSH
034012,000155: 31,2441 01457 PBIASZ
034013,000156: 31,2442 41535 SLOAD PUSH
034014,000157: 31,2443 01455 PBIASY
034015,000158: 31,2444 55535 SLOAD VDEF
034016,000159: 31,2445 01453 PBIASX
034017,000160: 31,2446 43161 VXSC SET
034018,000161: 31,2447 25546 BIASFACT
034019,000162: 31,2450 00463 RODFLAG
034020,000163: 31,2451 26621 STOVL VBIAS
034021,000164: 31,2452 01254 TEMX
034022,000165: 31,2453 77676 VCOMP
034023,000166: 31,2454 27764 STOVL OLDPIPAX
034024,000167: 31,2455 06524 ZEROVECS
034025,000168: 31,2456 17767 STODL DELVROD
034026,000169: 31,2457 02540 RODSCALE
034027,000170: 31,2460 17757 STODL RODSCAL1
034028,000171: 31,2461 01234 PIPTIME
034029,000172: 31,2462 03760 STORE LASTTPIP
034030,000173: 31,2463 77776 EXIT
034031,000174: 31,2464 34755 CAF ZERO
Page 794 |
034033,000176: 31,2465 55620 TS FCOLD
034034,000177: 31,2466 55610 TS FWEIGHT
034035,000178: 31,2467 55611 TS FWEIGHT +1
034036,000179: 31,2470 55647 VRTSTART TS WCHVERT
034037,000180: 31,2471 34752 CAF TWO # WCHPHASE = 2 ---> VERTICAL: P65,P66,P67
034038,000181: 31,2472 55621 TS WCHPHOLD
034039,000182: 31,2473 55346 TS WCHPHASE
034040,000183: 31,2474 04616 TC BANKCALL # TEMPORARY, I HOPE HOPE HOPE
034041,000184: 31,2475 40166 CADR STOPRATE # TEMPORARY, I HOPE HOPE HOPE
034042,000185: 31,2476 05516 TC DOWNFLAG # PERMIT X-AXIS OVERRIDE
034043,000186: 31,2477 00311 ADRES XOVINFLG
034044,000187: 31,2500 05516 TC DOWNFLAG
034045,000188: 31,2501 00143 ADRES REDFLAG
034046,000189: 31,2502 13514 TCF VERTGUID
034047,000190:
034048,000191: 31,2503 05311 STARTP67 TC NEWMODEX # NO HARM IN "STARTING" P67 OVER AND OVER
034049,000192: 31,2504 00103 DEC 67 B-14 # SO NO NEED FOR A FASTCHNG AND NO NEED
034050,000193: 31,2505 34755 CAF ZERO # TO SEE IF ALREADY IN P67.
034051,000194: 31,2506 55746 TS RODCOUNT
034052,000195: 31,2507 34363 CAF TEN
In the printout, the following line is crossed out. |
034054,000197: 31,2510 12470 TCF VRTSTART
034055,000198:
034056,000199: 31,2511 41010 STABL? CS MODREG # ARE WE IN P66 EVEN THO WE MAY BE IN
034057,000200: 31,2512 62433 AD DEC66 # AUTO DAP?
034058,000201: 31,2513 00006 EXTEND
034059,000202: 31,2514 12532 BZF RESTART? # YES. GO AND CHECK FOR A RESTART.
034060,000203: 31,2515 34737 CAF BIT13 # NO. UN-ATTITUDE-HOLD DISCRETE PRESENT?
034061,000204: 31,2516 00006 EXTEND
034062,000205: 31,2517 02031 RAND CHAN31
034063,000206: 31,2520 10000 CCS A
034064,000207: 31,2521 12537 TCF GUILDRET # YES: ALL'S WELL
034065,000208:
034066,000209: 31,2522 41010 P66NOW? CS MODREG
034067,000210: 31,2523 62433 AD DEC66
034068,000211: 31,2524 00006 EXTEND
034069,000212: 31,2525 12532 BZF RESTART?
034070,000213:
034071,000214: 31,2526 31746 CA RODCOUNT # NO. HAS THE ROD SWITCH BEEN "CLICKED"?
034072,000215: 31,2527 00006 EXTEND
034073,000216: 31,2530 12537 BZF GUILDRET # NO. CONTINUE WITH AUTOMATIC LANDING.
034074,000217: 31,2531 12431 TCF STARTP66 # YES. SWITCH INTO THE ROD MODE.
034075,000218:
034076,000219: 31,2532 30075 RESTART? CA FLAGWRD1 # HAS THERE BEEN A RESTART?
034077,000220: 31,2533 74740 MASK RODFLBIT
034078,000221: 31,2534 00006 EXTEND
034079,000222: 31,2535 12437 BZF STRTP66A # YES. REINITIALIZE BUT LEAVE VDGVERT AS
034080,000223: # IS.
034081,000224:
034082,000225: 31,2536 13514 TCF VERTGUID # NO: CONTINUE WITH R.O.D.
Page 795 |
034084,000227:
034085,000228: # ****************************************************************************************************************
034086,000229: # INITIALIZATION FOR THIS PASS
034087,000230: # ****************************************************************************************************************
034088,000231:
034089,000232: 31,2537 COUNT* $$/F2DPS
034090,000233:
034091,000234: 31,2537 34755 GUILDRET CAF ZERO
034092,000235: 31,2540 55746 TS RODCOUNT
034093,000236:
034094,000237: 31,2541 00006 +2 EXTEND
034095,000238: 31,2542 31625 DCA TPIP
034096,000239: 31,2543 53574 DXCH TPIPOLD
034097,000240:
034098,000241: 31,2544 03717 TC FASTCHNG
034099,000242:
034100,000243: 31,2545 00006 EXTEND
034101,000244: 31,2546 31561 DCA PIPTIME1
034102,000245: 31,2547 53625 DXCH TPIP
034103,000246:
034104,000247: 31,2550 00006 EXTEND
034105,000248: 31,2551 31643 DCA TTF/8
034106,000249: 31,2552 53553 DXCH TTF/8TMP
034107,000250:
034108,000251: 31,2553 11623 CCS FLPASS0
034109,000252: 31,2554 12603 TCF TTFINCR
034110,000253:
034111,000254: 31,2555 51346 BRSPOT1 INDEX WCHPHASE
034112,000255: 31,2556 12347 TCF NEWPHASE
034113,000256:
034114,000257: # ****************************************************************************************************************
034115,000258: # ROUTINES TO START NEW PHASES
034116,000259: # ****************************************************************************************************************
034117,000260:
034118,000261: 31,2557 05311 P65START TC NEWMODEX
034119,000262: 31,2560 00101 DEC 65 B-14
034120,000263: 31,2561 44752 CS TWO
034121,000264: 31,2562 55647 TS WCHVERT
034122,000265: 31,2563 05516 TC DOWNFLAG # PERMIT X-AXIS OVERRIDE
034123,000266: 31,2564 00311 ADRES XOVINFLG
034124,000267: 31,2565 12603 TCF TTFINCR
034125,000268:
034126,000269: 31,2566 05311 STARTP64 TC NEWMODEX
034127,000270: 31,2567 00100 DEC 64 B-14
034128,000271: 31,2570 31425 CA DELTTFAP # AUGMENT TTF/8
034129,000272: 31,2571 27552 ADS TTF/8TMP
034130,000273: 31,2572 00004 INHINT
034131,000274: 31,2573 06022 TC C13STALL
034132,000275: 31,2574 34740 CA BIT12 # ENABLE RUPT10
034133,000276: 31,2575 00006 EXTEND
Page 796 |
034135,000278: 31,2576 05013 WOR CHAN13
034136,000279: 31,2577 33727 CAF P64DB
034137,000280: 31,2600 55343 TS DB
034138,000281: 31,2601 05516 TC DOWNFLAG # INITIALIZE REDESIGNATION FLAG
034139,000282: 31,2602 00143 ADRES REDFLAG
034140,000283:
034141,000284:
034142,000285: # (CONTINUE TO TTFINCR)
034143,000286:
034144,000287: # ****************************************************************************************************************
034145,000288: # INCREMENT TTF/8, UPDATE LAND FOR LUNAR ROTATION, DO OTHER USEFUL THINGS
034146,000289: # ****************************************************************************************************************
034147,000290:
034148,000291: # TTFINCR COMPUTATIONS ARE AS FOLLOWS:-
034149,000292: # TTF/8 UPDATED FOR TIME SINCE LAST PASS:
034150,000293:
034151,000294: # TTF/8 = TTF/8 + (TPIP - TPIPOLD)/8
034152,000295:
034153,000296: # LANDING SITE VECTOR UPDATED FOR LUNAR ROTATION:
034154,000297:
034155,000298: # - - - -
034156,000299: # LAND = /LAND/ UNIT(LAND - LAND(TPIP - TPIPOLD) * WM)
034157,000300:
034158,000301: # SLANT RANGE TO LANDING SITE, FOR DISPLAY:
034159,000302:
034160,000303: # - -
034161,000304: # RANGEDSP = ABVAL(LAND - R)
034162,000305:
034163,000306: 31,2603 06042 TTFINCR TC INTPRET
034164,000307: 31,2604 45345 DLOAD DSU
034165,000308: 31,2605 03625 TPIP
034166,000309: 31,2606 03574 TPIPOLD
034167,000310: 31,2607 41461 SLR PUSH # SHIFT SCALES DELTA TIME TO 2(17) CSECS
034168,000311: 31,2610 21214 11D
034169,000312: 31,2611 47361 VXSC VXV
034170,000313: 31,2612 03635 LAND
034171,000314: 31,2613 02325 WM
034172,000315: 31,2614 47045 BVSU RTB
034173,000316: 31,2615 03635 LAND
034174,000317: 31,2616 21727 NORMUNIT
034175,000318: 31,2617 76561 VXSC VSL1
034176,000319: 31,2620 02333 /LAND/
034177,000320: 31,2621 17545 STODL LANDTEMP
034178,000321: 31,2622 77776 EXIT
034179,000322:
034180,000323: 31,2623 52155 DXCH MPAC
034181,000324: 31,2624 21553 DAS TTF/8TMP # NOW HAVE INCREMENTED TTF/8 IN TTF/8TMP
034182,000325:
034183,000326: 31,2625 03717 TC FASTCHNG
Page 797 |
034185,000328:
034186,000329: 31,2626 00006 EXTEND
034187,000330: 31,2627 31553 DCA TTF/8TMP
034188,000331: 31,2630 53643 DXCH TTF/8
034189,000332:
034190,000333: 31,2631 03663 TC TDISPSET
034191,000334:
034192,000335: 31,2632 37721 CAF PRIO31 # TEMPORARILY OVER-PRIO CHARIN
034193,000336: 31,2633 05146 TC PRIOCHNG
034194,000337:
034195,000338: 31,2634 06042 TC INTPRET
034196,000339: 31,2635 53375 VLOAD VAD # ADD IN CORRECTION FROM NOUN 69
034197,000340: 31,2636 03545 LANDTEMP
034198,000341: 31,2637 02635 DLAND
034199,000342: 31,2640 03635 STORE LAND
034200,000343: 31,2641 77646 ABVAL # RECOMPUTE /LAND/
034201,000344: 31,2642 02333 STORE /LAND/
034202,000345: 31,2643 77776 EXIT
034203,000346:
034204,000347: 31,2644 03717 TC FASTCHNG # SINCE REDESIG MAY CHANGE LANDTEMP
034205,000348:
034206,000349: 31,2645 35014 CAF EBANK5
034207,000350: 31,2646 E5,1634 EBANK= DLAND
034208,000351: 31,2646 54003 TS EBANK
034209,000352: 31,2647 34755 CAF ZERO # ZERO N 69 REGISTERS
034210,000353: 31,2650 55634 TS DLAND
034211,000354: 31,2651 55635 TS DLAND +1
034212,000355: 31,2652 55636 TS DLAND +2
034213,000356: 31,2653 55637 TS DLAND +3
034214,000357: 31,2654 55640 TS DLAND +4
034215,000358: 31,2655 55641 TS DLAND +5
034216,000359: 31,2656 35016 CAF EBANK7
034217,000360: 31,2657 E7,1666 EBANK= TREDES
034218,000361: 31,2657 54003 TS EBANK
034219,000362:
034220,000363: 31,2660 34736 CAF PRIO20
034221,000364: 31,2661 05146 TC PRIOCHNG
034222,000365:
034223,000366: 31,2662 51346 BRSPOT2 INDEX WCHPHASE
034224,000367: 31,2663 12353 TCF PREGUIDE
034225,000368:
034226,000369: # ****************************************************************************************************************
034227,000370: # LANDING SITE PERTURBATION EQUATIONS
034228,000371: # ****************************************************************************************************************
034229,000372:
034230,000373: 31,2664 30102 REDESIG CA FLAGWRD6 # IS REDFLAG SET?
034231,000374: 31,2665 74746 MASK REDFLBIT
034232,000375: 31,2666 00006 EXTEND
034233,000376: 31,2667 12773 BZF RGVGCALC # NO: SKIP REDESIGNATION LOGIC
034234,000377:
034235,000378: 31,2670 31666 CA TREDES # YES: HAS TREDES REACHED ZERO?
Page 798 |
034237,000380: 31,2671 00006 EXTEND
034238,000381: 31,2672 12773 BZF RGVGCALC # YES: SKIP REDESIGNATION LOGIC
034239,000382:
034240,000383: 31,2673 00004 INHINT
034241,000384: 31,2674 31446 CA ELINCR1
034242,000385: 31,2675 55554 TS ELINCR
034243,000386: 31,2676 31445 CA AZINCR1
034244,000387: 31,2677 55556 TS AZINCR
034245,000388: 31,2700 03717 TC FASTCHNG
034246,000389:
034247,000390: 31,2701 34755 CA ZERO
034248,000391: 31,2702 55446 TS ELINCR1
034249,000392: 31,2703 55445 TS AZINCR1
034250,000393: 31,2704 55555 TS ELINCR +1
034251,000394: 31,2705 55557 TS AZINCR +1
034252,000395:
034253,000396: 31,2706 30120 CA FIXLOC # SET PD TO 0
034254,000397: 31,2707 54166 TS PUSHLOC
034255,000398:
034256,000399: 31,2710 06042 TC INTPRET
034257,000400: 31,2711 52375 VLOAD VSU
034258,000401: 31,2712 03635 LAND
034259,000402: 31,2713 03521 R # - -
034260,000403: 31,2714 41434 RTB PUSH # PUSH DOWN UNIT (LAND - R)
034261,000404: 31,2715 21727 NORMUNIT
034262,000405: 31,2716 76435 VXV VSL1
034263,000406: 31,2717 02154 YNBPIP # - - -
034264,000407: 31,2720 65361 VXSC PDDL # PUSH DOWN - ELINCR(YNB * UNIT(LAND - R))
034265,000408: 31,2721 03555 ELINCR
034266,000409: 31,2722 03557 AZINCR
034267,000410: 31,2723 52361 VXSC VSU
034268,000411: 31,2724 02154 YNBPIP
034269,000412: 31,2725 41455 VAD PUSH # RESULTING VECTOR IS 1/2 REAL SIZE
034270,000413:
034271,000414:
034272,000415: 31,2726 45345 DLOAD DSU # MAKE SURE REDESIGNATION IS NOT
034273,000416: 31,2727 00001 0 # TOO CLOSE TO THE HORIZON
034274,000417: 31,2730 05660 DEPRCRIT
034275,000418: 31,2731 71240 BMN DLOAD
034276,000419: 31,2732 62735 REDES1
034277,000420: 31,2733 05660 DEPRCRIT
034278,000421: 31,2734 00001 STORE 0
034279,000422: 31,2735 45345 REDES1 DLOAD DSU
034280,000423: 31,2736 03635 LAND
034281,000424: 31,2737 03521 R
034282,000425: 31,2740 74271 DDV VXSC
034283,000426: 31,2741 00001 0
034284,000427: 31,2742 53455 VAD UNIT
034285,000428: 31,2743 03521 R
034286,000429: 31,2744 76561 VXSC VSL1
034287,000430: 31,2745 02333 /LAND/
Page 799 |
034289,000432: 31,2746 03545 STORE LANDTEMP
034290,000433: 31,2747 77776 EXIT # LOOKANGL WILL BE COMPUTED AT RGVGCALC
034291,000434:
034292,000435: 31,2750 03717 TC FASTCHNG
034293,000436:
034294,000437: 31,2751 00006 EXTEND
034295,000438: 31,2752 31545 DCA LANDTEMP
034296,000439: 31,2753 53635 DXCH LAND
034297,000440: 31,2754 00006 EXTEND
034298,000441: 31,2755 31547 DCA LANDTEMP +2
034299,000442: 31,2756 53637 DXCH LAND +2
034300,000443: 31,2757 00006 EXTEND
034301,000444: 31,2760 31551 DCA LANDTEMP +4
034302,000445: 31,2761 53641 DXCH LAND +4
034303,000446:
034304,000447: 31,2762 12773 TCF RGVGCALC
034305,000448:
034306,000449: # ****************************************************************************************************************
034307,000450: # COMPUTE STATE IN GUIDANCE COORDINATES
034308,000451: # ****************************************************************************************************************
034309,000452:
034310,000453: # RGVGCALC COMPUTATIONS ARE AS FOLLOWS:-
034311,000454: # VELOCITY RELATIVE TO THE SURFACE:
034312,000455:
034313,000456: # - - - -
034314,000457: # ANGTERM = V + R * WM
034315,000458:
034316,000459: # STATE IN GUIDANCE COORDINATES:
034317,000460:
034318,000461: # - * - -
034319,000462: # RGU = CG (R - LAND)
034320,000463:
034321,000464: # - * - - -
034322,000465: # VGU = CG (V - WM * R)
034323,000466:
034324,000467: # HORIZONTAL VELOCITY FOR DISPLAY:
034325,000468:
034326,000469: # VHORIZ = 8 ABVAL (0, VG , VG )
034327,000470: # 2 1
034328,000471:
034329,000472: # DEPRESSION ANGLE FOR DISPLAY:
034330,000473:
034331,000474: # - - -
034332,000475: # LOOKANGL = ARCSIN(UNIT(R - LAND).XMBPIP)
034333,000476:
034334,000477: 31,2763 06042 CALCRGVG TC INTPRET # IN IGNALG, COMPUTE V FROM INTEGRATION
034335,000478: 31,2764 64375 VLOAD MXV # OUTPUT AND TRIM CORRECTION TERM
034336,000479: 31,2765 00025 VATT1 # COMPUTED LAST PASS AND LEFT IN UNFC/2
034337,000480: 31,2766 01734 REFSMMAT
Page 800 |
034339,000482: 31,2767 53362 VSR1 VAD
034340,000483: 31,2770 03254 UNFC/2
034341,000484: 31,2771 03527 STORE V
034342,000485: 31,2772 77776 EXIT
034343,000486:
034344,000487: 31,2773 06042 RGVGCALC TC INTPRET # ENTER HERE TO RECOMPUTE RG AND VG
034345,000488: 31,2774 47375 VLOAD VXV
034346,000489: 31,2775 03521 R
034347,000490: 31,2776 02325 WM
034348,000491: 31,2777 70455 VAD VSR2 # RESCALE TO UNITS OF 2(9) M/CS
034349,000492: 31,3000 03527 V
034350,000493: 31,3001 02265 STORE ANGTERM
034351,000494: 31,3002 77721 MXV
034352,000495: 31,3003 02575 CG # NO SHIFT SINCE ANGTERM IS DOUBLE SIZED
034353,000496: 31,3004 03627 STORE VGU
034354,000497: 31,3005 55525 PDDL VDEF # FORM (0,VG ,VG ) IN UNITS OF 2(10) M/CS
034355,000498: 31,3006 06524 ZEROVECS # 2 1
034356,000499: 31,3007 52446 ABVAL SL3
034357,000500: 31,3010 26263 STOVL VHORIZ # VHORIZ FOR DISPLAY DURING P65.
034358,000501: 31,3011 03521 R # - -
034359,000502: 31,3012 41451 VSU PUSH # PUSH DOWN R - LAND
034360,000503: 31,3013 03635 LAND
034361,000504: 31,3014 76521 MXV VSL1
034362,000505: 31,3015 02575 CG
034363,000506: 31,3016 02627 STORE RGU
034364,000507: 31,3017 77646 ABVAL
034365,000508: 31,3020 26617 STOVL RANGEDSP
034366,000509: 31,3021 50234 RTB DOT # NOW IN MPAC IS SINE(LOOKANGL)/4
034367,000510: 31,3022 21727 NORMUNIT
034368,000511: 31,3023 02146 XNBPIP
034369,000512: 31,3024 77776 EXIT
034370,000513:
034371,000514: 31,3025 30120 CA FIXLOC # RESET PUSH DOWN POINTER
034372,000515: 31,3026 54166 TS PUSHLOC
034373,000516:
034374,000517: 31,3027 30154 CA MPAC # COMPUTE LOOKANGL ITSELF
034375,000518: 31,3030 60000 DOUBLE
034376,000519: 31,3031 04616 TC BANKCALL
034377,000520: 31,3032 61657 CADR SPARCSIN -1
034378,000521: 31,3033 63733 AD 1/2DEG
034379,000522: 31,3034 00006 EXTEND
034380,000523: 31,3035 73732 MP 180DEGS
034381,000524: 31,3036 55667 TS LOOKANGL # LOOKANGL FOR DISPLAY DURING P64
034382,000525:
034383,000526: 31,3037 51346 BRSPOT3 INDEX WCHPHASE
034384,000527: 31,3040 12357 TCF WHATGUID
034385,000528:
034386,000529: # ****************************************************************************************************************
034387,000530: # TTF/8 COMPUTATION
034388,000531: # ****************************************************************************************************************
034389,000532:
Page 801 |
034391,000534: 31,3041 03656 TTF/8CL TC INTPRETX
034392,000535: 31,3042 77743 DLOAD*
034393,000536: 31,3043 02431 JDG2TTF,1
034394,000537: 31,3044 23571 STODL* TABLTTF +6 # A(3) = 8 JDG TO TABLTTF
034395,000538: 31,3045 02427 ADG2TTF,1 # 2
034396,000539: 31,3046 17567 STODL TABLTTF +4 # A(2) = 6 ADG TO TABLTTF
034397,000540: 31,3047 03633 VGU +4 # 2
034398,000541: 31,3050 42605 DMP DAD*
034399,000542: 31,3051 05656 3/4DP
034400,000543: 31,3052 02425 VDG2TTF,1
034401,000544: 31,3053 23565 STODL* TABLTTF +2 # A(1) = (6 VGU + 18 VDG )/8 TO TABLTTF
034402,000545: 31,3054 02407 RDG +4,1 # 2 2
034403,000546: 31,3055 41225 DSU DMP
034404,000547: 31,3056 02633 RGU +4
034405,000548: 31,3057 05654 3/8DP
034406,000549: 31,3060 03563 STORE TABLTTF # A(0) = -24 (RGU - RDG )/64 TO TABLTTF
034407,000550: 31,3061 77776 EXIT # 2 2
034408,000551:
034409,000552: 31,3062 34744 CA BIT8
034410,000553: 31,3063 55572 TS TABLTTF +10 # FRACTIONAL PRECISION FOR TTF TO TABLE
034411,000554:
034412,000555: 31,3064 00006 EXTEND
034413,000556: 31,3065 31643 DCA TTF/8
034414,000557: 31,3066 52155 DXCH MPAC # LOADS TTF/8 (INITIAL GUESS) INTO MPAC
034415,000558: 31,3067 34752 CAF TWO # DEGREE - ONE
034416,000559: 31,3070 54001 TS L
034417,000560: 31,3071 33725 CAF TABLTTFL
034418,000561: 31,3072 03532 TC ROOTPSRS # YIELDS TTF/8 IN MPAC
034419,000562: 31,3073 51346 INDEX WCHPHASE
034420,000563: 31,3074 12375 TCF WHATALM
034421,000564:
034422,000565: 31,3075 00006 EXTEND # GOOD RETURN
034423,000566: 31,3076 30155 DCA MPAC # FETCH TTF/8 KEEPING IT IN MPAC
034424,000567: 31,3077 53643 DXCH TTF/8 # CORRECTED TTF/8
034425,000568:
034426,000569: 31,3100 03663 TC TDISPSET
034427,000570:
034428,000571: # (CONTINUE TO QUADGUID)
034429,000572:
034430,000573: # ****************************************************************************************************************
034431,000574: # MAIN GUIDANCE EQUATION
034432,000575: # ****************************************************************************************************************
034433,000576:
034434,000577: # AS PUBLISHED:-
034435,000578:
034436,000579: # - - - -
034437,000580: # - - 6(VDG + VG) 12(RDG - RG)
034438,000581: # ACG = ADG + ----------- + ------------
034439,000582: # TTF (TTF)(TTF)
034440,000583:
Page 802 |
034442,000585: # AS HERE PROGRAMMED:-
034443,000586: # - -
034444,000587: # 3 (1/4(RDG - RG) - - )
034445,000588: # - (------------- + VDG + VG)
034446,000589: # - 4 ( TTF/8 ) -
034447,000590: # ACG = ---------------------------- + ADG
034448,000591: # TTF/8
034449,000592:
034450,000593: 31,3101 41642 QUADGUID CS TTF/8
034451,000594: 31,3102 61426 AD LEADTIME # LEADTIME IS A NEGATIVE NUMBER
034452,000595: 31,3103 64733 AD POSMAX # SAFEGUARD THE COMPUTATIONS THAT FOLLOW
034453,000596: 31,3104 54001 TS L # BY FORCING -TTF+LEADTIME > OR = ZERO
034454,000597: 31,3105 40001 CS L
034455,000598: 31,3106 60001 AD L
034456,000599: 31,3107 22007 ZL
034457,000600: 31,3110 00006 EXTEND
034458,000601: 31,3111 11642 DV TTF/8
034459,000602: 31,3112 54130 TS BUF # - RATIO OF LAG-DIMINISHED TTF TO TTF
034460,000603: 31,3113 00006 EXTEND
034461,000604: 31,3114 70000 SQUARE
034462,000605: 31,3115 54131 TS BUF +1
034463,000606: 31,3116 60130 AD BUF
034464,000607: 31,3117 56131 XCH BUF +1 # RATIO SQUARED - RATIO
034465,000608: 31,3120 60131 AD BUF +1
034466,000609: 31,3121 54154 TS MPAC # COEFFICIENT FOR VGU TERM
034467,000610: 31,3122 60131 AD BUF +1
034468,000611: 31,3123 50120 INDEX FIXLOC
034469,000612: 31,3124 54032 TS 26D # COEFFICIENT FOR RDG-RGU TERM
034470,000613: 31,3125 60131 AD BUF +1
034471,000614: 31,3126 50120 INDEX FIXLOC
034472,000615: 31,3127 54034 TS 28D # COEFFICIENT FOR VDG TERM
034473,000616: 31,3130 60130 AD BUF
034474,000617: 31,3131 64733 AD POSMAX
034475,000618: 31,3132 60131 AD BUF +1
034476,000619: 31,3133 60131 AD BUF +1
034477,000620: 31,3134 50120 INDEX FIXLOC
034478,000621: 31,3135 54036 TS 30D # COEFFICIENT FOR ADG TERM
034479,000622:
034480,000623: 31,3136 34755 CAF ZERO
034481,000624: 31,3137 54163 TS MODE
034482,000625:
034483,000626: 31,3140 03656 TC INTPRETX
034484,000627: 31,3141 65361 VXSC PDDL
034485,000628: 31,3142 03627 VGU
034486,000629: 31,3143 00035 28D
034487,000630: 31,3144 62757 VXSC* PDVL*
034488,000631: 31,3145 02411 VDG,1
034489,000632: 31,3146 02403 RDG,1
034490,000633: 31,3147 70251 VSU V/SC
Page 803 |
034492,000635: 31,3150 02627 RGU
034493,000636: 31,3151 03643 TTF/8
034494,000637: 31,3152 74342 VSR2 VXSC
034495,000638: 31,3153 00033 26D
034496,000639: 31,3154 53255 VAD VAD
034497,000640: 31,3155 74341 V/SC VXSC
034498,000641: 31,3156 03643 TTF/8
034499,000642: 31,3157 05656 3/4DP
034500,000643: 31,3160 73725 PDDL VXSC*
034501,000644: 31,3161 00037 30D
034502,000645: 31,3162 02417 ADG,1
034503,000646: 31,3163 77655 VAD
034504,000647: 31,3164 76505 AFCCALC1 VXM VSL1 # VERTGUID COMES HERE
034505,000648: 31,3165 02575 CG
034506,000649: 31,3166 70315 PDVL V/SC
034507,000650: 31,3167 01236 GDT/2
034508,000651: 31,3170 05652 GSCALE
034509,000652: 31,3171 45445 BVSU STADR
034510,000653: 31,3172 74523 STORE UNFC/2 # UNFC/2 NEED NOT BE UNITIZED
034511,000654: 31,3173 77646 ABVAL
034512,000655: 31,3174 17464 AFCCALC2 STODL /AFC/ # MAGNITUDE OF AFC FOR THROTTLE
034513,000656: 31,3175 03254 UNFC/2 # VERTICAL COMPONENT
034514,000657: 31,3176 65316 DSQ PDDL
034515,000658: 31,3177 03256 UNFC/2 +2 # OUT-OF-PLANE
034516,000659: 31,3200 65316 DSQ PDDL
034517,000660: 31,3201 05650 HIGHESTF
034518,000661: 31,3202 63471 DDV DSQ
034519,000662: 31,3203 01244 MASS # 2 2 2
034520,000663: 31,3204 45225 DSU DSU # AMAXHORIZ = SQRT(ATOTAL - A - A )
034521,000664: 31,3205 71244 BPL DLOAD # 1 0
034522,000665: 31,3206 63210 AFCCALC3
034523,000666: 31,3207 06524 ZEROVECS
034524,000667: 31,3210 43366 AFCCALC3 SQRT DAD
034525,000668: 31,3211 03260 UNFC/2 +4
034526,000669: 31,3212 44244 BPL BDSU
034527,000670: 31,3213 63216 AFCCLEND
034528,000671: 31,3214 03260 UNFC/2 +4
034529,000672: 31,3215 03260 STORE UNFC/2 +4
034530,000673: 31,3216 77776 AFCCLEND EXIT
034531,000674: 31,3217 03717 TC FASTCHNG
034532,000675:
034533,000676: 31,3220 31346 CA WCHPHASE # PREPARE FOR PHASE SWITCHING LOGIC
034534,000677: 31,3221 55621 TS WCHPHOLD
034535,000678: 31,3222 25623 INCR FLPASS0 # INCREMENT PASS COUNTER
034536,000679:
034537,000680: 31,3223 51346 BRSPOT4 INDEX WCHPHASE
034538,000681: 31,3224 12363 TCF AFTRGUID
034539,000682:
034540,000683: # ****************************************************************************************************************
034541,000684: # NEW PHASE NOW?
Page 804 |
034543,000686: # ****************************************************************************************************************
034544,000687:
034545,000688: 31,3225 51346 EXTLOGIC INDEX WCHPHASE # IS TTF NEARER ZERO THAN CRITERION?
034546,000689: 31,3226 31423 CA TENDBRAK
034547,000690: 31,3227 61642 AD TTF/8
034548,000691: 31,3230 00006 EXTEND
034549,000692: 31,3231 63240 BZMF CGCALC # NO
034550,000693:
034551,000694: 31,3232 03717 TC FASTCHNG # YES: INCREMENT WCHPHASE, ZERO FLPASS0
034552,000695:
034553,000696: 31,3233 31621 CA WCHPHOLD
034554,000697: 31,3234 64753 AD ONE
034555,000698: 31,3235 55346 TS WCHPHASE
034556,000699: 31,3236 34755 CAF ZERO
034557,000700: 31,3237 55623 TS FLPASS0
034558,000701:
034559,000702: # (CONTINUE TO CGCALC)
034560,000703:
034561,000704: # ***************************************************************************************************************
034562,000705: # ERECT GUIDANCE-STABLE MEMBER TRANSFORMATION MATRIX
034563,000706: # ***************************************************************************************************************
034564,000707:
034565,000708: 31,3240 35014 CGCALC CAF EBANK5
034566,000709: 31,3241 54003 TS EBANK
034567,000710: 31,3242 E5,1435 EBANK= TCGIBRAK
034568,000711: 31,3242 00006 EXTEND
034569,000712: 31,3243 51346 INDEX WCHPHASE
034570,000713: 31,3244 52400 INDEX TARGTDEX
034571,000714: 31,3245 31435 DCA TCGFBRAK
034572,000715: 31,3246 24006 INCR BBANK
034573,000716: 31,3247 24006 INCR BBANK
034574,000717: 31,3250 E7,1642 EBANK= TTF/8
034575,000718: 31,3250 61642 AD TTF/8
034576,000719: 31,3251 56001 XCH L
034577,000720: 31,3252 61642 AD TTF/8
034578,000721: 31,3253 10000 CCS A
034579,000722: 31,3254 10001 CCS L
034580,000723: 31,3255 13306 TCF EXITSPOT
034581,000724: 31,3256 13306 TCF EXITSPOT
034582,000725: 31,3257 13260 NOOP
034583,000726:
034584,000727: 31,3260 03656 TC INTPRETX
034585,000728: 31,3261 53575 VLOAD UNIT
034586,000729: 31,3262 03635 LAND
034587,000730: 31,3263 16575 STODL CG
034588,000731: 31,3264 03643 TTF/8
034589,000732: 31,3265 74203 DMP* VXSC
034590,000733: 31,3266 02433 GAINBRAK,1 # NUMERO MYSTERIOSO
034591,000734: 31,3267 02265 ANGTERM
034592,000735: 31,3270 77655 VAD
Page 805 |
034594,000737: 31,3271 03635 LAND
034595,000738: 31,3272 47051 VSU RTB
034596,000739: 31,3273 03521 R
034597,000740: 31,3274 21727 NORMUNIT
034598,000741: 31,3275 47035 VXV RTB
034599,000742: 31,3276 03635 LAND
034600,000743: 31,3277 21727 NORMUNIT
034601,000744: 31,3300 26603 STOVL CG +6 # SECOND ROW
034602,000745: 31,3301 02575 CG
034603,000746: 31,3302 76435 VXV VSL1
034604,000747: 31,3303 02603 CG +6
034605,000748: 31,3304 02611 STORE CG +14
034606,000749: 31,3305 77776 EXIT
034607,000750:
In the printout, the following two lines (and possibly the EXIT above) are circled in red. |
034610,000753: 31,3306 51621 EXITSPOT INDEX WCHPHOLD
034611,000754: 31,3307 12367 TCF WHATEXIT
034612,000755:
034613,000756: # ****************************************************************************************************************
034614,000757: # ROUTINES FOR EXITING FROM LANDING GUIDANCE
034615,000758: # ****************************************************************************************************************
034616,000759:
034617,000760: # 1. EXGSUB IS THE RETURN WHEN GUIDSUB IS CALLED BY THE IGNITION ALGORITHM.
034618,000761:
034619,000762: # 2. EXBRAK IN THE EXIT USED DURING THE BRAKING PHASE. IN THIS CASE UNIT(R) IS THE WINDOW POINTING VECTOR.
034620,000763:
034621,000764: # 3. EXNORM IS THE EXIT USED AT OTHER TIMES DURING THE BURN.
034622,000765:
034623,000766: # (EXOVFLOW IS A SUBROUTINE OF EXBRAK AND EXNORM CALLED WHEN OVERFLOW OCCURRED ANYWHERE IN GUIDANCE.)
034624,000767:
034625,000768: 31,3310 06042 EXGSUB TC INTPRET # COMPUTE TRIM VELOCITY CORRECTION TERM
034626,000769: 31,3311 47175 VLOAD RTB
034627,000770: 31,3312 03254 UNFC/2
034628,000771: 31,3313 21727 NORMUNIT
034629,000772: 31,3314 74361 VXSC VXSC
034630,000773: 31,3315 03423 ZOOMTIME
034631,000774: 31,3316 22001 TRIMACCL
034632,000775: 31,3317 03254 STORE UNFC/2
034633,000776: 31,3320 77776 EXIT
034634,000777:
034635,000778: 31,3321 11647 CCS NGUIDSUB
034636,000779: 31,3322 12406 TCF GUIDSUB
034637,000780: 31,3323 11646 CCS NIGNLOOP
034638,000781: 31,3324 13327 TCF +3
034639,000782: 31,3325 05567 TC ALARM
034640,000783: 31,3326 01412 OCT 01412
034641,000784:
034642,000785: 31,3327 04635 +3 TC POSTJUMP
034643,000786: 31,3330 65103 CADR DDUMCALC
034644,000787:
034645,000788: 31,3331 06042 EXBRAK TC INTPRET
Page 806 |
034647,000790: 31,3332 77775 VLOAD
034648,000791: 31,3333 03537 UNIT/R/
034649,000792: 31,3334 03262 STORE UNWC/2
034650,000793: 31,3335 77776 EXIT
034651,000794: 31,3336 13411 TCF STEER?
034652,000795:
In the printout, there is a hand-drawn, downward-facing bracket, spanning the entire line below, hand-drawn in red. |
034655,000798: 31,3337 06042 EXNORM TC INTPRET
034656,000799: 31,3340 52375 VLOAD VSU
034657,000800: 31,3341 03635 LAND
034658,000801: 31,3342 03521 R
034659,000802: 31,3343 77634 RTB
034660,000803: 31,3344 21727 NORMUNIT
034661,000804: 31,3345 03262 STORE UNWC/2 # UNIT(LAND - R) IS TENTATIVE CHOICE
034662,000805: 31,3346 50235 VXV DOT
034663,000806: 31,3347 02146 XNBPIP
034664,000807: 31,3350 02603 CG +6
034665,000808: 31,3351 77776 EXIT # WITH PROJ IN MPAC 1/8 REAL SIZE
034666,000809:
034667,000810: 31,3352 40154 CS MPAC # GET COEFFICIENT FOR CG +14
034668,000811: 31,3353 63734 AD PROJMAX
034669,000812: 31,3354 64733 AD POSMAX
034670,000813: 31,3355 54130 TS BUF
034671,000814: 31,3356 40130 CS BUF
034672,000815: 31,3357 26130 ADS BUF # RESULT IS 0 IF PROJMAX - PROJ NEGATIVE
034673,000816:
034674,000817: 31,3360 43735 CS PROJMIN # GET COEFFICIENT FOR UNIT(LAND - R)
034675,000818: 31,3361 60154 AD MPAC
034676,000819: 31,3362 64733 AD POSMAX
034677,000820: 31,3363 54131 TS BUF +1
034678,000821: 31,3364 40131 CS BUF +1
034679,000822: 31,3365 26131 ADS BUF +1 # RESULT IS 0 IF PROJ - PROJMIN NEGATIVE
034680,000823:
034681,000824: 31,3366 34751 CAF FOUR
034682,000825: 31,3367 76245 UNWCLOOP MASK SIX
034683,000826: 31,3370 54002 TS Q
034684,000827: 31,3371 35014 CA EBANK5
034685,000828: 31,3372 54003 TS EBANK
034686,000829: 31,3373 E5,1574 EBANK= CG
034687,000830: 31,3373 30130 CA BUF
034688,000831: 31,3374 00006 EXTEND
034689,000832: 31,3375 50002 INDEX Q
034690,000833: 31,3376 71610 MP CG +14
034691,000834: 31,3377 24006 INCR BBANK
034692,000835: 31,3400 E6,1661 EBANK= UNWC/2
034693,000836: 31,3400 50002 INDEX Q
034694,000837: 31,3401 53662 DXCH UNWC/2
034695,000838: 31,3402 00006 EXTEND
034696,000839: 31,3403 70131 MP BUF +1
034697,000840: 31,3404 50002 INDEX Q
034698,000841: 31,3405 21662 DAS UNWC/2
Page 807 |
034700,000843: 31,3406 10002 CCS Q
034701,000844: 31,3407 13367 TCF UNWCLOOP
034702,000845:
034703,000846: 31,3410 24006 INCR BBANK
034704,000847: 31,3411 E7,1612 EBANK= PIF
034705,000848:
034706,000849: 31,3411 30076 STEER? CA FLAGWRD2 # IF STEERSW DOWN NO OUTPUTS
034707,000850: 31,3412 74741 MASK STEERBIT
034708,000851: 31,3413 00006 EXTEND
034709,000852: 31,3414 13422 BZF RATESTOP
034710,000853:
034711,000854: 31,3415 30121 EXVERT CA OVFIND # IF OVERFLOW ANYWHERE IN GUIDANCE
034712,000855: 31,3416 00006 EXTEND # DON'T CALL THROTTLE OR FINDCDUW
034713,000856: 31,3417 13432 BZF +13
034714,000857:
034715,000858: 31,3420 05567 EXOVFLOW TC ALARM # SOUND THE ALARM NON-ABORTIVELY.
034716,000859: 31,3421 01410 OCT 01410
034717,000860:
034718,000861: 31,3422 34737 RATESTOP CAF BIT13 # ARE WE IN ATTITUDE-HOLD?
034719,000862: 31,3423 00006 EXTEND
034720,000863: 31,3424 02031 RAND CHAN31
034721,000864: 31,3425 00006 EXTEND
034722,000865: 31,3426 13437 BZF DISPEXIT # YES
034723,000866:
034724,000867: 31,3427 04616 TC BANKCALL # NO: DO A STOPRATE
034725,000868: 31,3430 40166 CADR STOPRATE
034726,000869:
034727,000870: 31,3431 13437 TCF DISPEXIT
034728,000871:
034729,000872: 31,3432 02144 GDUMP1 TC THROTTLE
034730,000873: 31,3433 06042 TC INTPRET
034731,000874: 31,3434 77624 CALL
034732,000875: 31,3435 61076 FINDCDUW -2
034733,000876: 31,3436 77776 EXIT
034734,000877:
034735,000878: # (CONTINUE TO DISPEXIT)
034736,000879:
034737,000880: # ****************************************************************************************************************
034738,000881: # GUIDANCE LOOP DISPLAYS
034739,000882: # ****************************************************************************************************************
034740,000883:
034741,000884: 31,3437 00006 DISPEXIT EXTEND # KILL GROUP 3: DISPLAYS WILL BE
034742,000885: 31,3440 34755 DCA NEG0 # RESTORED BY NEXT GUIDANCE CYCLE
034743,000886: 31,3441 52756 DXCH -PHASE3
034744,000887:
034745,000888: 31,3442 31,3442 ENDLLJOB = DISPEXIT +3
034746,000889:
034747,000890: 31,3442 40104 +3 CS FLAGWRD8 # IF FLUNDISP IS SET, NO DISPLAY THIS PASS
Page 808 |
034749,000892: 31,3443 74742 MASK FLUNDBIT
034750,000893: 31,3444 00006 EXTEND
034751,000894: 31,3445 15155 BZF ENDOFJOB
034752,000895:
034753,000896: 31,3446 51621 INDEX WCHPHOLD
034754,000897: 31,3447 12371 TCF WHATDISP
034755,000898:
034756,000899: 31,3450 33736 P63DISPS CAF V06N63
034757,000900: 31,3451 04616 DISPCOMN TC BANKCALL
034758,000901: 31,3452 20466 CADR REGODSP
034759,000902:
034760,000903: 31,3453 31666 P64DISPS CA TREDES # HAS TREDES REACHED ZERO?
034761,000904: 31,3454 00006 EXTEND
034762,000905: 31,3455 13476 BZF RED-OVER # YES: CLEAR REDESIGNATION FLAG
034763,000906:
034764,000907: 31,3456 40102 CS FLAGWRD6 # NO: IS REDFLAG SET?
034765,000908: 31,3457 74746 MASK REDFLBIT
034766,000909: 31,3460 00006 EXTEND
034767,000910: 31,3461 13500 BZF REDES-OK # YES: DO STATIC DISPLAY
034768,000911:
034769,000912: 31,3462 33737 CAF V06N64 # OTHERWISE USE FLASHING DISPLAY
034770,000913: 31,3463 04616 TC BANKCALL
034771,000914: 31,3464 20460 CADR REFLASH
034772,000915: 31,3465 16001 TCF GOTOPOOH # TERMINATE
034773,000916: 31,3466 13470 TCF P64CEED # PROCEED PERMIT REDESIGNATIONS
034774,000917: 31,3467 13453 TCF P64DISPS # RECYCLE
034775,000918:
In the printout, the following three lines are grouped together by hand-drawn lines, in blue, to the left and the right. |
034778,000921: 31,3470 34755 P64CEED CAF ZERO
034779,000922: 31,3471 55446 TS ELINCR1
034780,000923: 31,3472 55445 TS AZINCR1
034781,000924:
034782,000925: 31,3473 05504 TC UPFLAG # ENABLE REDESIGNATION LOGIC
034783,000926: 31,3474 00143 ADRES REDFLAG
034784,000927:
034785,000928: 31,3475 15155 TCF ENDOFJOB
034786,000929:
034787,000930: 31,3476 05516 RED-OVER TC DOWNFLAG
034788,000931: 31,3477 00143 ADRES REDFLAG
034789,000932: 31,3500 33737 REDES-OK CAF V06N64
034790,000933: 31,3501 13451 TCF DISPCOMN
034791,000934:
034792,000935:
034793,000936: 31,3502 33740 VERTDISP CAF V06N60
034794,000937: 31,3503 04616 TC BANKCALL
034795,000938: 31,3504 20460 CADR REFLASH
034796,000939: 31,3505 16001 TCF GOTOPOOH # TERMINATE
034797,000940: 31,3506 13510 TCF STOPFIRE # PROCEED
034798,000941: 31,3507 13510 TCF STOPFIRE # V32E
034799,000942:
034800,000943: 31,3510 00004 STOPFIRE INHINT
Page 809 |
034802,000945: 31,3511 04616 TC BANKCALL
034803,000946: 31,3512 40154 CADR ZATTEROR
034804,000947: 31,3513 15155 TCF ENDOFJOB
034805,000948:
034806,000949: # ****************************************************************************************************************
034807,000950: # GUIDANCE FOR P65
034808,000951: # ****************************************************************************************************************
034809,000952:
034810,000953: 31,3514 11647 VERTGUID CCS WCHVERT
In the printout, in the line below, "TCF P67VERT" has been manually crossed out. |
034813,000956: 31,3515 13524 TCF P67VERT # POSITIVE NON-ZERO ---> P67
034814,000957: 31,3516 13522 TCF P66VERT # +0
034815,000958:
034816,000959: # THE P65 GUIDANCE EQUATION IS AS FOLLOWS:-
034817,000960:
034818,000961: # - -
034819,000962: # V2FG - VGU
034820,000963: # ACG = ----------
034821,000964: # TAUVERT
034822,000965:
034823,000966: 31,3517 06042 P65VERT TC INTPRET
034824,000967: 31,3520 77650 GOTO
034825,000968: 31,3521 65271 P65VERTA
034826,000969:
Page 810 |
034828,000971: # ****************************************************************************************************************
034829,000972: # GUIDANCE FOR P66
034830,000973: # ****************************************************************************************************************
034831,000974:
034832,000975: 31,3522 04635 P66VERT TC POSTJUMP
034833,000976: 31,3523 65277 CADR P66VERTA
034834,000977:
034835,000978: 31,3524 05353 P67VERT TC PHASCHNG # TERMINATE GROUP 3
034836,000979: 31,3525 00003 OCT 00003
034837,000980:
In the printout, the following group of 4 lines has been manually scratched out. |
034840,000983: 31,3526 06042 TC INTPRET
034841,000984: 31,3527 52175 VLOAD GOTO
034842,000985: 31,3530 03527 V
034843,000986: 31,3531 65526 VHORCOMP
034844,000987:
034845,000988: 32,2000 SETLOC P66LOC
034846,000989: 32,2000 BANK
034847,000990: 32,3264 COUNT* $$/F2DPS
034848,000991:
034849,000992: 32,3264 37713 RODTASK CAF PRIO22
034850,000993: 32,3265 05105 TC FINDVAC
034851,000994: 32,3266 E7,1515 EBANK= DVCNTR
034852,000995: 32,3266 03304 64067 2CADR RODCOMP
034853,000996:
034854,000997: 32,3270 15261 TCF TASKOVER
034855,000998:
034856,000999: 32,3271 52375 P65VERTA VLOAD VSU
034857,001000: 32,3272 02511 V2FG
034858,001001: 32,3273 03627 VGU
034859,001002: 32,3274 52141 V/SC GOTO
034860,001003: 32,3275 02517 TAUVERT
034861,001004: 32,3276 63164 AFCCALC1
034862,001005:
034863,001006: 32,3277 05353 P66VERTA TC PHASCHNG # TERMINATE GROUP 3.
034864,001007: 32,3300 00003 OCT 00003
034865,001008:
034866,001009: 32,3301 34777 CAF 1SEC
034867,001010: 32,3302 05173 TC TWIDDLE
034868,001011: 32,3303 03264 ADRES RODTASK
034869,001012:
In the printout, the INHINT below has a hand-drawn check-mark next to it. |
034871,001014: 32,3304 00004 RODCOMP INHINT
034872,001015: 32,3305 34755 CAF ZERO
034873,001016: 32,3306 57746 XCH RODCOUNT
034874,001017: 32,3307 00006 EXTEND
034875,001018: 32,3310 71756 MP RODSCAL1
034876,001019: 32,3311 21645 DAS VDGVERT # UPDATE DESIRED ALTITUDE RATE.
034877,001020:
034878,001021: 32,3312 00006 EXTEND # SET OLDPIPAX,Y,Z = PIPAX,Y,Z
034879,001022: 32,3313 30040 DCA PIPAX
034880,001023: 32,3314 53764 DXCH OLDPIPAX
Page 811 |
034882,001025: 32,3315 52071 DXCH RUPTREG1 # SET RUPTREG1,2,3 = OLDPIPAX,Y,Z
034883,001026: 32,3316 30041 CA PIPAZ
034884,001027: 32,3317 57765 XCH OLDPIPAZ
034885,001028: 32,3320 56072 XCH RUPTREG3
034886,001029:
034887,001030: 32,3321 00006 EXTEND # SHAPSHOT TIME OF PIPA READING.
034888,001031: 32,3322 30025 DCA TIME2
034889,001032: 32,3323 53762 DXCH THISTPIP
034890,001033:
034891,001034: 32,3324 31763 CA OLDPIPAX
034892,001035: 32,3325 61157 AD PIPATMPX
034893,001036: 32,3326 54154 TS MPAC # MPAC(X) = PIPAX + PIPATMPX
034894,001037: 32,3327 31764 CA OLDPIPAY
034895,001038: 32,3330 61160 AD PIPATMPY
034896,001039: 32,3331 54157 TS MPAC +3 # MPAC(Y) = PIPAY + PIPATMPY
034897,001040: 32,3332 31765 CA OLDPIPAZ
034898,001041: 32,3333 61161 AD PIPATMPZ
034899,001042: 32,3334 54161 TS MPAC +5 # MPAC(Z) = PIPAZ + PIPATMPZ
034900,001043:
034901,001044: 32,3335 41763 CS OLDPIPAX
034902,001045: 32,3336 61253 AD TEMX
034903,001046: 32,3337 60070 AD RUPTREG1
034904,001047: 32,3340 55766 TS DELVROD
034905,001048: 32,3341 41764 CS OLDPIPAY
034906,001049: 32,3342 61254 AD TEMY
034907,001050: 32,3343 60071 AD RUPTREG2
034908,001051: 32,3344 55770 TS DELVROD +2
034909,001052: 32,3345 41765 CS OLDPIPAZ
034910,001053: 32,3346 61255 AD TEMZ
034911,001054: 32,3347 60072 AD RUPTREG3
034912,001055: 32,3350 55772 TS DELVROD +4
034913,001056:
034914,001057: 32,3351 34755 CAF ZERO
034915,001058: 32,3352 54155 TS MPAC +1 # ZERO LO-ORDER MPAC COMPONENTS
034916,001059: 32,3353 54160 TS MPAC +4
034917,001060: 32,3354 54162 TS MPAC +6
034918,001061: 32,3355 55253 TS TEMX # ZERO TEMX, TEMY, AND TEMZ SO WE WILL
034919,001062: 32,3356 55254 TS TEMY # KNOW WHEN READACCS CHANGES THEM.
034920,001063: 32,3357 55255 TS TEMZ
034921,001064: 32,3360 44753 CS ONE
In the printout, to the right of the following two lines, there is a hand-written note. Don Eyles says he believes it reads "pipa accel", which makes sense given that the comment that follows refers to rescaling the PIPA reading in the MPAC. |
034926,001069: 32,3361 54163 TS MODE
034927,001070: 32,3362 06042 TC INTPRET
034928,001071: 32,3363 65361 ITRPNT1 VXSC PDDL # SCALE MPAC TO M/CS *2(-7) AND PUSH (6)
034929,001072: 32,3364 26022 KPIP1
034930,001073: 32,3365 03762 THISTPIP
034931,001074: 32,3366 77625 DSU
034932,001075: 32,3367 01234 PIPTIME
034933,001076: 32,3370 00037 STORE 30D # 30-31D CONTAINS TIME IN CS SINCE PIPTIME
034934,001077: 32,3371 63271 DDV PDVL # (8)
034935,001078: 32,3372 27112 4SEC(28)
Page 812 |
034937,001080: 32,3373 01236 GDT/2
034938,001081: 32,3374 74251 VSU VXSC # (6)
034939,001082: 32,3375 02621 VBIAS
034940,001083: 32,3376 53352 VSL2 VAD
034941,001084: 32,3377 03527 V
034942,001085: 32,3400 45455 VAD STADR # (0)
034943,001086: 32,3401 53746 STOVL 24D # STORE UPDATED VELOCITY IN 24-29D
034944,001087: 32,3402 03521 R
034945,001088: 32,3403 77656 UNIT
034946,001089: 32,3404 00017 STORE 14D
034947,001090: 32,3405 72441 DOT SL1
034948,001091: 32,3406 00031 24D
034949,001092: 32,3407 17474 STODL HDOTDISP # UPDATE ALTITUDE RATE FOR NOUN 60
034950,001093: 32,3410 00037 30D
034951,001094: 32,3411 41261 SL DMP
034952,001095: 32,3412 20214 11D
034953,001096: 32,3413 03474 HDOTDISP
034954,001097: 32,3414 45215 DAD DSU
034955,001098: 32,3415 00045 36D
034956,001099: 32,3416 02333 /LAND/
034957,001100: 32,3417 17775 STODL HCALC1 # UPDATE ALTITUDE FOR NOUN 60
034958,001101: 32,3420 03474 HDOTDISP
034959,001102: 32,3421 56221 BDSU DDV
034960,001103: 32,3422 03645 VDGVERT
034961,001104: 32,3423 02541 TAUROD
034962,001105: 32,3424 51515 PDVL ABVAL # (2)
034963,001106: 32,3425 01236 GDT/2
034964,001107: 32,3426 60471 DDV SR2
034965,001108: 32,3427 05652 GSCALE
034966,001109: 32,3430 00025 STORE 20D
034967,001110: 32,3431 77615 DAD # (0)
034968,001111: 32,3432 45115 PDVL CALL # (2)
034969,001112: 32,3433 06522 UNITX
034970,001113: 32,3434 47663 CDU*NBSM
034971,001114: 32,3435 77641 DOT
034972,001115: 32,3436 00017 14D
034973,001116: 32,3437 00027 STORE 22D
034974,001117: 32,3440 45465 BDDV STADR # (0)
034975,001118: 32,3441 50313 STOVL /AFC/
034976,001119: 32,3442 03767 DELVROD
034977,001120: 32,3443 53361 VXSC VAD
034978,001121: 32,3444 26022 KPIP1
034979,001122: 32,3445 02621 VBIAS
034980,001123: 32,3446 65246 ABVAL PDDL # (2)
034981,001124: 32,3447 03762 THISTPIP
034982,001125: 32,3450 65225 DSU PDDL # (4)
034983,001126: 32,3451 03760 LASTTPIP
034984,001127: 32,3452 03762 THISTPIP
034985,001128: 32,3453 17760 STODL LASTTPIP # (2)
034986,001129: 32,3454 55271 DDV BDDV # (0)
Page 813 |
034988,001131: 32,3455 25544 SHFTFACT
034989,001132: 32,3456 41325 PDDL DMP # (2)
034990,001133: 32,3457 03611 FWEIGHT
034991,001134: 32,3460 25543 BIT1H
034992,001135: 32,3461 56271 DDV DDV
034993,001136: 32,3462 01244 MASS
034994,001137: 32,3463 22006 SCALEFAC
034995,001138: 32,3464 65215 DAD PDDL # (4)
034996,001139: 32,3465 00001 0D
034997,001140: 32,3466 00025 20D
034998,001141: 32,3467 45271 DDV DSU # (2)
034999,001142: 32,3470 00027 22D
035000,001143: 32,3471 43205 DMP DAD
In the printout, there is a hand-written arrow pointing at "LAG/TAU" in the line below. |
035002,001145: 32,3472 02543 LAG/TAU
035003,001146: 32,3473 03464 /AFC/
035004,001147: 32,3474 56325 PDDL DDV # (4)
035005,001148: 32,3475 02547 MAXFORCE
035006,001149: 32,3476 01244 MASS
035007,001150: 32,3477 56325 PDDL DDV # (6)
035008,001151: 32,3500 02545 MINFORCE
035009,001152: 32,3501 01244 MASS
035010,001153: 32,3502 44206 PUSH BDSU # (8)
035011,001154: 32,3503 00003 2D
035012,001155: 32,3504 71240 BMN DLOAD # (6)
035013,001156: 32,3505 65513 AFCSPOT
035014,001157: 32,3506 41545 DLOAD PUSH # (6)
035015,001158: 32,3507 51021 BDSU BPL
035016,001159: 32,3510 00003 2D
035017,001160: 32,3511 65513 AFCSPOT
035018,001161: 32,3512 77745 DLOAD # (4)
035019,001162: 32,3513 77745 AFCSPOT DLOAD # (2),(4),OR (6)
035020,001163: 32,3514 77601 SETPD # (2)
035021,001164: 32,3515 00003 2D
035022,001165: 32,3516 17464 STODL /AFC/ # (0)
035023,001166: 32,3517 77776 ITRPNT2 EXIT
035024,001167: 32,3520 52155 DXCH MPAC # MPAC = MEASURED ACCELERATION.
035025,001168: 32,3521 04616 TC BANKCALL
035026,001169: 32,3522 62147 CADR THROTTLE +3
035027,001170: 32,3523 06042 TC INTPRET
035028,001171: 32,3524 77775 VLOAD # PICK UP UPDATED VELOCITY VECTOR.
035029,001172: 32,3525 00031 24D
035030,001173: 32,3526 53352 VHORCOMP VSL2 VAD
035031,001174: 32,3527 03734 DELVS
035032,001175: 32,3530 63342 VSR2 PDVL # (6)
035033,001176: 32,3531 03521 R
035034,001177: 32,3532 74256 UNIT VXSC
035035,001178: 32,3533 03474 HDOTDISP
035036,001179: 32,3534 51372 VSL1 BVSU # (0)
035037,001180: 32,3535 77646 ABVAL
035038,001181: 32,3536 02263 STORE VHORIZ # UPDATE HORIZONTAL VELOCITY FOR NOUN 60
Page 814 |
035040,001183: 32,3537 77776 EXIT
035041,001184: 32,3540 04616 TC BANKCALL # PUT UP V06N60 DISPLAY BUT AVOID PHASCHNG
035042,001185: 32,3541 63442 CADR DISPEXIT +3
035043,001186:
035044,001187: 32,3542 00001 BIT1H OCT 00001
035045,001188: 32,3543 00000 04000 SHFTFACT 2DEC 1 B-17
035046,001189: 32,3545 00000 05075 BIASFACT 2DEC 655.36 B-26
035047,001190:
035048,001191: # ****************************************************************************************************************
035049,001192: # REDESIGNATOR TRAP
035050,001193: # ****************************************************************************************************************
035051,001194:
035052,001195: 11,2302 BANK 11
035053,001196: 11,2000 SETLOC F2DPS*11
035054,001197: 11,2000 BANK
035055,001198:
035056,001199: 11,2302 COUNT* $$/F2DPS
035057,001200:
035058,001201: 11,2302 56016 PITFALL XCH BANKRUPT
035059,001202: 11,2303 00006 EXTEND
035060,001203: 11,2304 22012 QXCH QRUPT
035061,001204:
035062,001205: 11,2305 05321 TC CHECKMM # IF NOT IN P64, NO REASON TO CONTINUE
035063,001206: 11,2306 00100 DEC 64 B-14
035064,001207: 11,2307 15270 TCF RESUME
035065,001208:
035066,001209: 11,2310 00006 EXTEND
035067,001210: 11,2311 00031 READ CHAN31
035068,001211: 11,2312 40000 COM
035069,001212: 11,2313 72401 MASK ALL4BITS
035070,001213: 11,2314 55444 TS ELVIRA
035071,001214: 11,2315 34752 CAF TWO
035072,001215: 11,2316 55443 TS ZERLINA
035073,001216: 11,2317 34756 CAF FIVE
035074,001217: 11,2320 05173 TC TWIDDLE
035075,001218: 11,2321 02326 ADRES REDESMON
035076,001219: 11,2322 15270 TCF RESUME
035077,001220:
035078,001221: # REDESIGNATION MONITOR (INITIATED BY PITFALL)
035079,001222:
035080,001223: 11,2323 55443 PREMON1 TS ZERLINA
035081,001224: 11,2324 34757 PREMON2 CAF SEVEN
035082,001225: 11,2325 05224 TC VARDELAY
035083,001226: 11,2326 00006 REDESMON EXTEND
035084,001227: 11,2327 00031 READ 31
035085,001228: 11,2330 40000 COM
035086,001229: 11,2331 72401 MASK ALL4BITS
Page 815 |
035088,001231: 11,2332 57444 XCH ELVIRA
035089,001232: 11,2333 54001 TS L
035090,001233: 11,2334 11444 CCS ELVIRA # DO ANY BITS APPEAR THIS PASS?
035091,001234: 11,2335 12324 TCF PREMON2 # Y: CONTINUE MONITOR
035092,001235:
035093,001236: 11,2336 10001 CCS L # N: ANY LAST PASS?
035094,001237: 11,2337 12347 TCF COUNT'EM # Y: COUNT 'EM, RESET RUPT, TERMINATE
035095,001238: 11,2340 11443 CCS ZERLINA # N: HAS ZERLINA REACHED ZERO YET?
035096,001239: 11,2341 12323 TCF PREMON1 # N: DIMINISH ZERLINA, CONTINUE
035097,001240: 11,2342 06022 RESETRPT TC C13STALL # Y: RESET RUPT, TERMINATE
035098,001241: 11,2343 34740 CAF BIT12
035099,001242: 11,2344 00006 EXTEND
035100,001243: 11,2345 05013 WOR CHAN13
035101,001244: 11,2346 15261 TCF TASKOVER
035102,001245:
035103,001246: 11,2347 34737 COUNT'EM CAF BIT13 # ARE WE IN ATTITUDE-HOLD?
035104,001247: 11,2350 00006 EXTEND
035105,001248: 11,2351 02031 RAND CHAN31
035106,001249: 11,2352 00006 EXTEND
035107,001250: 11,2353 12342 BZF RESETRPT # YES: SKIP REDESIGNATION LOGIC.
035108,001251:
035109,001252: 11,2354 30001 CA L # NO
035110,001253: 11,2355 74746 MASK -AZBIT
035111,001254: 11,2356 10000 CCS A
035112,001255: 11,2357 42402 -AZ CS AZEACH
035113,001256: 11,2360 27445 ADS AZINCR1
035114,001257: 11,2361 30001 CA L
035115,001258: 11,2362 74747 MASK +AZBIT
035116,001259: 11,2363 10000 CCS A
035117,001260: 11,2364 32402 +AZ CA AZEACH
035118,001261: 11,2365 27445 ADS AZINCR1
035119,001262: 11,2366 30001 CA L
035120,001263: 11,2367 74753 MASK -ELBIT
035121,001264: 11,2370 10000 CCS A
035122,001265: 11,2371 42403 -EL CS ELEACH
035123,001266: 11,2372 27446 ADS ELINCR1
035124,001267: 11,2373 30001 CA L
035125,001268: 11,2374 74752 MASK +ELBIT
035126,001269: 11,2375 10000 CCS A
035127,001270: 11,2376 32403 +EL CA ELEACH
035128,001271: 11,2377 27446 ADS ELINCR1
035129,001272: 11,2400 12342 TCF RESETRPT
035130,001273:
035131,001274: # THESE EQUIVALENCIES ARE BASED ON GSOP CHAPTER 4, REVISION 16 OF P64LM
035132,001275:
035133,001276: 11,2401 4752 +ELBIT = BIT2 # -PITCH
Page 816 |
035135,001278: 11,2401 4753 -ELBIT = BIT1 # +PITCH
035136,001279: 11,2401 4747 +AZBIT = BIT5
035137,001280: 11,2401 4746 -AZBIT = BIT6
035138,001281:
035139,001282: 11,2401 00063 ALL4BITS OCT 00063
035140,001283: 11,2402 01074 AZEACH DEC .03491 # 2 DEGREES
035141,001284: 11,2403 00217 ELEACH DEC .00873 # 1/2 DEGREE
035142,001285:
035143,001286: # ****************************************************************************************************************
035144,001287: # R.O.D. TRAP
035145,001288: # ************************************************************************
035146,001289:
035147,001290: 23,2000 SETLOC RODTRAP
035148,001291: 23,2000 BANK
035149,001292: 23,2455 COUNT* $$/F2DPS # ****************************************
035150,001293:
035151,001294: 23,2455 74745 DESCBITS MASK BIT7 # COME HERE FROM MARKRUPT CODING WITH BIT
035152,001295: 23,2456 10000 CCS A # 7 OR 6 OF CHANNEL 16 IN A: BIT 7 MEANS
035153,001296: 23,2457 44752 CS TWO # - RATE INCREMENT, BIT 6 + INCREMENT
035154,001297: 23,2460 64753 AD ONE
035155,001298: 23,2461 27746 ADS RODCOUNT
035156,001299: 23,2462 15270 TCF RESUME # TRAP IS RESET WHEN SWITCH IS RELEASED
035157,001300:
035158,001301: 31,3532 BANK 31
035159,001302: 31,2000 SETLOC F2DPS*31
035160,001303: 31,2000 BANK
035161,001304:
035162,001305: 31,3532 COUNT* $$/F2DPS
035163,001306:
035164,001307: # ****************************************************************************************************************
035165,001308: # DOUBLE PRECISION ROOT FINDER SUBROUTINE (BY ALLAN KLUMPP)
035166,001309: # ****************************************************************************************************************
035167,001310:
035168,001311: # N N-1
035169,001312: # ROOTPSRS FINDS ONE ROOT OF THE POWER SERIES A X + A X + ... + A X + A
035170,001313: # N N-1 1 0
035171,001314:
035172,001315: # USING NEWTON'S METHOD STARTING WITH AN INITIAL GUESS FOR THE ROOT. THE ENTERING DATA MUST BE AS FOLLOWS:
Page 817 |
035174,001317: # A SP LOC-3 ADRES FOR REFERENCING PWR COF TABL
035175,001318: # L SP N-1 N IS THE DEGREE OF THE POWER SERIES
035176,001319: # MPAC DP X INITIAL GUESS FOR ROOT
035177,001320:
035178,001321: # LOC-2N DP A(0)
035179,001322: # ...
035180,001323: # LOC DP A(N)
035181,001324: # LOC+2 SP PRECROOT PREC RQD OF ROOT (AS FRACT OF 1ST GUESS)
035182,001325:
035183,001326: # THE DP RESULT IS LEFT IN MPAC UPON EXIT, AND A SP COUNT OF THE ITERATIONS TO CONVERGENCE IS LEFT IN MPAC+2.
035184,001327: # RETURN IS NORMALLY TO LOC(TC ROOTPSRS)+3. IF ROOTPSRS FAILS TO CONVERGE IN 8 PASSES, RETURN IS TO LOC+1 AND
035185,001328: # OUTPUTS ARE NOT TO BE TRUSTED.
035186,001329:
035187,001330: # PRECAUTION: ROOTPSRS MAKES NO CHECKS FOR OVERFLOW OR FOR IMPROPER USAGE. IMPROPER USAGE COULD
035188,001331: # PRECLUDE CONVERGENCE OR REQUIRE EXCESSIVE ITERATIONS. AS A SPECIFIC EXAMPLE, ROOTPSRS FORMS A DERIVATIVE
035189,001332: # COEFFICIENT TABLE BY MULTIPLYING EACH A(I) BY I, WHERE I RANGES FROM 1 TO N. IF AN ELEMENT OF THE DERIVATIVE
035190,001333: # COEFFICIENT TABLE = 1 OR >1 IN MAGNITUDE, ONLY THE EXCESS IS RETAINED. ROOTPSRS MAY CONVERGE ON THE CORRECT
035191,001334: # ROOT NONETHELESS, BUT IT MAY TAKE AN EXCESSIVE NUMBER OF ITERATIONS. THEREFORE THE USER SHOULD RECOGNIZE:
035192,001335: # 1. USER'S RESPONSIBILITY TO ASSURE THAT I X A(I) < 1 IN MAGNITUDE FOR ALL I.
035193,001336: # 2. USER'S RESPONSIBILITY TO ASSURE OVERFLOW WILL NOT OCCUR IN EVALUATING EITHER THE RESIDUAL OR THE DERIVATIVE
035194,001337: # POWER SERIES. THIS OVERFLOW WOULD BE PRODUCED BY SUBROUTINE POWRSERS, CALLED BY ROOTPSRS, AND MIGHT NOT
035195,001338: # PRECLUDE EVENTUAL CONVERGENCE.
035196,001339: # 3. AT PRESENT, ERASABLE LOCATIONS ARE RESERVED ONLY FOR N UP TO 5. AN N IN EXCESS OF 5 WILL PRODUCE CHAOS.
035197,001340: # ALL ERASABLES USED BY ROOTPSRS ARE UNSWITCHED LOCATED IN THE REGION FROM MPAC-33 OCT TO MPAC+7.
035198,001341: # 4. THE ITERATION COUNT RETURNED IN MPAC+2 MAY BE USED TO DETECT ABNORMAL PERFORMANCE.
035199,001342:
035200,001343: # STORE ENTERING DATA, INITLIZE ERASABLES
035201,001344: 31,3532 00006 ROOTPSRS EXTEND
In the printout, the following two instructions are manually encircled. |
035203,001346: 31,3533 22132 QXCH RETROOT # RETURN ADRES
035204,001347: 31,3534 54117 TS PWRPTR # PWR TABL POINTER
035205,001348: 31,3535 52160 DXCH MPAC +3 # PWR TABL ADRES, N-1
035206,001349: 31,3536 33655 CA DERTABLL
035207,001350: 31,3537 54141 TS DERPTR # DER TABL POINTER
035208,001351: 31,3540 54161 TS MPAC +5 # DER TABL ADRES
035209,001352: 31,3541 10160 CCS MPAC +4 # NO POWER SERIES OF DEGREE 1 OR LESS
035210,001353: 31,3542 54162 TS MPAC +6 # N-2
035211,001354: 31,3543 34755 CA ZERO # MODE USED AS ITERATION COUNTER. MODE
035212,001355: 31,3544 54163 TS MODE # MUST BE POS SO ABS WON'T COMP MPAC+3 ETC
035213,001356:
035214,001357: # COMPUTE CRITERION TO STOP ITERATING
035215,001358: 31,3545 00006 EXTEND
035216,001359: 31,3546 30155 DCA MPAC # FETCH ROOT GUESS, KEEPING IT IN MPAC
035217,001360: 31,3547 52127 DXCH ROOTPS # AND IN ROOTPS
035218,001361: 31,3550 50157 INDEX MPAC +3 # PWR TABL ADRES
Page 818 |
035220,001363: 31,3551 30005 CA 5 # PRECROOT TO A
035221,001364: 31,3552 07312 TC SHORTMP # YIELDS DP PRODUCT IN MPAC
035222,001365: 31,3553 04713 TC USPRCADR
035223,001366: 31,3554 01226 CADR ABS # YIELDS ABVAL OF CRITERION ON DX IN MPAC
035224,001367: 31,3555 52155 DXCH MPAC
035225,001368: 31,3556 52125 DXCH DXCRIT # CRITERION
035226,001369:
035227,001370: # SET UP DER COF TABL
035228,001371: 31,3557 00006 EXTEND
035229,001372: 31,3560 50117 INDEX PWRPTR
035230,001373: 31,3561 30004 DCA 3
035231,001374: 31,3562 52155 DXCH MPAC # A(N) TO MPAC
035232,001375:
035233,001376: 31,3563 30160 CA MPAC +4 # N-1 TO A
035234,001377:
035235,001378: 31,3564 54140 DERCLOOP TS PWRCNT # LOOP COUNTER
035236,001379: 31,3565 64753 AD ONE
035237,001380: 31,3566 07321 TC DMPNSUB # YIELDS DERCOF = I X A(I) IN MPAC
035238,001381: 31,3567 00006 EXTEND
035239,001382: 31,3570 50117 INDEX PWRPTR
035240,001383: 31,3571 30002 DCA 1
035241,001384: 31,3572 52155 DXCH MPAC # A(I-1) TO MPAC, FETCHING DERCOF
035242,001385: 31,3573 50141 INDEX DERPTR
035243,001386: 31,3574 52004 DXCH 3 # DERCOF TO DER TABL
035244,001387: 31,3575 44752 CS TWO
035245,001388: 31,3576 26117 ADS PWRPTR # DECREMENT PWR POINTER
035246,001389: 31,3577 44752 CS TWO
035247,001390: 31,3600 26141 ADS DERPTR # DECREMENT DER POINTER
035248,001391: 31,3601 10140 CCS PWRCNT
035249,001392: 31,3602 13564 TCF DERCLOOP
035250,001393:
035251,001394: # CONVERGE ON ROOT
035252,001395: 31,3603 00006 ROOTLOOP EXTEND
035253,001396: 31,3604 30127 DCA ROOTPS # FETCH CURRENT ROOT
035254,001397: 31,3605 52155 DXCH MPAC # LEAVE IN MPAC
035255,001398: 31,3606 00006 EXTEND
035256,001399: 31,3607 30162 DCA MPAC +5 # LOAD A, L WITH DER TABL ADRES, N-2
035257,001400: 31,3610 07220 TC POWRSERS # YIELDS DERIVATIVE IN MPAC
035258,001401:
035259,001402: 31,3611 00006 EXTEND
035260,001403: 31,3612 30127 DCA ROOTPS
035261,001404: 31,3613 52155 DXCH MPAC # CURRENT ROOT TO MPAC, FETCHING DERIVTIVE
035262,001405: 31,3614 52131 DXCH BUF # LEAVE DERIVATIVE IN BUF AS DIVISOR
035263,001406: 31,3615 00006 EXTEND
035264,001407: 31,3616 30160 DCA MPAC +3 # LOAD A, L WITH PWR TABL ADRES, N-1
035265,001408: 31,3617 07220 TC POWRSERS # YIELDS RESIDUAL IN MPAC
035266,001409:
035267,001410: 31,3620 04713 TC USPRCADR
Page 819 |
035269,001412: 31,3621 00353 CADR DDV/BDDV # YIELDS -DX IN MPAC
035270,001413:
035271,001414: 31,3622 00006 EXTEND
035272,001415: 31,3623 40155 DCS MPAC # FETCH DX, LEAVING -DX IN MPAC
035273,001416: 31,3624 20127 DAS ROOTPS # CORRECTED ROOT NOW IN ROOTPS
035274,001417:
035275,001418: 31,3625 04713 TC USPRCADR
035276,001419: 31,3626 01226 CADR ABS # YIELDS ABS(DX) IN MPAC
035277,001420: 31,3627 00006 EXTEND
035278,001421: 31,3630 40125 DCS DXCRIT
035279,001422: 31,3631 20155 DAS MPAC # ABS(DX)-ABS(DXCRIT) IN MPAC
035280,001423:
035281,001424: 31,3632 30163 CA MODE
035282,001425: 31,3633 74750 MASK BIT4 # KLUMPP SAYS GIVE UP AFTER EIGHT PASSES
035283,001426: 31,3634 10000 CCS A
035284,001427: 31,3635 00132 BADROOT TC RETROOT
035285,001428:
035286,001429: 31,3636 24163 INCR MODE # INCREMENT ITERATION COUNTER
035287,001430: 31,3637 10154 CCS MPAC # TEST HI ORDER DX
035288,001431: 31,3640 13603 TCF ROOTLOOP
035289,001432: 31,3641 13643 TCF TESTLODX
035290,001433: 31,3642 13647 TCF ROOTSTOR
035291,001434: 31,3643 10155 TESTLODX CCS MPAC +1 # TEST LO ORDER DX
035292,001435: 31,3644 13603 TCF ROOTLOOP
035293,001436: 31,3645 13647 TCF ROOTSTOR
035294,001437: 31,3646 13647 TCF ROOTSTOR
035295,001438: 31,3647 52127 ROOTSTOR DXCH ROOTPS
035296,001439: 31,3650 52155 DXCH MPAC
035297,001440: 31,3651 30163 CA MODE
035298,001441: 31,3652 54156 TS MPAC +2 # STORE SP ITERATION COUNT IN MPAC+2
035299,001442: 31,3653 50132 INDEX RETROOT
035300,001443: 31,3654 10002 TCF 2
035301,001444:
035302,001445: 31,3655 00147 DERTABLL ADRES DERCOFN -3
035303,001446:
035304,001447: # ****************************************************************************************************************
035305,001448: # TRASHY LITTLE SUBROUTINES
035306,001449: # ****************************************************************************************************************
035307,001450:
035308,001451: 31,3656 51346 INTPRETX INDEX WCHPHASE # SET X1 ON THE WAY TO THE INTERPRETER
035309,001452: 31,3657 42400 CS TARGTDEX
035310,001453: 31,3660 50120 INDEX FIXLOC
035311,001454: 31,3661 54046 TS X1
035312,001455: 31,3662 16042 TCF INTPRET
035313,001456:
035314,001457: 31,3663 31642 TDISPSET CA TTF/8
035315,001458: 31,3664 00006 EXTEND
035316,001459: 31,3665 74750 MP TSCALINV
Page 820 |
035318,001461: 31,3666 53476 DXCH TTFDISP
035319,001462:
035320,001463: 31,3667 35014 CA EBANK5 # TREDES BECOMES ZERO TWO PASSES
035321,001464: 31,3670 54003 TS EBANK # BEFORE TCGFAPPR IS REACHED
035322,001465: 31,3671 E5,1470 EBANK= TCGFAPPR
035323,001466: 31,3671 31470 CA TCGFAPPR
035324,001467: 31,3672 24006 INCR BBANK
035325,001468: 31,3673 24006 INCR BBANK
035326,001469: 31,3674 E7,1642 EBANK= TTF/8
035327,001470: 31,3674 61642 AD TTF/8
035328,001471: 31,3675 00006 EXTEND
035329,001472: 31,3676 73731 MP TREDESCL
035330,001473: 31,3677 63726 AD -DEC103
035331,001474: 31,3700 64735 AD NEGMAX
035332,001475: 31,3701 54001 TS L
035333,001476: 31,3702 40001 CS L
035334,001477: 31,3703 60001 AD L
035335,001478: 31,3704 63730 AD +DEC99
035336,001479: 31,3705 64733 AD POSMAX
035337,001480: 31,3706 55666 TS TREDES
035338,001481: 31,3707 41666 CS TREDES
035339,001482: 31,3710 27666 ADS TREDES
035340,001483: 31,3711 00002 TC Q
035341,001484:
035342,001485: 31,3712 05642 1406POO TC POODOO
035343,001486: 31,3713 21406 OCT 21406
035344,001487: 31,3714 05567 1406ALM TC ALARM
035345,001488: 31,3715 01406 OCT 01406
035346,001489: 31,3716 13422 TCF RATESTOP
035347,001490:
035348,001491: # ****************************************************************************************************************
035349,001492: # SPECIALIZED "PHASCHNG" SUBROUTINE
035350,001493: # ****************************************************************************************************************
035351,001494:
035352,001495: 31,3717 E3,1440 EBANK= PHSNAME2
035353,001496: 31,3717 35007 FASTCHNG CA EBANK3 # SPECIALIZED 'PHASCHNG' ROUTINE
035354,001497: 31,3720 56003 XCH EBANK
035355,001498: 31,3721 52002 DXCH L
035356,001499: 31,3722 55442 TS PHSNAME3
035357,001500: 31,3723 22003 LXCH EBANK
035358,001501: 31,3724 E7,1621 EBANK= E2DPS
035359,001502: 31,3724 00000 TC A
035360,001503:
035361,001504: # ****************************************************************************************************************
035362,001505: # PARAMETER TABLE INDIRECT ADDRESSES
035363,001506: # ****************************************************************************************************************
035364,001507:
035365,001508: 31,3725 E5,1402 RDG = RBRFG
035366,001509: 31,3725 E5,1410 VDG = VBRFG
Page 821 |
035368,001511: 31,3725 E5,1416 ADG = ABRFG
035369,001512: 31,3725 E5,1424 VDG2TTF = VBRFG*
035370,001513: 31,3725 E5,1426 ADG2TTF = ABRFG*
035371,001514: 31,3725 E5,1430 JDG2TTF = JBRFG*
035372,001515:
035373,001516: # ****************************************************************************************************************
035374,001517: # LUNAR LANDING CONSTANTS
035375,001518: # ***************************************************************************************************************
035376,001519:
035377,001520: 31,3725 01565 TABLTTFL ADRES TABLTTF +3 # ADDRESS FOR REFERENCING TTF TABLE
035378,001521: 31,3726 4740 TTFSCALE = BIT12
035379,001522: 31,3726 4750 TSCALINV = BIT4
035380,001523: 31,3726 77630 -DEC103 DEC -103 B-14
035381,001524: 31,3727 00155 P64DB OCT 00155 # 0.3 DEGREES SCALED AT CDU SCALING
035382,001525: 31,3730 00143 +DEC99 DEC +99 B-14
035383,001526: 31,3731 75340 TREDESCL DEC -.08
035384,001527: 31,3732 00264 180DEGS DEC +180 B-14
035385,001528: 31,3733 00056 1/2DEG DEC +.00278
035386,001529: 31,3734 01542 PROJMAX DEC .42262 B-3 # SIN(25')/8 TO COMPARE WITH PROJ
035387,001530: 31,3735 01022 PROJMIN DEC .25882 B-3 # SIN(15')/8 TO COMPARE WITH PROJ
035388,001531: 31,3736 01477 V06N63 VN 0663 # P63
035389,001532: 31,3737 01500 V06N64 VN 0664 # P64
035390,001533: 31,3740 01474 V06N60 VN 0660 # P65, P66, P67
035391,001534:
035392,001535: 22,3647 BANK 22
035393,001536: 22,2000 SETLOC LANDCNST
Page 822 |
035395,001538: 22,2000 BANK
035396,001539: 22,3647 COUNT* $$/F2DPS
035397,001540:
035398,001541: 22,3647 00021 14161 HIGHESTF 2DEC 4.34546769 B-12
035399,001542: 22,3651 01440 00000 GSCALE 2DEC 100 B-11
035400,001543: 22,3653 14000 00000 3/8DP 2DEC .375
035401,001544: 22,3655 30000 00000 3/4DP 2DEC .750
035402,001545: 22,3657 77534 45074 DEPRCRIT 2DEC -.02 B-1
035403,001546:
035404,001547: # ****************************************************************************************************************
035405,001548: # ****************************************************************************************************************
End of include-file LUNAR_LANDING_GUIDANCE_EQUATIONS.agc. Parent file is MAIN.agc