Source Code
This is an attempt to recreate Luminary 99 Rev 2, otherwise known as LUM99R2, from Luminary 99 Rev 1 and ephemeris data from Luminary 116. The differences are confined to the last 10-12 lines of the CONTROLLED CONSTANTS. Luminary 99 Rev 1 source-code was transcribed from a printout in the MIT Museum, while Luminary 116 source code was transcribed from a printout belonging to Don Eyles. AGC developer James Kernan, the "rope mother" for the Apollo 11 Lunar Module's AGC, explains as follows: "At the last minute, Dan Lickly, our chief engineer, appeared with ephemerides updates and it took two tries to get it right. The result was that we created Lum99 Revision 1 and Lum99 Revision 2." It is suspected that the former is what's in the MIT Museum, and the latter is what we are trying to recreate here. As for which revision actually flew in Apollo 11, all of the other available surviving evidence points to Rev 1 rather than to Rev 2, so we're just not sure! |
027863,000002: ## Copyright: Public domain.
027864,000003: ## Filename: P34-35_P74-75.agc
027865,000004: ## Purpose: Part of the source code for Luminary 1A build 099.
027866,000005: ## It is part of the source code for the Lunar Module's (LM)
027867,000006: ## Apollo Guidance Computer (AGC), for Apollo 11.
027868,000007: ## Assembler: yaYUL
027869,000008: ## Contact: Ron Burkey <info@sandroid.org>.
027870,000009: ## Website: www.ibiblio.org/apollo.
027871,000010: ## Pages: 658-702
027872,000011: ## Mod history: 2009-05-19 RSB Adapted from the corresponding
027873,000012: ## Luminary131 file, using page
027874,000013: ## images from Luminary 1A.
027875,000014: ## 2009-06-05 RSB Corrected a typo.
027876,000015: ## 2011-01-06 JL Fixed pseudo-label indentation.
027877,000016: ## 2011-01-06 JL Added missing comment characters.
027878,000017: ## 2011-05-07 JL Removed workaround.
027879,000018: ## 2016-12-13 RSB GOTOP00H -> GOTOPOOH
027880,000019: ## 2016-12-14 RSB VNP00H -> VNPOOH.
027881,000020: ## 2016-12-14 RSB Proofed text comments with octopus/ProoferComments
027882,000021: ## and corrected the errors found.
027883,000022: ## 2017-01-28 RSB Back-ported some comment fixes I noticed while
027884,000023: ## proofing Luminary 69.
027885,000024: ## 2017-03-03 RSB Snapshot of Luminary 99 Rev 1.
027886,000025: ## 2017-03-09 RSB Comment-text fixes noted in proofing Luminary 116.
027887,000026: ## 2017-03-16 RSB Comment-text fixes identified in 5-way
027888,000027: ## side-by-side diff of Luminary 69/99/116/131/210.
027889,000028:
Page 658 |
027891,000030: # TRANSFER PHASE INITIATION (TPI) PROGRAMS (P34 AND P74)
027892,000031:
027893,000032: # MOD NO -1 LOG SECTION - P32-P35, P72-P75
027894,000033: # MOD BY WHITE.P DATE 1JUNE67
027895,000034:
027896,000035: # PURPOSE
027897,000036:
027898,000037: # (1) TO CALCULATE THE REQUIRED DELTA V AND OTHER INITIAL CONDITIONS
027899,000038: # REQUIRED BY THE ACTIVE VEHICLE FOR EXECUTION OF THE TRANSFER
027900,000039: # PHASE INITIATION (TPI) MANEUVER, GIVEN -
027901,000040:
027902,000041: # (A) TIME OF IGNITION TIG (TPI) OR THE ELEVATION ANGLE (E) OF
027903,000042: # THE ACTIVE/PASSIVE VEHICLE LOS AT TIG (TPI).
027904,000043:
027905,000044: # (B) CENTRAL ANGLE OF TRANSFER (CENTANG) FROM TIG (TPI) TO
027906,000045: # INTERCEPT TIME (TIG (TPF)).
027907,000046:
027908,000047: # (2) TO CALCULATE TIG (TPI) GIVEN E OR E GIVEN TIG (TPI).
027909,000048:
027910,000049: # (3) TO CALCULATE THESE PARAMETERS BASED UPON MANEUVER DATA
027911,000050: # APPROVED AND KEYED INTO THE DSKY BY THE ASTRONAUT.
027912,000051:
027913,000052: # (4) TO DISPLAY TO THE ASTRONAUT AND THE GROUND CERTAIN DEPENDENT
027914,000053: # VARIABLES ASSOCIATED WITH THE MANEUVER FOR APPROVAL BY THE
027915,000054: # ASTRONAUT/GROUND.
027916,000055:
027917,000056: # (5) TO STORE THE TPI TARGET PARAMETERS FOR USE BY THE DESIRED
027918,000057: # THRUSTING PROGRAM.
027919,000058:
027920,000059: # ASSUMPTIONS
027921,000060:
027922,000061: # (1) LM ONLY - THIS PROGRAM IS BASED UPON PREVIOUS COMPLETION OF
027923,000062: # THE CONSTANT DELTA ALTITUDE (CDH) PROGRAM (P33/P73).
027924,000063: # THEREFORE -
027925,000064:
027926,000065: # (A) AT A SELECTED TPI TIME (NOW IN STORAGE) THE LINE OF SIGHT
027927,000066: # BETWEEN THE ACTIVE AND PASSIVE VEHICLES WAS SELECTED TO BE
027928,000067: # A PRESCRIBED ANGLE (E) (NOW IN STORAGE) FROM THE
027929,000068: # HORIZONTAL PLANE DEFINED BY THE ACTIVE VEHICLE POSITION.
027930,000069:
027931,000070: # (B) THE TIME BETWEEN CDH IGNITION AND TPI IGNITION WAS
027932,000071: # COMPUTED TO BE GREATER THAN 10 MINUTES.
027933,000072:
027934,000073: # (C) THE VARIATION OF THE ALTITUDE DIFFERENCE BETWEEN THE
027935,000074: # ORBITS WAS MINIMIZED.
027936,000075:
027937,000076: # (D) THE PERICENTER ALTITUDES OF ORBITS FOLLOWING CSI AND
027938,000077: # CDH WERE COMPUTED TO BE GREATER THAN 35,000 FT FOR LUNAR
Page 659 |
027940,000079: # ORBIT OR 85 NM FOR EARTH ORBIT.
027941,000080:
027942,000081: # (E) THE CSI AND CDH MANEUVERS WERE ASSUMED TO BE PARALLEL TO
027943,000082: # THE PLANE OF THE PASSIVE VEHICLE ORBIT. HOWEVER, CREW
027944,000083: # MODIFICATION OF DELTA V (LV) COMPONENTS MAY HAVE RESULTED
027945,000084: # IN AN OUT-OF-PLANE MANEUVER.
027946,000085:
027947,000086: # (2) STATE VECTOR UPDATED BY P27 ARE DISALLOWED DURING AUTOMATIC
027948,000087: # STATE VECTOR UPDATING INITIATED BY P20 (SEE ASSUMPTION (4)).
027949,000088:
027950,000089: # (3) THIS PROGRAM MUST BE DONE OVER A TRACKING STATION FOR REAL
027951,000090: # TIME GROUND PARTICIPATION IN DATA INPUT AND OUTPUT. COMPUTED
027952,000091: # VARIABLES MAY BE STORED FOR LATER VERIFICATION BY THE GROUND.
027953,000092: # THESE STORAGE CAPABILITIES ARE LIMITED ONLY TO THE PARAMETERS
027954,000093: # FOR ONE THRUSTING MANEUVER AT A TIME EXCEPT FOR CONCENTRIC
027955,000094: # FLIGHT PLAN MANEUVER SEQUENCES.
027956,000095:
027957,000096: # (4) THE RENDEZVOUS RADAR MAY OR MAY NOT BE USED TO UPDATE THE LM
027958,000097: # OR CSM STATE VECTORS FOR THIS PROGRAM. IF RADAR USE IS
027959,000098: # DESIRED THE RADAR WAS TURNED ON AND LOCKED ON THE CSM BY
027960,000099: # PREVIOUS SELECTION OF P20. RADAR SIGHTING MARKS WILL BE MADE
027961,000100: # AUTOMATICALLY APPROXIMATELY ONCE A MINUTE WHEN ENABLED BY THE
027962,000101: # TRACK AND UPDATE FLAGS (SEE P20). THE RENDEZVOUS TRACKING
027963,000102: # MARK COUNTER IS ZEROED BY THE SELECTION OF P20 AND AFTER EACH
027964,000103: # THRUSTING MANEUVER.
027965,000104:
027966,000105: # (5) THE ISS NEED NOT BE ON TO COMPLETE THIS PROGRAM.
027967,000106:
027968,000107: # (6) THE OPERATION OF THE PROGRAM UTILIZES THE FOLLOWING FLAGS -
027969,000108:
027970,000109: # ACTIVE VEHICLE FLAG - DESIGNATES THE VEHICLE WHICH IS
027971,000110: # DOING RENDEZVOUS THRUSTING MANEUVERS TO THE PROGRAM WHICH
027972,000111: # CALCULATES THE MANEUVER PARAMETERS. SET AT THE START OF
027973,000112: # EACH RENDEZVOUS PRE-THRUSTING PROGRAM.
027974,000113:
027975,000114: # FINAL FLAG - SELECTS FINAL PROGRAM DISPLAYS AFTER CREW HAS
027976,000115: # SELECTED THE FINAL MANEUVER COMPUTATION CYCLE.
027977,000116:
027978,000117: # EXTERNAL DELTA V FLAG - DESIGNATES THE TYPE OF STEERING
027979,000118: # REQUIRED FOR EXECUTION OF THIS MANEUVER BY THE THRUSTING
027980,000119: # PROGRAM SELECTED AFTER COMPLETION OF THIS PROGRAM.
027981,000120:
027982,000121: # (7) ONCE THE PARAMETWRS REQUIRED FOR COMPUTION OF THE MANEUVER
027983,000122: # HAVE BEEN COMPLETELY SPECIFIED, THE VALUE OF THE ACTIVE
027984,000123: # VEHICLE CENTRAL ANGLE OF TRANSFER IS COMPUTED AND STORED.
027985,000124: # THIS NUMBER WILL BE AVAILABLE FOR DISPLAY TO THE ASTRONAUT
027986,000125: # THROUGH THE USE OF V06N52.
027987,000126:
027988,000127: # THE ASTRONAUT WILL CALL THIS DISPLAY TO VERIFY THAT THE
027989,000128: # CENTRAL ANGLE OF TRANSFER OF THE ACTIVE VEHICLE IS NOT WITHIN
Page 660 |
027991,000130: # 170 TO 190 DEGREES. IF THE ANGLE IS WITHIN THIS ZONE THE
027992,000131: # ASTRONAUT SHOULD REASSESS THE INPUT TARGETING PARAMETERS BASED
027993,000132: # UPON DELTA V AND EXPECTED MANEUVER TIME.
027994,000133:
027995,000134: # (8) THIS PROGRAM IS SELECTED BY THE ASTRONAUT BY DSKY ENTRY -
027996,000135:
027997,000136: # P34 IF THIS VEHICLE IS ACTIVE VEHICLE.
027998,000137:
027999,000138: # P74 IF THIS VEHICLE IS PASSIVE VEHICLE.
028000,000139:
028001,000140: # INPUT
028002,000141:
028003,000142: # (1) TTPI TIME OF THE TPI MANEUVER
028004,000143: # (2) ELEV DESIRED LOS ANGLE AT TPI
028005,000144: # (3) CENTANG ORBITAL CENTRAL ANGLE OF THE PASSIVE VEHICLE DURING
028006,000145: # TRANSFER FROM TPI TO TIME OF INTERCEPT
028007,000146:
028008,000147: # OUTPUT
028009,000148:
028010,000149: # (1) TRKMKCNT NUMBER OF MARKS
028011,000150: # (2) TTOGO TIME TO GO
028012,000151: # (3) +MGA MIDDLE GIMBAL ANGLE
028013,000152: # (4) TTPI COMPUTED TIME OF TPI MANEUVER
028014,000153: # OR
028015,000154: # ELEV COMPUTED LOS ANGLE AT TPI
028016,000155: # (5) POSTTPI PERIGEE ALTITUDE AFTER THE TPI MANEUVER
028017,000156: # (6) DELVTPI MAGNITUDE OF DELTA V AT TPI
028018,000157: # (7) DELVTPF MAGNITUDE OF DELTA V AT INTERCEPT
028019,000158: # (8) DVLOS DELTA VELOCITY AT TPI - LINE OF SIGHT
028020,000159: # (9) DELVLVC DELTA VELOCITY AT TPI - LOCAL VERTICAL COORDINATES
028021,000160:
028022,000161: # DOWNLINK
028023,000162:
028024,000163: # (1) TTPI TIME OF THE TPI MANEUVER
028025,000164: # (2) TIG TIME OF THE TPI MANEUVER
028026,000165: # (3) ELEV DESIRED LOS ANGLE AT TPI
028027,000166: # (4) CENTANG ORBITAL CENTRAL ANGLE OF THE PASSIVE VEHICLE DURING
028028,000167: # TRANSFER FROM TPI TO TIME OF INTERCEPT
028029,000168: # (5) DELVEET3 DELTA VELOCITY AT TPI - REFERENCE COORDINATES
028030,000169: # (6) TPASS4 TIME OF INTERCEPT
028031,000170:
028032,000171: # COMMUNICATION TO THRUSTING PROGRAMS
028033,000172:
028034,000173: # (1) TIG TIME OF THE TPI MANEUVER
028035,000174: # (2) RTARG OFFSET TARGET POSITION
028036,000175: # (3) TPASS4 TIME OF INTERCEPT
028037,000176: # (4) XDELVFLG RESET TO INDICATE LAMBERT (AIMPOINT) VG COMPUTATION
028038,000177:
028039,000178: # SUBROUTINES USED
028040,000179:
028041,000180: # AVFLAGA
Page 661 |
028043,000182: # AVFLAGP
028044,000183: # VNPOOH
028045,000184: # DISPLAYE
028046,000185: # SELECTMU
028047,000186: # PRECSET
028048,000187: # S33/34.1
028049,000188: # ALARM
028050,000189: # BANKCALL
028051,000190: # GOFLASH
028052,000191: # GOTOPOOH
028053,000192: # TIMETHET
028054,000193: # S34/35.2
028055,000194: # PERIAPO1
028056,000195: # SHIFTR1
028057,000196: # S34/35.5
028058,000197: # VN1645
028059,000198:
028060,000199: 35,2000 SETLOC CSI/CDH
028061,000200: 35,2000 BANK
028062,000201: 35,2545 E7,1470 EBANK= SUBEXIT
028063,000202: 35,2545 COUNT* $$/P3474
028064,000203: 35,2545 02347 P34 TC AVFLAGA
028065,000204: 35,2546 02550 TC P34/P74A
028066,000205: 35,2547 02354 P74 TC AVFLAGP
028067,000206: 35,2550 02361 P34/P74A TC P20FLGON # SET UPDATFLG, TRACKFLG
028068,000207: 35,2551 33723 CAF V06N37 # TTPI
028069,000208: 35,2552 03712 TC VNPOOH
028070,000209: 35,2553 00006 EXTEND
028071,000210: 35,2554 33746 DCA 130DEG
028072,000211: 35,2555 53621 DXCH CENTANG
028073,000212: 35,2556 32417 CAF P30ZERO
028074,000213: 35,2557 55466 TS NN
028075,000214: 35,2560 03674 TC DISPLAYE # ELEV AND CENTANG
028076,000215: 35,2561 06037 TC INTPRET
028077,000216: 35,2562 71214 CLEAR DLOAD
028078,000217: 35,2563 01270 ETPIFLAG
028079,000218: 35,2564 03636 TTPI
028080,000219: 35,2565 17442 STODL TIG
028081,000220: 35,2566 02257 ELEV
028082,000221: 35,2567 43054 BZE SET
028083,000222: 35,2570 72572 P34/P74B
028084,000223: 35,2571 01070 ETPIFLAG
028085,000224: 35,2572 77624 P34/P74B CALL
028086,000225: 35,2573 20000 SELECTMU
028087,000226: 35,2574 DELELO EQUALS 26D
028088,000227: 35,2574 43145 P34/P74C DLOAD SET
028089,000228: 35,2575 06522 ZEROVECS
028090,000229: 35,2576 03460 ITSWICH
028091,000230: 35,2577 43014 BON CLEAR
028092,000231: 35,2600 01310 ETPIFLAG
Page 662 |
028094,000233: 35,2601 72603 SWCHSET
028095,000234: 35,2602 03660 ITSWICH
028096,000235: 35,2603 02317 SWCHSET STORE NOMTPI
028097,000236: 35,2604 43345 INTLOOP DLOAD DAD
028098,000237: 35,2605 03636 TTPI
028099,000238: 35,2606 02317 NOMTPI
028100,000239: 35,2607 34041 STCALL TDEC1
028101,000240: 35,2610 46360 PRECSET
028102,000241: 35,2611 77624 CALL
028103,000242: 35,2612 72764 S33/34.1
028104,000243: 35,2613 77454 BZE EXIT
028105,000244: 35,2614 72625 SWCHCLR
028106,000245: 35,2615 05567 TC ALARM
028107,000246: 35,2616 00611 OCT 611
028108,000247: 35,2617 35006 CAF V05N09
028109,000248: 35,2620 04616 TC BANKCALL
028110,000249: 35,2621 20476 CADR GOFLASH
028111,000250: 35,2622 06001 TC GOTOPOOH
028112,000251: 35,2623 02550 TC P34/P74A # PROCEED
028113,000252: 35,2624 02615 TC -7 # V32
028114,000253:
028115,000254: 35,2625 43014 SWCHCLR BONCLR BON
028116,000255: 35,2626 03600 ITSWICH
028117,000256: 35,2627 72604 INTLOOP
028118,000257: 35,2630 01310 ETPIFLAG
028119,000258: 35,2631 72635 P34/P74D # DISPLAY TTPI
028120,000259: 35,2632 77776 EXIT
028121,000260: 35,2633 03674 TC DISPLAYE # DISPLAY ELEV AND CENTANG
028122,000261: 35,2634 02640 TC P34/P74E
028123,000262: 35,2635 77776 P34/P74D EXIT
028124,000263: 35,2636 33723 CAF V06N37 # TTPI
028125,000264: 35,2637 03712 TC VNPOOH
028126,000265: 35,2640 06037 P34/P74E TC INTPRET
028127,000266: 35,2641 71201 SETPD DLOAD
028128,000267: 35,2642 00001 0D
028129,000268: 35,2643 02777 RTX1
028130,000269: 35,2644 14047 STODL X1
028131,000270: 35,2645 03621 CENTANG
028132,000271: 35,2646 71406 PUSH COS
028133,000272: 35,2647 16732 STODL CSTH
028134,000273: 35,2650 77756 SIN
028135,000274: 35,2651 26730 STOVL SNTH
028136,000275: 35,2652 03552 RPASS3
028137,000276: 35,2653 77657 VSR*
028138,000277: 35,2654 57176 0,2
028139,000278: 35,2655 26655 STOVL RVEC
028140,000279: 35,2656 03560 VPASS3
028141,000280: 35,2657 43057 VSR* SET
028142,000281: 35,2660 57176 0,2
028143,000282: 35,2661 03466 RVSW
Page 663 |
028145,000284: 35,2662 36744 STCALL VVEC
028146,000285: 35,2663 24732 TIMETHET
028147,000286: 35,2664 77745 DLOAD
028148,000287: 35,2665 03636 TTPI
028149,000288: 35,2666 03610 STORE INTIME # FOR INITVEL
028150,000289: 35,2667 77615 DAD
028151,000290: 35,2670 00037 T # RENDEZVOUS TIME
028152,000291: 35,2671 37631 STCALL TPASS4 # FOR INITVEL
028153,000292: 35,2672 73306 S34/35.2
028154,000293: 35,2673 51575 VLOAD ABVAL
028155,000294: 35,2674 02366 DELVEET3
028156,000295: 35,2675 27576 STOVL DELVTPI
028157,000296: 35,2676 03506 VPASS4
028158,000297: 35,2677 51451 VSU ABVAL
028159,000298: 35,2700 03566 VTPRIME
028160,000299: 35,2701 26350 STOVL DELVTPF
028161,000300: 35,2702 03536 RACT3
028162,000301: 35,2703 45115 PDVL CALL
028163,000302: 35,2704 02337 VIPRIME
028164,000303: 35,2705 46316 PERIAPO1
028165,000304: 35,2706 77624 CALL
028166,000305: 35,2707 46426 SHIFTR1
028167,000306: 35,2710 17606 STODL POSTTPI
028168,000307: 35,2711 03636 TTPI
028169,000308: 35,2712 03442 STORE TIG
028170,000309: 35,2713 77776 EXIT
028171,000310: 35,2714 33725 CAF V06N58
028172,000311: 35,2715 03712 TC VNPOOH
028173,000312: 35,2716 06037 TC INTPRET
028174,000313: 35,2717 77624 CALL
028175,000314: 35,2720 73522 S34/35.5
028176,000315: 35,2721 77624 CALL
028177,000316: 35,2722 73606 VN1645
028178,000317: 35,2723 77650 GOTO
028179,000318: 35,2724 72574 P34/P74C
Page 664 |
028181,000320: # RENDEZVOUS MID-COURSE MANEUVER PROGRAMS (P35 AND P75)
028182,000321:
028183,000322: # MOD NO -1 LOG SECTION - P32-P35, P72-P75
028184,000323: # MOD BY WHITE.P DATE 1JUNE67
028185,000324:
028186,000325: # PURPOSE
028187,000326:
028188,000327: # (1) TO CALCULATE THE REQUIRED DELTA V AND OTHER INITIAL CONDITIONS
028189,000328: # REQUIRED BY THE ACTIVE VEHICLE FOR EXECUTION OF THE NEXT
028190,000329: # MIDCOURSE CORRECTION OF THE TRANSFER PHASE OF AN ACTIVE
028191,000330: # VEHICLE RENDEZVOUS.
028192,000331:
028193,000332: # (2) TO DISPLAY TO THE ASTRONAUT AND THE GROUND CERTAIN DEPENDENT
028194,000333: # VARIABLES ASSOCIATED WITH THE MANEUVER FOR APPROVAL BY THE
028195,000334: # ASTRONAUT/GROUND.
028196,000335:
028197,000336: # (3) TO STORE THE TPM TARGET PARAMETERS FOR USE BY THE DESIRED
028198,000337: # THRUSTING PROGRAM.
028199,000338:
028200,000339: # ASSUMPTIONS
028201,000340:
028202,000341: # (1) THE ISS NEED NOT BE ON TO COMPLETE THIS PROGRAM.
028203,000342:
028204,000343: # (2) STATE VECTOR UPDATES BY P27 ARE DISALLOWED DURING AUTOMATIC
028205,000344: # STATE VECTOR UPDATING INITIATED BY P20 (SEE ASSUMPTION (3)).
028206,000345:
028207,000346: # (3) THE RENDEZVOUS RADAR IS ON AND IS LOCKED ON THE CSM. THIS WAS
028208,000347: # DONE DURING PREVIOUS SELECTION OF P20. RADAR SIGHTING MARKS
028209,000348: # WILL BE MADE AUTOMATICALLY APPROXIMATELY ONCE A MINUTE WHEN
028210,000349: # ENABLED BY THE TRACK AND UPDATE FLAGS (SEE P20). THE
028211,000350: # RENDEZVOUS TRACKING MARK COUNTER IS ZEROED BY THE SELECTION OF
028212,000351: # P20 AND AFTER EACH THRUSTING MANEUVER.
028213,000352:
028214,000353: # (4) THE OPERATION OF THE PROGRAM UTILIZES THE FOLLOWING FLAGS -
028215,000354:
028216,000355: # ACTIVE VEHICLE FLAG - DESIGNATES THE VEHICLE WHICH IS
028217,000356: # DOING RENDEZVOUS THRUSTING MANEUVERS TO THE PROGRAM WHICH
028218,000357: # CALCULATES THE MANEUVER PARAMETERS. SET AT THE START OF
028219,000358: # EACH RENDEZVOUS PRE-THRUSTING PROGRAM.
028220,000359:
028221,000360: # FINAL FLAG - SELECTS FINAL PROGRAM DISPLAYS AFTER CREW HAS
028222,000361: # SELECTED THE FINAL MANEUVER COMPUTATION CYCLE.
028223,000362:
028224,000363: # EXTERNAL DELTA V FLAG - DESIGNATES THE TYPE OF STEERING
028225,000364: # REQUIRED FOR EXECUTION OF THIS MANEUVER BY THE THRUSTING
028226,000365: # PROGRAM SELECTED AFTER COMPLETION OF THIS PROGRAM.
028227,000366:
028228,000367: # (5) THE TIME OF INTERCEPT (T(INT)) WAS DEFINED BY PREVIOUS
028229,000368: # COMPLETION OF THE TRANSFER PHASE INITIATION (TPI) PROGRAM
028230,000369: # (P34/P74) AND IS PRESENTLY AVAILABLE IN STORAGE.
028231,000370:
Page 665 |
028233,000372: # (6) ONCE THE PARAMETERS REQUIRED FOR COMPUTION OF THE MANEUVER
028234,000373: # HAVE BEEN COMPLETELY SPECIFIED, THE VALUE OF THE ACTIVE
028235,000374: # VEHICLE CENTRAL ANGLE OF TRANSFER IS COMPUTED AND STORED.
028236,000375: # THIS NUMBER WILL BE AVAILABLE FOR DISPLAY TO THE ASTRONAUT
028237,000376: # THROUGH THE USE OF V06N52.
028238,000377:
028239,000378: # THE ASTRONAUT WILL CALL THIS DISPLAY TO VERIFY THAT THE
028240,000379: # CENTRAL ANGLE OF TRANSFER OF THE ACTIVE VEHICLE IS NOT WITHIN
028241,000380: # 170 TO 190 DEGREES. IF THE ANGLE IS WITHIN THIS ZONE THE
028242,000381: # ASTRONAUT SHOULD REASSESS THE INPUT TARGETING PARAMETERS BASED
028243,000382: # UPON DELTA V AND EXPECTED MANEUVER TIME.
028244,000383:
028245,000384: # (7) THIS PROGRAM IS SELECTED BY THE ASTRONAUT BY DSKY ENTRY -
028246,000385:
028247,000386: # P35 IF THIS VEHICLE IS ACTIVE VEHICLE.
028248,000387:
028249,000388: # P75 IF THIS VEHICLE IS PASSIVE VEHICLE.
028250,000389:
028251,000390: # INPUT
028252,000391:
028253,000392: # (1) TPASS4 TIME OF INTERCEPT - SAVED FROM P34/P74
028254,000393:
028255,000394: # OUTPUT
028256,000395:
028257,000396: # (1) TRKMKCNT NUMBER OF MARKS
028258,000397: # (2) TTOGO TIME TO GO
028259,000398: # (3) +MGA MIDDLE GIMBAL ANGLE
028260,000399: # (4) DVLOS DELTA VELOCITY AT MID - LINE OF SIGHT
028261,000400: # (5) DELVLVC DELTA VELOCITY AT MID - LOCAL VERTICAL COORDINATES
028262,000401:
028263,000402: # DOWNLINK
028264,000403:
028265,000404: # (1) TIG TIME OF THE TPM MANEUVER
028266,000405: # (2) DELVEET3 DELTA VELOCITY AT TPM - REFERENCE COORDINATES
028267,000406: # (3) TPASS4 TIME OF INTERCEPT
028268,000407:
028269,000408: # COMMUNICATION TO THRUSTING PROGRAMS
028270,000409:
028271,000410: # (1) TIG TIME OF THE TPM MANEUVER
028272,000411: # (2) RTARG OFFSET TARGET POSITION
028273,000412: # (3) TPASS4 TIME OF INTERCEPT
028274,000413: # (4) XDELVFLG RESET TO INDICATE LAMBERT (AIMPOINT) VG COMPUTATION
028275,000414:
028276,000415: # SUBROUTINES USED
028277,000416:
028278,000417: # AVFLAGA
028279,000418: # AVFLAGP
028280,000419: # LOADTIME
028281,000420: # SELECTMU
028282,000421: # PRECSET
028283,000422: # S34/35.1
028284,000423: # S34/35.2
Page 666 |
028286,000425: # S34/35.5
028287,000426: # VN1645
028288,000427:
028289,000428: 35,2725 COUNT* $$/P3575
028290,000429: 35,2725 E7,1575 EBANK= KT
028291,000430:
028292,000431: 35,2725 02347 P35 TC AVFLAGA
028293,000432: 35,2726 00006 EXTEND
028294,000433: 35,2727 31401 DCA ATIGINC
028295,000434: 35,2730 02734 TC P35/P75A
028296,000435: 35,2731 02354 P75 TC AVFLAGP
028297,000436: 35,2732 00006 EXTEND
028298,000437: 35,2733 31403 DCA PTIGINC
028299,000438: 35,2734 53576 P35/P75A DXCH KT
028300,000439: 35,2735 02361 TC P20FLGON # SET UPDATFLG, TRACKFLG
028301,000440: 35,2736 06037 TC INTPRET
028302,000441: 35,2737 77624 CALL
028303,000442: 35,2740 20000 SELECTMU
028304,000443: 35,2741 77634 P35/P75B RTB
028305,000444: 35,2742 21573 LOADTIME
028306,000445: 35,2743 03612 STORE TSTRT
028307,000446: 35,2744 77615 DAD
028308,000447: 35,2745 03576 KT
028309,000448: 35,2746 03442 STORE TIG
028310,000449: 35,2747 03610 STORE INTIME # FOR INITVEL
028311,000450: 35,2750 34041 STCALL TDEC1
028312,000451: 35,2751 46360 PRECSET # ADVANCE BOTH VEHICLES
028313,000452: 35,2752 77624 CALL
028314,000453: 35,2753 73274 S34/35.1 # GET NORM AND LOS FOR TRANSFORM
028315,000454: 35,2754 77624 CALL
028316,000455: 35,2755 73306 S34/35.2 # GET DELTA V(LV)
028317,000456: 35,2756 77624 CALL
028318,000457: 35,2757 73522 S34/35.5
028319,000458: 35,2760 77624 CALL
028320,000459: 35,2761 73606 VN1645
028321,000460: 35,2762 77650 GOTO
028322,000461: 35,2763 72741 P35/P75B
Page 667 |
028324,000463: # ..... S33/34.1 .....
028325,000464:
028326,000465: 35,2764 66220 S33/34.1 STQ SSP
028327,000466: 35,2765 03463 NORMEX
028328,000467: 35,2766 03614 TITER
028329,000468: 35,2767 40000 OCT 40000
028330,000469: 35,2770 40345 DLOAD SETPD
028331,000470: 35,2771 33734 MAX250
028332,000471: 35,2772 00001 0D
028333,000472: 35,2773 27574 STOVL SECMAX
028334,000473: 35,2774 03536 RACT3
028335,000474: 35,2775 27500 STOVL RAPREC
028336,000475: 35,2776 03544 VACT3
028337,000476: 35,2777 27506 STOVL VAPREC
028338,000477: 35,3000 03552 RPASS3
028339,000478: 35,3001 27522 STOVL RPPREC
028340,000479: 35,3002 03560 VPASS3
028341,000480: 35,3003 03530 STORE VPPREC
028342,000481: 35,3004 77624 ELCALC CALL
028343,000482: 35,3005 73274 S34/35.1 # NORMAL AND LOS
028344,000483: 35,3006 63235 VXV PDVL
028345,000484: 35,3007 03536 RACT3 # (RA*VA)*RA 0D
028346,000485: 35,3010 53515 PDVL UNIT # ULOS AT 6D
028347,000486: 35,3011 03536 RACT3
028348,000487: 35,3012 46315 PDVL VPROJ # XCHNJ AND UP
028349,000488: 35,3013 51352 VSL2 BVSU
028350,000489: 35,3014 02311 ULOS
028351,000490: 35,3015 63256 UNIT PDVL # UP AT 0D
028352,000491: 35,3016 63241 DOT PDVL # UP.UN*RA AT 0D
028353,000492: 35,3017 00001 0D # UP IN MPAC
028354,000493: 35,3020 75241 DOT SIGN
028355,000494: 35,3021 02311 ULOS
028356,000495: 35,3022 65552 SL1 ACOS
028357,000496: 35,3023 50315 PDVL DOT # EA AT 0D
028358,000497: 35,3024 02311 ULOS
028359,000498: 35,3025 03536 RACT3
028360,000499: 35,3026 71244 BPL DLOAD
028361,000500: 35,3027 73032 TESTY
028362,000501: 35,3030 06530 DPPOSMAX
028363,000502: 35,3031 41425 DSU PUSH
028364,000503: 35,3032 71214 TESTY BOFF DLOAD
028365,000504: 35,3033 03740 ITSWICH
028366,000505: 35,3034 73261 ELEX
028367,000506: 35,3035 03576 DELEL
028368,000507: 35,3036 14033 STODL DELELO
028369,000508: 35,3037 77625 DSU
028370,000509: 35,3040 02257 ELEV
028371,000510: 35,3041 03576 STORE DELEL
028372,000511: 35,3042 45246 ABS DSU
028373,000512: 35,3043 33740 ELEPS
Page 668 |
028375,000514: 35,3044 77640 BMN
028376,000515: 35,3045 73271 TIMEX # COMMERCIALS EVERYWHERE
028377,000516: 35,3046 70535 FIGTIME SLOAD SR1
028378,000517: 35,3047 03614 TITER
028379,000518: 35,3050 72030 BHIZ LXA,1
028380,000519: 35,3051 03463 NORMEX # TOO MANY ITERATIONS
028381,000520: 35,3052 00154 MPAC
028382,000521: 35,3053 77330 SXA,1 VLOAD
028383,000522: 35,3054 03613 TITER
028384,000523: 35,3055 03552 RPASS3
028385,000524: 35,3056 65256 UNIT PDDL
028386,000525: 35,3057 00045 36D
028387,000526: 35,3060 53515 PDVL UNIT
028388,000527: 35,3061 03536 RACT3
028389,000528: 35,3062 77725 PDDL
028390,000529: 35,3063 41525 PDDL PUSH
028391,000530: 35,3064 00045 36D
028392,000531: 35,3065 77621 BDSU
028393,000532: 35,3066 00015 12D
028394,000533: 35,3067 14037 STODL 30D # RP - RA MAGNITUDES
028395,000534: 35,3070 06520 DPHALF
028396,000535: 35,3071 41425 DSU PUSH
028397,000536: 35,3072 02257 ELEV
028398,000537: 35,3073 50165 SIGN BMN
028399,000538: 35,3074 00037 30D
028400,000539: 35,3075 03463 NORMEX
028401,000540: 35,3076 71545 DLOAD COS
028402,000541: 35,3077 56205 DMP DDV
028403,000542: 35,3100 00017 14D
028404,000543: 35,3101 00015 12D
028405,000544: 35,3102 77676 DCOMP # SINCE COS(180-A)=-COS A
028406,000545: 35,3103 00035 STORE 28D
028407,000546: 35,3104 44246 ABS BDSU
028408,000547: 35,3105 06520 DPHALF
028409,000548: 35,3106 77240 BMN VLOAD
028410,000549: 35,3107 03463 NORMEX
028411,000550: 35,3110 02261 UNRM
028412,000551: 35,3111 53435 VXV UNIT
028413,000552: 35,3112 00007 6D # UN*RA
028414,000553: 35,3113 41241 DOT DMP
028415,000554: 35,3114 03544 VACT3
028416,000555: 35,3115 00015 12D
028417,000556: 35,3116 47315 PDVL VXV
028418,000557: 35,3117 00001 0D
028419,000558: 35,3120 03560 VPASS3
028420,000559: 35,3121 53435 VXV UNIT
028421,000560: 35,3122 00001 0D # (RP*VP)*RP
028422,000561: 35,3123 41241 DOT DMP
028423,000562: 35,3124 03560 VPASS3
028424,000563: 35,3125 00017 14D
Page 669 |
028426,000565: 35,3126 77621 BDSU
028427,000566: 35,3127 63301 NORM PDVL # NORMALIZED WA - WP 12D
028428,000567: 35,3130 00047 X1
028429,000568: 35,3131 00007 6D
028430,000569: 35,3132 50235 VXV DOT
028431,000570: 35,3133 00001 0D
028432,000571: 35,3134 02261 UNRM # RA*RP.UN 14D
028433,000572: 35,3135 50315 PDVL DOT
028434,000573: 35,3136 00001 0D
028435,000574: 35,3137 00007 6D
028436,000575: 35,3140 65552 SL1 ACOS
028437,000576: 35,3141 77765 SIGN
028438,000577: 35,3142 43225 DSU DAD # ALPHA PI
028439,000578: 35,3143 06520 DPHALF
028440,000579: 35,3144 02257 ELEV
028441,000580: 35,3145 65525 PDDL ACOS
028442,000581: 35,3146 00035 28D
028443,000582: 35,3147 75221 BDSU SIGN
028444,000583: 35,3150 06520 DPHALF
028445,000584: 35,3151 00037 30D # CONTAINS RP-RA
028446,000585: 35,3152 77615 DAD
028447,000586: 35,3153 56205 DMP DDV
028448,000587: 35,3154 33732 TWOPI
028449,000588: 35,3155 77605 DMP
028450,000589: 35,3156 41257 SL* DMP
028451,000590: 35,3157 20176 0 -3,1
028452,000591: 35,3160 51406 PUSH ABS
028453,000592: 35,3161 50025 DSU BMN
028454,000593: 35,3162 03574 SECMAX
028455,000594: 35,3163 73167 OKMAX
028456,000595: 35,3164 75345 DLOAD SIGN # REPLACE TIME WITH MAX TIME SIGNED
028457,000596: 35,3165 03574 SECMAX
028458,000597: 35,3166 77606 PUSH
028459,000598: 35,3167 51135 OKMAX SLOAD BPL # TEST FIRST ITERATION
028460,000599: 35,3170 03614 TITER
028461,000600: 35,3171 73177 REPETE
028462,000601: 35,3172 71331 SSP DLOAD
028463,000602: 35,3173 03614 TITER
028464,000603: 35,3174 37777 OCT 37777
028465,000604: 35,3175 77650 GOTO
028466,000605: 35,3176 73235 STORDELT
028467,000606: 35,3177 41345 REPETE DLOAD DMP
028468,000607: 35,3200 03576 DELEL
028469,000608: 35,3201 00033 DELELO
028470,000609: 35,3202 71244 BPL DLOAD
028471,000610: 35,3203 73213 NEXTES
028472,000611: 35,3204 03574 SECMAX
028473,000612: 35,3205 77605 DMP
028474,000613: 35,3206 33736 THIRD
028475,000614: 35,3207 17574 STODL SECMAX
Page 670 |
028477,000616: 35,3210 70446 ABS SR1 # CROSSED OVER SOLUTION
028478,000617: 35,3211 52076 DCOMP GOTO # DT=(-SIGN(DTO)//DT//)/2
028479,000618: 35,3212 73223 RESIGN
028480,000619: 35,3213 51545 NEXTES DLOAD ABS
028481,000620: 35,3214 03576 DELEL
028482,000621: 35,3215 51525 PDDL ABS
028483,000622: 35,3216 00033 DELELO
028484,000623: 35,3217 77625 DSU
028485,000624: 35,3220 71240 BMN DLOAD
028486,000625: 35,3221 73226 REVERS # WRONG DIRECTION
028487,000626: 35,3222 77646 ABS
028488,000627: 35,3223 52165 RESIGN SIGN GOTO
028489,000628: 35,3224 03606 DELTEEO
028490,000629: 35,3225 73235 STORDELT
028491,000630: 35,3226 57545 REVERS DLOAD DCOMP
028492,000631: 35,3227 03606 DELTEEO
028493,000632: 35,3230 70406 PUSH SR1
028494,000633: 35,3231 03606 STORE DELTEEO
028495,000634: 35,3232 77615 DAD
028496,000635: 35,3233 77650 GOTO
028497,000636: 35,3234 73236 ADTIME
028498,000637: 35,3235 03606 STORDELT STORE DELTEEO
028499,000638: 35,3236 77615 ADTIME DAD
028500,000639: 35,3237 02317 NOMTPI # SUM OF DELTA T:S
028501,000640: 35,3240 02317 STORE NOMTPI
028502,000641: 35,3241 63375 VLOAD PDVL
028503,000642: 35,3242 03506 VAPREC
028504,000643: 35,3243 03500 RAPREC
028505,000644: 35,3244 77624 CALL
028506,000645: 35,3245 73462 GOINT
028507,000646: 35,3246 77624 CALL
028508,000647: 35,3247 46402 ACTIVE # STORE NEW RACT3 VACT3
028509,000648: 35,3250 63375 VLOAD PDVL
028510,000649: 35,3251 03530 VPPREC
028511,000650: 35,3252 03522 RPPREC
028512,000651: 35,3253 77624 CALL
028513,000652: 35,3254 73462 GOINT
028514,000653: 35,3255 77624 CALL
028515,000654: 35,3256 46412 PASSIVE # STORE NEW RPASS3 VPASS3
028516,000655: 35,3257 77650 GOTO
028517,000656: 35,3260 73004 ELCALC
028518,000657: 35,3261 43345 ELEX DLOAD DAD
028519,000658: 35,3262 03636 TTPI
028520,000659: 35,3263 02317 NOMTPI
028521,000660: 35,3264 17636 STODL TTPI
028522,000661: 35,3265 77614 BON
028523,000662: 35,3266 01310 ETPIFLAG
028524,000663: 35,3267 73271 TIMEX
028525,000664: 35,3270 02257 STORE ELEV
028526,000665: 35,3271 52145 TIMEX DLOAD GOTO
Page 671 |
028528,000667: 35,3272 06522 ZEROVECS
028529,000668: 35,3273 03463 NORMEX
028530,000669:
Page 672 |
028532,000671: # ..... S34/35.1 .....
028533,000672:
028534,000673: # COMPUTE UNIT NORMAL AND LINE OF SIGHT VECTORS GIVEN THE ACTIVE AND
028535,000674: # PASSIVE POS AND VEL AT TIME T3
028536,000675:
028537,000676: 35,3274 52375 S34/35.1 VLOAD VSU
028538,000677: 35,3275 03552 RPASS3
028539,000678: 35,3276 03536 RACT3
028540,000679: 35,3277 41456 UNIT PUSH
028541,000680: 35,3300 26311 STOVL ULOS
028542,000681: 35,3301 03536 RACT3
028543,000682: 35,3302 53435 VXV UNIT
028544,000683: 35,3303 03544 VACT3
028545,000684: 35,3304 02261 STORE UNRM
028546,000685: 35,3305 77616 RVQ
028547,000686:
Page 673 |
028549,000688: # ..... S34/35.2 .....
028550,000689:
028551,000690: # ADVANCE PASSIVE VEH TO RENDEZVOUS TIME AND GET REQ VEL FROM LAMBERT
028552,000691:
028553,000692: 35,3306 77220 S34/35.2 STQ VLOAD
028554,000693: 35,3307 03470 SUBEXIT
028555,000694: 35,3310 03560 VPASS3
028556,000695: 35,3311 65315 PDVL PDDL
028557,000696: 35,3312 03552 RPASS3
028558,000697: 35,3313 03610 INTIME
028559,000698: 35,3314 65325 PDDL PDDL
028560,000699: 35,3315 03631 TPASS4
028561,000700: 35,3316 33732 TWOPI # CONIC
028562,000701: 35,3317 46125 PDDL BHIZ
028563,000702: 35,3320 03467 NN
028564,000703: 35,3321 73325 S3435.23
028565,000704: 35,3322 77745 DLOAD
028566,000705: 35,3323 41545 DLOAD PUSH
028567,000706: 35,3324 06522 ZEROVECS # PRECISION
028568,000707: 35,3325 77624 S3435.23 CALL
028569,000708: 35,3326 73466 INTINT # GET TARGET VECTOR
028570,000709: 35,3327 27444 S3435.25 STOVL RTARG
028571,000710: 35,3330 00007 VATT
028572,000711: 35,3331 27506 STOVL VPASS4
028573,000712: 35,3332 03444 RTARG
028574,000713: # COMPUTE PHI = PI + (ACOS(UNIT RA.UNIT RP) - PI)SIGN(RA*RP.U)
028575,000714: 35,3333 63256 UNIT PDVL # UNIT RP
028576,000715: 35,3334 03536 RACT3
028577,000716: 35,3335 41456 UNIT PUSH # UNIT RA
028578,000717: 35,3336 50235 VXV DOT
028579,000718: 35,3337 00001 0D
028580,000719: 35,3340 02261 UNRM # RA*RP.U
028581,000720: 35,3341 77715 PDVL
028582,000721: 35,3342 72441 DOT SL1 # UNIT RA.UNIT RP
028583,000722: 35,3343 00001 0D
028584,000723: 35,3344 75326 ACOS SIGN
028585,000724: 35,3345 43244 BPL DAD
028586,000725: 35,3346 73350 NOPIE
028587,000726: 35,3347 06530 DPPOSMAX # REASONABLE TWO PI
028588,000727: 35,3350 15756 NOPIE STODL ACTCENT
028589,000728: 35,3351 03631 TPASS4
028590,000729: 35,3352 77625 DSU
028591,000730: 35,3353 03610 INTIME
028592,000731: 35,3354 03452 STORE DELLT4
028593,000732: 35,3355 40335 SLOAD SETPD
028594,000733: 35,3356 03467 NN # NUMBER OF OFFSETS
028595,000734: 35,3357 00001 0D
028596,000735: 35,3360 63325 PDDL PDVL
028597,000736: 35,3361 33744 EPSFOUR
028598,000737: 35,3362 03536 RACT3
028599,000738: 35,3363 26323 STOVL RINIT
Page 674 |
028601,000740: 35,3364 03544 VACT3
028602,000741: 35,3365 36331 STCALL VINIT
028603,000742: 35,3366 22000 INITVEL
028604,000743: 35,3367 77624 CALL
028605,000744: 35,3370 73447 LOMAT
028606,000745: 35,3371 64375 VLOAD MXV
028607,000746: 35,3372 02366 DELVEET3
028608,000747: 35,3373 00001 0D
028609,000748: 35,3374 77772 VSL1
028610,000749: 35,3375 37434 STCALL DELVLVC
028611,000750: 35,3376 03470 SUBEXIT
028612,000751:
Page 675 |
028614,000753: # ..... S34/35.3 .....
028615,000754:
028616,000755: 35,3377 45020 S34/35.3 STQ CALL
028617,000756: 35,3400 03463 NORMEX
028618,000757: 35,3401 73447 LOMAT # GET MATRIX IN PUSH LIST
028619,000758: 35,3402 61375 VLOAD VXM
028620,000759: 35,3403 03434 DELVLVC # NEW DEL V TPI
028621,000760: 35,3404 00001 0D
028622,000761: 35,3405 77772 VSL1
028623,000762: 35,3406 02366 STORE DELVEET3 # SAVE FOR TRANSFORM
028624,000763: 35,3407 63255 VAD PDVL
028625,000764: 35,3410 03544 VACT3 # NEW V REQ
028626,000765: 35,3411 03536 RACT3
028627,000766: 35,3412 65325 PDDL PDDL
028628,000767: 35,3413 03442 TIG
028629,000768: 35,3414 03631 TPASS4
028630,000769: 35,3415 41525 PDDL PUSH
028631,000770: 35,3416 06530 DPPOSMAX
028632,000771: 35,3417 77624 CALL # INTEG. FOR NEW TARGET VEC
028633,000772: 35,3420 73466 INTINT
028634,000773: 35,3421 77775 VLOAD
028635,000774: 35,3422 00001 RATT
028636,000775: 35,3423 03444 STORE RTARG
028637,000776: 35,3424 41575 NOVRWRT VLOAD PUSH
028638,000777: 35,3425 02311 ULOS
028639,000778: 35,3426 57435 VXV VCOMP
028640,000779: 35,3427 02261 UNRM
028641,000780: 35,3430 41456 UNIT PUSH
028642,000781: 35,3431 76435 VXV VSL1
028643,000782: 35,3432 02311 ULOS
028644,000783: 35,3433 77715 PDVL
028645,000784: 35,3434 64315 PDVL MXV
028646,000785: 35,3435 02366 DELVEET3
028647,000786: 35,3436 00001 0D
028648,000787: 35,3437 77772 VSL1
028649,000788: 35,3440 36303 STCALL DVLOS
028650,000789: 35,3441 03463 NORMEX
028651,000790:
Page 676 |
028653,000792: # ..... S34/35.4 .....
028654,000793:
028655,000794: 35,3442 40220 S34/35.4 STQ SETPD # NO ASTRONAUT OVERWRITE
028656,000795: 35,3443 03463 NORMEX
028657,000796: 35,3444 00001 0D
028658,000797: 35,3445 77650 GOTO
028659,000798: 35,3446 73424 NOVRWRT
028660,000799:
Page 677 |
028662,000801: # ..... LOMAT .....
028663,000802:
028664,000803: 35,3447 57575 LOMAT VLOAD VCOMP
028665,000804: 35,3450 02261 UNRM
028666,000805: 35,3451 24007 STOVL 6D # Y
028667,000806: 35,3452 03536 RACT3
028668,000807: 35,3453 57456 UNIT VCOMP
028669,000808: 35,3454 00015 STORE 12D
028670,000809: 35,3455 76435 VXV VSL1
028671,000810: 35,3456 02261 UNRM # Z*-Y
028672,000811: 35,3457 00001 STORE 0D
028673,000812: 35,3460 43401 SETPD RVQ
028674,000813: 35,3461 00023 18D
028675,000814: 35,3462 65325 GOINT PDDL PDDL # DO
028676,000815: 35,3463 06522 ZEROVECS # NOT
028677,000816: 35,3464 02317 NOMTPI
028678,000817: 35,3465 41406 PUSH PUSH # ORDER OR INSERT BEFORE INTINT
028679,000818: 35,3466 45020 INTINT STQ CALL
028680,000819: 35,3467 03465 RTRN
028681,000820: 35,3470 27414 INTSTALL
028682,000821: 35,3471 71214 CLEAR DLOAD
028683,000822: 35,3472 01673 INTYPFLG
028684,000823: 35,3473 43054 BZE SET
028685,000824: 35,3474 73476 +2
028686,000825: 35,3475 01473 INTYPFLG
028687,000826: 35,3476 45545 DLOAD STADR
028688,000827: 35,3477 63736 STODL TDEC1
028689,000828: 35,3500 73014 SET LXA,2
028690,000829: 35,3501 00063 MOONFLAG
028691,000830: 35,3502 02777 RTX2
028692,000831: 35,3503 43014 BON CLEAR
028693,000832: 35,3504 04303 CMOONFLG
028694,000833: 35,3505 73507 ALLSET
028695,000834: 35,3506 00263 MOONFLAG
028696,000835: 35,3507 25517 ALLSET STOVL TET
028697,000836: 35,3510 77657 VSR*
028698,000837: 35,3511 57176 0,2
028699,000838: 35,3512 25535 STOVL RCV
028700,000839: 35,3513 77657 VSR*
028701,000840: 35,3514 57176 0,2
028702,000841: 35,3515 35543 STCALL VCV
028703,000842: 35,3516 27107 INTEGRVS
028704,000843: 35,3517 52175 VLOAD GOTO
028705,000844: 35,3520 00001 RATT
028706,000845: 35,3521 03465 RTRN
028707,000846:
Page 678 |
028709,000848: # ..... S34/35.5 .....
028710,000849: # SUBROUTINES USED
028711,000850: # BANKCALL
028712,000851: # GOFLASH
028713,000852: # GOTOPOOH
028714,000853: # S34/35.3
028715,000854: # S34/35.4
028716,000855: # VNPOOH
028717,000856:
028718,000857: 35,3522 43020 S34/35.5 STQ BON
028719,000858: 35,3523 03470 SUBEXIT
028720,000859: 35,3524 01311 FINALFLG
028721,000860: 35,3525 73531 FLAGON
028722,000861: 35,3526 52014 SET GOTO
028723,000862: 35,3527 00470 UPDATFLG
028724,000863: 35,3530 73576 FLAGOFF
028725,000864: 35,3531 77214 FLAGON CLEAR VLOAD
028726,000865: 35,3532 03274 NTARGFLG
028727,000866: 35,3533 03434 DELVLVC
028728,000867: 35,3534 01237 STORE GDT/2
028729,000868: 35,3535 77776 EXIT
028730,000869: 35,3536 33727 +5 CAF V06N81
028731,000870: 35,3537 04616 TC BANKCALL
028732,000871: 35,3540 20476 CADR GOFLASH
028733,000872: 35,3541 06001 TC GOTOPOOH
028734,000873: 35,3542 03544 TC +2 # PRO
028735,000874: 35,3543 03536 TC FLAGON +5 # LOAD
028736,000875: 35,3544 35016 +2 CA EBANK7
028737,000876: 35,3545 54003 TS EBANK # TO BE SURE
028738,000877:
028739,000878: 35,3546 22007 ZL
028740,000879: 35,3547 34756 CA FIVE
028741,000880: 35,3550 54002 NTARGCHK TS Q
028742,000881: 35,3551 50002 INDEX Q
028743,000882: 35,3552 41433 CS DELVLVC
028744,000883: 35,3553 50002 INDEX Q
028745,000884: 35,3554 61236 AD GDT/2
028746,000885: 35,3555 26001 ADS L
028747,000886: 35,3556 10002 CCS Q
028748,000887: 35,3557 13550 TCF NTARGCHK
028749,000888: 35,3560 22000 LXCH A
028750,000889: 35,3561 00006 EXTEND
028751,000890: 35,3562 13565 BZF +3
028752,000891: 35,3563 05504 TC UPFLAG
028753,000892: 35,3564 00146 ADRES NTARGFLG
028754,000893:
028755,000894: 35,3565 06037 TC INTPRET
028756,000895: 35,3566 45014 BOFF CALL
028757,000896: 35,3567 03354 NTARGFLG
Page 679 |
028759,000898: 35,3570 73572 NOCHG
028760,000899: 35,3571 73377 S34/35.3
028761,000900: 35,3572 77214 NOCHG CLEAR VLOAD
028762,000901: 35,3573 01267 XDELVFLG
028763,000902: 35,3574 02366 DELVEET3
028764,000903: 35,3575 03656 STORE DELVSIN
028765,000904: 35,3576 77624 FLAGOFF CALL
028766,000905: 35,3577 73442 S34/35.4
028767,000906: 35,3600 77776 EXIT
028768,000907: 35,3601 33726 CAF V06N59
028769,000908: 35,3602 03712 TC VNPOOH
028770,000909: 35,3603 06037 TC INTPRET
028771,000910: 35,3604 77650 GOTO
028772,000911: 35,3605 03470 SUBEXIT
028773,000912:
Page 680 |
028775,000914: # ..... VN1645 .....
028776,000915:
028777,000916: # SUBROUTINES USED
028778,000917: # P3XORP7X
028779,000918: # GET+MGA
028780,000919: # BANKCALL
028781,000920: # DELAYJOB
028782,000921: # COMPTGO
028783,000922: # GOFLASHR
028784,000923: # GOTOPOOH
028785,000924: # FLAGUP
028786,000925:
028787,000926: 35,3606 71220 VN1645 STQ DLOAD
028788,000927: 35,3607 03470 SUBEXIT
028789,000928: 35,3610 33742 DP-.01
028790,000929: 35,3611 02253 STORE +MGA # MGA = -.01
028791,000930: 35,3612 71214 BOFF DLOAD
028792,000931: 35,3613 01351 FINALFLG
028793,000932: 35,3614 73634 GET45
028794,000933: 35,3615 33742 DP-.01
028795,000934: 35,3616 77615 DAD
028796,000935: 35,3617 33742 DP-.01
028797,000936: 35,3620 02253 STORE +MGA # MGA = -.02
028798,000937: 35,3621 77414 BOFF EXIT
028799,000938: 35,3622 01742 REFSMFLG
028800,000939: 35,3623 73634 GET45
028801,000940: 35,3624 03704 TC P3XORP7X
028802,000941: 35,3625 03627 TC +2 # P3X
028803,000942: 35,3626 03635 TC GET45 +1 # P7X
028804,000943: 35,3627 06037 TC INTPRET
028805,000944: 35,3630 41575 VLOAD PUSH
028806,000945: 35,3631 03656 DELVSIN
028807,000946: 35,3632 77624 CALL # COMPUTE MGA
028808,000947: 35,3633 15717 GET+MGA
028809,000948: 35,3634 77776 GET45 EXIT
028810,000949: 35,3635 02432 TC COMPTGO # INITIATE TASK TO UPDATE TTOGO
028811,000950: 35,3636 31470 CA SUBEXIT
028812,000951: 35,3637 55464 TS QSAVED
028813,000952: 35,3640 34777 CAF 1SEC
028814,000953: 35,3641 04616 TC BANKCALL
028815,000954: 35,3642 01735 CADR DELAYJOB
028816,000955: 35,3643 33730 CAF V16N45 # TRKMKCNT, TTOGO, +MGA
028817,000956: 35,3644 04616 TC BANKCALL
028818,000957: 35,3645 20476 CADR GOFLASH
028819,000958: 35,3646 03651 TC KILCLOCK # TERMINATE
028820,000959: 35,3647 03654 TC N45PROC # PROCEED
028821,000960: 35,3650 03664 TC CLUPDATE # RECYCLE - RETURN FOR INITIAL COMPUTATION
028822,000961: 35,3651 30005 KILCLOCK CA Z
028823,000962: 35,3652 55163 TS DISPDEX
Page 681 |
028825,000964: 35,3653 06001 TC GOTOPOOH
028826,000965: 35,3654 40076 N45PROC CS FLAGWRD2
028827,000966: 35,3655 74746 MASK BIT6
028828,000967: 35,3656 00006 EXTEND
028829,000968: 35,3657 13651 BZF KILCLOCK # FINALFLG IS SET - FLASH V37 - AWAIT NEW PGM
028830,000969: 35,3660 05353 TC PHASCHNG
028831,000970: 35,3661 04024 OCT 04024
028832,000971: 35,3662 05504 TC UPFLAG # SET
028833,000972: 35,3663 00047 ADRES FINALFLG # FINALFLG
028834,000973: 35,3664 30005 CLUPDATE CA Z
028835,000974: 35,3665 55163 TS DISPDEX
028836,000975: 35,3666 05353 TC PHASCHNG
028837,000976: 35,3667 04024 OCT 04024
028838,000977: 35,3670 06037 TC INTPRET
028839,000978: 35,3671 52014 CLEAR GOTO
028840,000979: 35,3672 00670 UPDATFLG
028841,000980: 35,3673 03464 QSAVED
028842,000981:
Page 682 |
028844,000983: # ..... DISPLAYE .....
028845,000984:
028846,000985: # SUBROUTINES USED
028847,000986: # BANKCALL
028848,000987: # GOFLASHR
028849,000988: # GOTOPOOH
028850,000989: # BLANKET
028851,000990: # ENDOFJOB
028852,000991:
028853,000992: 35,3674 00006 DISPLAYE EXTEND
028854,000993: 35,3675 23463 QXCH NORMEX
028855,000994: 35,3676 33724 CAF V06N55
028856,000995: 35,3677 04616 TCR BANKCALL
028857,000996: 35,3700 20476 CADR GOFLASH
028858,000997: 35,3701 16001 TCF GOTOPOOH
028859,000998: 35,3702 01463 TC NORMEX
028860,000999: 35,3703 13676 TCF -5
028861,001000:
Page 683 |
028863,001002: # ..... P3XORP7X .....
028864,001003:
028865,001004: 35,3704 37744 P3XORP7X CAF HIGH9
028866,001005: 35,3705 71011 MASK MODREG
028867,001006: 35,3706 00006 EXTEND
028868,001007: 35,3707 13711 BZF +2
028869,001008: 35,3710 24002 INCR Q
028870,001009: 35,3711 00002 RETURN
028871,001010:
028872,001011: # ..... VNPOOH .....
028873,001012:
028874,001013: # SUBROUTINES USED
028875,001014: # BANKCALL
028876,001015: # GOFLASH
028877,001016: # GOTOPOOH
028878,001017:
028879,001018: 35,3712 00006 VNPOOH EXTEND
028880,001019: 35,3713 23465 QXCH RTRN
028881,001020: 35,3714 55615 TS VERBNOUN
028882,001021: 35,3715 31615 CA VERBNOUN
028883,001022: 35,3716 04616 TCR BANKCALL
028884,001023: 35,3717 20476 CADR GOFLASH
028885,001024: 35,3720 16001 TCF GOTOPOOH
028886,001025: 35,3721 01465 TC RTRN
028887,001026: 35,3722 13715 TCF -5
028888,001027:
Page 684 |
028890,001029: # ..... CONSTANTS .....
028891,001030:
028892,001031: 35,3723 01445 V06N37 VN 0637
028893,001032: 35,3724 01467 V06N55 VN 0655
028894,001033: 35,3725 01472 V06N58 VN 0658
028895,001034: 35,3726 01473 V06N59 VN 0659
028896,001035: 35,3727 01521 V06N81 VN 0681
028897,001036: 35,3730 04055 V16N45 VN 1645
028898,001037: 35,3731 14441 37325 TWOPI 2DEC 6.283185307 B-4
028899,001038:
028900,001039: 35,3733 00001 20650 MAX250 2DEC 25 E3
028901,001040:
028902,001041: 35,3735 12525 12525 THIRD 2DEC .333333333
028903,001042:
028904,001043: 35,3737 00004 21505 ELEPS 2DEC .27777777 E-3
028905,001044:
028906,001045: 35,3741 77777 DP-.01 OCT 77777 # CONSTANTS
028907,001046: 35,3742 61337 OCT 61337 # ADJACENT -.01 FOR MGA DSP
028908,001047: 35,3743 01252 25253 EPSFOUR 2DEC .0416666666
028909,001048:
028910,001049: 35,3745 13434 16162 130DEG 2DEC .3611111111
028911,001050:
Page 685 |
028913,001052: # ..... INITVEL .....
028914,001053:
028915,001054: # MOD NO -1 LOG SECTION - P34-P35, P74-P75
028916,001055: # MOD BY WHITE.P DATE 21NOV67
028917,001056:
028918,001057: # FUNCTIONAL DESCRIPTION
028919,001058:
028920,001059: # THIS SUBROUTINE COMPUTES THE REQUIRED INITIAL VELOCITY VECTOR FOR
028921,001060: # A TRAJECTORY OF SPECIFIED TRANSFER TIME BETWEEN SPECIFIED INITIAL
028922,001061: # AND TARGET POSITIONS. THE TRAJECTORY MAY BE EITHER CONIC OR
028923,001062: # PRECISION DEPENDING ON AN INPUT PARAMETER (NAMELY, NUMBER OF
028924,001063: # OFFSETS). IN ADDITION, IN THE PRECISION TRAJECTORY CASE, THE
028925,001064: # SUBROUTINE ALSO COMPUTES AN OFFSET TARGET VECTOR, TO BE USED
028926,001065: # DURING PURE-CONIC CROSS-PRODUCT STEERING. THE OFFSET TARGET
028927,001066: # VECTOR IS THE TERMINAL POSITION VECTOR OF A CONIC TRAJECTORY WHICH
028928,001067: # HAS THE SAME INITIAL STATE AS A PRECISION TRAJECTORY WHOSE
028929,001068: # TERMINAL POSITION VECTOR IS THE SPECIFIED TARGET VECTOR.
028930,001069:
028931,001070: # IN ORDER TO AVOID THE INHERENT SINGULARITIES IN THE 180 DEGREE
028932,001071: # TRANSFER CASE WHEN THE (TRUE OR OFFSET) TARGET VECTOR MAY BE
028933,001072: # SLIGHTLY OUT OF THE ORBITAL PLANE, THIS SUBROUTINE ROTATES THIS
028934,001073: # VECTOR INTO A PLANE DEFINED BY THE INPUT INITIAL POSITION VECTOR
028935,001074: # AND ANOTHER INPUT VECTOR (USUALLY THE INITIAL VELOCITY VECTOR),
028936,001075: # WHENEVER THE INPUT TARGET VECTOR LIES INSIDE A CONE WHOSE VERTEX
028937,001076: # IS THE ORIGIN OF COORDINATES, WHOSE AXIS IS THE 180 DEGREE
028938,001077: # TRANSFER DIRECTION, AND WHOSE CONE ANGLE IS SPECIFIED BY THE USER.
028939,001078:
028940,001079: # THE LAMBERT SUBROUTINE IS UTILIZED FOR THE CONIC COMPUTATIONS AND
028941,001080: # THE COASTING INTEGRATION SUBROUTINE IS UTILIZED FOR THE PRECISION
028942,001081: # TRAJECTORY COMPUTATIONS.
028943,001082:
028944,001083: # CALLING SEQUENCE
028945,001084:
028946,001085: # L CALL
028947,001086: # L+1 INITVEL
028948,001087: # L+2 (RETURN - ALWAYS)
028949,001088:
028950,001089: # INPUT
028951,001090:
028952,001091: # (1) RINIT INITIAL POSITION RADIUS VECTOR
028953,001092: # (2) VINIT INITIAL POSITION VELOCITY VECTOR
028954,001093: # (3) RTARG TARGET POSITION RADIUS VECTOR
028955,001094: # (4) DELLT4 DESIRED TIME OF FLIGHT FROM RINIT TO RTARG
028956,001095: # (5) INTIME TIME OF RINIT
028957,001096: # (6) 0D NUMBER OF ITERATIONS OF LAMBERT/INTEGRVS
028958,001097: # (7) 2D ANGLE TO 180 DEGREES WHEN ROTATION STARTS
028959,001098: # (8) RTX1 -2 FOR EARTH, -10D FOR LUNAR
028960,001099: # (9) RTX2 COORDINATE SYSTEM ORIGIN - 0 FOR EARTH, 2 FOR LUNAR
028961,001100: # PUSHLOC SET AT 4D
028962,001101:
Page 686 |
028964,001103: # OUTPUT
028965,001104:
028966,001105: # (1) RTARG OFFSET TARGET POSITION VECTOR
028967,001106: # (2) VIPRIME MANEUVER VELOCITY REQUIRED
028968,001107: # (3) VTPRIME VELOCITY AT TARGET AFTER MANEUVER
028969,001108: # (4) DELVEET3 DELTA VELOCITY REQUIRED FOR MANEUVER
028970,001109:
028971,001110: # SUBROUTINES USED
028972,001111:
028973,001112: # LAMBERT
028974,001113: # INTSTALL
028975,001114: # INTEGRVS
028976,001115:
028977,001116: 11,2000 SETLOC INTVEL
028978,001117: 11,2000 BANK
028979,001118:
028980,001119: 11,2000 COUNT* $$/INITV
028981,001120: 11,2000 77614 INITVEL SET # COGA GUESS NOT AVAILABLE
028982,001121: 11,2001 00475 GUESSW
028983,001122: 11,2002 44175 HAVEGUES VLOAD STQ
028984,001123: 11,2003 03444 RTARG
028985,001124: 11,2004 03463 NORMEX
028986,001125: 11,2005 03472 STORE RTARG1
028987,001126: 11,2006 77646 ABVAL
028988,001127: 11,2007 03723 STORE RTMAG
028989,001128: 11,2010 46135 SLOAD BHIZ
028990,001129: 11,2011 03000 RTX2
028991,001130: 11,2012 22026 INITVEL1
028992,001131: 11,2013 72575 VLOAD VSL2
028993,001132: 11,2014 02323 RINIT # B29
028994,001133: 11,2015 26323 STOVL RINIT # B27
028995,001134: 11,2016 02331 VINIT # B7
028996,001135: 11,2017 77752 VSL2
028997,001136: 11,2020 26331 STOVL VINIT # B5
028998,001137: 11,2021 03472 RTARG1
028999,001138: 11,2022 77752 VSL2
029000,001139: 11,2023 03472 STORE RTARG1
029001,001140: 11,2024 77646 ABVAL
029002,001141: 11,2025 03723 STORE RTMAG
029003,001142:
029004,001143: # INITIALIZATION
029005,001144:
029006,001145: 11,2026 71331 INITVEL1 SSP DLOAD # SET ITCTR TO -1,LOAD MPAC WITH E4 (PL 2D)
029007,001146: 11,2027 03617 ITCTR
029008,001147: 11,2030 77776 0 -1
029009,001148: 11,2031 70546 COSINE SR1 # CALCULATE COSINE (E4) (+2)
029010,001149: 11,2032 17667 STODL COZY4 # SET COZY4 TO COSINE (E4) (PL 0D)
029011,001150: 11,2033 67154 LXA,2 SXA,2
029012,001151: 11,2034 00154 MPAC
029013,001152: 11,2035 02701 VTARGTAG # SET VTARGTAG TO 0D (SP)
029014,001153: 11,2036 77775 VLOAD
Page 687 |
029016,001155: 11,2037 02323 RINIT
029017,001156: 11,2040 26655 STOVL R1VEC # R1VEC EQ RINIT
029018,001157: 11,2041 03472 RTARG1
029019,001158: 11,2042 16663 STODL R2VEC # R2VEC EQ RTARG
029020,001159: 11,2043 03452 DELLT4
029021,001160: 11,2044 02671 STORE TDESIRED # TDESIRED EQ DELLT4
029022,001161: 11,2045 77201 SETPD VLOAD
029023,001162: 11,2046 00001 0D # INITIALIZE PL TO 0D
029024,001163: 11,2047 02323 RINIT # MPAC EQ RINIT (+29)
029025,001164: 11,2050 41456 UNIT PUSH # UNIT(RI) (+1) (PL 6D)
029026,001165: 11,2051 53435 VXV UNIT
029027,001166: 11,2052 02331 VINIT # MPAC EQ UNIT(RI) X VI (+8)
029028,001167: 11,2053 26674 STOVL UN
029029,001168: 11,2054 03472 RTARG1
029030,001169: 11,2055 50256 UNIT DOT # TEMP=URT.URI (+2) (PL 0D)
029031,001170: 11,2056 43015 DAD CLEAR
029032,001171: 11,2057 03667 COZY4
029033,001172: 11,2060 03665 NORMSW
029034,001173: 11,2061 03667 STORE COZY4
029035,001174: 11,2062 43044 INITVEL2 BPL SET
029036,001175: 11,2063 22105 INITVEL3 # UN CALCULATED IN LAMBERT
029037,001176: 11,2064 03465 NORMSW
029038,001177:
029039,001178: # ROTATE RC INTO YC PLANE - SET UNIT NORMAL TO YC
029040,001179:
029041,001180: 11,2065 41575 VLOAD PUSH # (PL 6D)
029042,001181: 11,2066 02663 R2VEC # RC TO 6D (+29)
029043,001182: 11,2067 63246 ABVAL PDVL # RC TO MPAC, ABVAL(RC) (+29) TO OD (PL 2D)
029044,001183: 11,2070 46206 PUSH VPROJ # (PL 8D)
029045,001184: 11,2071 02674 UN
029046,001185: 11,2072 51352 VSL2 BVSU
029047,001186: 11,2073 74256 UNIT VXSC # (PL 0D)
029048,001187: 11,2074 77772 VSL1
029049,001188: 11,2075 02663 STORE R2VEC
029050,001189: 11,2076 67351 TLOAD SLOAD
029051,001190: 11,2077 24007 ZEROVEC
029052,001191: 11,2100 03617 ITCTR
029053,001192: 11,2101 77244 BPL VLOAD
029054,001193: 11,2102 22105 INITVEL3
029055,001194: 11,2103 02663 R2VEC
029056,001195: 11,2104 03472 STORE RTARG1
029057,001196: 11,2105 63345 INITVEL3 DLOAD PDVL # (PL 2D)
029058,001197: 11,2106 26007 MUEARTH # POSITIVE VALUE
029059,001198: 11,2107 02663 R2VEC
029060,001199: 11,2110 63256 UNIT PDVL # 2D = UNIT(R2VEC) (PL 8D)
029061,001200: 11,2111 02655 R1VEC
029062,001201: 11,2112 41456 UNIT PUSH # 8D = UNIT(R1VEC) (PL 14D)
029063,001202: 11,2113 57435 VXV VCOMP # -N = UNIT(R2VEC) X UNIT(R1VEC)
029064,001203: 11,2114 00003 2D
029065,001204: 11,2115 77606 PUSH # (PL 20D)
029066,001205: 11,2116 71350 LXA,1 DLOAD
Page 688 |
029068,001207: 11,2117 02776 RTX1
029069,001208: 11,2120 00023 18D
029070,001209: 11,2121 62040 BMN INCR,1
029071,001210: 11,2122 22124 +2
029072,001211: 11,2123 77767 DEC -8 B-14
029073,001212: 11,2124 67310 INCR,1 SLOAD
029074,001213: 11,2125 00012 10D
029075,001214: 11,2126 00047 X1
029076,001215: 11,2127 77230 BHIZ VLOAD # (PL 14D)
029077,001216: 11,2130 22132 +2
029078,001217: 11,2131 41476 VCOMP PUSH # (PL 20D)
029079,001218: 11,2132 77775 VLOAD # (PL 14D)
029080,001219: 11,2133 50235 VXV DOT # (PL 2D)
029081,001220: 11,2134 71244 BPL DLOAD # (PL 0D)
029082,001221: 11,2135 22137 INITVEL4
029083,001222: 11,2136 41476 DCOMP PUSH # (PL 2D)
029084,001223: 11,2137 67154 INITVEL4 LXA,2 SXA,2
029085,001224: 11,2140 00000 0D
029086,001225: 11,2141 02672 GEOMSGN
029087,001226:
029088,001227: # SET INPUTS UP FOR LAMBERT
029089,001228:
029090,001229: 11,2142 45150 LXA,1 CALL
029091,001230: 11,2143 02776 RTX1
029092,001231:
029093,001232: # OPERATE THE LAMBERT CONIC ROUTINE (COASTFLT SUBROUTINE)
029094,001233:
029095,001234: 11,2144 23765 SETITCTR # GO TO END OF BANK TO SET ITERCTR BEFORE
029096,001235: # CALLING LAMBERT (FOR REMANUFACTURE ONLY)
029097,001236:
029098,001237: # ARRIVED AT SOLUTION IS GOOD ENOUGH ACCORDING TO SLIGHTLY WIDER BOUNDS.
029099,001238:
029100,001239: 11,2145 77214 CLEAR VLOAD
029101,001240: 11,2146 00675 GUESSW
029102,001241: 11,2147 02744 VVEC
029103,001242:
029104,001243: # STORE CALCULATED INITIAL VELOCITY REQUIRED IN VIPRIME
029105,001244:
029106,001245: 11,2150 16337 STODL VIPRIME # INITIAL VELOCITY REQUIRED (+7)
029107,001246:
029108,001247: # IF NUMIT IS ZERO, CONTINUE AT INITVELB, OTHERWISE
029109,001248: # SET UP INPUTS FOR ENCKE INTEGRATION (INTEGRVS).
029110,001249:
029111,001250: 11,2151 02702 VTARGTAG
029112,001251: 11,2152 45030 BHIZ CALL
029113,001252: 11,2153 22230 INITVEL7
029114,001253: 11,2154 27414 INTSTALL
029115,001254: 11,2155 43135 SLOAD CLEAR
029116,001255: 11,2156 03000 RTX2
029117,001256: 11,2157 00263 MOONFLAG
029118,001257: 11,2160 43030 BHIZ SET
029119,001258: 11,2161 22163 INITVEL5
Page 689 |
029121,001260: 11,2162 00063 MOONFLAG
029122,001261: 11,2163 77775 INITVEL5 VLOAD
029123,001262: 11,2164 02323 RINIT
029124,001263: 11,2165 02655 STORE R1VEC
029125,001264: 11,2166 25535 STOVL RCV
029126,001265: 11,2167 02337 VIPRIME
029127,001266: 11,2170 15543 STODL VCV
029128,001267: 11,2171 03610 INTIME
029129,001268: 11,2172 01517 STORE TET
029130,001269: 11,2173 43015 DAD CLEAR
029131,001270: 11,2174 03452 DELLT4
029132,001271: 11,2175 01673 INTYPFLG
029133,001272: 11,2176 34041 STCALL TDEC1
029134,001273: 11,2177 27107 INTEGRVS
029135,001274: 11,2200 77775 VLOAD
029136,001275: 11,2201 00025 VATT1
029137,001276: 11,2202 02703 STORE VTARGET
029138,001277:
029139,001278: # IF ITERATION COUNTER (ITCTR) EQ NO. ITERATIONS (NUMIT), CONTINUE AT
029140,001279: # INITVELC, OTHERWISE REITERATE LAMBERT AND ENCKE
029141,001280:
029142,001281: 11,2203 63154 LXA,2 INCR,2
029143,001282: 11,2204 03616 ITCTR
029144,001283: 11,2205 00001 1D # INCREMENT ITCTR
029145,001284: 11,2206 55134 SXA,2 XSU,2
029146,001285: 11,2207 03616 ITCTR
029147,001286: 11,2210 02701 VTARGTAG
029148,001287: 11,2211 46135 SLOAD BHIZ # IF SP(MPAC) EQ 0, CONTINUE AT INITVELC
029149,001288: 11,2212 00050 X2
029150,001289: 11,2213 22225 INITVEL6
029151,001290:
029152,001291: # OFFSET CONIC TARGET VECTOR
029153,001292:
029154,001293: 11,2214 52375 VLOAD VSU
029155,001294: 11,2215 03472 RTARG1
029156,001295: 11,2216 00017 RATT1
029157,001296: 11,2217 77655 VAD
029158,001297: 11,2220 02663 R2VEC
029159,001298: 11,2221 16663 STODL R2VEC
029160,001299: 11,2222 03667 COZY4
029161,001300: 11,2223 77650 GOTO
029162,001301: 11,2224 22062 INITVEL2 # CONTINUE ITERATING AT INITVEL2
029163,001302:
029164,001303: # COMPUTE THE DELTA VELOCITY
029165,001304:
029166,001305: 11,2225 77775 INITVEL6 VLOAD
029167,001306: 11,2226 02663 R2VEC
029168,001307: 11,2227 03472 STORE RTARG1
029169,001308: 11,2230 52375 INITVEL7 VLOAD VSU
029170,001309: 11,2231 02337 VIPRIME
029171,001310: 11,2232 02331 VINIT
029172,001311: 11,2233 26366 STOVL DELVEET3 # DELVEET3 = VIPRIME-VINIT (+7)
Page 690 |
029174,001313: 11,2234 02703 VTARGET
029175,001314: 11,2235 03566 STORE VTPRIME
029176,001315: 11,2236 46135 SLOAD BHIZ
029177,001316: 11,2237 03000 RTX2
029178,001317: 11,2240 22255 INITVELX
029179,001318: 11,2241 70575 VLOAD VSR2
029180,001319: 11,2242 03566 VTPRIME
029181,001320: 11,2243 27566 STOVL VTPRIME
029182,001321: 11,2244 02337 VIPRIME
029183,001322: 11,2245 77742 VSR2
029184,001323: 11,2246 26337 STOVL VIPRIME
029185,001324: 11,2247 03472 RTARG1
029186,001325: 11,2250 77742 VSR2
029187,001326: 11,2251 27472 STOVL RTARG1
029188,001327: 11,2252 02366 DELVEET3
029189,001328: 11,2253 77742 VSR2
029190,001329: 11,2254 02366 STORE DELVEET3
029191,001330: 11,2255 70750 INITVELX LXA,1 DLOAD*
029192,001331: 11,2256 02776 RTX1
029193,001332: 11,2257 10003 MUTABLE -2,1
029194,001333: 11,2260 41206 PUSH DMP
029195,001334: 11,2261 02742 R1A
029196,001335: 11,2262 56342 SR1 DDV
029197,001336: 11,2263 00041 R1
029198,001337: 11,2264 17721 STODL MU/A
029199,001338: 11,2265 77661 SR
029200,001339: 11,2266 20607 6
029201,001340: 11,2267 03717 STORE MUASTEER
029202,001341: 11,2270 77201 SETPD VLOAD
029203,001342: 11,2271 00001 0D
029204,001343: 11,2272 03472 RTARG1
029205,001344: 11,2273 37444 STCALL RTARG
029206,001345: 11,2274 03463 NORMEX
029207,001346:
029208,001347: # ..... END OF INITVEL ROUTINE .....
029209,001348:
Page 691 |
029211,001350: # ..... MIDGIM .....
029212,001351:
029213,001352: # MOD NO. 0, BY WILLMAN, SUBROUTINE RENDGUID, LOG P34-P35, P74-P75
029214,001353: # REVISION 03, 17 FEB 67
029215,001354:
029216,001355: # IF THE ACTIVE VEHICLE IS DOING THE COMPUTATION, MIDGIM COMPUTES
029217,001356: # THE POSITIVE MIDDLE GIMBAL ANGLE OF THE ACTIVE VEHICLE TO THE INPUT
029218,001357: # DELTA VELOCITY VECTOR (0D IN PUSH LIST), OTHERWISE
029219,001358: # MIDGIM CONVERTS THE INPUT DELTA VELOCITY VECTOR FROM INERTIAL COORDIN-
029220,001359: # ATES TO LOCAL VERTICAL COORDINATES OF THE ACTIVE VEHICLE.
029221,001360:
029222,001361: # .. INPUTS ..
029223,001362:
029224,001363: # NAME MEANING UNITS/SCALING/MODE
029225,001364:
029226,001365: # AVFLAG INT FLAG - 0 IS CSM ACTIVE, 1 IS LEM ACTIVE BIT
029227,001366: # RINIT ACTIVE VEHICLE RADIUS VECTOR METERS/CSEC (+7) VT
029228,001367: # VINIT ACTIVE VEHICLE VELOCITY VECTOR METERS/CSEC (+7) VT
029229,001368: # 0D(PL) ACTIVE VEHICLE DELTA VELOCITY VECTOR METERS/CSEC (+7) VT
029230,001369:
029231,001370: # .. OUTPUTS ..
029232,001371:
029233,001372: # NAME MEANING UNITS/SCALING/MODE
029234,001373:
029235,001374: # +MGA + MIDDLE GIMBAL ANGLE REVOLUTIONS (+0) DP
029236,001375: # DELVLVC DELTA VELOCITY VECTOR IN LV COORD. METERS/CSEC (+7) VT
029237,001376: # MGLVFLAG INT FLAG - 0 IS +MGA COMPUTED, 1 IS DELVLVC COMP. - BIT
029238,001377:
029239,001378: # .. CALLING SEQUENCE ..
029240,001379:
029241,001380: # L CALL
029242,001381: # L+1 MIDGIM
029243,001382: # L+2 (RETURN - ALWAYS)
029244,001383:
029245,001384: # .. NO SUBROUTINES CALLED ..
029246,001385:
029247,001386: # .. DEBRIS - ERASEABLE TEMPORARY USAGE
029248,001387:
029249,001388: # A,Q,L, PUSH LIST, MPAC.
029250,001389:
029251,001390: # .. ALARMS - NONE ..
029252,001391:
Page 692 |
029254,001393: # MIDDLE GIMBAL ANGLE COMPUTATION.
029255,001394:
029256,001395: 06,2000 SETLOC MIDDGIM
029257,001396: 06,2000 BANK
029258,001397:
029259,001398: 06,3715 COUNT* $$/MIDG
029260,001399:
029261,001400: 06,3715 20000 00000 HALFREV 2DEC 1 B-1
029262,001401:
029263,001402: 06,3717 53575 GET+MGA VLOAD UNIT # (PL 0D) V (+7) TO MPAC, UNITIZE UV (+1)
029264,001403: 06,3720 77656 UNIT
029265,001404: 06,3721 72441 DOT SL1 # DOT UV WITH Y(STABLE MEMBER) AND RESCALE
029266,001405: 06,3722 01742 REFSMMAT +6 # FROM +2 TO +1 FOR ASIN ROUTINE
029267,001406: 06,3723 51136 ARCSIN BPL
029268,001407: 06,3724 15730 SETMGA
029269,001408: 06,3725 43215 DAD DAD # CONVERT -MGA TO +MGA BY
029270,001409: 06,3726 15716 HALFREV # ADDING ONE REVOLUTION
029271,001410: 06,3727 15716 HALFREV
029272,001411: 06,3730 02253 SETMGA STORE +MGA
029273,001412: 06,3731 43414 CLR RVQ # CLEAR MGLVFLAG TO INDICATE +MGA CALC
029274,001413: 06,3732 02675 MGLVFLAG # AND EXIT
029275,001414: 06,3733 53575 GET.LVC VLOAD UNIT # (PL 6D) R (+29) IN MPAC, UNITIZE UR
029276,001415: 06,3734 02323 RINIT
029277,001416: 06,3735 77676 VCOMP # U(-R)
029278,001417: 06,3736 00023 STORE 18D # U(-R) TO 18D
029279,001418: 06,3737 53435 VXV UNIT # U(-R)*V EQ V*U(R), U(V*R)
029280,001419: 06,3740 02331 VINIT
029281,001420: 06,3741 00015 STORE 12D # U(V*R) TO 12D
029282,001421: 06,3742 53435 VXV UNIT # U(V*R)*U(-R), U((V*R)*(-R))
029283,001422: 06,3743 00023 18D
029284,001423: 06,3744 24007 STOVL 6D # TRANSFORMATION MATRIX IS IN 6D (+1)
029285,001424: 06,3745 00001 0D # DELTA V (+7) IN 0D
029286,001425: 06,3746 76521 MXV VSL1 # CONVERT FROM INER COOR TO LV COOR (+8)
029287,001426: 06,3747 00007 6D # AND SCALE +7 IN MPAC
029288,001427: 06,3750 03434 STORE DELVLVC # STORE IN DELVLVC (+7)
029289,001428: 06,3751 43414 SET RVQ # SET MGLVFLAG TO INDICATE LVC CALC
029290,001429: 06,3752 02475 MGLVFLAG # AND EXIT
029291,001430:
029292,001431: # ..... END OF MIDGIM ROUTINE .....
029293,001432:
Page 693 |
029295,001434: 10,2000 BANK 10
029296,001435: 10,2000 SETLOC SLCTMU
029297,001436: 10,2000 BANK
029298,001437: 10,2000 COUNT* $$/MIDG
029299,001438:
029300,001439: 10,2000 77160 SELECTMU AXC,1 AXT,2
029301,001440: 10,2001 00002 2D
029302,001441: 10,2002 00000 0D
029303,001442: 10,2003 77614 BOFF
029304,001443: 10,2004 04343 CMOONFLG
029305,001444: 10,2005 20011 SETMUER
029306,001445: 10,2006 77160 AXC,1 AXT,2
029307,001446: 10,2007 00012 10D
029308,001447: 10,2010 00002 2D
029309,001448: 10,2011 66143 SETMUER DLOAD* SXA,1
029310,001449: 10,2012 10011 MUTABLE +4,1
029311,001450: 10,2013 02776 RTX1
029312,001451: 10,2014 22317 STODL* RTSR1/MU
029313,001452: 10,2015 10003 MUTABLE -2,1
029314,001453: 10,2016 54214 BOFF SR
029315,001454: 10,2017 04343 CMOONFLG
029316,001455: 10,2020 20022 RTRNMU
029317,001456: 10,2021 20607 6D
029318,001457: 10,2022 02321 RTRNMU STORE RTMU
029319,001458: 10,2023 43134 SXA,2 CLEAR
029320,001459: 10,2024 02777 RTX2
029321,001460: 10,2025 01271 FINALFLG
029322,001461: 10,2026 77650 GOTO
029323,001462: 10,2027 73606 VN1645
029324,001463:
Page 694 |
029326,001465: # ..... PERIAPO .....
029327,001466:
029328,001467: # MOD NO -1 LOG SECTION - P34-P35, P74-P75
029329,001468: # MOD BY WHITE.P DATE 18JAN68
029330,001469:
029331,001470: # FUNCTIONAL DESCRIPTION
029332,001471:
029333,001472: # THIS SUBROUTINE COMPUTES THE TWO BODY APOCENTER AND PERICENTER
029334,001473: # ALTITUDES GIVEN THE POSITION AND VELOCITY VECTORS FOR A POINT ON
029335,001474: # THE TRAJECTORY AND THE PRIMARY BODY.
029336,001475:
029337,001476: # SETRAD IS CALLED TO DETERMINE THE RADIUS OF THE PRIMARY BODY.
029338,001477:
029339,001478: # APSIDES IS CALLED TO SOLVE FOR THE TWO BODY RADII OF APOCENTER AND
029340,001479: # PERICENTER AND THE ECCENTRICITY OF THE TRAJECTORY.
029341,001480:
029342,001481: # CALLING SEQUENCE
029343,001482:
029344,001483: # L CALL
029345,001484: # L+1 PERIAPO
029346,001485: # L+2 (RETURN - ALWAYS)
029347,001486:
029348,001487: # INPUT
029349,001488:
029350,001489: # (1) RVEC POSITION VECTOR IN METERS
029351,001490: # SCALE FACTOR - EARTH +29, MOON +27
029352,001491: # (2) VVEC VELOCITY VECTOR IN METERS/CENTISECOND
029353,001492: # SCALE FACTOR - EARTH +7, MOON +5
029354,001493: # (3) X1 PRIMARY BODY INDICATOR
029355,001494: # EARTH -2, MOON -10
029356,001495:
029357,001496: # OUTPUT
029358,001497:
029359,001498: # (1) 2D APOCENTER RADIUS IN METERS
029360,001499: # SCALE FACTOR - EARTH +29, MOON +27
029361,001500: # (2) 4D APOCENTER ALTITUDE IN METERS
029362,001501: # SCALE FACTOR - EARTH +29, MOON P27
029363,001502: # (3) 6D PERICENTER RADIUS IN METERS
029364,001503: # SCALE FACTOR - EARTH +29, MOON +27
029365,001504: # (4) 8D PERICENTER ALTITUDE IN METERS
029366,001505: # SCALE FACTOR - EARTH +29, MOON +27
029367,001506: # (5) ECC ECCENTRICITY OF CONIC TRAJECTORY
029368,001507: # SCALE FACTOR - +3
029369,001508: # (6) XXXALT RADIUS OF THE PRIMARY BODY IN METERS
029370,001509: # SCALE FACTOR - EARTH +29, MOON +27
029371,001510: # (7) PUSHLOC EQUALS 10D
029372,001511:
029373,001512: # SUBROUTINES USED
029374,001513:
029375,001514: # SETRAD
Page 695 |
029377,001516: # APSIDES
029378,001517:
029379,001518: 23,2000 SETLOC APOPERI
029380,001519: 23,2000 BANK
029381,001520:
029382,001521: 23,2314 COUNT* $$/PERAP
029383,001522:
029384,001523: 23,2314 00302 17755 RPAD 2DEC 6373338 B-29 # STANDARD RADIUS OF PAD 37-B.
029385,001524: # = 20 909 901.57 FT
029386,001525:
029387,001526: 23,2316 53754 PERIAPO1 LXA,2 VSR*
029388,001527: 23,2317 02777 RTX2
029389,001528: 23,2320 57176 0,2
029390,001529: 23,2321 26744 STOVL VVEC
029391,001530: 23,2322 53750 LXA,1 VSR*
029392,001531: 23,2323 02776 RTX1
029393,001532: 23,2324 57176 0,2
029394,001533: 23,2325 02655 STORE RVEC
029395,001534: 23,2326 45020 PERIAPO STQ CALL
029396,001535: 23,2327 03463 NORMEX
029397,001536: 23,2330 46344 SETRAD
029398,001537: 23,2331 37671 STCALL XXXALT
029399,001538: 23,2332 25674 APSIDES
029400,001539: 23,2333 41401 SETPD PUSH # 2D = APOCENTER RADIUS B29 OR B27
029401,001540: 23,2334 00003 2D
029402,001541: 23,2335 65225 DSU PDDL # 4D = APOGEE ALTITUDE B29 OR B27
029403,001542: 23,2336 03671 XXXALT
029404,001543: 23,2337 00001 0D
029405,001544: 23,2340 45206 PUSH DSU # 6D = PERICENTER RADIUS B29 OR B27
029406,001545: 23,2341 03671 XXXALT
029407,001546: 23,2342 52006 PUSH GOTO # 8D = PERIGEE ALTITUDE B29 OR B27
029408,001547: 23,2343 03463 NORMEX
029409,001548:
Page 696 |
029411,001550: # SETRAD
029412,001551:
029413,001552: 23,2344 41545 SETRAD DLOAD PUSH
029414,001553: 23,2345 06315 RPAD
029415,001554: 23,2346 63130 SXA,1 INCR,2
029416,001555: 23,2347 00047 X2
029417,001556: 23,2350 00002 2D
029418,001557: 23,2351 46135 SLOAD BHIZ
029419,001558: 23,2352 00050 X2
029420,001559: 23,2353 46357 SETRADX
029421,001560: 23,2354 51575 VLOAD ABVAL
029422,001561: 23,2355 02023 RLS
029423,001562: 23,2356 77725 PDDL
029424,001563: 23,2357 43545 SETRADX DLOAD RVQ
029425,001564:
Page 697 |
029427,001566: # PRECSET
029428,001567:
029429,001568: 23,2360 77620 PRECSET STQ
029430,001569: 23,2361 03463 NORMEX
029431,001570: 23,2362 37574 STCALL TDEC2
029432,001571: 23,2363 27057 LEMPREC
029433,001572: 23,2364 77624 CALL
029434,001573: 23,2365 46376 LEMSTORE
029435,001574: 23,2366 77745 DLOAD
029436,001575: 23,2367 03574 TDEC2
029437,001576: 23,2370 34041 STCALL TDEC1
029438,001577: 23,2371 27043 CSMPREC
029439,001578: 23,2372 77624 CALL
029440,001579: 23,2373 46406 CSMSTORE
029441,001580: 23,2374 77650 GOTO
029442,001581: 23,2375 03463 NORMEX
029443,001582: 23,2376 43175 LEMSTORE VLOAD BOFF
029444,001583: 23,2377 00001 RATT
029445,001584: 23,2400 01352 AVFLAG
029446,001585: 23,2401 46412 PASSIVE
029447,001586: 23,2402 27536 ACTIVE STOVL RACT3
029448,001587: 23,2403 00007 VATT
029449,001588: 23,2404 03544 STORE VACT3
029450,001589: 23,2405 77616 RVQ
029451,001590: 23,2406 43175 CSMSTORE VLOAD BOFF
029452,001591: 23,2407 00001 RATT
029453,001592: 23,2410 01352 AVFLAG
029454,001593: 23,2411 46402 ACTIVE
029455,001594: 23,2412 27552 PASSIVE STOVL RPASS3
029456,001595: 23,2413 00007 VATT
029457,001596: 23,2414 03560 STORE VPASS3
029458,001597: 23,2415 77616 RVQ
029459,001598:
Page 698 |
029461,001600: # VECSHIFT
029462,001601:
029463,001602: 23,2416 53754 VECSHIFT LXA,2 VSR*
029464,001603: 23,2417 02777 RTX2
029465,001604: 23,2420 57176 0,2
029466,001605: 23,2421 63350 LXA,1 PDVL
029467,001606: 23,2422 02776 RTX1
029468,001607: 23,2423 63257 VSR* PDVL
029469,001608: 23,2424 57176 0,2
029470,001609: 23,2425 77616 RVQ
029471,001610:
Page 699 |
029473,001612: # SHIFTR1
029474,001613:
029475,001614: 23,2426 53754 SHIFTR1 LXA,2 SL*
029476,001615: 23,2427 02777 RTX2
029477,001616: 23,2430 57576 0,2
029478,001617: 23,2431 77616 RVQ
029479,001618:
Page 700 |
029481,001620: # PROGRAM DESCRIPTION
029482,001621: # SUBROUTINE NAME R36 OUT-OF-PLANE RENDEZVOUS ROUTINE
029483,001622: # MOD NO. 0 DATE 22 DECEMBER 67
029484,001623: # MOD BY N.M.NEVILLE LOG SECTION EXTENDED VERBS
029485,001624: # FUNCTIONAL DESCRIPTION
029486,001625:
029487,001626: # TO DISPLAY AT ASTRONAUT REQUEST LGC CALCULATED RENDEZVOUS
029488,001627: # OUT-OF-PLANE PARAMETERS (Y, YDOT, PSI). (REQUESTED BY DSKY).
029489,001628:
029490,001629: # CALLING SEQUENCE
029491,001630:
029492,001631: # ASTRONAUT REQUEST THROUGH DSKY V 90 E
029493,001632:
029494,001633: # SUBROUTINES CALLED
029495,001634:
029496,001635: # EXDSPRET
029497,001636: # GOMARKF
029498,001637: # CSMPREC
029499,001638: # LEMPREC
029500,001639: # SGNAGREE
029501,001640: # LOADTIME
029502,001641:
029503,001642: # NORMAL EXIT MODES
029504,001643:
029505,001644: # ASTRONAUT REQUEST THROUGH DSKY TO TERMINATE PROGRAM V 34 E
029506,001645:
029507,001646: # ALARM OR ABORT EXIT MODES
029508,001647:
029509,001648: # NONE
029510,001649:
029511,001650: # OUTPUT
029512,001651:
029513,001652: # DECIMAL DISPLAY OF TIME, Y, YDOT AND PSI
029514,001653:
029515,001654: # DISPLAYED VALUES Y, YDOT, AND PSI, ARE STORED IN ERASABLE
029516,001655: # REGISTERS RANGE, RRATE AND RTHETA RESPECTIVELY.
029517,001656:
029518,001657: # ERASABLE INITIALIZATION REQUIRED
029519,001658:
029520,001659: # CSM AND LEM STATE VECTORS
029521,001660:
029522,001661: # DEBRIS
029523,001662:
029524,001663: # CENTRALS A,Q,L
029525,001664: # OTHER THOSE USED BY THE ABOVE LISTED SUBROUTINES
029526,001665:
029527,001666: 20,2115 BANK 20
029528,001667: 04,2000 SETLOC R36LM
029529,001668: 04,2000 BANK
Page 701 |
029531,001670: 04,2656 E4,1606 EBANK= RPASS36
029532,001671:
029533,001672: 04,2656 COUNT* $$/R36
029534,001673:
029535,001674: 04,2656 22007 R36 ZL
029536,001675: 04,2657 34755 CAF ZERO # SET TIME OF EVENT TO ZERO FOR FIRST
029537,001676: 04,2660 53052 DXCH DSPTEMX # DISPLAY
029538,001677: 04,2661 33011 CAF V06N16N
029539,001678: 04,2662 04616 TC BANKCALL
029540,001679: 04,2663 20334 CADR GOMARKF
029541,001680: 04,2664 15472 TCF ENDEXT # TERMINATE
029542,001681: 04,2665 12667 TCF +2 # PROCEED
029543,001682: 04,2666 12661 TCF -5 # RECYCLE FOR ASTRONAUT INPUT TIME
029544,001683: 04,2667 53052 DXCH DSPTEMX
029545,001684: 04,2670 00006 EXTEND
029546,001685: 04,2671 13000 BZF LREGCHK # A-REG ZERO GOTO CHECK L-REG FOR ZERO
029547,001686: 04,2672 52155 ASTROTIM DXCH MPAC # A-REG NON-ZERO, TIME = ASTRO INPUT TIME
029548,001687: 04,2673 06037 TC INTPRET
029549,001688: 04,2674 77634 RTB
029550,001689: 04,2675 21716 DPMODE
029551,001690: 04,2676 34041 R36INT STCALL TDEC1
029552,001691: 04,2677 27043 OTHPREC
029553,001692: 04,2700 63375 VLOAD PDVL
029554,001693: 04,2701 00007 VATT
029555,001694: 04,2702 00001 RATT # -
029556,001695: 04,2703 02207 STORE RPASS36 # R
029557,001696: 04,2704 63256 UNIT PDVL # P
029558,001697: 04,2705 53435 VXV UNIT
029559,001698: 04,2706 77626 STADR # -
029560,001699: 04,2707 61562 STODL UNP36 # U
029561,001700: 04,2710 00015 TAT
029562,001701: 04,2711 34041 STCALL TDEC1
029563,001702: 04,2712 27057 THISPREC
029564,001703: 04,2713 63375 VLOAD PDVL # -
029565,001704: 04,2714 00007 VATT # VELOCITY VECTOR V 00D
029566,001705: 04,2715 00001 RATT # A
029567,001706: 04,2716 77725 PDDL
029568,001707: 04,2717 00015 TAT # SAVE TIME IN LOCATION 30D FOR REDISPLAY
029569,001708: 04,2720 24037 STOVL 30D # -
029570,001709: 04,2721 41406 PUSH PUSH # POSITION VECTOR R IN 06D AND 12D
029571,001710: 04,2722 63245 BVSU PDVL # A - -
029572,001711: 04,2723 02207 RPASS36 # LINE OF SIGHT VECTOR R - R 12D
029573,001712: 04,2724 72441 DOT SL1 # P A
029574,001713: 04,2725 02215 UNP36 # - -
029575,001714: 04,2726 26201 STOVL RANGE # Y = U . R
029576,001715: 04,2727 00001 00D # A
029577,001716: 04,2730 72441 DOT SL1
029578,001717: 04,2731 02215 UNP36 # . - -
029579,001718: 04,2732 26203 STOVL RRATE # Y = U . V
029580,001719: 04,2733 00007 06D # - A -
Page 702 |
029582,001721: 04,2734 41456 UNIT PUSH # U = UNIT ( R ) 18D
029583,001722: 04,2735 47235 VXV VXV # RA A
029584,001723: 04,2736 00001 00D # - - - -
029585,001724: 04,2737 00023 18D # (U X V ) X U = U
029586,001725: 04,2740 53552 VSL2 UNIT # RA A RA A
029587,001726: 04,2741 77656 UNIT
029588,001727: 04,2742 24001 STOVL 00D # UNIT HORIZONTAL IN FORWARD DIR. 00D
029589,001728: 04,2743 00023 18D
029590,001729: 04,2744 74241 DOT VXSC # -
029591,001730: 04,2745 00015 12D # U
029592,001731: 04,2746 77752 VSL2 # L
029593,001732: 04,2747 53445 BVSU UNIT
029594,001733: 04,2750 77656 UNIT
029595,001734: 04,2751 50206 PUSH DOT # LOS PROJECTED INTO HORIZONTAL 12D
029596,001735: 04,2752 00001 00D # PLANE
029597,001736: 04,2753 65552 SL1 ARCCOS # - -
029598,001737: 04,2754 26205 STOVL RTHETA # PSI = ARCCOS(U . U )
029599,001738: 04,2755 50235 VXV DOT # A L
029600,001739: 04,2756 00001 00D
029601,001740: 04,2757 71244 BPL DLOAD
029602,001741: 04,2760 10765 R36TAG2
029603,001742: 04,2761 24020 LODPMAX
029604,001743: 04,2762 77625 DSU
029605,001744: 04,2763 02205 RTHETA
029606,001745: 04,2764 02205 STORE RTHETA
029607,001746: 04,2765 47145 R36TAG2 DLOAD RTB
029608,001747: 04,2766 00037 30D
029609,001748: 04,2767 21612 SGNAGREE
029610,001749: 04,2770 01052 STORE DSPTEMX
029611,001750: 04,2771 77776 EXIT
029612,001751: 04,2772 33012 CAF V06N90N # DISPLAY Y, YDOT, AND PSI
029613,001752: 04,2773 04616 TC BANKCALL
029614,001753: 04,2774 20334 CADR GOMARKF
029615,001754: 04,2775 15472 TCF ENDEXT # TERMINATE
029616,001755: 04,2776 15472 TCF ENDEXT # PROCEED, END OF PROGRAM
029617,001756: 04,2777 12661 TCF R36 +3 # REDISPLAY OUTPUT
029618,001757: 04,3000 56001 LREGCHK XCH L
029619,001758: 04,3001 00006 EXTEND
029620,001759: 04,3002 13005 BZF ENTTIM2 # L-REG ZERO, SET TIME = PRESENT TIME
029621,001760: 04,3003 56001 XCH L # L-REG NON ZERO, TIME = ASTRO INPUT TIME
029622,001761: 04,3004 12672 TCF ASTROTIM
029623,001762: 04,3005 06037 ENTTIM2 TC INTPRET
029624,001763: 04,3006 52034 RTB GOTO
029625,001764: 04,3007 21573 LOADTIME
029626,001765: 04,3010 10676 R36INT
029627,001766: 04,3011 01420 V06N16N VN 00616
029628,001767: 04,3012 01532 V06N90N VN 00690
End of include-file P34-P35,_P74-P75.agc. Parent file is MAIN.agc