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