Source Code
These source-code files are part of a reconstructed copy of Comanche 45, the
second release, though not the final mission release, of the Apollo 10
Command Module (CM) Apollo Guidance Computer (AGC) software. Comanche 45 was
preceded by Comanche 44 and followed by Comanche 45/2 (the flown release). The reconstruction
is believed to be exactly accurate, but in the absence of an actual Apollo-era
listing of Comanche 45, some explanation of the reconstruction process is needed
to insure confidence in that accuracy.
The starting point was the source code of Comanche 44 (itself previously accurately reconstructed). Comanche 44 source code was then modified by incorporating changes known from contemporary documentation to have been made between revisions 44 and 45. The now-reconstructed Comanche 45 source code was verified by assembling it and checking that the assembled code had the expected known-correct memory-bank checksums. Note that page numbers in the reconstructed code tend to match those in the Comanche 55, the most-similar revision of Comanche for which we have access to an actual non-reconstructed hardcopy; the source code would likely have different page numbers in a contemporary Comanche 45 listing. Annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change relative to Comanche 44. Here's a guide to the Apollo documentation referenced in those annotations:
Comments expected to have been present in the original source code are prefixed with a single '#' symbol, whereas comments added later are prefixed by "##" or "###". Report any errors noted by creating an issue report at the Virtual AGC Project's GitHub repository. |
019734,000002: ## Copyright: Public domain.
019735,000003: ## Filename: P34-P35,_P74-P75.agc
019736,000004: ## Purpose: A section of Comanche revision 045.
019737,000005: ## It is part of the reconstructed source code for the
019738,000006: ## second release of the flight software for the Command
019739,000007: ## Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
019740,000008: ## The code has been recreated from a copy of Comanche 055. It
019741,000009: ## has been adapted such that the resulting bugger words
019742,000010: ## exactly match those specified for Comanche 45 in NASA drawing
019743,000011: ## 2021153D, which gives relatively high confidence that the
019744,000012: ## reconstruction is correct.
019745,000013: ## Assembler: yaYUL
019746,000014: ## Contact: Ron Burkey <info@sandroid.org>.
019747,000015: ## Website: www.ibiblio.org/apollo/index.html
019748,000016: ## Mod history: 2020-12-06 MAS Created from Comanche 44.
019749,000017:
Page 460 |
019751,000019: # TRANSFER PHASE INITIATION (TPI) PROGRAMS (P34 AND P74)
019752,000020: # MOD NO -1 LOG SECTION - P32-P35, P72-P75
019753,000021: # MOD BY WHITE.P DATE 1JUNE67
019754,000022:
019755,000023: # PURPOSE
019756,000024: # (1) TO CALCULATE THE REQUIRED DELTA V AND OTHER INITIAL CONDITIONS
019757,000025: # REQUIRED BY THE ACTIVE VEHICLE FOR EXECUTION OF THE TRANSFER
019758,000026: # PHASE INITIATION (TPI) MANEUVER, GIVEN -
019759,000027: # (A) TIME OF IGNITION TIG (TPI) OR THE ELEVATION ANGLE (E) OF
019760,000028: # THE ACTIVE/PASSIVE VEHICLE LOS AT TIG (TPI).
019761,000029: # (B) CENTRAL ANGLE OF TRANSFER (CENTANG) FROM TIG (TPI) TO
019762,000030: # INTERCEPT TIME (TIG (TPF)).
019763,000031: # (2) TO CALCULATE TIG (TPI) GIVEN E OR E GIVEN TIG (TPI).
019764,000032: # (3) TO CALCULATE THESE PARAMETERS BASED UPON MANEUVER DATA
019765,000033: # APPROVED AND KEYED INTO THE DSKY BY THE ASTRONAUT.
019766,000034: # (4) TO DISPLAY TO THE ASTRONAUT AND THE GROUND CERTAIN DEPENDENT
019767,000035: # VARIABLES ASSOCIATED WITH THE MANEUVER FOR APPROVAL BY THE
019768,000036: # ASTRONAUT/GROUND.
019769,000037: # (5) TO STORE THE TPI TARGET PARAMETERS FOR USE BY THE DESIRED
019770,000038: # THRUSTING PROGRAM.
019771,000039:
019772,000040: # ASSUMPTIONS
019773,000041: # (1) LM ONLY - THIS PROGRAM IS BASED UPON PREVIOUS COMPLETION OF
019774,000042: # THE CONSTANT DELTA ALTITUDE (CDH) PROGRAM (P33/P73).
019775,000043: # THEREFORE -
019776,000044: # (A) AT A SELECTED TPI TIME (NOW IN STORAGE) THE LINE OF SIGHT
019777,000045: # BETWEEN THE ACTIVE AND PASSIVE VEHICLES WAS SELECTED TO BE
019778,000046: # A PRESCRIBED ANGLE (E) (NOW IN STORAGE) FROM THE
019779,000047: # HORIZONTAL PLANE DEFINED BY THE ACTIVE VEHICLE POSITION.
019780,000048: # (B) THE TIME BETWEEN CDH IGNITION AND TPI IGNITION WAS
019781,000049: # COMPUTED TO BE GREATER THAN 10 MINUTES.
019782,000050: # (C) THE VARIATION OF THE ALTITUDE DIFFERENCE BETWEEN THE
019783,000051: # ORBITS WAS MINIMIZED.
019784,000052: # (D) THE PERICENTER ALTITUDES OF ORBITS FOLLOWING CSI AND
019785,000053: # CDH WERE COMPUTED TO BE GREATER THAN 35,000 FT FOR LUNAR
Page 461 |
019787,000055: # ORBIT OR 85 NM FOR EARTH ORBIT.
019788,000056: # (E) THE CSI AND CDH MANEUVERS WERE ASSUMED TO BE PARALLEL TO
019789,000057: # THE PLANE OF THE PASSIVE VEHICLE ORBIT. HOWEVER, CREW
019790,000058: # MODIFICATION OF DELTA V (LV) COMPONENTS MAY HAVE RESULTED
019791,000059: # IN AN OUT-OF-PLANE MANEUVER.
019792,000060: # (2) STATE VECTOR UPDATED BY P27 ARE DISALLOWED DURING AUTOMATIC
019793,000061: # STATE VECTOR UPDATING INITIATED BY P20 (SEE ASSUMPTION (4)).
019794,000062: # (3) THIS PROGRAM MUST BE DONE OVER A TRACKING STATION FOR REAL
019795,000063: # TIME GROUND PARTICIPATION IN DATA INPUT AND OUTPUT. COMPUTED
019796,000064: # VARIABLES MAY BE STORED FOR LATER VERIFICATION BY THE GROUND.
019797,000065: # THESE STORAGE CAPABILITIES ARE LIMITED ONLY TO THE PARAMETERS
019798,000066: # FOR ONE THRUSTING MANEUVER AT A TIME EXCEPT FOR CONCENTRIC
019799,000067: # FLIGHT PLAN MANEUVER SEQUENCES.
019800,000068: # (4) THE RENDEZVOUS RADAR MAY OR MAY NOT BE USED TO UPDATE THE LM
019801,000069: # OR CSM STATE VECTORS FOR THIS PROGRAM. IF RADAR USE IS
019802,000070: # DESIRED THE RADAR WAS TURNED ON AND LOCKED ON THE CSM BY
019803,000071: # PREVIOUS SELECTION OF P20. RADAR SIGHTING MARKS WILL BE MADE
019804,000072: # AUTOMATICALLY APPROXIMATELY ONCE A MINUTE WHEN ENABLED BY THE
019805,000073: # TRACK AND UPDATE FLAGS (SEE P20). THE RENDEZVOUS TRACKING
019806,000074: # MARK COUNTER IS ZEROED BY THE SELECTION OF P20 AND AFTER EACH
019807,000075: # THRUSTING MANEUVER.
019808,000076: # (5) THE ISS NEED NOT BE ON TO COMPLETE THIS PROGRAM.
019809,000077: # (6) THE OPERATION OF THE PROGRAM UTILIZES THE FOLLOWING FLAGS -
019810,000078:
019811,000079: # ACTIVE VEHICLE FLAG - DESIGNATES THE VEHICLE WHICH IS
019812,000080: # DOING RENDEZVOUS THRUSTING MANEUVERS TO THE PROGRAM WHICH
019813,000081: # CALCULATES THE MANEUVER PARAMETERS. SET AT THE START OF
019814,000082: # EACH RENDEZVOUS PRE-THRUSTING PROGRAM.
019815,000083:
019816,000084: # FINAL FLAG - SELECTS FINAL PROGRAM DISPLAYS AFTER CREW HAS
019817,000085: # SELECTED THE FINAL MANEUVER COMPUTATION CYCLE.
019818,000086:
019819,000087: # EXTERNAL DELTA V FLAG - DESIGNATES THE TYPE OF STEERING
019820,000088: # REQUIRED FOR EXECUTION OF THIS MANEUVER BY THE THRUSTING
019821,000089: # PROGRAM SELECTED AFTER COMPLETION OF THIS PROGRAM.
019822,000090:
019823,000091: # (7) ONCE THE PARAMETWRS REQUIRED FOR COMPUTION OF THE MANEUVER
019824,000092: # HAVE BEEN COMPLETELY SPECIFIED, THE VALUE OF THE ACTIVE
019825,000093: # VEHICLE CENTRAL ANGLE OF TRANSFER IS COMPUTED AND STORED.
019826,000094: # THIS NUMBER WILL BE AVAILABLE FOR DISPLAY TO THE ASTRONAUT
019827,000095: # THROUGH THE USE OF V06N52.
019828,000096:
019829,000097: # THE ASTRONAUT WILL CALL THIS DISPLAY TO VERIFY THAT THE
019830,000098: # CENTRAL ANGLE OF TRANSFER OF THE ACTIVE VEHICLE IS NOT WITHIN
Page 462 |
019832,000100: # 170 TO 190 DEGREES. IF THE ANGLE IS WITHIN THIS ZONE THE
019833,000101: # ASTRONAUT SHOULD REASSESS THE INPUT TARGETING PARAMETERS BASED
019834,000102: # UPON DELTA V AND EXPECTED MANEUVER TIME.
019835,000103: # (8) THIS PROGRAM IS SELECTED BY THE ASTRONAUT BY DSKY ENTRY -
019836,000104:
019837,000105: # P34 IF THIS VEHICLE IS ACTIVE VEHICLE.
019838,000106:
019839,000107: # P74 IF THIS VEHICLE IS PASSIVE VEHICLE.
019840,000108:
019841,000109: # INPUT
019842,000110: # (1) TTPI TIME OF THE TPI MANEUVER
019843,000111: # (2) ELEV DESIRED LOS ANGLE AT TPI
019844,000112: # (3) CENTANG ORBITAL CENTRAL ANGLE OF THE PASSIVE VEHICLE DURING
019845,000113: # TRANSFER FROM TPI TO TIME OF INTERCEPT
019846,000114:
019847,000115: # OUTPUT
019848,000116: # (1) TRKMKCNT NUMBER OF MARKS
019849,000117: # (2) TTOGO TIME TO GO
019850,000118: # (3) +MGA MIDDLE GIMBAL ANGLE
019851,000119: # (4) TTPI COMPUTED TIME OF TPI MANEUVER
019852,000120: # OR
019853,000121: # ELEV COMPUTED LOS ANGLE AT TPI
019854,000122: # (5) POSTTPI PERIGEE ALTITUDE AFTER THE TPI MANEUVER
019855,000123: # (6) DELVTPI MAGNITUDE OF DELTA V AT TPI
019856,000124: # (7) DELVTPF MAGNITUDE OF DELTA V AT INTERCEPT
019857,000125: # (8) DVLOS DELTA VELOCITY AT TPI - LINE OF SIGHT
019858,000126: # (9) DELVLVC DELTA VELOCITY AT TPI - LOCAL VERTICAL COORDINATES
019859,000127:
019860,000128: # DOWNLINK
019861,000129: # (1) TTPI TIME OF THE TPI MANEUVER
019862,000130: # (2) TIG TIME OF THE TPI MANEUVER
019863,000131: # (3) ELEV DESIRED LOS ANGLE AT TPI
019864,000132: # (4) CENTANG ORBITAL CENTRAL ANGLE OF THE PASSIVE VEHICLE DURING
019865,000133: # TRANSFER FROM TPI TO TIME OF INTERCEPT
019866,000134: # (5) DELVEET3 DELTA VELOCITY AT TPI - REFERENCE COORDINATES
019867,000135: # (6) TPASS4 TIME OF INTERCEPT
019868,000136:
019869,000137: # COMMUNICATION TO THRUSTING PROGRAMS
019870,000138: # (1) TIG TIME OF THE TPI MANEUVER
019871,000139: # (2) RTARG OFFSET TARGET POSITION
019872,000140: # (3) TPASS4 TIME OF INTERCEPT
019873,000141: # (4) XDELVFLG RESET TO INDICATE LAMBERT (AIMPOINT) VG COMPUTATION
019874,000142:
019875,000143: # SUBROUTINES USED
019876,000144: # AVFLAGA
Page 463 |
019878,000146: # AVFLAGP
019879,000147: # VNPOOH
019880,000148: # DISPLAYE
019881,000149: # SELECTMU
019882,000150: # PRECSET
019883,000151: # S33/34.1
019884,000152: # ALARM
019885,000153: # BANKCALL
019886,000154: # GOFLASH
019887,000155: # GOTOPOOH
019888,000156: # TIMETHET
019889,000157: # S34/35.2
019890,000158: # PERIAPO1
019891,000159: # SHIFTR1
019892,000160: # S34/35.5
019893,000161: # VN1645
019894,000162:
019895,000163: 35,2000 SETLOC CSI/CDH
019896,000164: 35,2000 BANK
019897,000165: 35,2000 E4,1770 EBANK= SUBEXIT
019898,000166: 35,2000 COUNT 35/P3474
019899,000167:
019900,000168: 35,2000 04627 P34 TC AVFLAGA
019901,000169: 35,2001 02003 TC P34/P74A
019902,000170: 35,2002 04642 P74 TC AVFLAGP
019903,000171: 35,2003 04647 P34/P74A TC P20FLGON # SET UPDATFLG, TRACKFLG
019904,000172: 35,2004 34614 CAF V06N37 # TTPI
019905,000173: 35,2005 04575 TC VNPOOH
019906,000174: 35,2006 03071 TC DISPLAYE # ELEV AND CENTANG
019907,000175: 35,2007 06006 TC INTPRET
019908,000176: 35,2010 71214 CLEAR DLOAD
019909,000177: 35,2011 01270 ETPIFLAG
019910,000178: 35,2012 03663 TTPI
019911,000179: 35,2013 17413 STODL TIG
019912,000180: 35,2014 03744 ELEV
019913,000181: 35,2015 43054 BZE SET
019914,000182: 35,2016 72020 P34/P74B
019915,000183: 35,2017 01070 ETPIFLAG
019916,000184: 35,2020 77624 P34/P74B CALL
019917,000185: 35,2021 10712 SELECTMU
019918,000186: 35,2022 DELELO EQUALS 26D
019919,000187: 35,2022 43145 P34/P74C DLOAD SET
019920,000188: 35,2023 15335 ZEROVECS
019921,000189: 35,2024 03461 ITSWICH
019922,000190: 35,2025 43014 BON CLEAR
019923,000191: 35,2026 01310 ETPIFLAG
Page 464 |
019925,000193: 35,2027 72031 SWCHSET
019926,000194: 35,2030 03661 ITSWICH
019927,000195: 35,2031 02364 SWCHSET STORE NOMTPI
019928,000196: 35,2032 43345 INTLOOP DLOAD DAD
019929,000197: 35,2033 03663 TTPI
019930,000198: 35,2034 02364 NOMTPI
019931,000199: 35,2035 34041 STCALL TDEC1
019932,000200: 35,2036 45215 PRECSET
019933,000201: 35,2037 77624 CALL
019934,000202: 35,2040 72212 S33/34.1
019935,000203: 35,2041 77454 BZE EXIT
019936,000204: 35,2042 72053 SWCHCLR
019937,000205: 35,2043 05650 TC ALARM
019938,000206: 35,2044 00611 OCT 611
019939,000207: 35,2045 35050 CAF V05N09
019940,000208: 35,2046 04662 TC BANKCALL
019941,000209: 35,2047 20720 CADR GOFLASH
019942,000210: 35,2050 04106 TC GOTOPOOH
019943,000211: 35,2051 02003 TC P34/P74A # PROCEED
019944,000212: 35,2052 02043 TC -7 # V32
019945,000213:
019946,000214: 35,2053 43014 SWCHCLR BONCLR BON
019947,000215: 35,2054 03601 ITSWICH
019948,000216: 35,2055 72032 INTLOOP
019949,000217: 35,2056 01310 ETPIFLAG
019950,000218: 35,2057 72063 P34/P74D # DISPLAY TTPI
019951,000219: 35,2060 77776 EXIT
019952,000220: 35,2061 03071 TC DISPLAYE # DISPLAY ELEV AND CENTANG
019953,000221: 35,2062 02066 TC P34/P74E
019954,000222: 35,2063 77776 P34/P74D EXIT
019955,000223: 35,2064 34614 CAF V06N37 # TTPI
019956,000224: 35,2065 04575 TC VNPOOH
019957,000225: 35,2066 06006 P34/P74E TC INTPRET
019958,000226: 35,2067 71201 SETPD DLOAD
019959,000227: 35,2070 00001 0D
019960,000228: 35,2071 03746 RTX1
019961,000229: 35,2072 14047 STODL X1
019962,000230: 35,2073 03754 CENTANG
019963,000231: 35,2074 71406 PUSH COS
019964,000232: 35,2075 16734 STODL CSTH
019965,000233: 35,2076 77756 SIN
019966,000234: 35,2077 26732 STOVL SNTH
019967,000235: 35,2100 03554 RPASS3
019968,000236: 35,2101 77657 VSR*
019969,000237: 35,2102 57176 0,2
019970,000238: 35,2103 26657 STOVL RVEC
019971,000239: 35,2104 03562 VPASS3
019972,000240: 35,2105 43057 VSR* SET
019973,000241: 35,2106 57176 0,2
019974,000242: 35,2107 03466 RVSW
Page 465 |
019976,000244: 35,2110 36746 STCALL VVEC
019977,000245: 35,2111 24744 TIMETHET
019978,000246: 35,2112 77745 DLOAD
019979,000247: 35,2113 03663 TTPI
019980,000248: 35,2114 03503 STORE INTIME # FOR INITVEL
019981,000249: 35,2115 77615 DAD
019982,000250: 35,2116 00037 T # RENDEZVOUS TIME
019983,000251: 35,2117 37656 STCALL TPASS4 # FOR INITVEL
019984,000252: 35,2120 72534 S34/35.2
019985,000253: 35,2121 51575 VLOAD ABVAL
019986,000254: 35,2122 03646 DELVEET3
019987,000255: 35,2123 26635 STOVL DELVTPI
019988,000256: 35,2124 03640 VPASS4
019989,000257: 35,2125 51451 VSU ABVAL
019990,000258: 35,2126 03620 VTPRIME
019991,000259: 35,2127 26637 STOVL DELVTPF
019992,000260: 35,2130 03540 RACT3
019993,000261: 35,2131 45115 PDVL CALL
019994,000262: 35,2132 03612 VIPRIME
019995,000263: 35,2133 45153 PERIAPO1
019996,000264: 35,2134 77624 CALL
019997,000265: 35,2135 45263 SHIFTR1
019998,000266: 35,2136 16641 STODL POSTTPI
019999,000267: 35,2137 03663 TTPI
020000,000268: 35,2140 03413 STORE TIG
020001,000269: 35,2141 77776 EXIT
020002,000270: 35,2142 34616 CAF V06N58
020003,000271: 35,2143 04575 TC VNPOOH
020004,000272: 35,2144 06006 TC INTPRET
020005,000273: 35,2145 77624 CALL
020006,000274: 35,2146 72742 S34/35.5
020007,000275: 35,2147 77624 CALL
020008,000276: 35,2150 73003 VN1645
020009,000277: 35,2151 77650 GOTO
020010,000278: 35,2152 72022 P34/P74C
020011,000279:
Page 466 |
020013,000281: # RENDEZVOUS MID-COURSE MANEUVER PROGRAMS (P35 AND P75)
020014,000282: # MOD NO -1 LOG SECTION - P32-P35, P72-P75
020015,000283: # MOD BY WHITE.P DATE 1JUNE67
020016,000284:
020017,000285: # PURPOSE
020018,000286: # (1) TO CALCULATE THE REQUIRED DELTA V AND OTHER INITIAL CONDITIONS
020019,000287: # REQUIRED BY THE ACTIVE VEHICLE FOR EXECUTION OF THE NEXT
020020,000288: # MIDCOURSE CORRECTION OF THE TRANSFER PHASE OF AN ACTIVE
020021,000289: # VEHICLE RENDEZVOUS.
020022,000290: # (2) TO DISPLAY TO THE ASTRONAUT AND THE GROUND CERTAIN DEPENDENT
020023,000291: # VARIABLES ASSOCIATED WITH THE MANEUVER FOR APPROVAL BY THE
020024,000292: # ASTRONAUT/GROUND.
020025,000293: # (3) TO STORE THE TPM TARGET PARAMETERS FOR USE BY THE DESIRED
020026,000294: # THRUSTING PROGRAM.
020027,000295:
020028,000296: # ASSUMPTIONS
020029,000297: # (1) THE ISS NEED NOT BE ON TO COMPLETE THIS PROGRAM.
020030,000298: # (2) STATE VECTOR UPDATES BY P27 ARE DISALLOWED DURING AUTOMATIC
020031,000299: # STATE VECTOR UPDATING INITIATED BY P20 (SEE ASSUMPTION (3)).
020032,000300: # (3) THE RENDEZVOUS RADAR IS ON AND IS LOCKED ON THE CSM. THIS WAS
020033,000301: # DONE DURING PREVIOUS SELECTION OF P20. RADAR SIGHTING MARKS
020034,000302: # WILL BE MADE AUTOMATICALLY APPROXIMATELY ONCE A MINUTE WHEN
020035,000303: # ENABLED BY THE TRACK AND UPDATE FLAGS (SEE P20). THE
020036,000304: # RENDEZVOUS TRACKING MARK COUNTER IS ZEROED BY THE SELECTION OF
020037,000305: # P20 AND AFTER EACH THRUSTING MANEUVER.
020038,000306: # (4) THE OPERATION OF THE PROGRAM UTILIZES THE FOLLOWING FLAGS -
020039,000307:
020040,000308: # ACTIVE VEHICLE FLAG - DESIGNATES THE VEHICLE WHICH IS
020041,000309: # DOING RENDEZVOUS THRUSTING MANEUVERS TO THE PROGRAM WHICH
020042,000310: # CALCULATES THE MANEUVER PARAMETERS. SET AT THE START OF
020043,000311: # EACH RENDEZVOUS PRE-THRUSTING PROGRAM.
020044,000312:
020045,000313: # FINAL FLAG - SELECTS FINAL PROGRAM DISPLAYS AFTER CREW HAS
020046,000314: # SELECTED THE FINAL MANEUVER COMPUTATION CYCLE.
020047,000315:
020048,000316: # EXTERNAL DELTA V FLAG - DESIGNATES THE TYPE OF STEERING
020049,000317: # REQUIRED FOR EXECUTION OF THIS MANEUVER BY THE THRUSTING
020050,000318: # PROGRAM SELECTED AFTER COMPLETION OF THIS PROGRAM.
020051,000319:
020052,000320: # (5) THE TIME OF INTERCEPT (T(INT)) WAS DEFINED BY PREVIOUS
020053,000321: # COMPLETION OF THE TRANSFER PHASE INITIATION (TPI) PROGRAM
020054,000322: # (P34/P74) AND IS PRESENTLY AVAILABLE IN STORAGE.
Page 467 |
020056,000324: # (6) ONCE THE PARAMETERS REQUIRED FOR COMPUTION OF THE MANEUVER
020057,000325: # HAVE BEEN COMPLETELY SPECIFIED, THE VALUE OF THE ACTIVE
020058,000326: # VEHICLE CENTRAL ANGLE OF TRANSFER IS COMPUTED AND STORED.
020059,000327: # THIS NUMBER WILL BE AVAILABLE FOR DISPLAY TO THE ASTRONAUT
020060,000328: # THROUGH THE USE OF V06N52.
020061,000329:
020062,000330: # THE ASTRONAUT WILL CALL THIS DISPLAY TO VERIFY THAT THE
020063,000331: # CENTRAL ANGLE OF TRANSFER OF THE ACTIVE VEHICLE IS NOT WITHIN
020064,000332: # 170 TO 190 DEGREES. IF THE ANGLE IS WITHIN THIS ZONE THE
020065,000333: # ASTRONAUT SHOULD REASSESS THE INPUT TARGETING PARAMETERS BASED
020066,000334: # UPON DELTA V AND EXPECTED MANEUVER TIME.
020067,000335: # (7) THIS PROGRAM IS SELECTED BY THE ASTRONAUT BY DSKY ENTRY -
020068,000336:
020069,000337: # P35 IF THIS VEHICLE IS ACTIVE VEHICLE.
020070,000338:
020071,000339: # P75 IF THIS VEHICLE IS PASSIVE VEHICLE.
020072,000340:
020073,000341: # INPUT
020074,000342: # (1) TPASS4 TIME OF INTERCEPT - SAVED FROM P34/P74
020075,000343:
020076,000344: # OUTPUT
020077,000345: # (1) TRKMKCNT NUMBER OF MARKS
020078,000346: # (2) TTOGO TIME TO GO
020079,000347: # (3) +MGA MIDDLE GIMBAL ANGLE
020080,000348: # (4) DVLOS DELTA VELOCITY AT MID - LINE OF SIGHT
020081,000349: # (5) DELVLVC DELTA VELOCITY AT MID - LOCAL VERTICAL COORDINATES
020082,000350:
020083,000351: # DOWNLINK
020084,000352: # (1) TIG TIME OF THE TPM MANEUVER
020085,000353: # (2) DELVEET3 DELTA VELOCITY AT TPM - REFERENCE COORDINATES
020086,000354: # (3) TPASS4 TIME OF INTERCEPT
020087,000355:
020088,000356: # COMMUNICATION TO THRUSTING PROGRAMS
020089,000357: # (1) TIG TIME OF THE TPM MANEUVER
020090,000358: # (2) RTARG OFFSET TARGET POSITION
020091,000359: # (3) TPASS4 TIME OF INTERCEPT
020092,000360: # (4) XDELVFLG RESET TO INDICATE LAMBERT (AIMPOINT) VG COMPUTATION
020093,000361:
020094,000362: # SUBROUTINES USED
020095,000363: # AVFLAGA
020096,000364: # AVFLAGP
020097,000365: # LOADTIME
020098,000366: # SELECTMU
020099,000367: # PRECSET
020100,000368: # S34/35.1
020101,000369: # S34/35.2
Page 468 |
020103,000371: # S34/35.5
020104,000372: # VN1645
020105,000373:
020106,000374: 35,2153 COUNT 35/P3575
020107,000375: 35,2153 E4,1763 EBANK= KT
020108,000376:
020109,000377: 35,2153 04627 P35 TC AVFLAGA
020110,000378: 35,2154 00006 EXTEND
020111,000379: 35,2155 31422 DCA ATIGINC
020112,000380: 35,2156 02162 TC P35/P75A
020113,000381: 35,2157 04642 P75 TC AVFLAGP
020114,000382: 35,2160 00006 EXTEND
020115,000383: 35,2161 31424 DCA PTIGINC
020116,000384: 35,2162 53764 P35/P75A DXCH KT
020117,000385: 35,2163 04647 TC P20FLGON # SET UPDATFLG, TRACKFLG
020118,000386: 35,2164 06006 TC INTPRET
020119,000387: 35,2165 77624 CALL
020120,000388: 35,2166 10712 SELECTMU
020121,000389: 35,2167 77634 P35/P75B RTB
020122,000390: 35,2170 45510 LOADTIME
020123,000391: 35,2171 03665 STORE TSTRT
020124,000392: 35,2172 77615 DAD
020125,000393: 35,2173 02364 KT
020126,000394: 35,2174 03413 STORE TIG
020127,000395: 35,2175 03503 STORE INTIME # FOR INITVEL
020128,000396: 35,2176 34041 STCALL TDEC1
020129,000397: 35,2177 45215 PRECSET # ADVANCE BOTH VEHICLES
020130,000398: 35,2200 77624 CALL
020131,000399: 35,2201 72522 S34/35.1 # GET NORM AND LOS FOR TRANSFORM
020132,000400: 35,2202 77624 CALL
020133,000401: 35,2203 72534 S34/35.2 # GET DELTA V(LV)
020134,000402: 35,2204 77624 CALL
020135,000403: 35,2205 72742 S34/35.5
020136,000404: 35,2206 77624 CALL
020137,000405: 35,2207 73003 VN1645
020138,000406: 35,2210 77650 GOTO
020139,000407: 35,2211 72167 P35/P75B
Page 469 |
020141,000409: # ..... S33/34.1 .....
020142,000410:
020143,000411: 35,2212 66220 S33/34.1 STQ SSP
020144,000412: 35,2213 01340 NORMEX
020145,000413: 35,2214 03665 TITER
020146,000414: 35,2215 40000 OCT 40000
020147,000415: 35,2216 40345 DLOAD SETPD
020148,000416: 35,2217 33115 MAX250
020149,000417: 35,2220 00001 0D
020150,000418: 35,2221 27454 STOVL SECMAX
020151,000419: 35,2222 03540 RACT3
020152,000420: 35,2223 27576 STOVL RAPREC
020153,000421: 35,2224 03546 VACT3
020154,000422: 35,2225 27570 STOVL VAPREC
020155,000423: 35,2226 03554 RPASS3
020156,000424: 35,2227 27620 STOVL RPPREC
020157,000425: 35,2230 03562 VPASS3
020158,000426: 35,2231 03612 STORE VPPREC
020159,000427: 35,2232 77624 ELCALC CALL
020160,000428: 35,2233 72522 S34/35.1 # NORMAL AND LOS
020161,000429: 35,2234 63235 VXV PDVL
020162,000430: 35,2235 03540 RACT3 # (RA*VA)*RA 0D
020163,000431: 35,2236 53515 PDVL UNIT # ULOS AT 6D
020164,000432: 35,2237 03540 RACT3
020165,000433: 35,2240 46315 PDVL VPROJ # XCHNJ AND UP
020166,000434: 35,2241 51352 VSL2 BVSU
020167,000435: 35,2242 02625 ULOS
020168,000436: 35,2243 63256 UNIT PDVL # UP AT 0D
020169,000437: 35,2244 63241 DOT PDVL # UP.UN*RA AT 0D
020170,000438: 35,2245 00001 0D # UP IN MPAC
020171,000439: 35,2246 75241 DOT SIGN
020172,000440: 35,2247 02625 ULOS
020173,000441: 35,2250 65552 SL1 ACOS
020174,000442: 35,2251 50315 PDVL DOT # EA AT 0D
020175,000443: 35,2252 02625 ULOS
020176,000444: 35,2253 03540 RACT3
020177,000445: 35,2254 71244 BPL DLOAD
020178,000446: 35,2255 72260 TESTY
020179,000447: 35,2256 15343 DPPOSMAX
020180,000448: 35,2257 41425 DSU PUSH
020181,000449: 35,2260 71214 TESTY BOFF DLOAD
020182,000450: 35,2261 03741 ITSWICH
020183,000451: 35,2262 72507 ELEX
020184,000452: 35,2263 03452 DELEL
020185,000453: 35,2264 14033 STODL DELELO
020186,000454: 35,2265 77625 DSU
020187,000455: 35,2266 03744 ELEV
020188,000456: 35,2267 03452 STORE DELEL
020189,000457: 35,2270 45246 ABS DSU
020190,000458: 35,2271 33121 ELEPS
Page 470 |
020192,000460: 35,2272 77640 BMN
020193,000461: 35,2273 72517 TIMEX # COMMERCIALS EVERYWHERE
020194,000462: 35,2274 70535 FIGTIME SLOAD SR1
020195,000463: 35,2275 03665 TITER
020196,000464: 35,2276 72030 BHIZ LXA,1
020197,000465: 35,2277 01340 NORMEX # TOO MANY ITERATIONS
020198,000466: 35,2300 00154 MPAC
020199,000467: 35,2301 77330 SXA,1 VLOAD
020200,000468: 35,2302 03664 TITER
020201,000469: 35,2303 03554 RPASS3
020202,000470: 35,2304 65256 UNIT PDDL
020203,000471: 35,2305 00045 36D
020204,000472: 35,2306 53515 PDVL UNIT
020205,000473: 35,2307 03540 RACT3
020206,000474: 35,2310 77725 PDDL
020207,000475: 35,2311 41525 PDDL PUSH
020208,000476: 35,2312 00045 36D
020209,000477: 35,2313 77621 BDSU
020210,000478: 35,2314 00015 12D
020211,000479: 35,2315 14037 STODL 30D # RP-RA MAGNITUDES
020212,000480: 35,2316 15333 DPHALF
020213,000481: 35,2317 41425 DSU PUSH
020214,000482: 35,2320 03744 ELEV
020215,000483: 35,2321 50165 SIGN BMN
020216,000484: 35,2322 00037 30D
020217,000485: 35,2323 01340 NORMEX
020218,000486: 35,2324 71545 DLOAD COS
020219,000487: 35,2325 56205 DMP DDV
020220,000488: 35,2326 00017 14D
020221,000489: 35,2327 00015 12D
020222,000490: 35,2330 77676 DCOMP # SINCE COS(180-A)=-COS A
020223,000491: 35,2331 00035 STORE 28D
020224,000492: 35,2332 44246 ABS BDSU
020225,000493: 35,2333 15333 DPHALF
020226,000494: 35,2334 77240 BMN VLOAD
020227,000495: 35,2335 01340 NORMEX
020228,000496: 35,2336 02617 UNRM
020229,000497: 35,2337 53435 VXV UNIT
020230,000498: 35,2340 00007 6D # UN*RA
020231,000499: 35,2341 41241 DOT DMP
020232,000500: 35,2342 03546 VACT3
020233,000501: 35,2343 00015 12D
020234,000502: 35,2344 47315 PDVL VXV
020235,000503: 35,2345 00001 0D
020236,000504: 35,2346 03562 VPASS3
020237,000505: 35,2347 53435 VXV UNIT
020238,000506: 35,2350 00001 0D # (RP*VP)*RP
020239,000507: 35,2351 41241 DOT DMP
020240,000508: 35,2352 03562 VPASS3
020241,000509: 35,2353 00017 14D
Page 471 |
020243,000511: 35,2354 77621 BDSU
020244,000512: 35,2355 63301 NORM PDVL # NORMALIZED WA-WP 12D
020245,000513: 35,2356 00047 X1
020246,000514: 35,2357 00007 6D
020247,000515: 35,2360 50235 VXV DOT
020248,000516: 35,2361 00001 0D
020249,000517: 35,2362 02617 UNRM # RA*RP.UN 14D
020250,000518: 35,2363 50315 PDVL DOT
020251,000519: 35,2364 00001 0D
020252,000520: 35,2365 00007 6D
020253,000521: 35,2366 65552 SL1 ACOS
020254,000522: 35,2367 77765 SIGN
020255,000523: 35,2370 43225 DSU DAD # ALPHA PI
020256,000524: 35,2371 15333 DPHALF
020257,000525: 35,2372 03744 ELEV
020258,000526: 35,2373 65525 PDDL ACOS
020259,000527: 35,2374 00035 28D
020260,000528: 35,2375 75221 BDSU SIGN
020261,000529: 35,2376 15333 DPHALF
020262,000530: 35,2377 00037 30D # CONTAINS RP-RA
020263,000531: 35,2400 77615 DAD
020264,000532: 35,2401 56205 DMP DDV
020265,000533: 35,2402 33113 TWOPI
020266,000534: 35,2403 77605 DMP
020267,000535: 35,2404 41257 SL* DMP
020268,000536: 35,2405 20176 0 -3,1
020269,000537: 35,2406 51406 PUSH ABS
020270,000538: 35,2407 50025 DSU BMN
020271,000539: 35,2410 03454 SECMAX
020272,000540: 35,2411 72415 OKMAX
020273,000541: 35,2412 75345 DLOAD SIGN # REPLACE TIME WITH MAX TIME SIGNED
020274,000542: 35,2413 03454 SECMAX
020275,000543: 35,2414 77606 PUSH
020276,000544: 35,2415 51135 OKMAX SLOAD BPL # TEST FIRST ITERATION
020277,000545: 35,2416 03665 TITER
020278,000546: 35,2417 72425 REPETE
020279,000547: 35,2420 71331 SSP DLOAD
020280,000548: 35,2421 03665 TITER
020281,000549: 35,2422 37777 OCT 37777
020282,000550: 35,2423 77650 GOTO
020283,000551: 35,2424 72463 STORDELT
020284,000552: 35,2425 41345 REPETE DLOAD DMP
020285,000553: 35,2426 03452 DELEL
020286,000554: 35,2427 00033 DELELO
020287,000555: 35,2430 71244 BPL DLOAD
020288,000556: 35,2431 72441 NEXTES
020289,000557: 35,2432 03454 SECMAX
020290,000558: 35,2433 77605 DMP
020291,000559: 35,2434 33117 THIRD
020292,000560: 35,2435 17454 STODL SECMAX
Page 472 |
020294,000562: 35,2436 70446 ABS SR1 # CROSSED OVER SOLUTION
020295,000563: 35,2437 52076 DCOMP GOTO # DT=(-SIGN(DTO)//DT//)/2
020296,000564: 35,2440 72451 RESIGN
020297,000565: 35,2441 51545 NEXTES DLOAD ABS
020298,000566: 35,2442 03452 DELEL
020299,000567: 35,2443 51525 PDDL ABS
020300,000568: 35,2444 00033 DELELO
020301,000569: 35,2445 77625 DSU
020302,000570: 35,2446 71240 BMN DLOAD
020303,000571: 35,2447 72454 REVERS # WRONG DIRECTION
020304,000572: 35,2450 77646 ABS
020305,000573: 35,2451 52165 RESIGN SIGN GOTO
020306,000574: 35,2452 03450 DELTEEO
020307,000575: 35,2453 72463 STORDELT
020308,000576: 35,2454 57545 REVERS DLOAD DCOMP
020309,000577: 35,2455 03450 DELTEEO
020310,000578: 35,2456 70406 PUSH SR1
020311,000579: 35,2457 03450 STORE DELTEEO
020312,000580: 35,2460 77615 DAD
020313,000581: 35,2461 77650 GOTO
020314,000582: 35,2462 72464 ADTIME
020315,000583: 35,2463 03450 STORDELT STORE DELTEEO
020316,000584: 35,2464 77615 ADTIME DAD
020317,000585: 35,2465 02364 NOMTPI # SUM OF DELTA T:S
020318,000586: 35,2466 02364 STORE NOMTPI
020319,000587: 35,2467 63375 VLOAD PDVL
020320,000588: 35,2470 03570 VAPREC
020321,000589: 35,2471 03576 RAPREC
020322,000590: 35,2472 77624 CALL
020323,000591: 35,2473 72702 GOINT
020324,000592: 35,2474 77624 CALL
020325,000593: 35,2475 45237 ACTIVE # STORE NEW RACT3 VACT3
020326,000594: 35,2476 63375 VLOAD PDVL
020327,000595: 35,2477 03612 VPPREC
020328,000596: 35,2500 03620 RPPREC
020329,000597: 35,2501 77624 CALL
020330,000598: 35,2502 72702 GOINT
020331,000599: 35,2503 77624 CALL
020332,000600: 35,2504 45247 PASSIVE # STORE NEW RPASS3 VPASS3
020333,000601: 35,2505 77650 GOTO
020334,000602: 35,2506 72232 ELCALC
020335,000603: 35,2507 43345 ELEX DLOAD DAD
020336,000604: 35,2510 03663 TTPI
020337,000605: 35,2511 02364 NOMTPI
020338,000606: 35,2512 17663 STODL TTPI
020339,000607: 35,2513 77614 BON
020340,000608: 35,2514 01310 ETPIFLAG
020341,000609: 35,2515 72517 TIMEX
020342,000610: 35,2516 03744 STORE ELEV
020343,000611: 35,2517 52145 TIMEX DLOAD GOTO
Page 473 |
020345,000613: 35,2520 15335 ZEROVECS
020346,000614: 35,2521 01340 NORMEX
020347,000615:
Page 474 |
020349,000617: # ..... S34/35.1 .....
020350,000618:
020351,000619: # COMPUTE UNIT NORMAL AND LINE OF SIGHT VECTORS GIVEN THE ACTIVE AND
020352,000620: # PASSIVE POS AND VEL AT TIME T3
020353,000621:
020354,000622: 35,2522 52375 S34/35.1 VLOAD VSU
020355,000623: 35,2523 03554 RPASS3
020356,000624: 35,2524 03540 RACT3
020357,000625: 35,2525 41456 UNIT PUSH
020358,000626: 35,2526 26625 STOVL ULOS
020359,000627: 35,2527 03540 RACT3
020360,000628: 35,2530 53435 VXV UNIT
020361,000629: 35,2531 03546 VACT3
020362,000630: 35,2532 02617 STORE UNRM
020363,000631: 35,2533 77616 RVQ
020364,000632:
Page 475 |
020366,000634: # ..... S34/35.2 .....
020367,000635:
020368,000636: # ADVANCE PASSIVE VEH TO RENDEZVOUS TIME AND GET REQ VEL FROM LAMBERT
020369,000637:
020370,000638: 35,2534 77220 S34/35.2 STQ VLOAD
020371,000639: 35,2535 02370 SUBEXIT
020372,000640: 35,2536 03562 VPASS3
020373,000641: 35,2537 65315 PDVL PDDL
020374,000642: 35,2540 03554 RPASS3
020375,000643: 35,2541 03503 INTIME
020376,000644: 35,2542 65325 PDDL PDDL
020377,000645: 35,2543 03656 TPASS4
020378,000646: 35,2544 15335 ZEROVECS
020379,000647: 35,2545 45006 PUSH CALL
020380,000648: 35,2546 72706 INTINT # GET TARGET VECTOR
020381,000649: 35,2547 27415 S3435.25 STOVL RTARG
020382,000650: 35,2550 00007 VATT
020383,000651: 35,2551 27640 STOVL VPASS4
020384,000652: 35,2552 03415 RTARG
020385,000653: # COMPUTE PHI = PI + (ACOS(UNIT RA.UNIT RP) - PI) SIGN(RA*RP.U)
020386,000654: 35,2553 63256 UNIT PDVL # UNIT RP
020387,000655: 35,2554 03540 RACT3
020388,000656: 35,2555 41456 UNIT PUSH # UNIT RA
020389,000657: 35,2556 50235 VXV DOT
020390,000658: 35,2557 00001 0D
020391,000659: 35,2560 02617 UNRM # RA*RP.U
020392,000660: 35,2561 77715 PDVL
020393,000661: 35,2562 72441 DOT SL1 # UNIT RA.UNIT RP
020394,000662: 35,2563 00001 0D
020395,000663: 35,2564 75326 ACOS SIGN
020396,000664: 35,2565 43244 BPL DAD
020397,000665: 35,2566 72570 NOPIE
020398,000666: 35,2567 15343 DPPOSMAX # REASONABLE TWO PI
020399,000667: 35,2570 16633 NOPIE STODL ACTCENT
020400,000668: 35,2571 03656 TPASS4
020401,000669: 35,2572 77625 DSU
020402,000670: 35,2573 03503 INTIME
020403,000671: 35,2574 03423 STORE DELLT4
020404,000672: 35,2575 40335 SLOAD SETPD
020405,000673: 35,2576 33123 DECTWO
020406,000674: 35,2577 00001 0D
020407,000675: 35,2600 63325 PDDL PDVL
020408,000676: 35,2601 33126 EPSFOUR
Page 476 |
020410,000678: 35,2602 03540 RACT3
020411,000679: 35,2603 27570 STOVL RINIT
020412,000680: 35,2604 03546 VACT3
020413,000681: 35,2605 37576 STCALL VINIT
020414,000682: 35,2606 22000 INITVEL
020415,000683: 35,2607 77624 CALL
020416,000684: 35,2610 72667 LOMAT
020417,000685: 35,2611 64375 VLOAD MXV
020418,000686: 35,2612 03646 DELVEET3
020419,000687: 35,2613 00001 0D
020420,000688: 35,2614 77772 VSL1
020421,000689: 35,2615 37405 STCALL DELVLVC
020422,000690: 35,2616 02370 SUBEXIT
020423,000691:
Page 477 |
020425,000693: # ..... S34/35.3 .....
020426,000694:
020427,000695: 35,2617 45020 S34/35.3 STQ CALL
020428,000696: 35,2620 01340 NORMEX
020429,000697: 35,2621 72667 LOMAT # GET MATRIX IN PUSH LIST
020430,000698: 35,2622 61375 VLOAD VXM
020431,000699: 35,2623 03405 DELVLVC # NEW DEL V TPI
020432,000700: 35,2624 00001 0D
020433,000701: 35,2625 77772 VSL1
020434,000702: 35,2626 03646 STORE DELVEET3 # SAVE FOR TRANSFORM
020435,000703: 35,2627 63255 VAD PDVL
020436,000704: 35,2630 03546 VACT3 # NEW V REQ
020437,000705: 35,2631 03540 RACT3
020438,000706: 35,2632 65325 PDDL PDDL
020439,000707: 35,2633 03413 TIG
020440,000708: 35,2634 03656 TPASS4
020441,000709: 35,2635 41525 PDDL PUSH
020442,000710: 35,2636 15343 DPPOSMAX
020443,000711: 35,2637 77624 CALL # INTEG. FOR NEW TARGET VEC
020444,000712: 35,2640 72706 INTINT
020445,000713: 35,2641 77775 VLOAD
020446,000714: 35,2642 00001 RATT
020447,000715: 35,2643 03415 STORE RTARG
020448,000716: 35,2644 41575 NOVRWRT VLOAD PUSH
020449,000717: 35,2645 02625 ULOS
020450,000718: 35,2646 57435 VXV VCOMP
020451,000719: 35,2647 02617 UNRM
020452,000720: 35,2650 41456 UNIT PUSH
020453,000721: 35,2651 76435 VXV VSL1
020454,000722: 35,2652 02625 ULOS
020455,000723: 35,2653 77715 PDVL
020456,000724: 35,2654 64315 PDVL MXV
020457,000725: 35,2655 03646 DELVEET3
020458,000726: 35,2656 00001 0D
020459,000727: 35,2657 77772 VSL1
020460,000728: 35,2660 36611 STCALL DVLOS
020461,000729: 35,2661 01340 NORMEX
020462,000730:
Page 478 |
020464,000732: # ..... S34/35.4 .....
020465,000733:
020466,000734: 35,2662 40220 S34/35.4 STQ SETPD # NO ASTRONAUT OVERWRITE
020467,000735: 35,2663 01340 NORMEX
020468,000736: 35,2664 00001 0D
020469,000737: 35,2665 77650 GOTO
020470,000738: 35,2666 72644 NOVRWRT
020471,000739:
Page 479 |
020473,000741: # ..... LOMAT .....
020474,000742:
020475,000743: 35,2667 57575 LOMAT VLOAD VCOMP
020476,000744: 35,2670 02617 UNRM
020477,000745: 35,2671 24007 STOVL 6D # Y
020478,000746: 35,2672 03540 RACT3
020479,000747: 35,2673 57456 UNIT VCOMP
020480,000748: 35,2674 00015 STORE 12D
020481,000749: 35,2675 76435 VXV VSL1
020482,000750: 35,2676 02617 UNRM # Z*-Y
020483,000751: 35,2677 00001 STORE 0D
020484,000752: 35,2700 43401 SETPD RVQ
020485,000753: 35,2701 00023 18D
020486,000754: 35,2702 65325 GOINT PDDL PDDL # DO
020487,000755: 35,2703 15335 ZEROVECS # NOT
020488,000756: 35,2704 02364 NOMTPI
020489,000757: 35,2705 41406 PUSH PUSH # ORDER OR INSERT BEFORE INTINT
020490,000758: 35,2706 45020 INTINT STQ CALL
020491,000759: 35,2707 02367 RTRN
020492,000760: 35,2710 27442 INTSTALL
020493,000761: 35,2711 71214 CLEAR DLOAD
020494,000762: 35,2712 01673 INTYPFLG
020495,000763: 35,2713 43054 BZE SET
020496,000764: 35,2714 72716 +2
020497,000765: 35,2715 01473 INTYPFLG
020498,000766: 35,2716 45545 DLOAD STADR
020499,000767: 35,2717 63736 STODL TDEC1
020500,000768: 35,2720 73014 SET LXA,2
020501,000769: 35,2721 00063 MOONFLAG
020502,000770: 35,2722 03746 RTX2
020503,000771: 35,2723 43014 BON CLEAR
020504,000772: 35,2724 04303 CMOONFLG
020505,000773: 35,2725 72727 ALLSET
020506,000774: 35,2726 00263 MOONFLAG
020507,000775: 35,2727 25517 ALLSET STOVL TET
020508,000776: 35,2730 77657 VSR*
020509,000777: 35,2731 57176 0,2
020510,000778: 35,2732 25535 STOVL RCV
020511,000779: 35,2733 77657 VSR*
020512,000780: 35,2734 57176 0,2
020513,000781: 35,2735 35543 STCALL VCV
020514,000782: 35,2736 27135 INTEGRVS
020515,000783: 35,2737 52175 VLOAD GOTO
020516,000784: 35,2740 00001 RATT
020517,000785: 35,2741 02367 RTRN
020518,000786:
Page 480 |
020520,000788: # ..... S34/35.5 .....
020521,000789:
020522,000790: # SUBROUTINES USED
020523,000791: # BANKCALL
020524,000792: # GOFLASH
020525,000793: # GOTOPOOH
020526,000794: # S34/35.3
020527,000795: # S34/35.4
020528,000796: # VNPOOH
020529,000797:
020530,000798: 35,2742 43020 S34/35.5 STQ BON
020531,000799: 35,2743 02370 SUBEXIT
020532,000800: 35,2744 01311 FINALFLG
020533,000801: 35,2745 72751 FLAGON
020534,000802: 35,2746 52014 SET GOTO
020535,000803: 35,2747 00470 UPDATFLG
020536,000804: 35,2750 72773 FLAGOFF
020537,000805: 35,2751 77775 FLAGON VLOAD
020538,000806: 35,2752 03405 DELVLVC
020539,000807: 35,2753 02611 STORE DVLOS # SAVE DELTA V BEFORE DISPLAY
020540,000808: 35,2754 77776 EXIT
020541,000809: 35,2755 34620 CAF V06N81
020542,000810: 35,2756 04575 TC VNPOOH
020543,000811: 35,2757 06006 TC INTPRET
020544,000812: 35,2760 52375 VLOAD VSU # TEST FOR OVERWRITE OF COMPUTED
020545,000813: 35,2761 03405 DELVLVC # DELTA V
020546,000814: 35,2762 02611 DVLOS
020547,000815: 35,2763 53046 ABVAL BZE
020548,000816: 35,2764 72767 NOCHG # NO OVERWRITE
020549,000817: 35,2765 77624 CALL
020550,000818: 35,2766 72617 S34/35.3 # COMPUTE NEW TARGET VECTOR
020551,000819: 35,2767 77214 NOCHG CLEAR VLOAD
020552,000820: 35,2770 01267 XDELVFLG
020553,000821: 35,2771 03646 DELVEET3
020554,000822: 35,2772 03646 STORE DELVSIN
020555,000823: 35,2773 77624 FLAGOFF CALL
020556,000824: 35,2774 72662 S34/35.4
020557,000825: 35,2775 77776 EXIT
020558,000826: 35,2776 34617 CAF V06N59
020559,000827: 35,2777 04575 TC VNPOOH
020560,000828: 35,3000 06006 TC INTPRET
020561,000829: 35,3001 77650 GOTO
020562,000830: 35,3002 02370 SUBEXIT
020563,000831:
Page 481 |
020565,000833: # ..... VN1645 .....
020566,000834:
020567,000835: # SUBROUTINES USED
020568,000836: # P3XORP7X
020569,000837: # GET+MGA
020570,000838: # BANKCALL
020571,000839: # DELAYJOB
020572,000840: # COMPTGO
020573,000841: # GOFLASHR
020574,000842: # GOTOPOOH
020575,000843: # FLAGUP
020576,000844:
020577,000845: 35,3003 71220 VN1645 STQ DLOAD
020578,000846: 35,3004 02370 SUBEXIT
020579,000847: 35,3005 33124 DP-.01
020580,000848: 35,3006 03626 STORE +MGA # MGA = -.01
020581,000849: 35,3007 71214 BOFF DLOAD
020582,000850: 35,3010 01351 FINALFLG
020583,000851: 35,3011 73031 GET45
020584,000852: 35,3012 33124 DP-.01
020585,000853: 35,3013 77615 DAD
020586,000854: 35,3014 33124 DP-.01
020587,000855: 35,3015 03626 STORE +MGA # MGA = -.02
020588,000856: 35,3016 77414 BOFF EXIT
020589,000857: 35,3017 01742 REFSMFLG
020590,000858: 35,3020 73031 GET45
020591,000859: 35,3021 03104 TC P3XORP7X
020592,000860: 35,3022 03024 TC +2 # P3X
020593,000861: 35,3023 03032 TC GET45 +1 # P7X
020594,000862: 35,3024 06006 TC INTPRET
020595,000863: 35,3025 41575 VLOAD PUSH
020596,000864: 35,3026 03646 DELVSIN
020597,000865: 35,3027 77624 CALL # COMPUTE MGA
020598,000866: 35,3030 10654 GET+MGA
020599,000867: 35,3031 77776 GET45 EXIT
020600,000868: 35,3032 03310 TC COMPTGO # INITIATE TASK TO UPDATE TTOGO
020601,000869: 35,3033 31770 CA SUBEXIT
020602,000870: 35,3034 55766 TS QSAVED
020603,000871: 35,3035 35041 CAF 1SEC
020604,000872: 35,3036 04662 TC BANKCALL
020605,000873: 35,3037 01732 CADR DELAYJOB
020606,000874: 35,3040 34621 CAF V16N45 # TRKMKCNT, TTOGO, +MGA
020607,000875: 35,3041 04662 TC BANKCALL
020608,000876: 35,3042 20720 CADR GOFLASH
020609,000877: 35,3043 03046 TC KILCLOCK # TERMINATE
020610,000878: 35,3044 03051 TC N45PROC # PROCEED
020611,000879: 35,3045 03061 TC CLUPDATE # RECYCLE - RETURN FOR INITIAL COMPUTATION
020612,000880: 35,3046 30005 KILCLOCK CA Z
020613,000881: 35,3047 54000 TS DISPDEX
Page 482 |
020615,000883: 35,3050 04106 TC GOTOPOOH
020616,000884: 35,3051 40076 N45PROC CS FLAGWRD2
020617,000885: 35,3052 75012 MASK BIT6
020618,000886: 35,3053 00006 EXTEND
020619,000887: 35,3054 13046 BZF KILCLOCK # FINALFLG IS SET - FLASH V37 - AWAIT NEW PGM
020620,000888: 35,3055 05412 TC PHASCHNG
020621,000889: 35,3056 04024 OCT 04024
020622,000890: 35,3057 05546 TC UPFLAG # SET
020623,000891: 35,3060 00047 ADRES FINALFLG # FINALFLG
020624,000892: 35,3061 30005 CLUPDATE CA Z
020625,000893: 35,3062 54000 TS DISPDEX
020626,000894: 35,3063 05412 TC PHASCHNG
020627,000895: 35,3064 04024 OCT 04024
020628,000896: 35,3065 06006 TC INTPRET
020629,000897: 35,3066 52014 CLEAR GOTO
020630,000898: 35,3067 00670 UPDATFLG
020631,000899: 35,3070 02366 QSAVED
020632,000900:
Page 483 |
020634,000902: # ..... DISPLAYE .....
020635,000903:
020636,000904: # SUBROUTINES USED
020637,000905: # BANKCALL
020638,000906: # GOFLASHR
020639,000907: # GOTOPOOH
020640,000908: # BLANKET
020641,000909: # ENDOFJOB
020642,000910:
020643,000911: 35,3071 00006 DISPLAYE EXTEND
020644,000912: 35,3072 23340 QXCH NORMEX
020645,000913: 35,3073 34615 CAF V06N55
020646,000914: 35,3074 04662 TCR BANKCALL
020647,000915: 35,3075 21057 CADR GOFLASHR
020648,000916: 35,3076 14106 TCF GOTOPOOH
020649,000917: 35,3077 01340 TC NORMEX
020650,000918: 35,3100 13073 TCF -5
020651,000919: 35,3101 35017 CAF BIT1 # BLANK R1
020652,000920: 35,3102 05526 TCR BLANKET
020653,000921: 35,3103 15217 TCF ENDOFJOB
020654,000922:
Page 484 |
020656,000924: # ..... P3XORP7X .....
020657,000925:
020658,000926: 35,3104 37713 P3XORP7X CAF HIGH9
020659,000927: 35,3105 71011 MASK MODREG
020660,000928: 35,3106 00006 EXTEND
020661,000929: 35,3107 13111 BZF +2
020662,000930: 35,3110 24002 INCR Q
020663,000931: 35,3111 00002 RETURN
020664,000932:
020665,000933: # ..... VNPOOH .....
020666,000934:
020667,000935: # SUBROUTINES USED
020668,000936: # BANKCALL
020669,000937: # GOFLASH
020670,000938: # GOTOPOOH
020671,000939:
020672,000940: 4000 SETLOC P30SUBS
020673,000941: 4000 BANK
020674,000942:
020675,000943: 4575 00006 VNPOOH EXTEND
020676,000944: 4576 23767 QXCH RTRN
020677,000945: 4577 55765 TS VERBNOUN
020678,000946: 4600 34610 CAF VNBANK # ***** THIS ROUTINE MUST REMAIN IN
020679,000947: 4601 56004 XCH FBANK # FIXED-FIXED *****
020680,000948: 4602 55063 TS TBASE5 # * WATCH OUT *
020681,000949:
020682,000950: 4603 31765 CA VERBNOUN
020683,000951: 4604 04662 TCR BANKCALL
020684,000952: 4605 20720 CADR GOFLASH
020685,000953: 4606 14106 TCF GOTOPOOH
020686,000954: 4607 14611 TCF +2
020687,000955: 4610 04603 VNBANK TC -5
020688,000956:
020689,000957: 4611 31063 CA TBASE5
020690,000958: 4612 54004 TS FBANK
020691,000959: 4613 01767 TC RTRN
020692,000960:
Page 485 |
020694,000962: # ..... CONSTANTS .....
020695,000963:
020696,000964: 4614 01445 V06N37 VN 0637
020697,000965: 4615 01467 V06N55 VN 0655
020698,000966: 4616 01472 V06N58 VN 0658
020699,000967: 4617 01473 V06N59 VN 0659
020700,000968: 4620 01521 V06N81 VN 0681
020701,000969: 4621 04055 V16N45 VN 1645
020702,000970: 35,2000 SETLOC CSI/CDH
020703,000971: 35,2000 BANK
020704,000972:
020705,000973: 35,3112 14441 37325 TWOPI 2DEC 6.283185307 B-4
020706,000974: 35,3114 00001 20650 MAX250 2DEC 25 E3
020707,000975: 35,3116 12525 12525 THIRD 2DEC .333333333
020708,000976: 35,3120 00004 21505 ELEPS 2DEC .27777777 E-3
020709,000977: 35,3122 00002 DECTWO OCT 2
020710,000978: 35,3123 77777 DP-.01 OCT 77777 # CONSTANTS
020711,000979: 35,3124 61337 OCT 61337 # ADJACENT -.01 FOR MGA DSP
020712,000980: 35,3125 01252 25253 EPSFOUR 2DEC .0416666666
020713,000981:
Page 486 |
020715,000983: # ..... INITVEL .....
020716,000984: # MOD NO -1 LOG SECTION - P34-P35, P74-P75
020717,000985: # MOD BY WHITE.P DATE 21NOV67
020718,000986:
020719,000987: # FUNCTIONAL DESCRIPTION
020720,000988: # THIS SUBROUTINE COMPUTES THE REQUIRED INITIAL VELOCITY VECTOR FOR
020721,000989: # A TRAJECTORY OF SPECIFIED TRANSFER TIME BETWEEN SPECIFIED INITIAL
020722,000990: # AND TARGET POSITIONS. THE TRAJECTORY MAY BE EITHER CONIC OR
020723,000991: # PRECISION DEPENDING ON AN INPUT PARAMETER (NAMELY, NUMBER OF
020724,000992: # OFFSETS). IN ADDITION, IN THE PRECISION TRAJECTORY CASE, THE
020725,000993: # SUBROUTINE ALSO COMPUTES AN OFFSET TARGET VECTOR, TO BE USED
020726,000994: # DURING PURE-CONIC CROSS-PRODUCT STEERING. THE OFFSET TARGET
020727,000995: # VECTOR IS THE TERMINAL POSITION VECTOR OF A CONIC TRAJECTORY WHICH
020728,000996: # HAS THE SAME INITIAL STATE AS A PRECISION TRAJECTORY WHOSE
020729,000997: # TERMINAL POSITION VECTOR IS THE SPECIFIED TARGET VECTOR.
020730,000998:
020731,000999: # IN ORDER TO AVOID THE INHERENT SINGULARITIES IN THE 180 DEGREE
020732,001000: # TRANSFER CASE WHEN THE (TRUE OR OFFSET) TARGET VECTOR MAY BE
020733,001001: # SLIGHTLYOUT OF THE ORBITAL PLANE, THIS SUBROUTINE ROTATES THIS
020734,001002: # VECTOR INTO A PLANE DEFINED BY THE INPUT INITIAL POSITION VECTOR
020735,001003: # AND ANOTHER INPUT VECTOR (USUALLY THE INITIAL VELOCITY VECTOR),
020736,001004: # WHENEVER THE INPUT TARGET VECTOR LIES INSIDE A CONE WHOSE VERTEX
020737,001005: # IS THE ORIGIN OF COORDINATES, WHOSE AXIS IS THE 180 DEGREE
020738,001006: # TRANSFER DIRECTION, AND WHOSE CONE ANGLE IS SPECIFIED BY THE USER.
020739,001007:
020740,001008: # THE LAMBERT SUBROUTINE IS UTILIZED FOR THE CONIC COMPUTATIONS AND
020741,001009: # THE COASTING INTEGRATION SUBROUTINE IS UTILIZED FOR THE PRECISION
020742,001010: # TRAJECTORY COMPUTATIONS.
020743,001011:
020744,001012: # CALLING SEQUENCE
020745,001013: # L CALL
020746,001014: # L+1 INITVEL
020747,001015: # L+2 (RETURN - ALWAYS)
020748,001016:
020749,001017: # INPUT
020750,001018: # (1) RINIT INITIAL POSITION RADIUS VECTOR
020751,001019: # (2) VINIT INITIAL POSITION VELOCITY VECTOR
020752,001020: # (3) RTARG TARGET POSITION RADIUS VECTOR
020753,001021: # (4) DELLT4 DESIRED TIME OF FLIGHT FROM RINIT TO RTARG
020754,001022: # (5) INTIME TIME OF RINIT
020755,001023: # (6) 0D NUMBER OF ITERATIONS OF LAMBERT/INTEGRVS
020756,001024: # (7) 2D ANGLE TO 180 DEGREES WHEN ROTATION STARTS
020757,001025: # (8) RTX1 -2 FOR EARTH, -10D FOR LUNAR
020758,001026: # (9) RTX2 COORDINATE SYSTEM ORIGIN - 0 FOR EARTH, 2 FOR LUNAR
020759,001027: # PUSHLOC SET AT 4D
020760,001028:
Page 487 |
020762,001030: # OUTPUT
020763,001031: # (1) RTARG OFFSET TARGET POSITION VECTOR
020764,001032: # (2) VIPRIME MANEUVER VELOCITY REQUIRED
020765,001033: # (3) VTPRIME VELOCITY AT TARGET AFTER MANEUVER
020766,001034: # (4) DELVEET3 DELTA VELOCITY REQUIRED FOR MANEUVER
020767,001035:
020768,001036: # SUBROUTINES USED
020769,001037: # LAMBERT
020770,001038: # INTSTALL
020771,001039: # INTEGRVS
020772,001040:
020773,001041: 11,2000 SETLOC INTVEL
020774,001042: 11,2000 BANK
020775,001043:
020776,001044: 11,2000 COUNT 11/INITV
020777,001045: 11,2000 77614 INITVEL SET # COGA GUESS NOT AVAILABLE
020778,001046: 11,2001 00475 GUESSW
020779,001047: 11,2002 44175 HAVEGUES VLOAD STQ
020780,001048: 11,2003 03415 RTARG
020781,001049: 11,2004 01340 NORMEX
020782,001050: 11,2005 03604 STORE RTARG1
020783,001051: 11,2006 46135 SLOAD BHIZ
020784,001052: 11,2007 03747 RTX2
020785,001053: 11,2010 22022 INITVEL1
020786,001054: 11,2011 72575 VLOAD VSL2
020787,001055: 11,2012 03570 RINIT # B29
020788,001056: 11,2013 27570 STOVL RINIT # B27
020789,001057: 11,2014 03576 VINIT # B7
020790,001058: 11,2015 77752 VSL2
020791,001059: 11,2016 27576 STOVL VINIT # B5
020792,001060: 11,2017 03604 RTARG1
020793,001061: 11,2020 77752 VSL2
020794,001062: 11,2021 03604 STORE RTARG1
020795,001063:
020796,001064: # INITIALIZATION
020797,001065:
020798,001066: 11,2022 71331 INITVEL1 SSP DLOAD # SET ITCTR TO -1,LOAD MPAC WITH E4 (PL 2D)
020799,001067: 11,2023 03505 ITCTR
020800,001068: 11,2024 77776 0 -1
020801,001069: 11,2025 70546 COSINE SR1 # CALCULATE COSINE (E4) (+2)
020802,001070: 11,2026 17630 STODL COZY4 # SET COZY4 TO COSINE (E4) (PL 0D)
020803,001071: 11,2027 67154 LXA,2 SXA,2
020804,001072: 11,2030 00154 MPAC
020805,001073: 11,2031 02703 VTARGTAG # SET VTARGTAG TO 0D (SP)
020806,001074: 11,2032 77775 VLOAD
020807,001075: 11,2033 03570 RINIT
020808,001076: 11,2034 26657 STOVL R1VEC # R1VEC EQ RINIT
020809,001077: 11,2035 03604 RTARG1
Page 488 |
020811,001079: 11,2036 16665 STODL R2VEC # R2VEC EQ RTARG
020812,001080: 11,2037 03423 DELLT4
020813,001081: 11,2040 02673 STORE TDESIRED # TDESIRED EQ DELLT4
020814,001082: 11,2041 77201 SETPD VLOAD
020815,001083: 11,2042 00001 0D # INITIALIZE PL TO 0D
020816,001084: 11,2043 03570 RINIT # MPAC EQ RINIT (+29)
020817,001085: 11,2044 41456 UNIT PUSH # UNIT(RI) (+1) (PL 6D)
020818,001086: 11,2045 53435 VXV UNIT
020819,001087: 11,2046 03576 VINIT # MPAC EQ UNIT(RI) X VI (+8)
020820,001088: 11,2047 26676 STOVL UN
020821,001089: 11,2050 03604 RTARG1
020822,001090: 11,2051 50256 UNIT DOT # TEMP=URT.URI (+2) (PL 0D)
020823,001091: 11,2052 43015 DAD CLEAR
020824,001092: 11,2053 03630 COZY4
020825,001093: 11,2054 03665 NORMSW
020826,001094: 11,2055 03630 STORE COZY4
020827,001095: 11,2056 43044 INITVEL2 BPL SET
020828,001096: 11,2057 22101 INITVEL3 # UN CALCULATED IN LAMBERT
020829,001097: 11,2060 03465 NORMSW
020830,001098:
020831,001099: # ROTATE RC INTO YC PLANE - SET UNIT NORMAL TO YC
020832,001100:
020833,001101: 11,2061 41575 VLOAD PUSH # (PL 6D)
020834,001102: 11,2062 02665 R2VEC # RC TO 6D (+29)
020835,001103: 11,2063 63246 ABVAL PDVL # RC TO MPAC, ABVAL(RC) (+29) TO OD(PL 2D)
020836,001104: 11,2064 46206 PUSH VPROJ # (PL 8D)
020837,001105: 11,2065 02676 UN
020838,001106: 11,2066 51352 VSL2 BVSU
020839,001107: 11,2067 74256 UNIT VXSC # (PL 0D)
020840,001108: 11,2070 77772 VSL1
020841,001109: 11,2071 02665 STORE R2VEC
020842,001110: 11,2072 67351 TLOAD SLOAD
020843,001111: 11,2073 11563 ZEROVEC
020844,001112: 11,2074 03505 ITCTR
020845,001113: 11,2075 77244 BPL VLOAD
020846,001114: 11,2076 22101 INITVEL3
020847,001115: 11,2077 02665 R2VEC
020848,001116: 11,2100 03604 STORE RTARG1
020849,001117: 11,2101 63345 INITVEL3 DLOAD PDVL # (PL 2D)
020850,001118: 11,2102 27735 MUEARTH # POSITIVE VALUE
020851,001119: 11,2103 02665 R2VEC
020852,001120: 11,2104 63256 UNIT PDVL # 2D = UNIT(R2VEC) (PL 8D)
020853,001121: 11,2105 02657 R1VEC
020854,001122: 11,2106 41456 UNIT PUSH # 8D = UNIT(R1VEC) (PL 14D)
020855,001123: 11,2107 57435 VXV VCOMP # -N = UNIT(R2VEC) X UNIT(R1VEC)
020856,001124: 11,2110 00003 2D
020857,001125: 11,2111 77606 PUSH # (PL 20D)
020858,001126: 11,2112 71350 LXA,1 DLOAD
020859,001127: 11,2113 03745 RTX1
020860,001128: 11,2114 00023 18D
020861,001129: 11,2115 62040 BMN INCR,1
Page 489 |
020863,001131: 11,2116 22120 +2
020864,001132: 11,2117 77767 DEC -8 B-14
020865,001133: 11,2120 67310 INCR,1 SLOAD
020866,001134: 11,2121 00012 10D
020867,001135: 11,2122 00047 X1
020868,001136: 11,2123 77230 BHIZ VLOAD # (PL 14D)
020869,001137: 11,2124 22126 +2
020870,001138: 11,2125 41476 VCOMP PUSH # (PL 20 D)
020871,001139: 11,2126 77775 VLOAD # (PL 14D)
020872,001140: 11,2127 50235 VXV DOT # (PL 2D)
020873,001141: 11,2130 71244 BPL DLOAD # (PL 0D)
020874,001142: 11,2131 22133 INITVEL4
020875,001143: 11,2132 41476 DCOMP PUSH # (PL 2D)
020876,001144: 11,2133 67154 INITVEL4 LXA,2 SXA,2
020877,001145: 11,2134 00000 0D
020878,001146: 11,2135 02674 GEOMSGN
020879,001147:
020880,001148: # SET INPUTS UP FOR LAMBERT
020881,001149:
020882,001150: 11,2136 45150 LXA,1 CALL
020883,001151: 11,2137 03745 RTX1
020884,001152: # OPERATE THE LAMBERT CONIC ROUTINE (COASTFLT SUBROUTINE)
020885,001153:
020886,001154: 11,2140 25224 LAMBERT
020887,001155:
020888,001156: # DELETE THRU 4521
020889,001157: # ARRIVED AT SOLUTION IS GOOD ENOUGH ACCORDING TO SLIGHTLY WIDER BOUNDS.
020890,001158:
020891,001159: 11,2141 77214 CLEAR VLOAD
020892,001160: 11,2142 00675 GUESSW
020893,001161: 11,2143 02746 VVEC
020894,001162:
020895,001163: # STORE CALCULATED INITIAL VELOCITY REQUIRED IN VIPRIME
020896,001164:
020897,001165: 11,2144 17612 STODL VIPRIME # INITIAL VELOCITY REQUIRED (+7)
020898,001166:
020899,001167: # IF NUMIT IS ZERO, CONTINUE AT INITVELB, OTHERWISE
020900,001168: # SET UP INPUTS FOR ENCKE INTEGRATION (INTEGRVS).
020901,001169:
020902,001170: 11,2145 02704 VTARGTAG
020903,001171: 11,2146 45030 BHIZ CALL
020904,001172: 11,2147 22224 INITVEL7
020905,001173: 11,2150 27442 INTSTALL
020906,001174: 11,2151 43135 SLOAD CLEAR
020907,001175: 11,2152 03747 RTX2
020908,001176: 11,2153 00263 MOONFLAG
020909,001177: 11,2154 43030 BHIZ SET
020910,001178: 11,2155 22157 INITVEL5
020911,001179: 11,2156 00063 MOONFLAG
020912,001180: 11,2157 77775 INITVEL5 VLOAD
020913,001181: 11,2160 03570 RINIT
020914,001182: 11,2161 02657 STORE R1VEC
Page 490 |
020916,001184: 11,2162 25535 STOVL RCV
020917,001185: 11,2163 03612 VIPRIME
020918,001186: 11,2164 15543 STODL VCV
020919,001187: 11,2165 03503 INTIME
020920,001188: 11,2166 01517 STORE TET
020921,001189: 11,2167 43015 DAD CLEAR
020922,001190: 11,2170 03423 DELLT4
020923,001191: 11,2171 01673 INTYPFLG
020924,001192: 11,2172 34041 STCALL TDEC1
020925,001193: 11,2173 27135 INTEGRVS
020926,001194: 11,2174 77775 VLOAD
020927,001195: 11,2175 00025 VATT1
020928,001196: 11,2176 02705 STORE VTARGET
020929,001197:
020930,001198: # IF ITERATION COUNTER (ITCTR) EQ NO. ITERATIONS (NUMIT), CONTINUE AT
020931,001199: # INITVELC, OTHERWISE REITERATE LAMBERT AND ENCKE
020932,001200:
020933,001201: 11,2177 63154 LXA,2 INCR,2
020934,001202: 11,2200 03504 ITCTR
020935,001203: 11,2201 00001 1D # INCREMENT ITCTR
020936,001204: 11,2202 55134 SXA,2 XSU,2
020937,001205: 11,2203 03504 ITCTR
020938,001206: 11,2204 02703 VTARGTAG
020939,001207: 11,2205 46135 SLOAD BHIZ # IF SP(MPAC) EQ 0, CONTINUE AT INITVELC
020940,001208: 11,2206 00050 X2
020941,001209: 11,2207 22221 INITVEL6
020942,001210:
020943,001211: # OFFSET CONIC TARGET VECTOR
020944,001212:
020945,001213: 11,2210 52375 VLOAD VSU
020946,001214: 11,2211 03604 RTARG1
020947,001215: 11,2212 00017 RATT1
020948,001216: 11,2213 77655 VAD
020949,001217: 11,2214 02665 R2VEC
020950,001218: 11,2215 16665 STODL R2VEC
020951,001219: 11,2216 03630 COZY4
020952,001220: 11,2217 77650 GOTO
020953,001221: 11,2220 22056 INITVEL2 # CONTINUE ITERATING AT INITVEL2
020954,001222:
020955,001223: # COMPUTE THE DELTA VELOCITY
020956,001224:
020957,001225: 11,2221 77775 INITVEL6 VLOAD
020958,001226: 11,2222 02665 R2VEC
020959,001227: 11,2223 03604 STORE RTARG1
020960,001228: 11,2224 52375 INITVEL7 VLOAD VSU
020961,001229: 11,2225 03612 VIPRIME
020962,001230: 11,2226 03576 VINIT
020963,001231: 11,2227 27646 STOVL DELVEET3 # DELVEET3 = VIPRIME-VINIT (+7)
020964,001232: 11,2230 02705 VTARGET
020965,001233: 11,2231 03620 STORE VTPRIME
020966,001234: 11,2232 46135 SLOAD BHIZ
020967,001235: 11,2233 03747 RTX2
Page 491 |
020969,001237: 11,2234 22251 INITVELX
020970,001238: 11,2235 70575 VLOAD VSR2
020971,001239: 11,2236 03620 VTPRIME
020972,001240: 11,2237 27620 STOVL VTPRIME
020973,001241: 11,2240 03612 VIPRIME
020974,001242: 11,2241 77742 VSR2
020975,001243: 11,2242 27612 STOVL VIPRIME
020976,001244: 11,2243 03604 RTARG1
020977,001245: 11,2244 77742 VSR2
020978,001246: 11,2245 27604 STOVL RTARG1
020979,001247: 11,2246 03646 DELVEET3
020980,001248: 11,2247 77742 VSR2
020981,001249: 11,2250 03646 STORE DELVEET3
020982,001250: 11,2251 77201 INITVELX SETPD VLOAD
020983,001251: 11,2252 00001 0D
020984,001252: 11,2253 03604 RTARG1
020985,001253: 11,2254 37415 STCALL RTARG
020986,001254: 11,2255 01340 NORMEX
020987,001255:
020988,001256: # ..... END OF INITVEL ROUTINE .....
020989,001257:
Page 492 |
020991,001259: # ..... MIDGIM .....
020992,001260: # MOD NO. 0, BY WILLMAN, SUBROUTINE RENDGUID, LOG P34-P35, P74-P75
020993,001261: # REVISION 03, 17 FEB 67
020994,001262:
020995,001263: # IF THE ACTIVE VEHICLE IS DOING THE COMPUTATION, MIDGIM COMPUTES
020996,001264: # THE POSITIVE MIDDLE GIMBAL ANGLE OF THE ACTIVE VEHICLE TO THE INPUT
020997,001265: # DELTA VELOCITY VECTOR (0D IN PUSH LIST), OTHERWISE
020998,001266: # MIDGIM CONVERTS THE INPUT DELTA VELOCITY VECTOR FROM INERTIAL COORDIN-
020999,001267: # ATES TO LOCAL VERTICAL COORDINATES OF THE ACTIVE VEHICLE.
021000,001268:
021001,001269: # .. INPUTS ..
021002,001270: # NAME MEANING UNITS/SCALING/MODE
021003,001271: # AVFLAG INT FLAG - 0 IS CSM ACTIVE, 1 IS LEM ACTIVE BIT
021004,001272: # COMPUTER INT FLAG - 0 IS LEM COMPUTER, 1 IS CSM COMPUTER BIT
021005,001273: # RINIT ACTIVE VEHICLE RADIUS VECTOR METERS/CSEC (+7) VT
021006,001274: # VINIT ACTIVE VEHICLE VELOCITY VECTOR METERS/CSEC (+7) VT
021007,001275: # 0D(PL) ACTIVE VEHICLE DELTA VELOCITY VECTOR METERS/CSEC (+7) VT
021008,001276:
021009,001277: # .. OUTPUTS ..
021010,001278: # NAME MEANING UNITS/SCALING/MODE
021011,001279: # +MGA + MIDDLE GIMBAL ANGLE REVOLUTIONS (+0) DP
021012,001280: # DELVLVC DELTA VELOCITY VECTOR IN LV COORD. METERS/CSEC (+7) VT
021013,001281: # MGLVFLAG INT FLAG - 0 IS +MGA COMPUTED, 1 IS DELVLVC COMP. - BIT
021014,001282:
021015,001283: # .. CALLING SEQUENCE ..
021016,001284: # L CALL
021017,001285: # L+1 MIDGIM
021018,001286: # L+2 (RETURN - ALWAYS)
021019,001287:
021020,001288: # .. NO SUBROUTINES CALLED ..
021021,001289:
021022,001290: # .. DEBRIS - ERASEABLE TEMPORARY USAGE
021023,001291: # A,Q,L, PUSH LIST, MPAC.
021024,001292:
021025,001293: # .. ALARMS - NONE ..
021026,001294:
Page 493 |
021028,001296: # MIDDLE GIMBAL ANGLE COMPUTATION.
021029,001297: 04,2000 SETLOC MIDDGIM
021030,001298: 04,2000 BANK
021031,001299:
021032,001300: 04,2645 COUNT* $$/MIDG
021033,001301:
021034,001302: 04,2645 20000 00000 HALFREV 2DEC 1 B-1
021035,001303:
021036,001304: 04,2647 43014 MIDGIM BON BOFF
021037,001305: 04,2650 01312 AVFLAG
021038,001306: 04,2651 10667 MIDGIM1
021039,001307: 04,2652 02747 COMPUTER
021040,001308: 04,2653 10672 GET.LVC
021041,001309:
021042,001310: # COMPUTE +MGA IF AVFLAG AND COMPUTER HAVE OPPOSITE VALUES.
021043,001311:
021044,001312: 04,2654 53575 GET+MGA VLOAD UNIT # (PL 0D) V (+7) TO MPAC, UNITIZE UV (+1)
021045,001313: 04,2655 72441 DOT SL1 # DOT UV WITH Y(STABLE MEMBER) AND RESCALE
021046,001314: 04,2656 01744 REFSMMAT +6 # FROM +2 TO +1 FOR ASIN ROUTINE
021047,001315: 04,2657 51136 ARCSIN BPL
021048,001316: 04,2660 10664 SETMGA
021049,001317: 04,2661 43215 DAD DAD # CONVERT -MGA TO +MGA BY
021050,001318: 04,2662 10646 HALFREV # ADDING ONE REVOLUTION
021051,001319: 04,2663 10646 HALFREV
021052,001320: 04,2664 03626 SETMGA STORE +MGA
021053,001321: 04,2665 43414 CLR RVQ # CLEAR MGLVFLAG TO INDICATE +MGA CALC
021054,001322: 04,2666 02675 MGLVFLAG # AND EXIT
021055,001323:
021056,001324: 04,2667 77614 MIDGIM1 BOFF
021057,001325: 04,2670 02747 COMPUTER
021058,001326: 04,2671 10654 GET+MGA
021059,001327:
021060,001328: # COMPUTE DELVLVC IF AVFLAG AND COMPUTER HAVE SAME VALUES.
021061,001329:
021062,001330: 04,2672 53575 GET.LVC VLOAD UNIT # (PL 6D) R (+29) IN MPAC, UNITIZE UR
021063,001331: 04,2673 03570 RINIT
021064,001332: 04,2674 77676 VCOMP # U(-R)
021065,001333: 04,2675 00023 STORE 18D # U(-R) TO 18D
021066,001334: 04,2676 53435 VXV UNIT # U(-R)*V EQ V*U(R), U(V*R)
021067,001335: 04,2677 03576 VINIT
021068,001336: 04,2700 00015 STORE 12D # U(V*R) TO 12D
021069,001337: 04,2701 53435 VXV UNIT # U(V*R)*U(-R), U((V*R)*(-R))
021070,001338: 04,2702 00023 18D
021071,001339: 04,2703 24007 STOVL 6D # TRANSFORMATION MATRIX IS IN 6D (+1)
021072,001340: 04,2704 00001 0D # DELTA V (+7) IN 0D
021073,001341: 04,2705 76521 MXV VSL1 # CONVERT FROM INER COOR TO LV COOR (+8)
021074,001342: 04,2706 00007 6D # AND SCALE +7 IN MPAC
021075,001343: 04,2707 03405 STORE DELVLVC # STORE IN DELVLVC (+7)
021076,001344: 04,2710 43414 SET RVQ # SET MGLVFLAG TO INDICATE LVC CALC
021077,001345: 04,2711 02475 MGLVFLAG # AND EXIT
021078,001346:
021079,001347: # ..... END OF MIDGIM ROUTINE .....
021080,001348:
Page 494 |
021082,001350: 04,2712 77160 SELECTMU AXC,1 AXT,2
021083,001351: 04,2713 00002 2D
021084,001352: 04,2714 00000 0D
021085,001353: 04,2715 77614 BOFF
021086,001354: 04,2716 04343 CMOONFLG
021087,001355: 04,2717 10723 SETMUER
021088,001356: 04,2720 77160 AXC,1 AXT,2
021089,001357: 04,2721 00012 10D
021090,001358: 04,2722 00002 2D
021091,001359: 04,2723 66143 SETMUER DLOAD* SXA,1
021092,001360: 04,2724 11741 MUTABLE +4,1
021093,001361: 04,2725 03745 RTX1
021094,001362: 04,2726 23752 STODL* RTSR1/MU
021095,001363: 04,2727 11733 MUTABLE -2,1
021096,001364: 04,2730 54214 BOFF SR
021097,001365: 04,2731 04343 CMOONFLG
021098,001366: 04,2732 10734 RTRNMU
021099,001367: 04,2733 20607 6D
021100,001368: 04,2734 03750 RTRNMU STORE RTMU
021101,001369: 04,2735 43134 SXA,2 CLEAR
021102,001370: 04,2736 03746 RTX2
021103,001371: 04,2737 01271 FINALFLG
021104,001372: 04,2740 77650 GOTO
021105,001373: 04,2741 73003 VN1645
021106,001374:
Page 495 |
021108,001376: # ..... PERIAPO .....
021109,001377: # MOD NO -1 LOG SECTION - P34-P35, P74-P75
021110,001378: # MOD BY WHITE.P DATE 18JAN68
021111,001379:
021112,001380: # FUNCTIONAL DESCRIPTION
021113,001381:
021114,001382: # THIS SUBROUTINE COMPUTES THE TWO BODY APOCENTER AND PERICENTER
021115,001383: # ALTITUDES GIVEN THE POSITION AND VELOCITY VECTORS FOR A POINT ON
021116,001384: # THE TRAJECTORY AND THE PRIMARY BODY.
021117,001385:
021118,001386: # SETRAD IS CALLED TO DETERMINE THE RADIUS OF THE PRIMARY BODY.
021119,001387:
021120,001388: # APSIDES IS CALLED TO SOLVE FOR THE TWO BODY RADII OF APOCENTER AND
021121,001389: # PERICENTER AND THE ECCENTRICITY OF THE TRAJECTORY.
021122,001390:
021123,001391: # CALLING SEQUENCE
021124,001392: # L CALL
021125,001393: # L+1 PERIAPO
021126,001394: # L+2 (RETURN - ALWAYS)
021127,001395:
021128,001396: # INPUT
021129,001397: # (1) RVEC POSITION VECTOR IN METERS
021130,001398: # SCALE FACTOR - EARTH +29, MOON +27
021131,001399: # (2) VVEC VELOCITY VECTOR IN METERS/CENTISECOND
021132,001400: # SCALE FACTOR - EARTH +7, MOON +5
021133,001401: # (3) X1 PRIMARY BODY INDICATOR
021134,001402: # EARTH -2, MOON -10
021135,001403:
021136,001404: # OUTPUT
021137,001405: # (1) 2D APOCENTER RADIUS IN METERS
021138,001406: # SCALE FACTOR - EARTH +29, MOON +27
021139,001407: # (2) 4D APOCENTER ALTITUDE IN METERS
021140,001408: # SCALE FACTOR - EARTH +29, MOON P27
021141,001409: # (3) 6D PERICENTER RADIUS IN METERS
021142,001410: # SCALE FACTOR - EARTH +29, MOON +27
021143,001411: # (4) 8D PERICENTER ALTITUDE IN METERS
021144,001412: # SCALE FACTOR - EARTH +29, MOON +27
021145,001413: # (5) ECC ECCENTRICITY OF CONIC TRAJECTORY
021146,001414: # SCALE FACTOR - +3
021147,001415: # (6) XXXALT RADIUS OF THE PRIMARY BODY IN METERS
021148,001416: # SCALE FACTOR - EARTH +29, MOON +27
021149,001417: # (7) PUSHLOC EQUALS 10D
021150,001418:
021151,001419: # SUBROUTINES USED
021152,001420: # SETRAD
Page 496 |
021154,001422: # APSIDES
021155,001423:
021156,001424: 22,2000 SETLOC APOPERI
021157,001425: 22,2000 BANK
021158,001426:
021159,001427: 22,3151 COUNT* $$/PERAP
021160,001428:
021161,001429: 22,3151 00302 17755 RPAD 2DEC 6373338 B-29 # STANDARD RADIUS OF PAD 37-B.
021162,001430: # = 20 909 901.57 FT
021163,001431:
021164,001432: 22,3153 53754 PERIAPO1 LXA,2 VSR*
021165,001433: 22,3154 03746 RTX2
021166,001434: 22,3155 57176 0,2
021167,001435: 22,3156 26746 STOVL VVEC
021168,001436: 22,3157 53750 LXA,1 VSR*
021169,001437: 22,3160 03745 RTX1
021170,001438: 22,3161 57176 0,2
021171,001439: 22,3162 02657 STORE RVEC
021172,001440: 22,3163 45020 PERIAPO STQ CALL
021173,001441: 22,3164 01340 NORMEX
021174,001442: 22,3165 45201 SETRAD
021175,001443: 22,3166 37456 STCALL XXXALT
021176,001444: 22,3167 25703 APSIDES
021177,001445: 22,3170 41401 SETPD PUSH # 2D = APOCENTER RADIUS B29 OR B27
021178,001446: 22,3171 00003 2D
021179,001447: 22,3172 65225 DSU PDDL # 4D = APOGEE ALTITUDE B29 OR B27
021180,001448: 22,3173 03456 XXXALT
021181,001449: 22,3174 00001 0D
021182,001450: 22,3175 45206 PUSH DSU # 6D = PERICENTER RADIUS B29 OR B27
021183,001451: 22,3176 03456 XXXALT
021184,001452: 22,3177 52006 PUSH GOTO # 8D = PERIGEE ALTITUDE B29 OR B27
021185,001453: 22,3200 01340 NORMEX
Page 497 |
021187,001455: # SETRAD
021188,001456: 22,3201 41545 SETRAD DLOAD PUSH
021189,001457: 22,3202 05152 RPAD
021190,001458: 22,3203 63130 SXA,1 INCR,2
021191,001459: 22,3204 00047 X2
021192,001460: 22,3205 00002 2D
021193,001461: 22,3206 46135 SLOAD BHIZ
021194,001462: 22,3207 00050 X2
021195,001463: 22,3210 45214 SETRADX
021196,001464: 22,3211 51575 VLOAD ABVAL
021197,001465: 22,3212 02026 RLS
021198,001466: 22,3213 77725 PDDL
021199,001467: 22,3214 43545 SETRADX DLOAD RVQ
021200,001468:
Page 498 |
021202,001470: # PRECSET
021203,001471: 22,3215 77620 PRECSET STQ
021204,001472: 22,3216 01340 NORMEX
021205,001473: 22,3217 36635 STCALL TDEC2
021206,001474: 22,3220 27105 LEMPREC
021207,001475: 22,3221 77624 CALL
021208,001476: 22,3222 45233 LEMSTORE
021209,001477: 22,3223 77745 DLOAD
021210,001478: 22,3224 02635 TDEC2
021211,001479: 22,3225 34041 STCALL TDEC1
021212,001480: 22,3226 27071 CSMPREC
021213,001481: 22,3227 77624 CALL
021214,001482: 22,3230 45243 CSMSTORE
021215,001483: 22,3231 77650 GOTO
021216,001484: 22,3232 01340 NORMEX
021217,001485: 22,3233 43175 LEMSTORE VLOAD BOFF
021218,001486: 22,3234 00001 RATT
021219,001487: 22,3235 01352 AVFLAG
021220,001488: 22,3236 45247 PASSIVE
021221,001489: 22,3237 27540 ACTIVE STOVL RACT3
021222,001490: 22,3240 00007 VATT
021223,001491: 22,3241 03546 STORE VACT3
021224,001492: 22,3242 77616 RVQ
021225,001493: 22,3243 43175 CSMSTORE VLOAD BOFF
021226,001494: 22,3244 00001 RATT
021227,001495: 22,3245 01352 AVFLAG
021228,001496: 22,3246 45237 ACTIVE
021229,001497: 22,3247 27554 PASSIVE STOVL RPASS3
021230,001498: 22,3250 00007 VATT
021231,001499: 22,3251 03562 STORE VPASS3
021232,001500: 22,3252 77616 RVQ
021233,001501:
Page 499 |
021235,001503: # VECSHIFT
021236,001504: 22,3253 53754 VECSHIFT LXA,2 VSR*
021237,001505: 22,3254 03746 RTX2
021238,001506: 22,3255 57176 0,2
021239,001507: 22,3256 63350 LXA,1 PDVL
021240,001508: 22,3257 03745 RTX1
021241,001509: 22,3260 63257 VSR* PDVL
021242,001510: 22,3261 57176 0,2
021243,001511: 22,3262 77616 RVQ
021244,001512:
Page 500 |
021246,001514: # SHIFTR1
021247,001515: 22,3263 53754 SHIFTR1 LXA,2 SL*
021248,001516: 22,3264 03746 RTX2
021249,001517: 22,3265 57576 0,2
021250,001518: 22,3266 77616 RVQ
021251,001519:
Page 501 |
021253,001521: # PROGRAM DESCRIPTION
021254,001522:
021255,001523: # SUBROUTINE NAME R36 OUT-OF-PLANE RENDEZVOUS ROUTINE
021256,001524: # MOD NO. 2 DATE 2 JANUARY 1969
021257,001525: # MOD BY A.W.BANCROFT LOG SECTION EXTENDED VERBS
021258,001526:
021259,001527: # FUNCTIONAL DESCRIPTION
021260,001528:
021261,001529: # TO DISPLAY AT ASTRONAUT REQUEST LGC CALCULATED RENDEZVOUS
021262,001530: # OUT-OF-PLANE PARAMETERS (Y, YDOT, PSI). (REQUESTED BY DSKY).
021263,001531:
021264,001532: # CALLING SEQUENCE
021265,001533: # ASTRONAUT REQUEST THROUGH DSKY V 90 E
021266,001534:
021267,001535: # SUBROUTINES CALLED
021268,001536: # EXDSPRET
021269,001537: # GOMARKF
021270,001538: # CSMPREC
021271,001539: # LEMPREC
021272,001540: # SGNAGREE
021273,001541: # LOADTIME
021274,001542:
021275,001543: # NORMAL EXIT MODES
021276,001544: # ASTRONAUT REQUEST THROUGH DSKY TO TERMINATE PROGRAM V 34 E
021277,001545:
021278,001546: # ALARM OR ABORT EXIT MODES
021279,001547: # NONE
021280,001548:
021281,001549: # OUTPUT
021282,001550: # DECIMAL DISPLAY OF TIME, Y, YDOT AND PSI
021283,001551:
021284,001552: # DISPLAYED VALUES Y, YDOT, AND PSI, ARE STORED IN ERASABLE
021285,001553: # REGISTERS RANGE, RRATE AND RTHETA RESPECTIVELY.
021286,001554:
021287,001555: # ERASABLE INITIALIZATION REQUIRED
021288,001556: # CSM AND LEM STATE VECTORS
021289,001557:
021290,001558: # DEBRIS
021291,001559: # CENTRALS A,Q,L
021292,001560: # OTHER THOSE USED BY THE ABOVE LISTED SUBROUTINES
021293,001561:
021294,001562: 20,2164 BANK 20
021295,001563: 20,2000 SETLOC R36CM
021296,001564: 20,2000 BANK
Page 502 |
021298,001566: 20,2164 E4,1726 EBANK= RPASS36
021299,001567:
021300,001568: 20,2164 41,3725 SBANK= R36A
021301,001569: 20,2164 COUNT* $$/R36
021302,001570:
021303,001571: 20,2164 35016 R36 CAF TWO
021304,001572: 20,2165 55051 TS OPTIONX
021305,001573: 20,2166 35017 CAF ONE
021306,001574: 20,2167 55052 TS OPTIONX +1
021307,001575: 20,2170 32200 CAF OPTION36 # V 04 N 12
021308,001576: 20,2171 04662 TC BANKCALL
021309,001577: 20,2172 20561 CADR GOXDSPF
021310,001578: 20,2173 05534 TC ENDEXT # TERMINATE
021311,001579: 20,2174 02176 TC +2 # PROCEED
021312,001580: 20,2175 02170 TC -5 # R2 LOADED VIA DSKY
021313,001581: 20,2176 04701 TC POSTJUMP
021314,001582: 20,2177 63725 CADR R36A
021315,001583:
021316,001584: 20,2200 01014 OPTION36 VN 0412
021317,001585:
021318,001586: 41,2000 SETLOC R36LM
021319,001587: 41,2000 BANK
021320,001588:
021321,001589: 41,3725 22007 R36A ZL
021322,001590: 41,3726 35021 CAF ZERO # SET TIME OF EVENT TO ZERO FOR FIRST
021323,001591: 41,3727 53052 DXCH DSPTEMX # DISPLAY
021324,001592: 41,3730 23742 LXCH OPTIONY # SAVE VEH. OPTION
021325,001593: 41,3731 33773 R36P3 CAF V06N16N
021326,001594: 41,3732 04662 TC BANKCALL
021327,001595: 41,3733 20561 CADR GOMARKF
021328,001596: 41,3734 15534 TCF ENDEXT # TERMINATE
021329,001597: 41,3735 13737 TCF +2 # PROCEED
021330,001598: 41,3736 13731 TCF -5 # RECYCLE FOR ASTRONAUT INPUT TIME
021331,001599: 41,3737 53052 DXCH DSPTEMX
021332,001600: 41,3740 00006 EXTEND
021333,001601: 41,3741 13762 BZF LREGCHK # A-REG ZERO GOTO CHECK L-REG FOR ZERO
021334,001602: 41,3742 52155 ASTROTIM DXCH MPAC # A-REG NON-ZERO, TIME = ASTRO INPUT TIME
021335,001603: 41,3743 06006 TC INTPRET
021336,001604: 41,3744 52034 RTB GOTO
021337,001605: 41,3745 45716 DPMODE
021338,001606: 41,3746 65521 R36INT
021339,001607:
021340,001608: 42,2000 SETLOC R36LM1
021341,001609: 42,2000 BANK
021342,001610:
021343,001611: 42,3521 00041 R36INT STORE TDEC1
021344,001612: 42,3522 70535 SLOAD SR1
021345,001613: 42,3523 02343 OPTIONY
021346,001614: 42,3524 45030 BHIZ CALL
021347,001615: 42,3525 65531 R36PROG2 # FOR CSM DISPLAY
Page 503 |
021349,001617: 42,3526 27071 THISPREC # FOR LEM DISPLAY
021350,001618: 42,3527 77650 GOTO
021351,001619: 42,3530 65533 R36PROG3
021352,001620: 42,3531 77624 R36PROG2 CALL
021353,001621: 42,3532 27105 OTHPREC
021354,001622: 42,3533 63375 R36PROG3 VLOAD PDVL
021355,001623: 42,3534 00007 VATT
021356,001624: 42,3535 00001 RATT # -
021357,001625: 42,3536 02327 STORE RPASS36 # R
021358,001626: 42,3537 63256 UNIT PDVL # P
021359,001627: 42,3540 53435 VXV UNIT # -
021360,001628: 42,3541 77626 STADR
021361,001629: 42,3542 61442 STODL UNP36 # U
021362,001630: 42,3543 00015 TAT
021363,001631: 42,3544 00041 STORE TDEC1
021364,001632: 42,3545 70535 SLOAD SR1
021365,001633: 42,3546 02343 OPTIONY
021366,001634: 42,3547 45030 BHIZ CALL
021367,001635: 42,3550 65554 R36PROG4 # FOR CSM DISPLAY
021368,001636: 42,3551 27105 OTHPREC # FOR LEM DISPLAY
021369,001637: 42,3552 77650 GOTO
021370,001638: 42,3553 65556 R36PROG5
021371,001639: 42,3554 77624 R36PROG4 CALL
021372,001640: 42,3555 27071 THISPREC
021373,001641: 42,3556 63375 R36PROG5 VLOAD PDVL # -
021374,001642: 42,3557 00007 VATT # VELOCITY VECTOR V 00D
021375,001643: 42,3560 00001 RATT # A
021376,001644: 42,3561 77725 PDDL
021377,001645: 42,3562 00015 TAT # SAVE TIME IN LOCATION 30D FOR REDISPLAY
021378,001646: 42,3563 24037 STOVL 30D # -
021379,001647: 42,3564 41406 PUSH PUSH # POSITION VECTOR R IN 06D AND 12D
021380,001648: 42,3565 63245 BVSU PDVL # A - -
021381,001649: 42,3566 02327 RPASS36 # LINE OF SIGHT VECTOR R - R 12D
021382,001650: 42,3567 72441 DOT SL1 # P A
021383,001651: 42,3570 02335 UNP36 # - -
021384,001652: 42,3571 26321 STOVL RANGE # Y = U . R
021385,001653: 42,3572 00001 00D # A
021386,001654: 42,3573 72441 DOT SL1
021387,001655: 42,3574 02335 UNP36 # . - -
021388,001656: 42,3575 26323 STOVL RRATE # Y = U . V
021389,001657: 42,3576 00007 06D # - A -
021390,001658: 42,3577 41456 UNIT PUSH # U = UNIT ( R ) 18D
021391,001659: 42,3600 47235 VXV VXV # RA A
021392,001660: 42,3601 00001 00D # - - - -
021393,001661: 42,3602 00023 18D # (U X V ) X U = U
021394,001662: 42,3603 53552 VSL2 UNIT # RA A RA A
021395,001663: 42,3604 52056 UNIT GOTO
021396,001664: 42,3605 61600 R36B
021397,001665:
021398,001666: 40,2000 SETLOC R36CM1
Page 504 |
021400,001668: 40,2000 BANK
021401,001669:
021402,001670: 40,3600 24001 R36B STOVL 00D # UNIT HORIZONTAL IN FORWARD DIR. 00D
021403,001671: 40,3601 00023 18D
021404,001672: 40,3602 74241 DOT VXSC # -
021405,001673: 40,3603 00015 12D # U
021406,001674: 40,3604 77752 VSL2 # L
021407,001675: 40,3605 53445 BVSU UNIT
021408,001676: 40,3606 77656 UNIT
021409,001677: 40,3607 50206 PUSH DOT # LOS PROJECTED INTO HORIZONTAL 12D
021410,001678: 40,3610 00001 00D # PLANE
021411,001679: 40,3611 65552 SL1 ARCCOS # - -
021412,001680: 40,3612 26325 STOVL RTHETA # PSI = ARCCOS(U . U )
021413,001681: 40,3613 50235 VXV DOT # A L
021414,001682: 40,3614 00001 00D
021415,001683: 40,3615 71244 BPL DLOAD
021416,001684: 40,3616 63747 R36TAG2
021417,001685: 40,3617 15343 DPPOSMAX
021418,001686: 40,3620 77625 DSU
021419,001687: 40,3621 02325 RTHETA
021420,001688: 40,3622 36325 STCALL RTHETA
021421,001689: 40,3623 63747 R36TAG2
021422,001690:
021423,001691: 41,2000 SETLOC R36LM
021424,001692: 41,2000 BANK
021425,001693:
021426,001694: 41,3747 47145 R36TAG2 DLOAD RTB
021427,001695: 41,3750 00037 30D
021428,001696: 41,3751 45544 SGNAGREE
021429,001697: 41,3752 01052 STORE DSPTEMX
021430,001698: 41,3753 77776 EXIT
021431,001699: 41,3754 33774 CAF V06N90N # DISPLAY Y, YDOT, AND PSI
021432,001700: 41,3755 04662 TC BANKCALL
021433,001701: 41,3756 20561 CADR GOMARKF
021434,001702: 41,3757 15534 TCF ENDEXT # TERMINATE
021435,001703: 41,3760 15534 TCF ENDEXT # PROCEED, END OF PROGRAM
021436,001704: 41,3761 13731 TCF R36P3 # REDISPLAY OUTPUT
021437,001705: 41,3762 56001 LREGCHK XCH L
021438,001706: 41,3763 00006 EXTEND
021439,001707: 41,3764 13767 BZF ENTTIM2 # L-REG ZERO, SET TIME = PRESENT TIME
021440,001708: 41,3765 56001 XCH L # L-REG NON ZERO, TIME = ASTRO INPUT TIME
021441,001709: 41,3766 13742 TCF ASTROTIM
021442,001710: 41,3767 06006 ENTTIM2 TC INTPRET
021443,001711: 41,3770 52034 RTB GOTO
021444,001712: 41,3771 45510 LOADTIME
021445,001713: 41,3772 65521 R36INT
021446,001714: 41,3773 01420 V06N16N VN 00616
021447,001715: 41,3774 01532 V06N90N VN 00690
021448,001716: 41,3775 30,2000 SBANK= LOWSUPER
End of include-file P34-P35,_P74-P75.agc. Parent file is MAIN.agc