Source Code
These source-code files are part of a reconstructed copy of Comanche 72, the
first release of the Apollo Guidance Computer (AGC) Command Module (CM) software
for Apollo 13.
They have been adapted from sources files created from a listing of Comanche 55. These source files were updated to match binary dumps of a set of Comanche 67 rope modules. They were then further modified by applying known changes between Comanche 67 and Comanche 72. A binary dump of module B2 of Comanche 72, part number 2010802-021, was also used to validate changes made to banks 05-13. 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 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. |
036359,000002: ## Copyright: Public domain.
036360,000003: ## Filename: REENTRY_CONTROL.agc
036361,000004: ## Purpose: A section of Comanche revision 072.
036362,000005: ## It is part of the reconstructed source code for the first
036363,000006: ## release of the software for the Command Module's (CM) Apollo
036364,000007: ## Guidance Computer (AGC) for Apollo 13. No original listings
036365,000008: ## of this program are available; instead, this file was recreated
036366,000009: ## from a printout of Comanche 055, binary dumps of a set of
036367,000010: ## Comanche 067 rope modules, and changelogs between Comanche 067
036368,000011: ## and 072. It has been adapted such that the resulting bugger words
036369,000012: ## exactly match those specified for Comanche 072 in NASA drawing
036370,000013: ## 2021153G, which gives relatively high confidence that the
036371,000014: ## reconstruction is correct.
036372,000015: ## Assembler: yaYUL
036373,000016: ## Contact: Ron Burkey <info@sandroid.org>.
036374,000017: ## Website: www.ibiblio.org/apollo/index.html
036375,000018: ## Mod history: 2024-05-13 MAS Created from Comanche 067.
036376,000019:
036377,000020: # ENTRY INITIALIZATION ROUTINE
036378,000021: # -----------------------------
036379,000022:
036380,000023: 25,2000 BANK 25
036381,000024: 25,2000 SETLOC REENTRY
036382,000025: 25,2000 BANK
036383,000026:
036384,000027: 25,2000 COUNT* $$/ENTRY
036385,000028: 25,2000 E7,1451 EBANK= RTINIT
036386,000029:
036387,000030: 25,2000 5074 EBENTRY = EBANK7
036388,000031: 25,2000 5073 EBAOG EQUALS EBANK6
036389,000032: 25,2000 5016 NTRYPRIO EQUALS PRIO20 # (SERVICER)
036390,000033: 25,2000 0102 CM/FLAGS EQUALS STATE +6
036391,000034:
036392,000035: 25,2000 77776 STARTENT EXIT # MM = 63
036393,000036:
036394,000037: # COME HERE FROM CM/POSE. RESTARTED IN CM/POSE.
036395,000038: 25,2001 42113 CS ENTMASK # INITIALIZE ALL SWITCHES TO ZERO
036396,000039: # EXCEPT LATSW, ENTRYDSP AND GONEPAST.
036397,000040: # GONEBY 112D BIT8 FLAG7, SELF INITIALIZING
036398,000041: 25,2002 00004 INHINT
036399,000042: 25,2003 70102 MASK CM/FLAGS
036400,000043: # ENTRYDSP = 92D B13
036401,000044: # GONEPAST=95D B10, RELVELSW=96D B9
036402,000045: # EGSW = 97D B8 NOSWITCH = 98D B7
036403,000046: # HIND=99D B6 INRLSW=100D B5
036404,000047: # LATSW=101D B4 .05GSW=102D B3
036405,000048:
036406,000049: 25,2004 62114 AD ENTRYSW # SET ENTRYDSP, LATSW, GONEPAST.
036407,000050: 25,2005 54102 TS CM/FLAGS
036408,000051:
036409,000052: 25,2006 00003 RELINT
036410,000053:
036411,000054: 25,2007 06006 TC INTPRET
036412,000055:
036413,000056: 25,2010 77735 SLOAD
036414,000057: 25,2011 03011 LODPAD
036415,000058: 25,2012 03626 STORE LOD
036416,000059:
036417,000060: 25,2013 77735 SLOAD
036418,000061: 25,2014 03010 LADPAD
036419,000062: 25,2015 03624 STORE LAD
036420,000063:
036421,000064: 25,2016 77605 DMP # L/DCMINR = LAD COS(15)
036422,000065: 25,2017 15322 COS15
036423,000066: 25,2020 17630 STODL L/DCMINR
036424,000067: 25,2021 15145 LATSLOPE
036425,000068: 25,2022 70405 DMP SR1 # KLAT = LAD/24
036426,000069: 25,2023 03624 LAD
036427,000070: 25,2024 17632 STODL KLAT
036428,000071: 25,2025 15176 Q7F
036429,000072: 25,2026 17175 STODL Q7 # Q7 = Q7F
036430,000073: 25,2027 17373 NEARONE # 1.0 -1BIT
036431,000074: 25,2030 17614 STODL FACTOR
036432,000075: 25,2031 03624 LAD
036433,000076: 25,2032 57565 SIGN DCOMP
036434,000077: 25,2033 03327 HEADSUP # MAY BE NOISE FOR DISPLAY P61
036435,000078: 25,2034 37634 STCALL L/D # L/D = - LAD SGN(HEADSUP)
036436,000079:
036437,000080: 25,2035 52063 STARTEN1 # RETURN VIA GOTOADDR
036438,000081: 25,2036 47375 VLOAD VXV
036439,000082: 25,2037 01177 VN # (-7) M/CS
036440,000083: 25,2040 01760 UNITR # .5 UNIT REF COORDS
036441,000084: 25,2041 50256 UNIT DOT
036442,000085: 25,2042 03474 RT # RT/2 TARGET VECTOR REF COORDS
036443,000086: 25,2043 03676 STORE LATANG # LATANG = UNI.RT /4
036444,000087: 25,2044 47076 DCOMP RTB
036445,000088: 25,2045 45712 SIGNMPAC
036446,000089: 25,2046 17644 STODL K2ROLL # K2ROLL = -SGN(LATANG)
036447,000090:
036448,000091: 25,2047 03624 LAD
036449,000092: 25,2050 43205 DMP DAD
036450,000093: 25,2051 15200 Q21
036451,000094: 25,2052 15202 Q22
036452,000095: 25,2053 03712 STORE Q2 # Q2 = -1152 + 500 LAD
036453,000096:
036454,000097: 25,2054 66331 SSP SSP
036455,000098: 25,2055 03646 GOTOADDR # SET SELECTOR FOR INITIAL PASS
036456,000099: 25,2056 52260 INITROLL
036457,000100: 25,2057 03325 POSEXIT
036458,000101: 25,2060 52115 SCALEPOP # SET CM/POSE TO CONTINUE AT SCALEPOP
036459,000102:
036460,000103: 25,2061 77634 RTB
036461,000104: 25,2062 53611 SERVNOUT # OMIT INITIAL DISPLAY, SINCE 1ST GUESSBAD
036462,000105:
036463,000106: # CALCULATE THE INITIAL TARGET VECTOR: RTINIT, ALSO RTEAST, RTNORM AND RT. ALL ARE .5 UNIT AND IN
036464,000107: # REFERENCE COORDINATES.
036465,000108:
036466,000109: 25,2063 77220 STARTEN1 STQ VLOAD
036467,000110: 25,2064 03645 GOTOADDR
036468,000111: 25,2065 03401 LAT(SPL) # TARGET COORDINATES
036469,000112: 25,2066 43014 CLEAR CLEAR # DO CALL USING PAD RADIUS. WILL UNIT IT.
036470,000113: 25,2067 00662 ERADFLAG # ANYWAY.
036471,000114: 25,2070 01663 LUNAFLAG
036472,000115: 25,2071 15104 STODL LAT
036473,000116: 25,2072 15334 3ZEROS
036474,000117:
036475,000118: 25,2073 15110 STODL LAT +4 # SET ALT=0.
036476,000119: 25,2074 01205 PIPTIME # ESTABLISH RTINIT AT TIME OF PRESENT
036477,000120: # RN AND VN.
036478,000121: 25,2075 37524 STCALL TIME/RTO # SAVE TIME BASE OF RTINIT.
036479,000122: 25,2076 26447 LALOTORV # C(MPAC) =TIME (PIPTIME)
036480,000123: 25,2077 77656 UNIT # ANSWER IN ALPHAV ALSO
036481,000124: 25,2100 17452 STODL RTINIT # .5 UNIT TARGET REF COORDS
036482,000125: 25,2101 12112 500SEC # NOMINAL ENTRY TIME FOR P63
036483,000126: # TIME/RTO = PIPTIME, STILL.
036484,000127: 25,2102 37606 STCALL DTEAROT # INITIALIZE EARROT
036485,000128: 25,2103 46215 EARROT1 # GET RT
036486,000129: 25,2104 72441 DOT SL1
036487,000130: 25,2105 01760 UNITR # RT/2 IN MPAC
036488,000131: 25,2106 77726 ACOS
036489,000132: 25,2107 37702 STCALL THETAH # RANGE ANGLE /360
036490,000133: 25,2110 03645 GOTOADDR # RETURN TO CALLER
036491,000134:
036492,000135: 25,2111 00003 01520 500SEC 2DEC 50000 B-28 # CS
036493,000136:
036494,000137: 25,2113 11774 ENTMASK OCT 11774
036495,000138: 25,2114 11010 ENTRYSW OCT 11010 # ENTRYDSP B13, GONEPAST B10, LATSW B4
036496,000139:
036497,000140: 25,2115 77624 SCALEPOP CALL
036498,000141: 25,2116 52125 TARGETNG
036499,000142:
036500,000143: 25,2117 77776 EXIT
036501,000144:
036502,000145: 25,2120 05426 REFAZE10 TC PHASCHNG
036503,000146: 25,2121 10035 OCT 10035 # SERVICER 5.3 RESTART AT REFAZE10
036504,000147:
036505,000148: 25,2122 06006 TC INTPRET
036506,000149:
036507,000150: # JUMP TO PARTICULAR RE-ENTRY PHASE:
036508,000151: # SEQUENCE
036509,000152: 25,2123 77650 GOTO
036510,000153: 25,2124 03645 GOTOADDR
036511,000154:
036512,000155: # GOTOADDR CONTAINS THE ADDRESS OF THE ROLL COMMAND EQUATIONS APPROPRIATE TO THE CURRENT PHASE OF
036513,000156: # RE-ENTRY. SEQUENCING IS AS FOLLOWS:
036514,000157:
036515,000158: # INITROLL ADDRESS IS SET HERE INITIALLY. HOLDS INITIAL ROLL ATTITUDE UNTIL KAT IS EXCEEDED. THEN HOLDS NEW ROLL
036516,000159: # ATTITUDE UNTIL VRTHRESH IS EXCEEDED. THEN BRANCHES TO
036517,000160:
036518,000161: # HUNTEST THIS SECTION CHECKS TO SEE IF THE PREDICTED RANGE AT NOMINAL L/D FROM PRESENT CONDITIONS IS LESS
036519,000162: # THAN THE DESIRED RANGE.
036520,000163: # IF NOT - A ROLL COMMAND IS GENERATED BY THE CONSTANT DRAG CONTROLLER.
036521,000164: # IF SO - CONTROL AND GOTOADDR ARE SET TO UPCONTRL.
036522,000165: # USUALLY NO ITERATION IS INVOLVED EXCEPT IF THE RANGE DESIRED IS TOO LONG ON THE FIRST PASS THROUGH
036523,000166: # HUNTEST.
036524,000167:
036525,000168: # UPCONTRL CONTROLS ROLL DURING THE SUPER-CIRCULAR PHASE. UPCONTRL IS TERMINATED EITHER
036526,000169: # (A) WHEN THE DRAG (AS MEASURED BY THE PIPAS) FALLS BELOW Q7, OR
036527,000170: # (B) IF RDOT IS NEGATIVE AND REFERENCE VL EXCEEDS V.
036528,000171: # IN CASE (A), GOTOADDR IS SET TO KEP2 AND IN CASE (B), TO PREDICT3 SKIPPING THE KEPLER PHASE OF
036529,000172: # ENTRY.
036530,000173:
036531,000174: # KEP2 GOTOADDR IS SET HERE DURING THE KEPLER PHASE TO MONITOR DRAG. THE SPACECRAFT IS INSTANTANEOUSLY
036532,000175: # TRIMMED IN PITCH AND YAW TO THE COMPUTED RELATIVE VELOCITY. THE LAST COMPUTED ROLL ANGLE IS MAINTAINED.
036533,000176: # WHEN THE MEASURED DRAG EXCEEDS Q7 +0.5, GOTOADDR IS SET TO
036534,000177:
036535,000178: # PREDICT3 THIS CONTROLS THE FINAL SUB-ORBITAL PHASE. ROLL COMMANDS CEASE
036536,000179: # WHEN V IS LESS THAN VQUIT . AN EXIT IS MADE TO
036537,000180:
036538,000181: # P67.1 THE LAST COMPUTED ROLL ANGLE IS MAINTAINED. RATE DAMPING IS DONE IN PITCH AND YAW. PRESENT LATITUDE
036539,000182: # AND LONGITUDE ARE COMPUTED FOR DISPLAY.
036540,000183: # ENTRY IS TERMINATED WHEN DISKY RESPONSE IS MADE TO TO THIS FINAL FLASHING DISPLAY.
036541,000184:
036542,000185: # PROCESS AVERAGE G OUTPUT...SCALE IT AND GET INPUT DATA
036543,000186:
036544,000187: # * START TARGETING ...
036545,000188:
036546,000189: 25,2125 E7,1451 EBANK= RTINIT
036547,000190:
036548,000191: # TARGETNG IS CALLED BY P61, FROM GROUP 4.
036549,000192: # TARGETNG IS CALLED BY ENTRY, FROM GROUP 5.
036550,000193:
036551,000194: # ALL MM COME HERE.
036552,000195: 25,2125 77214 TARGETNG BOFF VLOAD # ENTER WITH PROPER EB FROM CM/POSE(TEST)
036553,000196: 25,2126 03346 RELVELSW # RELVELSW = 96D BIT9
036554,000197: 25,2127 52133 GETVEL # WANT INERTIAL VEL. GO GET IT.
036555,000198: 25,2130 03526 -VREL # NEW V IS RELATIVE, CONTINUE
036556,000199:
036557,000200: 25,2131 52076 VCOMP GOTO # (VREL) = (V) + KWE UNITR*UNITW
036558,000201: 25,2132 52136 GETUNITV -1 # - VREL WAS LEFT BY CM/POSE
036559,000202:
036560,000203: 25,2133 74375 GETVEL VLOAD VXSC # INERTIAL V WANTED
036561,000204: 25,2134 01177 VN # KVSCALE = (12800 / .3048) / 2VS
036562,000205: 25,2135 15230 KVSCALE # KVSCALE = .81491944
036563,000206: 25,2136 03516 STORE VEL # V/2 VS
036564,000207:
036565,000208: 25,2137 44056 GETUNITV UNIT STQ
036566,000209: 25,2140 03373 60GENRET
036567,000210: 25,2141 17510 STODL UNITV
036568,000211: 25,2142 00043 34D
036569,000212: 25,2143 03622 STORE VSQUARE # VSQ/4
036570,000213:
036571,000214: 25,2144 77625 DSU # LEQ = VSQUARE - 1
036572,000215: 25,2145 15324 FOURTH # 4 G-S FULL SCALE
036573,000216: 25,2146 17654 STODL LEQ # LEQ/4
036574,000217:
036575,000218: 25,2147 00045 36D
036576,000219: 25,2150 27674 STOVL V # V/2 VS = VEL/2 VS
036577,000220:
036578,000221: 25,2151 03516 VEL
036579,000222: 25,2152 72441 DOT SL1 # RDOT= V.UNITR
036580,000223: 25,2153 01760 UNITR
036581,000224: 25,2154 27700 STOVL RDOT # RDOT /2 VS
036582,000225:
036583,000226: 25,2155 01163 DELV # PIPA COUNTS IN PLATFORM COORDS.
036584,000227: 25,2156 41246 ABVAL DMP
036585,000228: 25,2157 15232 KASCALE
036586,000229: 25,2160 53152 SL1 BZE
036587,000230: 25,2161 55132 SETMIND
036588,000231: 25,2162 27640 DSTORE STOVL D # ACCELERATION USED TO APPROX DRAG
036589,000232: 25,2163 03516 VEL
036590,000233: 25,2164 53435 VXV UNIT # UNI = UNIT(V*R)
036591,000234: 25,2165 01760 UNITR
036592,000235: 25,2166 03502 STORE UNI # .5 UNI REF COORDS.
036593,000236:
036594,000237: 25,2167 71214 BOFF DLOAD
036595,000238: 25,2170 03346 RELVELSW
036596,000239: 25,2171 55073 GETETA
036597,000240: 25,2172 15334 3ZEROS
036598,000241: 25,2173 43225 UPDATERT DSU DAD # PIPTIME-TIME/RTO =ELAPSED TIME SINCE
036599,000242: # RTINIT WAS ESTABLISHED.
036600,000243: 25,2174 03524 TIME/RTO
036601,000244: 25,2175 01205 PIPTIME
036602,000245: 25,2176 37606 STCALL DTEAROT # GET PREDICTED TARGET VECTOR RT
036603,000246:
036604,000247: 25,2177 46225 EARROT2
036605,000248: 25,2200 40241 DOT SETPD # SINCE (RT) UNIT VECT, THIS IS 1/4 MAX
036606,000249: 25,2201 03502 UNI # LATANG = RT.UNI
036607,000250: 25,2202 00001 0
036608,000251: 25,2203 27676 STOVL LATANG # LATANG = MAC LATANG / 4
036609,000252:
036610,000253: 25,2204 03474 RT
036611,000254: 25,2205 77614 CLEAR
036612,000255: 25,2206 03667 GONEBY # SHOW HAVE NOT GONE PAST TARGET.
036613,000256: 25,2207 50235 VXV DOT # IF RT*UNITR.UNI NEG, GONEBY=1
036614,000257: 25,2210 01760 UNITR # GONEPAST IS CONDITIONAL SW SET IN
036615,000258: 25,2211 03502 UNI # FINAL PHASE.
036616,000259: 25,2212 43044 BPL SET
036617,000260: 25,2213 52215 +2
036618,000261: 25,2214 03467 GONEBY # SHOW HAVE GONE PAST TARGET.
036619,000262:
036620,000263: 25,2215 77775 VLOAD
036621,000264: 25,2216 03474 RT
036622,000265: 25,2217 45241 GETANGLE DOT DSU # THETA = ARCCOS(RT.UNITR)
036623,000266: 25,2220 01760 UNITR
036624,000267: 25,2221 15162 NEAR1/4 # TO IMPROVE ACCURACY, CALC RANGE BY
036625,000268: 25,2222 43244 BPL DAD # TINYTHET IF HIGH ORDER PART OF
036626,000269: 25,2223 55135 TINYTHET # ARCCOS ARGUMENT IS ZERO
036627,000270: 25,2224 15162 NEAR1/4
036628,000271: 25,2225 65552 SL1 ACOS
036629,000272: 25,2226 03702 THETDONE STORE THETAH # THETAH/360
036630,000273: # HI WORD, LO BIT =1.32 NM=360 60/16384
036631,000274:
036632,000275: 25,2227 57414 BON DCOMP
036633,000276: 25,2230 03707 GONEBY # =1 IF HAVE GONE PAST TARGET.
036634,000277: # (SIGN MAY BECOME ERRATIC VERY NEAR
036635,000278: # TARGET DUE TO LOSS OF PRECISION.)
036636,000279: 25,2231 52232 +1
036637,000280: 25,2232 17714 STODL RTGON67 # RANGE ERROR: NEG IF WILL FALL SHORT.
036638,000281:
036639,000282: 25,2233 03640 D
036640,000283: 25,2234 50025 DSU BMN
036641,000284: 25,2235 15240 .05G
036642,000285: 25,2236 52255 NO.05G
036643,000286: 25,2237 77214 SET VLOAD
036644,000287: 25,2240 03074 .05GSW
036645,000288: 25,2241 03433 DELVREF
036646,000289: 25,2242 50206 PUSH DOT
036647,000290: 25,2243 03542 UXA/2
036648,000291: 25,2244 63552 SL1 DSQ
036649,000292: 25,2245 47515 PDVL VSQ # EXCHANGE WITH PDL.
036650,000293: 25,2246 56225 DSU DDV
036651,000294: 25,2247 00001 0
036652,000295: 25,2250 75400 BOV SQRT
036653,000296: 25,2251 52253 NOLDCALC # OVFL LAST CLEARED IN EARROT2 ABOVE.
036654,000297: 25,2252 03727 STORE L/DCALC
036655,000298:
036656,000299: 25,2253 77650 NOLDCALC GOTO
036657,000300: 25,2254 03373 60GENRET
036658,000301:
036659,000302: 25,2255 52014 NO.05G CLEAR GOTO # THIS WAY FOR DAP. (MAY INTERRUPT)
036660,000303: 25,2256 03274 .05GSW # .05GSW = 102D B3
036661,000304: 25,2257 52253 NOLDCALC # KEEP SINGLE EXIT FOR TARGETNG
036662,000305:
036663,000306: # SUBROUTINES CALLED BY SCALEPOP (TARGETING):
036664,000307:
036665,000308: 26,3073 BANK 26
036666,000309: 26,2000 SETLOC REENTRY1
036667,000310: 26,2000 BANK
036668,000311:
036669,000312: 26,3073 COUNT* $$/ENTRY
036670,000313:
036671,000314: 26,3073 56345 GETETA DLOAD DDV # D = D +D(-RDOT/HS -2D/V) DT/2
036672,000315: # DT/2 = 2/2 =1
036673,000316: 26,3074 03700 RDOT
036674,000317: 26,3075 15316 -HSCALED
036675,000318: 26,3076 41325 PDDL DMP
036676,000319: 26,3077 03640 D
036677,000320: 26,3100 15320 -KSCALE
036678,000321: 26,3101 43271 DDV DAD
036679,000322: 26,3102 03674 V
036680,000323: # -RDOT/HS FROM PDL.
036681,000324: 26,3103 43205 DMP DAD
036682,000325: 26,3104 03640 D
036683,000326: 26,3105 03640 D
036684,000327: 26,3106 03640 STORE D
036685,000328:
036686,000329: 26,3107 71214 BON DLOAD # EGSW INDICATES FINAL PHASE.
036687,000330: 26,3110 03307 EGSW
036688,000331: 26,3111 55116 SUBETA
036689,000332: 26,3112 03702 THETAH
036690,000333: 26,3113 52005 DMP GOTO
036691,000334: 26,3114 15234 KTETA # = 1000X2PI/(2)E14 163.84
036692,000335: 26,3115 52173 UPDATERT
036693,000336:
036694,000337: 26,3116 45345 SUBETA DLOAD DSU # SWITCH FROM INERTIAL TO RELATIVE VEL.
036695,000338: 26,3117 03674 V
036696,000339: 26,3120 15324 VMIN
036697,000340: 26,3121 43044 BPL SET
036698,000341: 26,3122 55124 SUBETA2
036699,000342: 26,3123 03066 RELVELSW
036700,000343:
036701,000344: 26,3124 41345 SUBETA2 DLOAD DMP
036702,000345:
036703,000346: 26,3125 03702 THETAH
036704,000347: 26,3126 15236 KT1 # KT1 = KT
036705,000348: 26,3127 52071 DDV GOTO
036706,000349: 26,3130 03674 V # KT = RE(2 PI)/2 VS 16384 163.84/ 2 VSAT
036707,000350: 26,3131 52173 UPDATERT
036708,000351:
036709,000352: 26,3132 52145 SETMIND DLOAD GOTO
036710,000353: 26,3133 16326 1BITDP
036711,000354: 26,3134 52162 DSTORE
036712,000355:
036713,000356: 26,3135 51425 TINYTHET DSU ABS # ENTER WITH X-.249
036714,000357: 26,3136 16327 1BITDP +1 # GET 1/4 - MPAC
036715,000358: 26,3137 75461 SL SQRT # SCALE UP BEFORE SQRT
036716,000359: 26,3140 20216 13D # HAS FACTOR FOR UP SCALING
036717,000360: 26,3141 52005 DMP GOTO
036718,000361: 26,3142 15246 KACOS
036719,000362: 26,3143 52226 THETDONE
036720,000363:
036721,000364: # * START INITIAL ROLL ...
036722,000365:
036723,000366: 25,2260 BANK 25
036724,000367: 25,2000 SETLOC REENTRY
036725,000368: 25,2000 BANK
036726,000369:
036727,000370: 25,2260 COUNT* $$/ENTRY
036728,000371:
036729,000372: # MM = 63, 64 ..
036730,000373: 25,2260 43014 INITROLL BON BOFF # IF D- .05G NEG, GO TO LIMITL/D
036731,000374: 25,2261 03312 INRLSW
036732,000375: 25,2262 52362 INITRL1
036733,000376: 25,2263 03354 .05GSW
036734,000377: 25,2264 53526 LIMITL/D
036735,000378:
036736,000379: # MM = 64, NOW
036737,000380: # 3
036738,000381: # KA = KA1 LEQ + KA2
036739,000382: 25,2265 63545 DLOAD DSQ
036740,000383: 25,2266 03654 LEQ
036741,000384: 25,2267 56205 DMP DDV
036742,000385: 25,2270 03654 LEQ
036743,000386: 25,2271 15304 1/KA1 # = 25 /(64 1.8)
036744,000387: 25,2272 47015 DAD RTB
036745,000388: 25,2273 15306 KA2 # = .2
036746,000389: 25,2274 54426 P64 # ROLLC VI RDOT
036747,000390: # XXX.XX DEG XXXXX. FPS XXXXX. FPS
036748,000391: 25,2275 03720 STORE KAT
036749,000392:
036750,000393: 25,2276 50025 DSU BMN
036751,000394: 25,2277 15314 KALIM
036752,000395: 25,2300 52304 +4
036753,000396: 25,2301 77745 DLOAD
036754,000397: 25,2302 15314 KALIM
036755,000398: 25,2303 03720 STORE KAT
036756,000399: 25,2304 45345 DLOAD DSU # IF V-VFINAL1 NEG, GO TO FINAL PHASE.
036757,000400: 25,2305 03674 V
036758,000401: 25,2306 15302 VFINAL1
036759,000402: 25,2307 51014 CLEAR BPL # (CAN'T CLEAR INRLSW AFTER HERE: RESTARTS)
036760,000403: 25,2310 03265 GONEPAST # GONEPAST WAS INITIALLY SET=1 TO FORCE
036761,000404: # ROLLC TO REMAIN AS DEFINED BY HEADSUP
036762,000405: # UNTIL START OF P64. (UNTIL D > .05G)
036763,000406: 25,2311 52316 D0EQ
036764,000407: 25,2312 52131 SSP GOTO
036765,000408: 25,2313 03646 GOTOADDR
036766,000409: 25,2314 53317 KEP2 # AND IDLE UNTIL D > 0.2 G. (NO P66 HERE)
036767,000410: 25,2315 52351 INROLOUT # GO TO LIMITL/D AFTER SETTING INRLSW.
036768,000411:
036769,000412: 25,2316 41345 D0EQ DLOAD DMP # D0 = KA3 LEQ + KA4
036770,000413: 25,2317 03654 LEQ
036771,000414: 25,2320 15310 KA3
036772,000415: 25,2321 77615 DAD
036773,000416: 25,2322 15312 KA4
036774,000417: 25,2323 03710 STORE D0 # D0/805
036775,000418: 25,2324 40065 BDDV BOV
036776,000419: 25,2325 15266 C001 # (-4/25 G) B-8
036777,000420: 25,2326 52327 +1 # CLEAR OVFIND, IF ON.
036778,000421: 25,2327 17706 STODL C/D0 # (-4/D0) B-8
036779,000422: 25,2330 03624 LAD # IF V-VFINAL +K(RDOT/V)CUBED POS,L/D=-LAD
036780,000423: 25,2331 17634 STODL L/D
036781,000424: 25,2332 03700 RDOT
036782,000425: 25,2333 41471 DDV PUSH
036783,000426: 25,2334 03674 V
036784,000427: 25,2335 41316 DSQ DMP
036785,000428: 25,2336 45271 DDV DSU
036786,000429: 25,2337 15276 1/K44
036787,000430: 25,2340 15300 VFINAL
036788,000431: # 3
036789,000432: # V-VFINAL +(RDOT/V) / K44 OVFL $
036790,000433:
036791,000434: 25,2341 40015 DAD BOV
036792,000435: 25,2342 03674 V
036793,000436: 25,2343 52351 INROLOUT # GO TO LIMITL/D AFTER SETTING INRLSW.
036794,000437: 25,2344 71240 BMN DLOAD
036795,000438: 25,2345 52351 INROLOUT # GO TO LIMITL/D AFTER SETTING INRLSW.
036796,000439: 25,2346 03624 LAD
036797,000440: 25,2347 77676 DCOMP
036798,000441: 25,2350 03634 STORE L/D
036799,000442:
036800,000443: # SET INRLSW AT END FOR RESTART PROTECTION
036801,000444: 25,2351 77614 INROLOUT BOFSET # END OF PRE .05G PATH OF INITROLL.
036802,000445: 25,2352 03052 INRLSW # SWITCH IS ZERO INITIALLY.
036803,000446: 25,2353 53526 LIMITL/D # (GO TO)
036804,000447:
036805,000448: 25,2354 45345 KATEST DLOAD DSU # IF KAT - D POS, GO TO CONSTD
036806,000449: 25,2355 03720 KAT
036807,000450: 25,2356 03640 D # IF POS, OUT WITH COMMAND VIA LIMITL/D
036808,000451: 25,2357 52044 BPL GOTO
036809,000452: 25,2360 53526 LIMITL/D
036810,000453: 25,2361 53232 CONSTD
036811,000454:
036812,000455: 25,2362 43345 INITRL1 DLOAD DAD # IF RDOT + VRCONT POS, GO TO HUNTEST
036813,000456: 25,2363 03700 RDOT
036814,000457: 25,2364 15260 VRCONT
036815,000458: 25,2365 45040 BMN CALL # IF POSITIVE, FALL INTO HUNTEST.
036816,000459: 25,2366 52354 KATEST
036817,000460:
036818,000461: 25,2367 53022 FOREHUNT # INITIALIZE HUNTEST.
036819,000462:
036820,000463: # * START HUNT TEST ..
036821,000464: # MM = 64
036822,000465: 25,2370 77731 SSP # INITIALIZE HUNTEST ON FIRST PASS
036823,000466: 25,2371 03646 GOTOADDR
036824,000467: 25,2372 52373 HUNTEST # MUST GO AFTER FOREHUNT FOR RESTARTS.
036825,000468:
036826,000469: 25,2373 77745 HUNTEST DLOAD
036827,000470: 25,2374 03640 D
036828,000471: 25,2375 17664 STODL A1 # A1/805 = A1/25G
036829,000472:
036830,000473: 25,2376 03624 LAD
036831,000474: 25,2377 17647 STODL TEM1B
036832,000475: 25,2400 03700 RDOT
036833,000476: 25,2401 71240 BMN DLOAD # IF RDOT NEG,TEM1B=LAD, OTHERWISE = LEWD
036834,000477: 25,2402 52406 A0CALC
036835,000478: 25,2403 03725 LEWD
036836,000479: 25,2404 17647 STODL TEM1B
036837,000480:
036838,000481: 25,2405 03700 RDOT
036839,000482: 25,2406 43271 A0CALC DDV DAD # V1 = V + RDOT/TEM1B
036840,000483: 25,2407 03647 TEM1B
036841,000484: 25,2410 03674 V
036842,000485: 25,2411 14326 STODL V1 # V1/2 VS
036843,000486:
036844,000487: 25,2412 03700 RDOT
036845,000488: 25,2413 56316 DSQ DDV # A0=(V1/V)SQ(D+RDOT SQ/(TEM1B 2 C1 HS)
036846,000489: 25,2414 03647 TEM1B
036847,000490: 25,2415 43271 DDV DAD
036848,000491: 25,2416 15272 2C1HS
036849,000492: 25,2417 03640 D
036850,000493: 25,2420 41205 DMP DMP
036851,000494: 25,2421 00326 V1
036852,000495: 25,2422 00326 V1
036853,000496: 25,2423 77671 DDV
036854,000497: 25,2424 03622 VSQUARE
036855,000498: 25,2425 14330 STODL A0 # A0/805 = A0/25G
036856,000499:
036857,000500: 25,2426 03700 RDOT
036858,000501: 25,2427 71244 BPL DLOAD
036859,000502: 25,2430 52433 V1LEAD
036860,000503: 25,2431 00330 A0
036861,000504: 25,2432 03664 STORE A1 # A1/25G
036862,000505:
036863,000506: 25,2433 51145 V1LEAD DLOAD BPL # IF L/D NEG, V1=V1 - 1000
036864,000507: 25,2434 03634 L/D
036865,000508: 25,2435 52442 HUNTEST1
036866,000509:
036867,000510: 25,2436 45345 DLOAD DSU
036868,000511: 25,2437 00326 V1
036869,000512: 25,2440 15214 VQUIT
036870,000513: 25,2441 00326 STORE V1
036871,000514:
036872,000515: 25,2442 41345 HUNTEST1 DLOAD DMP # ALP = 2 C1 HS A0/LEWD V1 V1
036873,000516: 25,2443 00330 A0
036874,000517: 25,2444 15272 2C1HS
036875,000518: 25,2445 40271 DDV SETPD
036876,000519: 25,2446 00326 V1
036877,000520: 25,2447 00001 0
036878,000521: 25,2450 56271 DDV DDV
036879,000522: 25,2451 00326 V1
036880,000523: 25,2452 03725 LEWD
036881,000524: 25,2453 03704 STORE ALP
036882,000525:
036883,000526: 25,2454 55221 BDSU BDDV # FACT1 = V1 / (1 - ALP)
036884,000527: 25,2455 17373 BARELY1
036885,000528: 25,2456 00326 V1
036886,000529: 25,2457 17616 STODL FACT1 # FACT1 / 2VS
036887,000530:
036888,000531: 25,2460 03704 ALP
036889,000532: 25,2461 41225 DSU DMP # FACT2 = ALP(ALP - 1) / A0
036890,000533: 25,2462 17373 BARELY1
036891,000534: 25,2463 03704 ALP
036892,000535: 25,2464 77671 DDV
036893,000536: 25,2465 00330 A0
036894,000537: 25,2466 03620 STORE FACT2 # FACT2 (25G)
036895,000538:
036896,000539: 25,2467 43205 DMP DAD
036897,000540: 25,2470 03175 Q7 # Q7 / 805 = Q7 / 25G
036898,000541: 25,2471 03704 ALP # VL=FACT1 (1-SQRT(Q7 FACT2 +ALP) )
036899,000542: 25,2472 44366 SQRT BDSU
036900,000543: 25,2473 17373 BARELY1
036901,000544: 25,2474 77605 DMP
036902,000545: 25,2475 03616 FACT1
036903,000546: 25,2476 03767 STORE VL # VL / 2 VS
036904,000547:
036905,000548: 25,2477 41221 BDSU DMP # GAMMAL1 = LEWD (V1-VL)/VL
036906,000549: 25,2500 00326 V1
036907,000550: 25,2501 03725 LEWD
036908,000551: 25,2502 77671 DDV
036909,000552: 25,2503 03767 VL
036910,000553: 25,2504 14027 STODL GAMMAL1 # GAMMAL1 USED IN UPCONTROL
036911,000554:
036912,000555: # GAMMAL1 = PDL 22D.
036913,000556: 25,2505 03767 VL
036914,000557: 25,2506 50025 DSU BMN # IF VL-VLMIN NEG, GO TO PREFINAL
036915,000558: 25,2507 15204 VLMIN
036916,000559: 25,2510 53333 PREFINAL
036917,000560:
036918,000561: 25,2511 63545 DLOAD DSQ
036919,000562: 25,2512 03767 VL
036920,000563: 25,2513 17666 STODL VBARS # VBARS / 4 VS VS
036921,000564:
036922,000565: 25,2514 15332 HALVE # IF VSAT-VL NEG, GO TO CONSTD
036923,000566: 25,2515 50025 DSU BMN
036924,000567: 25,2516 03767 VL
036925,000568: 25,2517 53226 BECONSTD # SET MODE=HUNTEST, CONTINUE IN CONSTD
036926,000569: 25,2520 17662 STODL DVL # DVL / 2VS
036927,000570:
036928,000571: 25,2521 15332 HALVE
036929,000572: 25,2522 03672 STORE VS1 # VS1 = VSAT
036930,000573:
036931,000574: 25,2523 50025 DSU BMN # IF V1 GREATER THAN VSAT, GO ON
036932,000575: 25,2524 00326 V1
036933,000576: 25,2525 52533 GETDHOOK
036934,000577: 25,2526 77621 BDSU
036935,000578: 25,2527 03662 DVL
036936,000579: 25,2530 17662 STODL DVL # DVL = DVL - (VSAT-V1) = V1 - VL
036937,000580: 25,2531 00326 V1
036938,000581: 25,2532 03672 STORE VS1 # VS1 = V1, IN THIS CASE
036939,000582:
036940,000583: 25,2533 45145 GETDHOOK DLOAD CALL # DHOOK=((1-VS1/FACT1) SQ -ALP)/FACT2
036941,000584: 25,2534 03672 VS1 # VS1 / 2 VS
036942,000585: 25,2535 53004 DHOOKYQ7 # GO CALC DHOOK
036943,000586: 25,2536 03656 STORE DHOOK # DHOOK / 25G
036944,000587:
036945,000588: 25,2537 56261 SR DDV
036946,000589: 25,2540 20607 6 # CHOOK
036947,000590: 25,2541 03175 Q7
036948,000591: 25,2542 77625 DSU
036949,000592: 25,2543 15250 CHOOK # = .25/16 = (-6)
036950,000593: 25,2544 03660 STORE AHOOKDV
036951,000594:
036952,000595: 25,2545 41215 DAD DMP # GAMMAL= GAMMAL1-CH1 DVL SQ(1+AHOOK DVL)
036953,000596: 25,2546 17367 1/16TH
036954,000597: 25,2547 15254 CH1
036955,000598: 25,2550 41205 DMP DMP
036956,000599: 25,2551 03662 DVL
036957,000600: 25,2552 03662 DVL
036958,000601: 25,2553 56271 DDV DDV
036959,000602: 25,2554 03656 DHOOK
036960,000603: 25,2555 03666 VBARS
036961,000604: 25,2556 50021 BDSU BMN
036962,000605: 25,2557 00027 GAMMAL1
036963,000606: 25,2560 52751 NEGAMA
036964,000607: 25,2561 03771 HUNTEST3 STORE GAMMAL
036965,000608:
036966,000609: 25,2562 77625 DSU # GAMMAL1=GAMMAL1 +Q19 (GAMMAL-GAMMAL1)
036967,000610: 25,2563 00027 GAMMAL1
036968,000611: 25,2564 43205 DMP DAD
036969,000612: 25,2565 15332 Q19
036970,000613: 25,2566 00027 GAMMAL1
036971,000614: 25,2567 14027 STODL GAMMAL1
036972,000615: 25,2570 03771 GAMMAL
036973,000616:
036974,000617: # *START RANGE PREDICTION ...
036975,000618: # C(MPAC) = GAMMAL
036976,000619: 25,2571 60516 RANGER DSQ SR2 # COSG = 1-GAMMAL SQ/2, TRUNCATED SERIES
036977,000620: 25,2572 77621 BDSU
036978,000621: 25,2573 15332 HALVE
036979,000622: 25,2574 17670 STODL COSG/2
036980,000623: 25,2575 03666 VBARS # E=SQRT(1+VBARS........
036981,000624:
036982,000625: 25,2576 41225 DSU DMP
036983,000626: 25,2577 15332 HALVE
036984,000627: 25,2600 03666 VBARS
036985,000628: 25,2601 41205 DMP DMP
036986,000629: 25,2602 03670 COSG/2
036987,000630: 25,2603 03670 COSG/2
036988,000631: 25,2604 43312 SL2 DAD
036989,000632: 25,2605 17367 C1/16 # C1/16 = 1/16
036990,000633: 25,2606 65366 SQRT PDDL # E/4 INTO PDL
036991,000634:
036992,000635: 25,2607 03666 VBARS
036993,000636: 25,2610 41205 DMP DMP # ASKEP/2 = ARCSIN(VBARS COSG SING/E)
036994,000637: 25,2611 03670 COSG/2
036995,000638: 25,2612 03771 GAMMAL
036996,000639: 25,2613 67471 DDV ASIN
036997,000640: 25,2614 41552 SL1 PUSH # ASKEP TO PDL 0.
036998,000641: 25,2615 17731 STODL ASKEP # BALLISTIC RANGE ASKEP/2PI
036999,000642:
037000,000643: # FOR TM, STORE RANGE COMPONENTS OVERLAPPING (SP)
037001,000644: 25,2616 03767 VL
037002,000645: 25,2617 43205 DMP DAD # ASP1 = Q2 + Q3 VL
037003,000646: 25,2620 15170 Q3
037004,000647: 25,2621 03712 Q2
037005,000648: 25,2622 03732 STORE ASP1 # FINAL PHASE RANGE ASP1/2 PI
037006,000649:
037007,000650: 25,2623 63525 PDDL DSQ # ASP1 TO PDL 2.
037008,000651: 25,2624 00326 V1
037009,000652: # 2
037010,000653: # ASPUP= -C12 LOG(V1 Q7/VBARS A0)/GAMMAL1
037011,000654: 25,2625 56205 DMP DDV
037012,000655: 25,2626 03175 Q7
037013,000656: 25,2627 03666 VBARS
037014,000657: 25,2630 45071 DDV CALL
037015,000658: 25,2631 00330 A0
037016,000659: 25,2632 46155 LOG # RETURN WITH -LOG IN MPAC
037017,000660:
037018,000661: 25,2633 56205 DMP DDV
037019,000662: 25,2634 15206 C12
037020,000663: 25,2635 00027 GAMMAL1
037021,000664: 25,2636 03733 STORE ASPUP # UP PHASE RANGE ASPUP / 2 PI
037022,000665: 25,2637 41325 PDDL DMP # ASPUP TO PDL 4.
037023,000666: 25,2640 15256 KC3 # KC3 = -4 VS VS / 2 PI 805 RE
037024,000667: # ASPDWN = KC3 RDOT V / A0
037025,000668: 25,2641 03700 RDOT
037026,000669: 25,2642 56205 DMP DDV
037027,000670: 25,2643 03674 V
037028,000671: 25,2644 00330 A0
037029,000672: 25,2645 41471 DDV PUSH # ASPDWN TO PDL 6.
037030,000673: 25,2646 03624 LAD
037031,000674: 25,2647 17734 STODL ASPDWN # RANGE TO PULL OUT ASPDWN /2 PI
037032,000675:
037033,000676: 25,2650 15174 Q6
037034,000677: 25,2651 41225 DSU DMP # ASP3 = Q5(Q6-GAMMAL)
037035,000678: 25,2652 03771 GAMMAL
037036,000679: 25,2653 15172 Q5
037037,000680: 25,2654 27735 STOVL ASP3 # GAMMA CORRECTION ASP3/2PI
037038,000681:
037039,000682: 25,2655 03731 ASKEP # GET HI-WD AND
037040,000683: 25,2656 17126 STODL ASPS(TM) # SAVE HI-WORD OF ASP'S FOR TM.
037041,000684:
037042,000685: 25,2657 03735 ASP3
037043,000686: 25,2660 43215 DAD DAD
037044,000687: # ASPDWN FROM PDL 6.
037045,000688: # ASPUP FROM PDL 4.
037046,000689: 25,2661 43215 DAD DAD
037047,000690: # ASP1 FROM PDL 2.
037048,000691: # ASKEP FROM PDL 0.
037049,000692: 25,2662 41025 DSU BOVB # CLEAR OVFIND.
037050,000693: 25,2663 03702 THETAH
037051,000694: 25,2664 57353 TCDANZIG
037052,000695: 25,2665 03610 STORE DIFF # DIFF = (ASP-THETAH) / 2 PI
037053,000696: # ASP=ASKEP+ASP1+ASPUP+ASP3+ASPDWN = TOTAL RANGE
037054,000697:
037055,000698: 25,2666 45246 ABS DSU # IF ABS(THETAH-ASP) -25NM NEG, GO TO UPSY
037056,000699: 25,2667 15222 25NM
037057,000700: 25,2670 43040 BMN BON
037058,000701: 25,2671 53033 GOTOUPSY
037059,000702: 25,2672 03311 HIND
037060,000703: 25,2673 52677 GETLEWD
037061,000704:
037062,000705: 25,2674 51145 DLOAD BPL
037063,000706: 25,2675 03610 DIFF
037064,000707: 25,2676 53221 DCONSTD # EVENTUALLY SETS MODE = HUNTEST.
037065,000708: 25,2677 41345 GETLEWD DLOAD DMP
037066,000709: # DLEWD = DLEWD (DIFF/(DIFFOLD-DIFF))
037067,000710: 25,2700 03642 DLEWD
037068,000711: 25,2701 03610 DIFF
037069,000712: 25,2702 45325 PDDL DSU
037070,000713: 25,2703 03612 DIFFOLD
037071,000714: 25,2704 03610 DIFF
037072,000715: 25,2705 77665 BDDV
037073,000716: 25,2706 77626 LWDSTORE STADR
037074,000717: 25,2707 74135 STORE DLEWD
037075,000718: 25,2710 50015 DAD BMN # IF LEWD+DLEWD NEG, DLEWD=-LEWD/2
037076,000719: 25,2711 03725 LEWD
037077,000720: 25,2712 52745 LEWDPTR
037078,000721: 25,2713 77600 BOV
037079,000722: 25,2714 52741 LEWDOVFL
037080,000723: 25,2715 03725 STORE LEWD
037081,000724:
037082,000725: 25,2716 77776 SIDETRAK EXIT
037083,000726:
037084,000727: 25,2717 35074 CA EBENTRY
037085,000728: 25,2720 54003 TS EBANK
037086,000729:
037087,000730: 25,2721 35104 CA PRIO16 # DROP GRP 5 RESTART PRIO TO 1 LESS THAN
037088,000731: 25,2722 55064 TS PHSPRDT5 # GRP 4.
037089,000732:
037090,000733: 25,2723 05426 TC PHASCHNG
037091,000734: 25,2724 00474 OCT 00474 # RESTART GRP 4 AT PRE-HUNT.
037092,000735: # FORCE RESTART TO PICK UP IN GRP 4:
037093,000736: # USE PRIO 17 FOR GRP 4 (< SERVICER PRIO)
037094,000737: 25,2725 35104 CA PRIO16 # CONTINUE GRP 5 AT LOWER PRIO THAN EITHER
037095,000738: # GRP 4 OR SERVICER.
037096,000739: 25,2726 05224 TC PRIOCHNG
037097,000740:
037098,000741: 25,2727 33032 CAF ADENDEXT # SIDETRACK NEXT PASS UNTIL THIS ONE DONE.
037099,000742: 25,2730 55645 TS GOTOADDR # ONLY AFTER RESTART IS LEFT AFTER DETOUR.
037100,000743:
037101,000744: 25,2731 06006 TC INTPRET
037102,000745:
037103,000746: 25,2732 43145 DLOAD SET
037104,000747: 25,2733 03610 DIFF
037105,000748: 25,2734 03071 HIND
037106,000749: 25,2735 17612 STODL DIFFOLD # DIFFOLD / 2 PI
037107,000750:
037108,000751: 25,2736 15176 Q7F
037109,000752: 25,2737 37175 STCALL Q7 # Q7 / 805 FPSS
037110,000753: 25,2740 52373 HUNTEST # (GO TO)
037111,000754:
037112,000755: 25,2741 77745 LEWDOVFL DLOAD
037113,000756: 25,2742 17373 NEARONE
037114,000757: 25,2743 37725 STCALL LEWD
037115,000758: 25,2744 53221 DCONSTD # (GO TO) ALSO WILL SET MODE = HUNTEST
037116,000759:
037117,000760: 25,2745 70545 LEWDPTR DLOAD SR1
037118,000761: 25,2746 03725 LEWD
037119,000762: 25,2747 52076 DCOMP GOTO
037120,000763: 25,2750 52706 LWDSTORE
037121,000764:
037122,000765: # NEGAMA IS PART OF HUNTEST ...
037123,000766:
037124,000767: 25,2751 41205 NEGAMA DMP DMP # ENTER WITH GAMMAL IN MPAC
037125,000768:
037126,000769: 25,2752 03767 VL
037127,000770: 25,2753 15146 1/3RD
037128,000771: 25,2754 41325 PDDL DMP # PUSH GAMMAL VL/3
037129,000772: 25,2755 03725 LEWD
037130,000773: 25,2756 15146 1/3RD
037131,000774: 25,2757 43325 PDDL DAD # PUSH LEWD/3
037132,000775: 25,2760 03660 AHOOKDV
037133,000776: 25,2761 15252 1/24TH
037134,000777: 25,2762 41205 DMP DMP # DEL VL = (GAMMAL VL/3)/(LEWD/3-DVL
037135,000778: 25,2763 03662 DVL # (2/3 + AHOOKDV)(CH1 GS/DHOOK VL))
037136,000779: 25,2764 15254 CH1
037137,000780: 25,2765 56271 DDV DDV
037138,000781: 25,2766 03656 DHOOK
037139,000782: 25,2767 03767 VL
037140,000783: 25,2770 55221 BDSU BDDV
037141,000784: # LEWD/3
037142,000785: # GAMMAL VL /3
037143,000786: 25,2771 77615 DAD
037144,000787: 25,2772 03767 VL
037145,000788: 25,2773 37767 STCALL VL # VL/2 VS
037146,000789:
037147,000790: 25,2774 53004 DHOOKYQ7 # GO CALC Q7
037148,000791: # Q7=((1-VL/FACT1)SQ - ALP)/FACT2
037149,000792: 25,2775 17175 STODL Q7 # Q7 / 25G
037150,000793:
037151,000794: 25,2776 03767 VL
037152,000795: 25,2777 77716 DSQ
037153,000796: 25,3000 17666 STODL VBARS # VBARS / 4 VS VS
037154,000797:
037155,000798: 25,3001 15334 3ZEROS
037156,000799: 25,3002 77650 GOTO # SET GAMMAL = 0
037157,000800: 25,3003 52561 HUNTEST3
037158,000801:
037159,000802: 25,3004 56342 DHOOKYQ7 SR1 DDV # SUBROUTINE TO CALC DHOOK OR Q7)
037160,000803: 25,3005 03616 FACT1
037161,000804: 25,3006 72421 BDSU SL1
037162,000805: 25,3007 15332 HALVE
037163,000806: 25,3010 45316 DSQ DSU
037164,000807: 25,3011 03704 ALP
037165,000808: 25,3012 43471 DDV RVQ
037166,000809: 25,3013 03620 FACT2
037167,000810:
037168,000811: # COME TO PRE-HUNT WHEN RESTART OCCURS AFTER
037169,000812: # HUNTEST IS SIDE-TRACKED AT SIDETRAK.
037170,000813: # PICK UP IN GROUP 4.
037171,000814:
037172,000815: 25,3014 06006 PRE-HUNT TC INTPRET
037173,000816: 25,3015 45014 CLEAR CALL
037174,000817: 25,3016 03271 HIND # HIND 99D BIT 6 FLAG 6
037175,000818: 25,3017 53022 FOREHUNT # RE-INITIALIZE HUNTEST AFTER RE-START.
037176,000819: 25,3020 77650 GOTO
037177,000820: 25,3021 52373 HUNTEST
037178,000821:
037179,000822: 25,3022 77745 FOREHUNT DLOAD # INITIALIZE HUNTEST.
037180,000823: 25,3023 15334 3ZEROS
037181,000824: 25,3024 17612 STODL DIFFOLD
037182,000825: 25,3025 15156 DLEWD0
037183,000826: 25,3026 17642 STODL DLEWD
037184,000827: 25,3027 15150 LEWD1
037185,000828: 25,3030 03725 STORE LEWD
037186,000829: 25,3031 77616 RVQ
037187,000830:
037188,000831: 25,3032 53576 ADENDEXT CADR ENDEXIT
037189,000832:
037190,000833: # * START UP CONTROL ...
037191,000834: # MM = 65
037192,000835: 25,3033 77634 GOTOUPSY RTB # END OF HUNTEST
037193,000836: 25,3034 54434 P65 # HUNTEST USE OF GRP4 IS DISABLED BY P65
037194,000837: # USE FOR DISPLAY.
037195,000838: # SET MODE = UPCONTRL.
037196,000839: # RETURN FROM P65 DIRECTLY TO UPCONTRL
037197,000840: # VIA THE GOTOADDR AT REFAZE10.
037198,000841:
037199,000842: 25,3035 45345 UPCONTRL DLOAD DSU # IF D-140 POS, NOSWITCH =1
037200,000843: 25,3036 03640 D # (SUPPRESS LATERAL SWITCH)
037201,000844: 25,3037 15220 C21
037202,000845: 25,3040 43040 BMN SET
037203,000846: 25,3041 53043 +2
037204,000847: 25,3042 03070 NOSWITCH
037205,000848:
037206,000849: 25,3043 45345 DLOAD DSU # IF V-V1 POS, GO TO DOWN CONTROL.
037207,000850: 25,3044 03674 V
037208,000851: 25,3045 00326 V1
037209,000852: 25,3046 71244 BPL DLOAD
037210,000853: 25,3047 53260 DOWNCNTL
037211,000854: 25,3050 03640 D
037212,000855: 25,3051 50025 DSU BMN # IF D- Q7 NEG, GO TO KEP
037213,000856: 25,3052 03175 Q7
037214,000857: 25,3053 53313 KEP
037215,000858: 25,3054 51145 DLOAD BPL # IF RDOT NEG, DO VLTEST
037216,000859: 25,3055 03700 RDOT
037217,000860: 25,3056 53065 CONT1
037218,000861:
037219,000862: 25,3057 45345 VLTEST DLOAD DSU # IF V-VL-C18 NEG,EGSW=1,MODE=PREDICT3
037220,000863: 25,3060 03674 V
037221,000864: 25,3061 03767 VL
037222,000865: 25,3062 50025 DSU BMN
037223,000866: 25,3063 15164 C18
037224,000867: 25,3064 53333 PREFINAL
037225,000868:
037226,000869: 25,3065 77745 CONT1 DLOAD # IF D-A0 POS, L/D = LAD, GO TO LIMITL/D
037227,000870: 25,3066 03640 D
037228,000871: 25,3067 50025 DSU BMN
037229,000872: 25,3070 00330 A0
037230,000873: 25,3071 53075 CONT3
037231,000874: 25,3072 52145 DLOAD GOTO
037232,000875: 25,3073 03624 LAD
037233,000876: 25,3074 53525 STOREL/D
037234,000877:
037235,000878: 25,3075 41345 CONT3 DLOAD DMP # VREF=FACT1(1-SQRT(FACT2 D + ALP))
037236,000879: 25,3076 03640 D
037237,000880: 25,3077 03620 FACT2
037238,000881: 25,3100 75415 DAD SQRT
037239,000882: 25,3101 03704 ALP
037240,000883: 25,3102 41221 BDSU DMP
037241,000884: 25,3103 17373 BARELY1
037242,000885: 25,3104 03616 FACT1
037243,000886: 25,3105 01160 STORE VREF # VREF / 2VS
037244,000887:
037245,000888: 25,3106 41221 BDSU DMP # RDOTREF = LEWD(V1-VREF)
037246,000889: 25,3107 00326 V1
037247,000890: 25,3110 03725 LEWD
037248,000891: 25,3111 15156 STODL RDOTREF # RDOTREF / 2VS
037249,000892:
037250,000893: 25,3112 03672 VS1
037251,000894: 25,3113 50025 DSU BMN # IF VSAT-VREF NEG, GO TO CONTINU2
037252,000895: 25,3114 01160 VREF
037253,000896: 25,3115 53134 CONTINU2
037254,000897:
037255,000898: 25,3116 41406 PUSH PUSH # VS1-VREF TO PDL TWICE
037256,000899: 25,3117 56205 DMP DDV # RDHOOK=CH1(1+DV AHOOKDV/DVL) DV DV
037257,000900: 25,3120 03660 AHOOKDV # /DHOOK VREF
037258,000901: 25,3121 03662 DVL # WHERE DV = (VS1-VREF)
037259,000902: 25,3122 41215 DAD DMP
037260,000903: 25,3123 17367 1/16TH
037261,000904: 25,3124 15254 CH1
037262,000905: 25,3125 41205 DMP DMP
037263,000906: # VS1-VREF FROM PDL TWICE.
037264,000907: 25,3126 77671 DDV
037265,000908: 25,3127 03656 DHOOK
037266,000909: 25,3130 44271 DDV BDSU
037267,000910: 25,3131 01160 VREF
037268,000911: 25,3132 01156 RDOTREF # C(RDOTREF)= LEWD (V1-VREF)
037269,000912: 25,3133 01156 STORE RDOTREF # RDOTREF = RDOTREF - RDHOOK
037270,000913:
037271,000914: 25,3134 45345 CONTINU2 DLOAD DSU
037272,000915: 25,3135 03640 D
037273,000916: 25,3136 15312 Q7MIN
037274,000917: 25,3137 50004 BOVB BMN
037275,000918: 25,3140 57353 TCDANZIG # CLEAR OVFL IND, IF ON.
037276,000919: 25,3141 53152 UPCNTRL3
037277,000920: 25,3142 45345 DLOAD DSU
037278,000921: 25,3143 03664 A1
037279,000922: 25,3144 03175 Q7
037280,000923: 25,3145 45325 PDDL DSU
037281,000924: 25,3146 03640 D
037282,000925: 25,3147 03175 Q7
037283,000926: 25,3150 45471 DDV STADR
037284,000927: 25,3151 74163 STORE FACTOR # FACTOR / 25G
037285,000928:
037286,000929: # SKIPPER
037287,000930: # DELTA L/D=-((RDOT-RDOTREF)F1 KB1+V-VREF)F1 KB2
037288,000931: # WHERE F1 = FACTOR
037289,000932:
037290,000933: 25,3152 77745 UPCNTRL3 DLOAD
037291,000934: 25,3153 03700 RDOT
037292,000935: 25,3154 41225 DSU DMP # L/D = LEWD
037293,000936: 25,3155 01156 RDOTREF # -((RDOT-RDOTREF)F1/KB1+V-VREF)F1/KB2
037294,000937: 25,3156 03614 FACTOR
037295,000938: 25,3157 43271 DDV DAD
037296,000939: 25,3160 15210 1/KB1
037297,000940: 25,3161 03674 V
037298,000941: 25,3162 41225 DSU DMP
037299,000942: 25,3163 01160 VREF
037300,000943: 25,3164 03614 FACTOR
037301,000944: 25,3165 41471 DDV PUSH
037302,000945:
037303,000946: 25,3166 15212 -1/KB2 # DELTA L/D INTO PDL
037304,000947: 25,3167 51400 BOV ABS # NONLINEAR CIRCUIT FOR REDUCING HIGH GAIN
037305,000948: 25,3170 53472 GOMAXL/D
037306,000949: 25,3171 50025 DSU BMN
037307,000950: 25,3172 15274 PT1/16
037308,000951: 25,3173 53200 NEXT1
037309,000952: 25,3174 43205 DMP DAD
037310,000953: 25,3175 15152 POINT1
037311,000954: 25,3176 15274 PT1/16
037312,000955: 25,3177 41565 SIGN PUSH # ATTACH SIGN OF PUSH TO MPAC THEN PUSH
037313,000956:
037314,000957: 25,3200 42545 NEXT1 DLOAD SL4
037315,000958: # DELTA L/D FROM PDL.
037316,000959:
037317,000960: 25,3201 77615 DAD
037318,000961: 25,3202 03725 LEWD
037319,000962: 25,3203 41400 NEGTESTS BOV PUSH # L/D TO PDL FOR USE IN NEGTESTS.
037320,000963: 25,3204 53472 GOMAXL/D
037321,000964: 25,3205 17634 STODL L/D
037322,000965: # IF D-C20 POS, LATSW =0
037323,000966: # AND IF L/D NEG, L/D = 0.
037324,000967: 25,3206 03640 D
037325,000968: 25,3207 50025 DSU BMN
037326,000969: 25,3210 15216 C20
037327,000970: 25,3211 53526 LIMITL/D
037328,000971: 25,3212 71214 CLEAR DLOAD
037329,000972: 25,3213 03273 LATSW # =21D. ROLL OVER TOP, REGARDLESS.
037330,000973: # L/D FROM PDL.
037331,000974: 25,3214 71244 BPL DLOAD
037332,000975: 25,3215 53526 LIMITL/D
037333,000976: 25,3216 15334 3ZEROS
037334,000977: 25,3217 37634 STCALL L/D
037335,000978: 25,3220 53526 LIMITL/D # (GO TO)
037336,000979:
037337,000980: 25,3221 77745 DCONSTD DLOAD # TWO RANGER ENTRIES TO CONSTD HERE
037338,000981: 25,3222 03610 DIFF
037339,000982: # SAVE OLD VALUE OF DIFF FOR NEXT PASS.
037340,000983: 25,3223 17612 STODL DIFFOLD # DIFFOLD / 2 PI
037341,000984:
037342,000985: 25,3224 15176 Q7F
037343,000986: 25,3225 03175 STORE Q7
037344,000987:
037345,000988: 25,3226 47131 BECONSTD SSP RTB # A HUNTEST ENTRY INTO CONSTD.
037346,000989: 25,3227 03646 GOTOADDR # RESET MODE TO HUNTEST
037347,000990: 25,3230 52373 HUNTEST
037348,000991: 25,3231 54501 KILLGRP4 # DEACTIVATE GRP4 FROM HUNTEST.
037349,000992:
037350,000993: 25,3232 77604 CONSTD BOVB
037351,000994: 25,3233 57353 TCDANZIG # CLEAR OVF IND IF ON.
037352,000995:
037353,000996: 25,3234 41345 DLOAD DMP
037354,000997: 25,3235 03654 LEQ
037355,000998: 25,3236 03706 C/D0 # C/D0 = -4/D0 B-8
037356,000999: 25,3237 41325 PDDL DMP # LEQ C/D0 INTO PDL
037357,001000: 25,3240 15262 2HS # 2HS / 4 VS VS
037358,001001: 25,3241 03710 D0
037359,001002: 25,3242 43271 DDV DAD # RDOTREF = -2 HS D0/V
037360,001003: 25,3243 03674 V
037361,001004: 25,3244 03700 RDOT
037362,001005: 25,3245 43205 DMP DAD
037363,001006: 25,3246 15226 K2D # C/D0 LEQ + K2D(RDOT-RDOTREF) INTO PD
037364,001007: 25,3247 77725 PDDL
037365,001008: 25,3250 03710 D0 # D0 /805
037366,001009:
037367,001010: 25,3251 77621 CONSTD1 BDSU # ENTER WITH DREF IN MPAC
037368,001011: 25,3252 03640 D
037369,001012: 25,3253 43205 DMP DAD
037370,001013: 25,3254 15224 K1D # K2D TERM FROM PUSH
037371,001014: 25,3255 52061 SL GOTO
037372,001015: 25,3256 20211 8D
037373,001016: 25,3257 53203 NEGTESTS # (GO TO)
037374,001017:
037375,001018: 25,3260 77604 DOWNCNTL BOVB # INITIAL PART OF UPCONTROL.
037376,001019: 25,3261 57353 TCDANZIG # CLEAR OVFIND, IF ON.
037377,001020:
037378,001021: 25,3262 54345 DLOAD SR
037379,001022: 25,3263 03624 LAD
037380,001023: 25,3264 20611 8D
037381,001024: 25,3265 45325 PDDL DSU # RDTR = LAD(V1-V)
037382,001025: 25,3266 03674 V
037383,001026: 25,3267 00326 V1
037384,001027: 25,3270 43205 DMP DAD
037385,001028: 25,3271 03624 LAD
037386,001029: 25,3272 03700 RDOT
037387,001030: 25,3273 43205 DMP DAD
037388,001031: 25,3274 15226 K2D
037389,001032: # PUSH UP LAD.
037390,001033: 25,3275 45325 PDDL DSU # LAD + K2D(RDOT-RDTR) INTO PD
037391,001034: 25,3276 00326 V1
037392,001035: 25,3277 03674 V
037393,001036: 25,3300 41316 DSQ DMP
037394,001037: 25,3301 03624 LAD
037395,001038: 25,3302 65271 DDV PDDL # (V1-V)SQ LAD/(2 C1 HS) INTO PD
037396,001039: 25,3303 15272 2C1HS
037397,001040: 25,3304 00326 V1
037398,001041: 25,3305 56316 DSQ DDV
037399,001042: 25,3306 03622 VSQUARE
037400,001043: 25,3307 45265 BDDV DSU # DREF = (V/V1)SQ A0 - PD
037401,001044: 25,3310 00330 A0
037402,001045: # PUSH UP HERE
037403,001046: 25,3311 77650 GOTO # C(MPAC) = DREF
037404,001047: 25,3312 53251 CONSTD1
037405,001048:
037406,001049: # 2 2
037407,001050: # DREF = (V/V1) A0 -(V-V1) LAD/2 C1 HS
037408,001051: # * START BALLISTIC PHASE ...
037409,001052: # MM = 66 UPCONTRL ENTRY INTO KEP2.
037410,001053: 25,3313 66234 KEP RTB SSP
037411,001054: 25,3314 54467 P66 # DISPLAY TRIM GIMBAL ANGLE VALUES.
037412,001055: 25,3315 03646 GOTOADDR # SET GOTOADDR TO KEPLER PHASE.
037413,001056: 25,3316 53317 KEP2
037414,001057:
037415,001058: # KEP2 CAN ALSO BE STARTED UP DIRECTLY FROM INITROLL
037416,001059: # IN P64. PROGRAM WILL IDLE IN P64 UNTIL D EXCEEDS
037417,001060: # .2 G BEFORE GOING ON TO P67.
037418,001061:
037419,001062: 25,3317 45345 KEP2 DLOAD DSU # IF Q7F+KDMIN -D NEG, GO TO FINAL PHASE.
037420,001063: 25,3320 15166 Q7FKDMIN # (Q7F + KDMIN)/805
037421,001064: 25,3321 03640 D
037422,001065: 25,3322 72240 BMN TLOAD
037423,001066: 25,3323 53333 PREFINAL
037424,001067: # SET ROLLHOLD = ROLLC, IN CASE CMDAPMOD
037425,001068: 25,3324 03316 ROLLC # = +1 EVER ENTERED.
037426,001069: 25,3325 72214 BON TLOAD # IF D > .05G, KEEP PRESENT ROLL COMMAND.
037427,001070: 25,3326 03314 .05GSW # IF D < .05G, SET ROLL COMMAND = 0.
037428,001071: 25,3327 53331 +2
037429,001072: 25,3330 15334 3ZEROS # SET ROLLC & ROLLHOLD =0.
037430,001073: 25,3331 37316 +2 STCALL ROLLC # (SP ROLLHOLD FOLLOWS DP ROLLC)
037431,001074: 25,3332 54374 P62.3 # CALC DESIRED GIMBAL ANGLES AT PRESENT
037432,001075: # RN, VN TO YIELD TRIM ATTITUDE.
037433,001076: # AVAILABLE IN CPHI'S FOR N22.
037434,001077: # START FINAL PHASE ..
037435,001078: # MM = 67
037436,001079: 25,3333 47131 PREFINAL SSP RTB
037437,001080: 25,3334 03646 GOTOADDR # RESTART PROTECT: RESET GOTOADDR IF CAME
037438,001081: 25,3335 53333 PREFINAL # FROM HUNTEST.
037439,001082: 25,3336 54473 P67 # DISABLES GRP4. FINE IF FROM HUNTEST. BUT
037440,001083: # MAY ALSO REMOVE RESTART PROTECTION OF
037441,001084: # N69 (P65).
037442,001085: # ROLLC XRNGERR DNRNGERR
037443,001086: # XXX.XX DEG XXXX.X NM XXXX.X NM
037444,001087:
037445,001088: 25,3337 66214 SET SSP
037446,001089: 25,3340 03067 EGSW
037447,001090: 25,3341 03646 GOTOADDR
037448,001091: 25,3342 53343 PREDICT3
037449,001092:
037450,001093: 25,3343 45345 PREDICT3 DLOAD DSU # IF V-VQUIT NEG, STOP STEERING
037451,001094: 25,3344 03674 V
037452,001095: 25,3345 15214 VQUIT
037453,001096: 25,3346 77440 BMN EXIT
037454,001097: 25,3347 53613 STEEROFF
037455,001098:
037456,001099: 25,3350 35074 CA EBENTRY # PRECAUTIONARY.
037457,001100: 25,3351 54003 TS EBANK
037458,001101:
037459,001102: 25,3352 35775 CA TWELVE
037460,001103: 25,3353 55771 BACK TS JJ
037461,001104:
037462,001105: 25,3354 41673 CS V
037463,001106: 25,3355 51771 INDEX JJ
037464,001107: 25,3356 63637 AD VREFER # VREF - V, HIGHEST VREF AT END OF TABLE.
037465,001108: 25,3357 10000 CCS A # IF VREF-V POS LOOP BACK
037466,001109: 25,3360 11771 CCS JJ # DECREMENT JJ, JJ CANNOT BE ZERO
037467,001110: 25,3361 13353 TCF BACK
037468,001111: 25,3362 65033 AD ONE
037469,001112: 25,3363 55646 TS TEM1B # V-VREF IN TEM1B (MUST BE POSITIVE NUM)
037470,001113:
037471,001114: 25,3364 51771 INDEX JJ
037472,001115: 25,3365 43637 CS VREFER
037473,001116: 25,3366 51771 INDEX JJ
037474,001117: 25,3367 63640 AD VREFER +1 # V(K+1) - V(K) (POS NUM)
037475,001118: 25,3370 57646 XCH TEM1B
037476,001119: 25,3371 22007 ZL
037477,001120: 25,3372 00006 EXTEND
037478,001121: 25,3373 11646 DV TEM1B
037479,001122: 25,3374 55651 TS GRAD # GRAD = (V-VREF)/(VK+1 - VK) (POS NUM
037480,001123:
037481,001124: 25,3375 35036 CAF FIVE
037482,001125:
037483,001126: 25,3376 55650 BACK2 TS MM
037484,001127: 25,3377 35041 CAF THIRTEEN
037485,001128: 25,3400 27771 ADS JJ
037486,001129: 25,3401 50000 INDEX A
037487,001130: 25,3402 43637 CS VREFER
037488,001131: 25,3403 51771 INDEX JJ
037489,001132: 25,3404 63640 AD VREFER +1 # X(K+1) - X(K)
037490,001133: 25,3405 00006 EXTEND
037491,001134: 25,3406 71651 MP GRAD
037492,001135: 25,3407 51771 INDEX JJ
037493,001136: 25,3410 63637 AD VREFER
037494,001137: 25,3411 51650 INDEX MM
037495,001138: 25,3412 55652 TS FX # FX = AK + GRAD (AK+1 - AK)
037496,001139: 25,3413 11650 CCS MM
037497,001140: 25,3414 13376 TCF BACK2
037498,001141: 25,3415 57653 XCH FX +1 # ZERO FX +1 AND GET DREFR
037499,001142: 25,3416 61637 AD D
037500,001143: 25,3417 00006 EXTEND
037501,001144: 25,3420 71657 MP FX +5 # F1
037502,001145: 25,3421 52155 DXCH MPAC # MPAC = F1(D-DREF)
037503,001146:
037504,001147: 25,3422 00006 EXTEND
037505,001148: 25,3423 41700 DCS RDOT # FORM RDOTREF - RDOT
037506,001149: 25,3424 20001 DDOUBL
037507,001150: 25,3425 20001 DDOUBL
037508,001151: 25,3426 20001 DDOUBL # SCALE UP BY 8 FOR THIS PHASE.
037509,001152: 25,3427 61655 AD FX +3 # RDOTREF
037510,001153: 25,3430 00006 EXTEND
037511,001154: 25,3431 71656 MP FX +4 # F2
037512,001155: 25,3432 61654 AD FX +2 # RTOGO
037513,001156: 25,3433 20155 DAS MPAC # ADD F2(DADV1-DADVR)
037514,001157: 25,3434 30154 CA MPAC
037515,001158: 25,3435 55770 TS PREDANG
037516,001159: # L/D = LOD + (THETA- PREDANG)/ Y
037517,001160: 25,3436 06006 TC INTPRET
037518,001161:
037519,001162: 25,3437 45242 SR3 DSU
037520,001163: 25,3440 03702 THETAH
037521,001164: 25,3441 43014 BON BOFF
037522,001165: 25,3442 03305 GONEPAST
037523,001166: 25,3443 53470 GONEGLAD
037524,001167: 25,3444 03747 GONEBY
037525,001168: 25,3445 53453 HAVDNRNG
037526,001169: 25,3446 43145 DLOAD SET # SET GONEPAST IF GONEBY SET & LATCH IN-
037527,001170: 25,3447 13773 MAXRNG # DISPLAY = 9999.9 IF GONEBY PLACE
037528,001171: 25,3450 03065 GONEPAST
037529,001172: 25,3451 37716 STCALL DNRNGERR
037530,001173: 25,3452 53470 GONEGLAD
037531,001174:
037532,001175: 25,3453 03716 HAVDNRNG STORE DNRNGERR # = (PREDANG - THETA) /360
037533,001176: 25,3454 77676 DCOMP # FALL SHORT IF NEG, OVERSHOOT IF POS
037534,001177: 25,3455 56204 BOVB DDV
037535,001178: 25,3456 57353 TCDANZIG # CLEAR OVFIND IF ON.
037536,001179: 25,3457 03653 FX # FX= DRANGE/D L/D = Y
037537,001180: 25,3460 40061 SL BOV
037538,001181: 25,3461 20206 5
037539,001182: 25,3462 53472 GOMAXL/D
037540,001183: 25,3463 40015 DAD BOV
037541,001184: 25,3464 03626 LOD
037542,001185: 25,3465 53472 GOMAXL/D
037543,001186: 25,3466 37634 STCALL L/D
037544,001187: 25,3467 53476 GLIMITER # (GO TO)
037545,001188:
037546,001189: # GONEGLAD AND GOPOSMAX ENTRY POINTS FOR GLIMITER ...
037547,001190:
037548,001191: 25,3470 77745 GONEGLAD DLOAD # SET L/D = -LAD
037549,001192: 25,3471 13471 GONEGLAD # (ANY NEGATIVE NUMBER WILL DO)
037550,001193:
037551,001194: 25,3472 41234 GOMAXL/D RTB DMP # L/D = LAD SIGN(MPAC)
037552,001195: 25,3473 45712 SIGNMPAC
037553,001196: 25,3474 03624 LAD
037554,001197: 25,3475 03634 STORE L/D # AND FALL INTO GLIMITER SECTION
037555,001198:
037556,001199: 25,3476 45345 GLIMITER DLOAD DSU # IF GMAX/2-D POS, GO TO LIMITL/D
037557,001200: 25,3477 15160 GMAX/2
037558,001201: 25,3500 03640 D
037559,001202: 25,3501 43244 BPL DAD # IF GMAX -D NEG, GO TO GOPOSLAD
037560,001203: 25,3502 53526 LIMITL/D
037561,001204: 25,3503 15160 GMAX/2
037562,001205: 25,3504 41240 BMN DMP
037563,001206: 25,3505 53523 GOPOSLAD
037564,001207: 25,3506 15262 2HS
037565,001208: 25,3507 41325 PDDL DMP # 2HS(GMAX-D) INTO PD
037566,001209: 25,3510 03654 LEQ
037567,001210: 25,3511 15332 1/GMAX
037568,001211: 25,3512 41215 DAD DMP
037569,001212: 25,3513 03624 LAD
037570,001213: 25,3514 56325 PDDL DDV # 2HS(GMAX-D) (LEQ/GMAX+LAD) INTO PD
037571,001214: 25,3515 15264 2HSGMXSQ
037572,001215: 25,3516 03622 VSQUARE
037573,001216: 25,3517 75415 DAD SQRT # XLIM = SQRT(PD+(2HSGMAX/V)SQ)
037574,001217: 25,3520 51015 DAD BPL # IF RDOT+XLIM POS, GO TO LIMITL/D
037575,001218: 25,3521 03700 RDOT
037576,001219: 25,3522 53526 LIMITL/D
037577,001220:
037578,001221: 25,3523 77745 GOPOSLAD DLOAD
037579,001222: 25,3524 03624 LAD
037580,001223: 25,3525 03634 STOREL/D STORE L/D
037581,001224:
037582,001225: 25,3526 77745 LIMITL/D DLOAD
037583,001226: 25,3527 03634 L/D
037584,001227: 25,3530 17636 STODL L/D1
037585,001228: 25,3531 03622 VSQUARE
037586,001229:
037587,001230: 25,3532 77614 BON # NO LATERAL CONTROL IF PAST TARGET
037588,001231: 25,3533 03305 GONEPAST
037589,001232: 25,3534 53566 L355
037590,001233: 25,3535 43205 DMP DAD # Y= KLAT VSQUARE + LATBIAS
037591,001234: 25,3536 03632 KLAT
037592,001235: 25,3537 15242 LATBIAS # Y INTO PD
037593,001236: 25,3540 51525 L350 PDDL ABS # IF ABS(L/D)-L/DCMINR NEG, GO TO L353
037594,001237: 25,3541 03634 L/D
037595,001238: 25,3542 50025 DSU BMN
037596,001239: 25,3543 03630 L/DCMINR
037597,001240: 25,3544 53553 L353
037598,001241: 25,3545 75345 DLOAD SIGN # IF K2ROLL LATANG NEG, GO TO L357
037599,001242: 25,3546 03676 LATANG
037600,001243: 25,3547 03644 K2ROLL
037601,001244: 25,3550 71240 BMN DLOAD
037602,001245: 25,3551 53632 L357
037603,001246: 25,3552 41542 SR1 PUSH # Y = Y/2
037604,001247: 25,3553 75345 L353 DLOAD SIGN # IF LATANG SIGN(K2ROLL)-Y POS, SWITCH
037605,001248: 25,3554 03676 LATANG
037606,001249: 25,3555 03644 K2ROLL
037607,001250: 25,3556 77625 DSU
037608,001251: 25,3557 71240 BMN DLOAD
037609,001252: 25,3560 53566 L355
037610,001253: 25,3561 03644 K2ROLL
037611,001254: 25,3562 57414 BONCLR DCOMP # IF NOSWITCH =1, K2ROLL= K2ROLL
037612,001255: 25,3563 03210 NOSWITCH
037613,001256: 25,3564 53566 L355
037614,001257: 25,3565 03644 STORE K2ROLL # K2ROLL = -K2ROLL
037615,001258:
037616,001259: 25,3566 56345 L355 DLOAD DDV # ROLLC = ACOS( (L/D1) / LAD)
037617,001260: 25,3567 03636 L/D1
037618,001261: 25,3570 03624 LAD # MPAC SET TO +-1 IF OVERFLOW***
037619,001262: 25,3571 65542 SR1 ACOS
037620,001263: 25,3572 43165 SIGN CLEAR
037621,001264: 25,3573 03644 K2ROLL
037622,001265: 25,3574 03270 NOSWITCH
037623,001266: 25,3575 03316 STORE ROLLC
037624,001267:
037625,001268: 25,3576 77776 ENDEXIT EXIT
037626,001269:
037627,001270: 25,3577 35017 OVERNOUT CA BIT13 # ENTRYDSP =92D B13
037628,001271: 25,3600 70102 MASK CM/FLAGS
037629,001272: 25,3601 00006 EXTEND
037630,001273: 25,3602 13606 BZF NODISKY # OMIT DISPLAY.
037631,001274: 25,3603 31263 CA ENTRYVN # ALL ENTRY DISPLAYS ARE DONE HERE.
037632,001275: 25,3604 04676 TC BANKCALL
037633,001276: 25,3605 20712 CADR REGODSPR # NO ABORT IF DISKY IN USE
037634,001277:
037635,001278: 25,3606 00004 NODISKY INHINT
037636,001279: 25,3607 10067 CCS NEWJOB # PROTECT READACCS GRP 5, IF SIDETRACKED.
037637,001280: 25,3610 05200 TC CHANG1
037638,001281: 25,3611 04715 SERVNOUT TC POSTJUMP # ( COME HERE FROM P67.3 )
037639,001282: 25,3612 77231 CADR SERVEXIT # AND END AVERAGEG JOB VIA ENDOFJOB.
037640,001283:
037641,001284: # DISPLAY WHEN V IS LESS THAN VQUIT.
037642,001285:
037643,001286: 25,3613 77776 STEEROFF EXIT
037644,001287: 25,3614 35074 CA EBENTRY # PRECAUTIONARY.
037645,001288: 25,3615 54003 TS EBANK
037646,001289:
037647,001290: 25,3616 35104 CA PRIO16 # 2 LESS THAN NTRYPRIO.
037648,001291: 25,3617 05150 TC NOVAC
037649,001292: 25,3620 E6,1661 EBANK= AOG # ANY EB HERE
037650,001293: 25,3620 02505 54066 2CADR P67.1 # START UP REMAINDER OF P67
037651,001294:
037652,001295: # RTOGO LAT LONG
037653,001296: # XXXX.X NM XXX.XX DEG XXX.XX DEG
037654,001297:
037655,001298: 25,3622 05406 TC 2PHSCHNG # INHINT/RELINT DONE.
037656,001299: 25,3623 00414 OCT 00414 # 4.41 RESTART FOR P67.1 DISPLAY JOB.
037657,001300: 25,3624 10035 OCT 10035 # SERVICER 5.3 RESTART.
037658,001301:
037659,001302: 25,3625 33631 CA P67.2CAD # HEREAFTER, DO LAT, LONG.
037660,001303: 25,3626 55645 TS GOTOADDR
037661,001304:
037662,001305: 25,3627 06006 TC INTPRET
037663,001306: 25,3630 77650 GOTO
037664,001307: 25,3631 54524 P67.2CAD P67.2 # CONTINUE FOR LAT, LONG THIS TIME.
037665,001308:
037666,001309: 25,3632 75345 L357 DLOAD SIGN # L/D = L/DCMINR SIGN(L/D)
037667,001310: 25,3633 03630 L/DCMINR
037668,001311: 25,3634 03634 L/D
037669,001312: 25,3635 37636 STCALL L/D1
037670,001313: 25,3636 53566 L355 # (GO TO)
037671,001314:
037672,001315: # TABLE USED FOR SUB-ORBITAL REFERENCE TRAJECTORY CONTROL.
037673,001316:
037674,001317: 25,3637 00474 VREFER DEC .019288 # REFERENCE VELOCITY SCALED V/51532.3946
037675,001318: 25,3640 01235 DEC .040809 # 13 POINTS ARE STORED AS THE INDEPENDENT
037676,001319: 25,3641 02337 DEC .076107 # VARIABLE AND THEN SIX 13 POINT FUNCTIONS
037677,001320: 25,3642 03721 DEC .122156 # OF V ARE STORED CONSECUTIVELY
037678,001321: 25,3643 05230 DEC .165546
037679,001322: 25,3644 06213 DEC .196012
037680,001323: 25,3645 10550 DEC .271945
037681,001324: 25,3646 11717 DEC .309533
037682,001325: 25,3647 13314 DEC .356222
037683,001326: 25,3650 14736 DEC .404192
037684,001327: 25,3651 16255 DEC .448067
037685,001328: 25,3652 16457 DEC .456023
037686,001329: 25,3653 25570 DEC .67918 # HIGHVELOCITY FOR SAFETY
037687,001330:
037688,001331: 25,3654 77526 DEC -.010337 # DRANGE/DA SCALED DRDA/(2700/805)
037689,001332: 25,3655 77360 DEC -.016550
037690,001333: 25,3656 77106 DEC -.026935
037691,001334: 25,3657 76516 DEC -.042039
037692,001335: 25,3660 76071 DEC -.058974
037693,001336: 25,3661 75570 DEC -.070721
037694,001337: 25,3662 74661 DEC -.098538
037695,001338: 25,3663 74436 DEC -.107482
037696,001339: 25,3664 73212 DEC -.147762
037697,001340: 25,3665 71640 DEC -.193289
037698,001341: 25,3666 54557 DEC -.602557
037699,001342: 25,3667 40000 DEC -.99999
037700,001343: 25,3670 40000 DEC -.99999
037701,001344:
037702,001345: 25,3671 77635 DEC -.0478599 B-3 # -DRANGE/DRDOT
037703,001346: 25,3672 77563 DEC -.0683663 B-3 # SCALED ((2VS/8 2700) DR/DRDOT)
037704,001347: 25,3673 77354 DEC -.1343468 B-3
037705,001348: 25,3674 76712 DEC -.2759846 B-3
037706,001349: 25,3675 76066 DEC -.4731437 B-3
037707,001350: 25,3676 75322 DEC -.6472087 B-3
037708,001351: 25,3677 73237 DEC -1.171693 B-3
037709,001352: 25,3700 72104 DEC -1.466382 B-3
037710,001353: 25,3701 70301 DEC -1.905171 B-3
037711,001354: 25,3702 65635 DEC -2.547990 B-3
037712,001355: 25,3703 57311 DEC -4.151220 B-3
037713,001356: 25,3704 50575 DEC -5.813617 B-3
037714,001357: 25,3705 50575 DEC -5.813617 B-3
037715,001358:
037716,001359: 25,3706 74443 DEC -.0134001 B3 # RDOTREF SCALED (8 RDT/2VS)
037717,001360: 25,3707 74333 DEC -.013947 B3
037718,001361: 25,3710 74433 DEC -.013462 B3
037719,001362: 25,3711 74763 DEC -.011813 B3
037720,001363: 25,3712 75432 DEC -.0095631 B3
037721,001364: 25,3713 75735 DEC -.00806946 B3
037722,001365: 25,3714 76200 DEC -.006828 B3
037723,001366: 25,3715 75735 DEC -.00806946 B3
037724,001367: 25,3716 75140 DEC -.0109791 B3
037725,001368: 25,3717 74075 DEC -.0151498 B3
037726,001369: 25,3720 73312 DEC -.0179817 B3
037727,001370: 25,3721 73732 DEC -.0159061 B3
037728,001371: 25,3722 73732 DEC -.0159061 B3
037729,001372:
037730,001373: 25,3723 00026 DEC .00137037 # 3.7 RTOGO SCALED RTOGO/2700
037731,001374: 25,3724 00077 DEC .00385185 # 10.4
037732,001375: 25,3725 00217 DEC .00874074 # 23.6
037733,001376: 25,3726 00431 DEC .017148
037734,001377: 25,3727 00712 DEC .027926
037735,001378: 25,3730 01136 DEC .037
037736,001379: 25,3731 02015 DEC .063298
037737,001380: 25,3732 02374 DEC .077889
037738,001381: 25,3733 03123 DEC .098815
037739,001382: 25,3734 04051 DEC .127519
037740,001383: 25,3735 05767 DEC .186963
037741,001384: 25,3736 07476 DEC .238148
037742,001385: 25,3737 11324 DEC .294185185
037743,001386:
037744,001387: 25,3740 76272 DEC -.051099 # -AREF/805
037745,001388: 25,3741 75472 DEC -.074534
037746,001389: 25,3742 74604 DEC -.101242
037747,001390: 25,3743 74210 DEC -.116646
037748,001391: 25,3744 74052 DEC -.122360
037749,001392: 25,3745 73735 DEC -.127081
037750,001393: 25,3746 73217 DEC -.147453
037751,001394: 25,3747 73013 DEC -.155528
037752,001395: 25,3750 73155 DEC -.149565
037753,001396: 25,3751 74151 DEC -.118509
037754,001397: 25,3752 76703 DEC -.034907
037755,001398: 25,3753 77575 DEC -.007950
037756,001399: 25,3754 77575 DEC -.007950
037757,001400:
037758,001401: 25,3755 00112 DEC .004491 # DRANGE/D L/D SCALED Y/2700
037759,001402: 25,3756 00204 DEC .008081
037760,001403: 25,3757 00407 DEC .016030
037761,001404: 25,3760 01113 DEC .035815
037762,001405: 25,3761 02161 DEC .069422
037763,001406: 25,3762 03260 DEC .104519
037764,001407: 25,3763 03717 DEC .122
037765,001408: 25,3764 05411 DEC .172407
037766,001409: 25,3765 10057 DEC .252852
037767,001410: 25,3766 13476 DEC .363148
037768,001411: 25,3767 20324 DEC .512963
037769,001412: 25,3770 21677 DEC .558519
037770,001413: 25,3771 21677 DEC .558519 # END OF STORED REFERENCE
037771,001414:
037772,001415: # REENTRY CONSTANTS.
037773,001416:
037774,001417: # DEFINED BY EQUALS
037775,001418:
037776,001419: 25,3772 5042 DEC15 = LOW4
037777,001420: # GAMMAL1 = 22D
037778,001421:
037779,001422: 25,3772 16631 06755 MAXRNG 2OCT 1663106755 # DNRNGERR = 9999.9 IF GONEPAST=1
037780,001423:
037781,001424: 26,3144 BANK 26
037782,001425: 26,2000 SETLOC REENTRY1
037783,001426: 26,2000 BANK
037784,001427:
037785,001428: 26,3144 COUNT* $$/ENTRY
037786,001429:
037787,001430: 26,3144 27,3372 BARELY1 = NEARONE # COMMON TO BOTH DISK,DANCE.DEFND IN TFF
037788,001431: # 1BITDP COMMON TO BOTH DISK AND DANCE. DEFND IN VECPOINT.
037789,001432:
037790,001433: 26,3144 02525 1/12TH DEC .083333 # DP 1/12 USES HI WORD IN 1/3 BELOW
037791,001434: 26,3145 12525 12525 1/3RD 2DEC .3333333333 # DP 1/3
037792,001435:
037793,001436: 26,3147 27,3366 1/16TH = DP2(-4)
037794,001437:
037795,001438: # BELOW: VS = VSAT = 25766.1973 FT/SEC
037796,001439:
037797,001440: # RE = 21,202,900 FEET
037798,001441:
037799,001442: 26,3147 04631 23146 LEWD1 2DEC .15
037800,001443:
037801,001444: 26,3151 03146 14632 POINT1 2DEC .1
037802,001445:
037803,001446: 26,3153 06314 31463 POINT2 2DEC .2 # .2
037804,001447:
037805,001448: 26,3155 76314 71462 DLEWD0 2DEC -.05 # -.05
037806,001449:
037807,001450: 26,3157 05075 16051 GMAX/2 2DEC .16 # 8 GS / 2
037808,001451:
037809,001452: 26,3161 26,3333 3ZEROS EQUALS HI6ZEROS
037810,001453: 26,3161 07777 00000 NEAR1/4 2OCT 0777700000 # 1/4 LESS 1 BIT IN UPPER PART.
037811,001454:
037812,001455: 26,3163 00236 36763 C18 2DEC .0097026346 # 500/2VS
037813,001456:
037814,001457: 26,3165 00204 11303 Q7FKDMIN 2DEC .0080745342 # 6.5/805 (Q7F +KDMIN) = 6 + .5)
037815,001458:
037816,001459: 26,3167 27,3366 C1/16 = DP2(-4)
037817,001460:
037818,001461: 26,3167 05260 05572 Q3 2DEC .167003132 # .07 2VS/21600
037819,001462: 26,3171 12343 21616 Q5 2DEC .326388889 # .3 23500/21600
037820,001463:
037821,001464: 26,3173 01073 31515 Q6 2DEC .0349 # 2 DEG, APPROX 820/23500
037822,001465:
037823,001466: 26,3175 00172 03571 Q7F 2DEC .0074534161 # 6/805 (VALUE OF Q7 IN FIXED MEM.)
037824,001467:
037825,001468: 26,3177 26,3331 Q19 = HALVE # Q19 = .5
037826,001469:
037827,001470: 26,3177 00573 10230 Q21 2DEC .0231481481 # 500/21600
037828,001471:
037829,001472: 26,3201 76226 45761 Q22 2DEC -.053333333 # -1152/21600
037830,001473:
037831,001474: 26,3203 13132 33062 VLMIN 2DEC .34929485 # 18000/2 VS
037832,001475:
037833,001476: 26,3205 26,3323 VMIN = FOURTH # (VS/2) / 2VS
037834,001477: 26,3205 00160 05104 C12 2DEC .00684572901 # 32 28500/(21202900 2 PI)
037835,001478:
037836,001479: 26,3207 11322 32265 1/KB1 2DEC .29411765 # 1 / 3.4
037837,001480:
037838,001481: 26,3211 75047 72454 -1/KB2 2DEC -.0057074322 B4 # = -1/(.0034 2 VS) EXP +4
037839,001482:
037840,001483: 26,3213 00475 35746 VQUIT 2DEC .019405269 # 1000 /2VS
037841,001484:
037842,001485: 26,3215 10262 02622 C20 2DEC .26086957 # 210/805 90 DEG MAX ROLL IF ABOVE C20
037843,001486:
037844,001487: 26,3217 05441 14412 C21 2DEC .17391304 # 140/805
037845,001488:
037846,001489: 26,3221 00022 36641 25NM 2DEC .0011574074 # 25/21600 (25 NAUT MILES)
037847,001490:
037848,001491: 26,3223 01003 06315 K1D 2DEC .0314453125 # =C16 805/256 = .01 805/256
037849,001492:
037850,001493: 26,3225 63073 73236 K2D 2DEC -.402596836 # -C17 2VS/256 = -.002 2VS/256
037851,001494:
037852,001495: 26,3227 32047 24367 KVSCALE 2DEC .81491944 # 12800/(2 VS .3048)
037853,001496:
037854,001497: 26,3231 37200 05636 KASCALE 2DEC .97657358 # 5.85 16384/(4 .3048 100 805)
037855,001498:
037856,001499: 26,3233 00046 13137 KTETA 2DEC* .383495203 E2 B-14* # 1000 2PI/16384(163.84)
037857,001500:
037858,001501: 26,3235 00017 30730 KT1 2DEC* .157788327 E2 B-14* # RE(2PI)/2 VS(16384) 163.84
037859,001502:
037860,001503: 26,3237 00040 30447 .05G 2DEC .002 # .05/25
037861,001504:
037862,001505: 26,3241 00000 17565 LATBIAS 2DEC .00003 # APPRX .5 NM/ 4(21600/2 PI)
037863,001506:
037864,001507: 26,3243 01727 20103 KWE 2DEC .120056652 B-1
037865,001508:
037866,001509: 26,3245 00121 17460 KACOS 2DEC .004973592 # 1/32(2PI)
037867,001510:
037868,001511: 26,3247 00400 00000 CHOOK 2DEC 1 B-6 # .25/16
037869,001512: 26,3251 01252 25253 1/24TH 2DEC .0833333333 B-1
037870,001513:
037871,001514: 26,3253 24365 30244 CH1 2DEC .32 B1 # 16 CH1/25 = 16 (1) /25
037872,001515:
037873,001516: 26,3255 77152 51354 KC3 2DEC -.0247622232 # -(4 VS VS/ 2 PI 805 RE)
037874,001517:
037875,001518: 26,3257 00336 21610 VRCONT 2DEC .0135836886 # 700/2 VSAT
037876,001519:
037877,001520: 26,3261 26,3331 HALVE EQUALS HIDPHALF
037878,001521: 26,3261 26,3323 FOURTH EQUALS HIDP1/4
037879,001522:
037880,001523: 26,3261 26,3331 1/GMAX EQUALS HALVE # 4/GMAX = 4 / 8
037881,001524: 26,3261 00433 02775 2HS 2DEC .0172786611 # 2 28500 25 32.2/(4 VS VS)
037882,001525:
037883,001526: 26,3263 00000 20017 2HSGMXSQ 2DEC .0000305717 # (2 28500 8 32.2/ 4 VS VS)SQ
037884,001527:
037885,001528: 26,3265 77765 70243 C001 2DEC -.000625 # -(4/25)/256 LEQ/D0 CONST
037886,001529:
037887,001530: 26,3267 31463 06315 POINT8 2DEC .8
037888,001531:
037889,001532: 26,3271 00541 33575 2C1HS 2DEC .0215983264 # 2 1.25 28500 805/(2 VS)SQ
037890,001533:
037891,001534: 26,3273 00146 14632 PT1/16 2DEC .1 B-4
037892,001535:
037893,001536: 26,3275 00052 30013 1/K44 2DEC .00260929464 # 2 VS/19749550
037894,001537:
037895,001538: 26,3277 20411 03041 VFINAL 2DEC .51618016 # 26600/2 VS
037896,001539:
037897,001540: 26,3301 20610 10513 VFINAL1 2DEC .523942273 # = 27000 / 2 VS
037898,001541:
037899,001542: 26,3303 11473 02355 1/KA1 2DEC .30048077 # 25/(1.3 64)
037900,001543:
037901,001544: 26,3305 00203 02234 KA2 2DEC .008 # .2/25
037902,001545:
037903,001546: 26,3307 16237 00146 KA3 2DEC .44720497 # = 90 4/805
037904,001547:
037905,001548: 26,3311 01456 03450 KA4 2DEC .049689441 # 40/805
037906,001549:
037907,001550: 26,3313 01727 01217 KALIM 2DEC .06 # 1.5/25
037908,001551:
037909,001552: 26,3315 26,3311 Q7MIN = KA4 # = 40/805 = .049689441
037910,001553: 26,3315 56232 72332 -HSCALED 2DEC -.55305018 # -28500/2 VS
037911,001554:
037912,001555: 26,3317 77000 43741 -KSCALE 2DEC -.0312424837 # -805/VS
037913,001556:
037914,001557: 26,3321 36702 21727 COS15 2DEC .965
037915,001558:
037916,001559: 26,3323 26,3144 LATSLOPE EQUALS 1/12TH
037917,001560: # ... END OF RE-ENTRY CONSTANTS ...
End of include-file REENTRY_CONTROL.agc. Parent file is MAIN.agc