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