Source Code
These source-code files are part of a reconstructed copy of Comanche 45/2 (AKA Manche45 revision 2),
the final, flown mission release of the Apollo 10 Command Module (CM) Apollo Guidance
Computer (AGC) software. Comanche 45/2 was preceded by Comanche 44 and Comanche 45. The
reconstruction is believed to be exactly accurate, but in the absence of an actual Apollo-era
listing of Comanche 45/2, some explanation of the reconstruction process is needed
to insure confidence in that accuracy.
The starting point was the source code of Comanche 45 (itself previously accurately reconstructed). Comanche 45 source code was then modified by incorporating changes known from contemporary documentation to have been made between revisions 45 and 45/2. The now-reconstructed Comanche 45/2 source code was verified by assembling it and checking that the assembled code had the expected known-correct memory-bank checksums. Note that page numbers in the reconstructed code tend to match those in the Comanche 55, the most-similar revision of Comanche for which we have access to an actual non-reconstructed hardcopy; the source code would likely have different page numbers in a contemporary Comanche 45 listing. Annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change relative to Comanche 44. Here's a guide to the Apollo documentation referenced in those annotations:
|
034481,000002: ## Copyright: Public domain.
034482,000003: ## Filename: P61-P67.agc
034483,000004: ## Purpose: A section of Manche45 revision 2.
034484,000005: ## It is part of the reconstructed source code for the
034485,000006: ## final, flown release of the flight software for the Command
034486,000007: ## Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
034487,000008: ## The code has been recreated from a copy of Comanche 055. It
034488,000009: ## has been adapted such that the resulting bugger words
034489,000010: ## exactly match those specified for Manche 45/2 in NASA drawing
034490,000011: ## 2021153D, which gives relatively high confidence that the
034491,000012: ## reconstruction is correct.
034492,000013: ## Assembler: yaYUL
034493,000014: ## Contact: Ron Burkey <info@sandroid.org>.
034494,000015: ## Website: www.ibiblio.org/apollo/index.html
034495,000016: ## Mod history: 2020-12-24 MAS Created from Comanche 45.
034496,000017:
Page 789 |
034498,000019: # PROGRAM: P61
034499,000020: # MOD NO.: 0 MAR. 13, 1967
034500,000021: # MOD BY: R. HIRSCHKOP
034501,000022: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 22 JUN 67 RESTARTS.
034502,000023: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP CHANGES.
034503,000024: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 8 MAY 68 DELETE CMSM MANEUVER (PCR 50)
034504,000025: # FUNCTION: TO CALCULATE AND DISPLAY EMS INITIALIZATION DATA
034505,000026: # CALLING SEQUENCE- BY V37
034506,000027: # EXIT- TO P62
034507,000028: # SUBROUTINE CALLS- S61.1, S61.3, GOFLASH, FLAGUP, R02BOTH
034508,000029: # ERASABLE INITIALIZATION:
034509,000030: # EMSALT (-29) M .05G ALTITUDE ABOVE FISCHER ELLIPSOID PAD LOADED.
034510,000031: # ALFAPAD /180 HYPERSONIC CM TRIM ANGLE OF ATTACK PAD LOADED
034511,000032: # OUTPUT: THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
034512,000033: # GMAX 100 GMAX (-14) G,S MAXIMUM ACCELERATION
034513,000034: # VPRED (-7) M/CS PREDICTED VELOCITY AT 400K FT
034514,000035: # GAMMAEI GAMMA/360 PREDICTED GAMMA AT 400K FT
034515,000036: # RTGO THETAH/360 RANGE ANGLE TO SPLASH FROM EMSALT EMSALT IS PAD LOADED
034516,000037: # VIO (-7) M/CS INERTIAL VELOCITY AT EMSALT EMSALT IS PAD LOADED
034517,000038: # TTE (-28) CS TIME TO EMSALT EMSALT IS PAD LOADED
034518,000039: # LAT(SPL) /360 TARGET LOCATION LEFT BY DSKY
034519,000040: # LNG(SPL) /360 TARGET LOCATION LEFT BY DSKY
034520,000041: # HEADSUP (0) +1 = LIFT DOWN, -1 = LIFT UP LEFT BY DSKY
034521,000042: # DEBRIS: SEE SUBROUTINES.
034522,000043:
034523,000044: 26,2217 BANK 26
034524,000045: 26,2000 SETLOC P60S
034525,000046: 26,2000 BANK
034526,000047:
034527,000048: 26,2217 E6,1661 EBANK= AOG
034528,000049:
034529,000050: 26,2217 COUNT* $$/P61
034530,000051:
034531,000052: 26,2217 35002 P61 CA BIT14 # EXTENDED VERB SHOULD BE FREE THIS CLOSE
034532,000053: 26,2220 55044 TS EXTVBACT # TO V37
034533,000054: # LOCK OUT EXTENDED VERBS SO CAN USE TFF
034534,000055: # ROUTINES. EXT VERB ERASE IS USED
034535,000056:
034536,000057: 26,2221 45017 CS ONE # REMOVE IF HEADSUP EVER ON UPLINK DATA
034537,000058: 26,2222 55726 TS HEADSUP # PRELOAD
034538,000059:
034539,000060: 26,2223 02544 TC S61.1 # CHECK STATE VECTOR AND IMU ORIENTATION
034540,000061: # RV 60GENRET. DOES PHASCHNG, GROUP 4.
034541,000062:
034542,000063: 26,2224 32425 CA V06N61 # LAT(SPL) LNG(SPL) HEADSUP
034543,000064: # XXX.XX DEG XXX.XX DEG XXXXX.
034544,000065: 26,2225 04662 TC BANKCALL
034545,000066: 26,2226 21057 CADR GOFLASHR
034546,000067: 26,2227 04106 TC GOTOPOOH
Page 790 |
034548,000069: 26,2230 02235 TC P61.4
034549,000070: 26,2231 02224 TC -5
034550,000071:
034551,000072: 26,2232 05412 P61.3 TC PHASCHNG
034552,000073: 26,2233 00014 OCT 00014
034553,000074:
034554,000075: 26,2234 05217 TC ENDOFJOB
034555,000076:
034556,000077: 26,2235 22007 P61.4 ZL
034557,000078: 26,2236 11726 CCS HEADSUP # C(HEADSUP)= +1/-1
034558,000079: 26,2237 35002 CA BIT14 # IF HEADSUP POS,ROLLC =180 DEG.(LIFT DWN)
034559,000080: 26,2240 12241 NOOP # IF HEADSUP NEG,ROLLC =0 (LIFT UP)
034560,000081: 26,2241 53716 DXCH ROLLC # ROLLC IS USED BY S62.3: GIM ANG AT .05G
034561,000082:
034562,000083: 26,2242 06006 TC INTPRET
034563,000084: 26,2243 77745 NEWRNVN DLOAD
034564,000085: 26,2244 01205 PIPTIME # SAVE TIME OF RN,VN TO DETERMINE IF AN
034565,000086: 26,2245 37651 STCALL MM # UPDATE HAS OCCURRED
034566,000087: 26,2246 52063 STARTEN1 # INITIALIZE
034567,000088: 26,2247 77775 VLOAD
034568,000089: 26,2250 01171 RN
034569,000090: 26,2251 02327 STORE RONE
034570,000091: 26,2252 77656 UNIT
034571,000092: 26,2253 26343 STOVL URONE
034572,000093: 26,2254 01177 VN
034573,000094: 26,2255 02335 STORE VONE
034574,000095: 26,2256 53435 VXV UNIT
034575,000096: 26,2257 02343 URONE
034576,000097: 26,2260 03502 STORE UNI
034577,000098: 26,2261 45345 DUMPP61 DLOAD DSU
034578,000099: 26,2262 03651 MM # INITIAL VALUE OF PIPTIME
034579,000100: 26,2263 01205 PIPTIME
034580,000101: 26,2264 45040 BMN CALRB
034581,000102: 26,2265 54243 NEWRNVN # UPDATED... GO TRY AGAIN
034582,000103: 26,2266 54651 S61.2 # GET DISPLAY DATA FOR N60 AND N63
034583,000104: # AND RETURN IN BASIC, BELOW.
034584,000105: 26,2267 05536 P61.1 TC CLEARMRK
034585,000106: 26,2270 32424 CA V06N60 # GMAX VPRED GAMMAEI
034586,000107: # XXX.XX G XXXXX. FPS XXX.XX DEG
034587,000108: 26,2271 04662 TC BANKCALL
034588,000109: 26,2272 20720 CADR GOFLASH
034589,000110:
034590,000111: 26,2273 04106 TC GOTOPOOH
034591,000112: 26,2274 02276 TC P61.2 # PROCEED
034592,000113: 26,2275 02270 TC -5
034593,000114:
034594,000115: 26,2276 06006 P61.2 TC INTPRET # CORRECT TTE FOR TIME LAPSE DURING
034595,000116: # ABOVE DISPLAY.
034596,000117: 26,2277 45234 RTB DSU
034597,000118: 26,2300 45510 LOADTIME # CURRENT TIME.
Page 791 |
034599,000120: 26,2301 03651 MM # PIPTIME FOR RONE & VONE.
034600,000121: 26,2302 77615 DAD
034601,000122: 26,2303 03733 TTE1 # NEGATIVE OF FREE FALL TIME.
034602,000123: 26,2304 03727 STORE TTE # DECREMENTED
034603,000124:
034604,000125: 26,2305 77776 EXIT
034605,000126:
034606,000127: 26,2306 32426 CA V06N63 # RTGO VIO TTE
034607,000128: # XXXX.X NM XXXXX. FPS XXBXX M,S
034608,000129: 26,2307 04662 TC BANKCALL
034609,000130: 26,2310 20720 CADR GOFLASH
034610,000131: 26,2311 04106 TC GOTOPOOH
034611,000132: 26,2312 02314 TC +2
034612,000133: 26,2313 02276 TC P61.2 # REDO
034613,000134:
034614,000135: # .... THEN FALL INTO P62
Page 792 |
034616,000137:
034617,000138: # PROGRAM- P62
034618,000139: # MOD NO.- 0 MAR. 13, 1967
034619,000140: # MOD BY- R. HIRSCHKOP
034620,000141: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 67
034621,000142: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 22 JUN 67 RESTARTS.
034622,000143: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP CHANGES.
034623,000144: # MOD NO: 4 MOD BY: RR BAIRNSFATHER DATE: 8 MAY 68 MOVE START OF DESIRED GIMBAL CALC.
034624,000145: # FUNCTION- 1) TO NOTIFY CREW WHEN GNC SYSTEM IS PREPARED FOR CM/SM SEPARATION
034625,000146: # 2) TO ORIENT THE CM TO THE CORRECT ATTITUDE FOR ATMOSPHERIC ENTRY
034626,000147: # CALLING SEQUENCE- BY V37 OR DIRECTLY FROM P61
034627,000148: # EXIT- TO P63
034628,000149: # ERASABLE INITIALIZATION:
034629,000150: # ALFAPAD LEFT BY PAD LOAD
034630,000151: # LADPAD LEFT BY PAD LOAD
034631,000152: # LODPAD LEFT BY PAD LOAD
034632,000153: # LAT(SPL) (MAY BE CHANGED BELOW) LEFT BY DSKY, VIA P61
034633,000154: # LNG(SPL) (MAY BE CHANGED BELOW) LEFT BY DSKY, VIA P61
034634,000155: # HEADSUP (MAY BE CHANGED BELOW) LEFT BY DSKY, VIA P61
034635,000156: # SUBROUTINE CALLS: NEWMODEX, S61.1, CM/DAPIC, CM/DAPON, R02BOTH, GOPERF1, GOFLASH, GODSPR
034636,000157:
034637,000158: 26,2314 COUNT* $$/P62
034638,000159:
034639,000160: 26,2314 05354 TC NEWMODEX # MODE CHANGE IF CAME FROM P61.
034640,000161: 26,2315 00076 MM 62 B-14 # MODE CHANGE AUTOMATIC VIA V 37.
034641,000162: 26,2316 35017 CA ONE
034642,000163: 26,2317 54332 TS DNLSTCOD
034643,000164:
034644,000165: 26,2320 02544 P62 TC S61.1 # CHECK STATE VECTOR AND IMU ORIENTATION.
034645,000166:
034646,000167: 26,2321 06006 TC INTPRET
034647,000168: 26,2322 47131 SSP RTB
034648,000169: 26,2323 03325 POSEXIT
034649,000170: 26,2324 54401 P62.3 # CALCULATE DESIRED .05G GIMBAL ANGLES,
034650,000171: # WITHOUT DISPLAY.
034651,000172: 26,2325 41672 CM/DAPIC # START CM/POSE AND BODY RATE CALC
034652,000173:
034653,000174: # DOES 2PHSCHNG, OCT 40116, OCT 05024, OCT 13000.
034654,000175: # CM/DAPIC SETS EBANK = EBAOG
034655,000176: # AND RETURNS IN BASIC TO P62.2.
034656,000177: 26,2326 00006 P62.2 EXTEND
034657,000178: 26,2327 32432 DCA POSECADR # CONTINUE WITH CM/POSE AFTER AV G.
034658,000179: 26,2330 53223 DXCH AVEGEXIT
034659,000180:
034660,000181: 26,2331 34270 CAF OCT41 # REQUEST SEPARATION
034661,000182: 26,2332 04662 TC BANKCALL
034662,000183: 26,2333 21125 CADR GOPERF1R
034663,000184: 26,2334 04106 TC GOTOPOOH
034664,000185: 26,2335 02340 TC +3 # PROCEED
Page 793 |
034666,000187: # NOTE: NODOFLAG WILL BE SET IN CM/DAPON. <<<
034667,000188: 26,2336 02331 TC -5 # ENTER
034668,000189: 26,2337 02232 TC P61.3 # FOR PHASCHNG AND ENDOFJOB.
034669,000190:
034670,000191: 26,2340 04701 +3 TC POSTJUMP
034671,000192: 26,2341 41612 CADR CM/DAPON # DISABLE RCS DAP, ENABLE ENTRY DAP AND
034672,000193: # DO ATTITUDE HOLD.
034673,000194:
034674,000195: # WILL IDLE UNTIL CM/POSE DOES ONE UPDATE.
034675,000196: # CM/DAPON DOES NO PHASCHNG.
034676,000197:
034677,000198: 26,2342 32425 P62.1 CA V06N61 # LAT(SPL) LNG(SPL) HEADSUP
034678,000199: # XXX.XX DEG XXX.XX DEG 0000X.
034679,000200:
034680,000201: # TERMINATE ATTITUDE HOLD. SET UP COMMANDS:
034681,000202: # ROLLC, ALFACOM, BETACOM. BEGIN MANUVER TO
034682,000203: # ENTRY ATTITUDE.
034683,000204:
034684,000205: 26,2343 04662 TC BANKCALL
034685,000206: 26,2344 20720 CADR GOFLASH
034686,000207: 26,2345 02342 TC -3
034687,000208: 26,2346 02350 TC +2
034688,000209: 26,2347 02342 TC -5
034689,000210:
034690,000211: 26,2350 05412 TC PHASCHNG
034691,000212: 26,2351 04024 OCT 04024 # USE ENTRYVN FOR DISPLAY BELOW.
034692,000213: # EBANK WAS SET IN CM/DAPON TO EBAOG
034693,000214:
034694,000215: 26,2352 11726 CCS HEADSUP # C(HEADSUP) = +/- 1
034695,000216: 26,2353 35002 CA BIT14 # IF HEADSUP POS, ROLLC=180 DEG (LIFT DWN)
034696,000217: 26,2354 12355 NOOP # IF HEADSUP NEG, ROLLC=0 DEG (LIFT UP)
034697,000218: 26,2355 55715 TS ROLLC
034698,000219: 26,2356 31411 CA ALFAPAD # NOMINAL ALFATRIM PAD LOADED, NEG. NO.
034699,000220: 26,2357 22007 ZL
034700,000221: 26,2360 53604 DXCH ALFACOM # SET ALFACOM = ALFA TRIM, BETACOM=0
034701,000222:
034702,000223: 26,2361 35017 CA ONE # PERMITS EXDAP2 TO CHANGE FLAG TO +0
034703,000224: 26,2362 55727 TS P63FLAG # AS INDICATOR. STARTS UP P63.
034704,000225:
034705,000226: 26,2363 35052 CA V06N22 # SET UP DISPLAY FOR CDU DESIRED VALUES
034706,000227: 26,2364 55263 TS ENTRYVN # FROM ENTRY ATTITUDE CALC, THAT IS
034707,000228: # ALREADY GOING.
034708,000229: 26,2365 05546 TC UPFLAG # TURN ON ENTRY DISPLAY
034709,000230: 26,2366 00134 ADRES ENTRYDSP # ENTRYDSP = 92D BIT 13 FLAG 6
034710,000231: # SKIP
Page 794 |
034712,000233: 26,2367 41700 CS CMDAPMOD # GO DIRECTLY TO P63 IF BODY ATTITUDE
034713,000234: 26,2370 75017 MASK ONE # IS SUCH THAT THE DELAY TASK: WAKEP62
034714,000235: 26,2371 00006 EXTEND # WILL BE OMITTED.
034715,000236: 26,2372 12421 BZF P63.1 # DISABLE GRP 4, GO TO ENDOFJOB.
034716,000237: # (IE, CONTINUE IF CMDAPMOD = -1, OR +0)
034717,000238: 26,2373 02405 TC P63
034718,000239:
034719,000240: # PUT JOB TO SLEEP UNTIL VEHICLE MANUVER HAS
034720,000241: # REDUCED ALFA TO +/-45 DEG. CONSIDER REMAINING
034721,000242: # 65 DEG (25 DEG IF ALFA NEG) TO ALFA TRIM TO
034722,000243: # OCCUR AT 3 DEG/SEC, AND TERMINATE P62 AT THAT
034723,000244: # TIME.
034724,000245:
034725,000246: # TASK WAKEP62 IS CALLED FROM ENTRY DAP.
034726,000247: 26,2374 35065 WAKEP62 CA PRIO13
034727,000248: 26,2375 05134 TC NOVAC
034728,000249: 26,2376 E6,1661 EBANK= AOG
034729,000250: 26,2376 02405 54066 2CADR P63
034730,000251:
034731,000252: 26,2400 05324 TC TASKOVER
034732,000253:
034733,000254: # EACH 2 SEC, CALCULATE GIMBAL ANGLES FOR ENTRY CON-
034734,000255: # DITIONS THAT WILL HOLD IF REORIENTATION WERE MADE
034735,000256: # AT PRESENT RN, VN. COME HERE FROM CM/POSE AND ALSO
034736,000257: # IN KEPLER PHASE OF ENTRY.
034737,000258:
034738,000259: 26,2401 52131 P62.3 SSP GOTO # SET RETURN ADDRESS SO THAT ROUTINE
034739,000260: 26,2402 00053 QPRET # GOES DIRECTLY TO ENTRY GUIDANCE EXIT
034740,000261: 26,2403 53576 ENDEXIT # THAT DOES ENTRY DISPLAY, GRP 5.
034741,000262: 26,2404 20376 S62.3 # PUT DESIRED CDU VALUES IN CPHI'S FOR
034742,000263: # N22 DISPLAY.
034743,000264:
Page 795 |
034745,000266: # P63
034746,000267: # PROGRAM- P63
034747,000268: # MOD NO.- 0 MAR. 13, 1967
034748,000269: # MOD BY- R. HIRSCHKOP
034749,000270: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 22 JIN 67 RESTARTS.
034750,000271: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 14 JUL 67 REVISED RESTARTS
034751,000272: # FUNCTION- 1) TO INITIALIZE THE ENTRY EQUATIONS
034752,000273: # 2) TO CONTINUE TO HOLD THE CM TO THE CORRECT ATTITUDE WITH RESPECT TO THE ATMOSPHERE FOR
034753,000274: # THE ONSET OF ENTRY DECELERATION. ROLL ANGLE IS LIFT UP/DOWN AS SPECIFIED BY HEADSUP.
034754,000275: # 3) TO SENSE .05 G
034755,000276: # CALLING SEQUENCE- DIRECTLY FROM P62
034756,000277: # EXIT- TO ENDOFJOB
034757,000278: # SUBROUTINE CALLS- NEWMODEX, GODSPR
034758,000279:
034759,000280: 26,2405 COUNT* $$/P63
034760,000281:
034761,000282: 26,2405 05354 P63 TC NEWMODEX
034762,000283: 26,2406 00077 MM 63 B-14
034763,000284:
034764,000285: # ARRIVE WITH EBANK = AOG.
034765,000286:
034766,000287: 26,2407 32430 CA ENTCADR # CONTINUE AT STARTENT AFTER CM/POSE.
034767,000288:
034768,000289: # AT END OF STARTENT, CHANGE ADDRESS IN GOTOADDR
034769,000290: # TO CONTINUE AT SCALEPOP THEREAFTER.
034770,000291:
034771,000292: 26,2410 55724 TS POSEXIT
034772,000293:
034773,000294: 26,2411 32427 CA V06N64 # G VI R TO SPLSH
034774,000295: # XXX.XX G XXXXX. FPS XXXX.X NM
034775,000296: 26,2412 55263 TS ENTRYVN # FOR DISPLAY CALL IN OVERNOUT.
034776,000297:
034777,000298: 26,2413 45017 CS ONE # IN CASE FLAG IS LEFT AT +1 BY DAP. THE
034778,000299: 26,2414 55727 TS P63FLAG # -1 ASSURES THAT EXO-ATM DAP WILL NOT
034779,000300: # CALL P63 OUT OF SEQUENCE IN P66.
034780,000301:
034781,000302: 26,2415 05412 TC PHASCHNG # THIS IS REQUIRED TO PRESERVE CLEANDSP
034782,000303: 26,2416 00004 OCT 00004 # RETURN IN EVENT OF AN EXTENDED VERB..
034783,000304:
034784,000305: 26,2417 04662 TC BANKCALL # FLUSH 'N22' DISPLAY, IF ON. (OMIT
034785,000306: 26,2420 20703 CADR CLEANDSP # DISPLAY DURING 'STARTENT' PASS.)
034786,000307:
034787,000308: 26,2421 05412 P63.1 TC PHASCHNG
034788,000309: 26,2422 00004 OCT 00004 # DISABLE. DISPLAY RESTARTED VIA ENTRY.
034789,000310:
034790,000311: 26,2423 05217 TC ENDOFJOB
034791,000312:
034792,000313: 26,2424 01474 V06N60 VN 0660
034793,000314: 26,2425 01475 V06N61 VN 0661
034794,000315: 26,2426 01477 V06N63 VN 0663
Page 796 |
034796,000317: 26,2427 01500 V06N64 VN 0664
034797,000318: 26,2430 52000 ENTCADR CADR STARTENT
034798,000319:
034799,000320: 26,2431 E7,1451 EBANK= RTINIT # TO CARY OVER INTO ENTRY STEERING.
034800,000321: 26,2431 03467 76067 POSECADR 2CADR CM/POSE
034801,000322:
Page 797 |
034803,000324: # PROGRAM- P64
034804,000325: # MOD NO.- 1 SEPT. 19, 1967
034805,000326: # MOD BY- R. HIRSCHKOP
034806,000327: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 8 MAY 68 REVISED COMMENTS FOR COLOSSUS
034807,000328: # FUNCTION- 1. TO START ENTRY GUIDANCE AT .05G SELECTING ROLL ATTITUDE, CONSTANT DRAG LEVEL, AND
034808,000329: # DRAG THRESHOLD, KA, WHICH ARE KEYED TO THE .05G POINT.
034809,000330: # 2. SELECT FINAL PHASE P67 IF V < 27000 FPS WHEN .2G OCCURS.
034810,000331: # 3. ITERATE FOR UP-CONTROL SOLUTION P65 IF V > 27000 FPS AND IF ALTITUDE RATE AND DRAG
034811,000332: # LEVEL CONDITIONS ARE SATISFIED. ENTER P65 WHEN CONSTANT DRAG CONTROLLER HAS BROUGHT RANGE
034812,000333: # AS PREDICTED TO WITHIN 25 NM OF DESIRED RANGE.
034813,000334: # 4. SELECT FINAL PHASE P67 IF NO UP-CONTROL SOLUTION EXISTS WITH VL > 18000 FPS.
034814,000335: # CALLING SEQUENCE- BY RTB FROM REENTRY CONTROL
034815,000336: # EXIT- BACK TO REENTRY CONTROL
034816,000337: # SUBROUTINE CALLS- NEWMODEX
034817,000338:
034818,000339: 25,2000 BANK 25
034819,000340: 26,2000 SETLOC P60S1
034820,000341: 26,2000 BANK
034821,000342:
034822,000343: # THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING. RESTART PROTECTION IS VIA STEERING.
034823,000344:
034824,000345: 26,2433 COUNT* $$/P64
034825,000346:
034826,000347: 26,2433 05354 P64 TC NEWMODEX # ENTER VIA RTB WHEN .05G IS EXCEEDED.
034827,000348: 26,2434 00100 MM 64 B-14
034828,000349: 26,2435 32440 CA V06N68 # ROLLC VI HDOT
034829,000350: # XXX.XX DEG XXXXX. FPS XXXXX. FPS
034830,000351: 26,2436 55263 TS ENTRYVN # DISPLAY VIA OVERNOUT.
034831,000352:
034832,000353: 26,2437 06030 TC DANZIG # ... AND CONTINUE IN INITROLL ...
034833,000354: 26,2440 01504 V06N68 VN 0668
034834,000355:
Page 798 |
034836,000357: # PROGRAM: P65
034837,000358: # MOD NO: 0 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP ADDITION.
034838,000359: # FUNCTION: TO CONTINUE ENTRY GUIDANCE, USING THE UP-CONTROL PHASE TO STEER TO A CONTROLLED EXIT
034839,000360: # CONDITION. THIS PHASE TERMINATES A) IF D < Q7 FPSS, GO TO P66 ,
034840,000361: # B) IF RDOT NEG, AND IF V < VL +500 FPS, GO TO P67.
034841,000362: # CALLING SEQUENCE: BY RTB FROM REENTRY CONTROL
034842,000363: # EXIT: BACK TO REENTRY CONTROL, OR TO ENDOFJOB.
034843,000364: # SUBROUTINE CALLS: NEWMODEX
034844,000365:
034845,000366: 26,2441 COUNT* $$/P65
034846,000367:
034847,000368: 26,2441 05354 P65 TC NEWMODEX # ENTER VIA RTB WHEN RANGE < 25 N M OF
034848,000369: 26,2442 00101 MM 65 B-14 # TARGET.
034849,000370:
034850,000371: 26,2443 35065 CA PRIO13
034851,000372: 26,2444 05134 TC NOVAC
034852,000373: 26,2445 1263 EBANK= ENTRYVN
034853,000374: 26,2445 02457 54062 2CADR P65.1
034854,000375:
034855,000376: 26,2447 05372 TC 2PHSCHNG # 2 PHASE CHG REQUIRED TO PREVENT RE-
034856,000377: 26,2450 00554 OCT 00554 # STARTING FLASHING DISPLAY TWICE.
034857,000378: 26,2451 10035 OCT 10035 # 4.55 SPOT AND SERVICER, HERE.
034858,000379: 26,2452 06006 TC INTPRET
034859,000380: 26,2453 47131 SSP RTB
034860,000381: 26,2454 03646 GOTOADDR # CHANGE ENTRY MODE TO UPCONTRL.
034861,000382: 26,2455 53035 UPCONTRL
034862,000383: 26,2456 52120 REFAZE10 # GO HERE TO REESTABLISH ENTRY SEQUENCER.
034863,000384: # AND CONTINUE AT UPCONTRL...
034864,000385:
034865,000386: 26,2457 05560 P65.1 TC DOWNFLAG
034866,000387: 26,2460 00134 ADRES ENTRYDSP # ENTRYDSP = 92D BIT 13 FLAG 6
034867,000388:
034868,000389: 26,2461 32473 CA V16N69 # ROLLC DL (Q7) VL
034869,000390: 26,2462 04662 TC BANKCALL # XXX.XX DEG XXX.XX G XXXXX. FPS
034870,000391: 26,2463 21057 CADR GOFLASHR
034871,000392: 26,2464 02461 TC -3 # NODOFLAG IS SET..
034872,000393: 26,2465 02470 TC +3
034873,000394: 26,2466 02461 TC -5
034874,000395: 26,2467 02232 TC P61.3 # EST. GRP 4 FOR DSPLAY AND DO ENDOFJOB
034875,000396: # IF PROCEED, CONTINUE.
034876,000397: 26,2470 05546 TC UPFLAG
034877,000398: 26,2471 00134 ADRES ENTRYDSP # ENTRYDSP = 92D BIT 13 FLAG 6
034878,000399:
034879,000400: 26,2472 02421 TC P63.1 # DISABLE GRP 4,START UP ENTRY DISPLAY
034880,000401: # N06V68 VIA OVERNOUT, AS USED IN P64.
034881,000402: 26,2473 04105 V16N69 VN 1669
034882,000403:
Page 799 |
034884,000405: # PROGRAM: P66
034885,000406: # MOD NO: 0 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP ADDITIONS.
034886,000407: # FUNCTION: KEEP CM ATTITUDE IN TRIM TO THE RELATIVE VELOCITY VECTOR. ENTRY GUIDANCE STOPS GENERATING
034887,000408: # ROLL COMMANDS UNTIL DRAG BUILDS UP TO Q7+0.5 FPSS.
034888,000409: # CALLING SEQUENCE: VIA RTB FROM REENTRY CONTROL.
034889,000410: # EXIT: BACK TO REENTRY CONTROL.
034890,000411: # SUBROUTINE CALLS: NEWMODEX
034891,000412:
034892,000413: 26,2474 COUNT* $$/P66
034893,000414:
034894,000415: 26,2474 05354 P66 TC NEWMODEX # ENTER VIA RTB WHEN D < Q7 FPSS
034895,000416: 26,2475 00102 MM 66 B-14
034896,000417:
034897,000418: 26,2476 35052 CA V06N22 # OGA IGA MGA
034898,000419: # XXX.XX DEG XXX.XX DEG XXX.XX DEG
034899,000420: 26,2477 02503 TC P66END # IN CASE CAME FROM P65, GO DISABLE GRP4,
034900,000421: # AND SET ENTRYDSP TO DO DISPLAY VIA
034901,000422: # OVERNOUT.
034902,000423:
034903,000424: # ... AND CONTINUE AT KEP2
034904,000425:
Page 800 |
034906,000427: # P67
034907,000428:
034908,000429: # PROGRAM- P67
034909,000430: # MOD NO.- 0 MAR. 16, 1967
034910,000431: # MOD BY- R. HIRSCHKOP
034911,000432: # FUNCTION- TO TERMINATE STEERING WHEN THE CM VELOCITY WRT EARTH = 1000 FT/SEC
034912,000433: # CALLING SEQUENCE-
034913,000434: # EXIT- TO POOH
034914,000435: # SUBROUTINE CALLS- GOFLASH
034915,000436:
034916,000437: # THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING. RESTART PROTECTION IS VIA STEERING.
034917,000438:
034918,000439: 26,2500 COUNT* $$/P67
034919,000440:
034920,000441: 26,2500 05354 P67 TC NEWMODEX # ENTER VIA RTB
034921,000442: 26,2501 00103 MM 67 B-14
034922,000443: 26,2502 32511 CA V06N66 # ROLLC XRNGERR DNRNGERR
034923,000444: # XXX.XX DEG XXXX.X NM XXXX.X NM
034924,000445: 26,2503 55263 P66END TS ENTRYVN # DISPLAY VIA OVERNOUT.
034925,000446:
034926,000447: 26,2504 05546 TC UPFLAG # (IN CASE CAME FROM P65. ENTRY DISPLAY
034927,000448: 26,2505 00134 ADRES ENTRYDSP # WILL FLUSH FLASHING DISP. IF STILL ON)
034928,000449: # BIT 13 FLAG 6
034929,000450: 26,2506 05412 KILLGRP4 TC PHASCHNG # DISABLE GRP4, IN CASE CAME FROM HUNTEST.
034930,000451: 26,2507 00004 OCT 00004 # (COME TO KILLGRP4 VIA RTB, RET TO CALLER)
034931,000452:
034932,000453: 26,2510 06030 TC DANZIG # ... AND CONTINUE AT PREDICT3 ...
034933,000454:
034934,000455: 26,2511 01502 V06N66 VN 0666
034935,000456:
034936,000457: 26,2512 BANK 26
034937,000458: 26,2000 SETLOC P60S2
034938,000459: 26,2000 BANK
034939,000460:
034940,000461: 26,2512 32543 P67.1 CA V16N67 # RTOGO LAT LONG
034941,000462: # XXXX.X NM XXX.XX DEG XXX.XX DEG
034942,000463: 26,2513 04662 TC BANKCALL
034943,000464: 26,2514 20720 CADR GOFLASH
034944,000465: 26,2515 02520 TC +3 # EFFECTIVE GOTOPOOH
034945,000466: 26,2516 02520 TC +2
034946,000467: 26,2517 02512 TC P67.1 # REDO
034947,000468:
034948,000469: 26,2520 46214 CS THREE # TURN OFF ENTRY DAP
034949,000470: 26,2521 00004 INHINT
034950,000471: 26,2522 70102 MASK CM/FLAGS # CM/DSTBY, GAMDIFSW
034951,000472: 26,2523 54102 TS CM/FLAGS
034952,000473: 26,2524 00003 RELINT
034953,000474: 26,2525 00006 EXTEND
034954,000475: 26,2526 32643 DCA SERVCAD2
034955,000476:
Page 801 |
034957,000478: 26,2527 53223 DXCH AVEGEXIT
034958,000479:
034959,000480: 26,2530 14106 TCF GOTOPOOH
034960,000481:
Page 802 |
034962,000483: 26,2531 43175 P67.2 VLOAD CLEAR # CALC PRESENT LAT, LONG, ALT.
034963,000484: 26,2532 01171 RN
034964,000485: 26,2533 00662 ERADFLAG # USE PAD RAD FOR ALT. (NOT SEEN ANYWAY)
034965,000486: 26,2534 16152 STODL ALPHAV
034966,000487: 26,2535 01205 PIPTIME # USE TIME OF RN
034967,000488: 26,2536 45014 CLEAR CALL
034968,000489: 26,2537 01663 LUNAFLAG
034969,000490: 26,2540 26370 LAT-LONG
034970,000491: 26,2541 77634 P67.3 RTB # ENTRY EXIT THAT OMITS DISPLAY.
034971,000492: 26,2542 53611 SERVNOUT
034972,000493:
034973,000494: 26,2543 04103 V16N67 VN 1667
034974,000495: 26,2544 4270 OCT41 = 33DEC
034975,000496: 26,2544 26,2642 SERVCAD2 = SERVCAD1
034976,000497:
Page 803 |
034978,000499: # SUBROUTINE NAME: S61.1
034979,000500: # MOD NO: 0 DATE: 21 FEB 67
034980,000501: # MOD BY: RR BAIRNSFATHER LOG SECTION: P61-P67
034981,000502: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 22 JUN 67 RESTARTS.
034982,000503:
034983,000504: # FUNCTIONAL DESCRIPTION: CALLED BY BOTH P61 AND P62
034984,000505: # FIRST, TEST TO SEE IF AVERAGEG IS ON. IF NOT, UPDATE THE STATE VECTOR TO PRESENT TIME + TOLERANCE
034985,000506: # AND TURN ON AVERAGEG AT THAT TIME, AND CONTINUE. OTHERWISE CONTINUE: SEE IF IMU Y AXIS IS
034986,000507: # WITHIN 30 DEG OF V*R. IF YES, EXIT SUBROUTINE S61.1. IF NO, SEE IF -Y AXIS OF IMU IS WITHIN
034987,000508: # 30 DEG OF V*R. IF YES, DISPLAY ALARM: 01427 IMU REVERSED.
034988,000509: # IF NO, DISPLAY ALARM: 01426 IMU UNSATISFACTORY.
034989,000510: # IN EITHER OF THESE LAST 2 CASES, WAIT 10 SEC AND THEN EXIT SUBROUTINE S61.1.
034990,000511:
034991,000512: # REMARK: THERE WILL BE A SHORT 10 SEC DELAY IF AN ALARM EXIT IS TAKEN. THE DELAY FOR INTEGRATION IS
034992,000513: # AS SHORT AS CAN BE MADE, BUT IS ARBITRARY SINCE IT DEPENDS ON THE AGE OF THE STATE VECTOR.
034993,000514:
034994,000515: # CALLING SEQUENCE: CALL
034995,000516: # S61.1
034996,000517:
034997,000518: # C(MPAC) UNSPECIFIED
034998,000519: # PUSHLOC UNSPECIFIED
034999,000520:
035000,000521: # SUBROUTINES CALLED: LOADTIME, CSMPREC, TPAGREE,
035001,000522: # WAITLIST, JOBSLEEP, JOBWAKE, PREREAD, ALARM, GODSPR, BANKCALL, DELAYJOB
035002,000523:
035003,000524: # NORMAL EXIT MODES: RVQ
035004,000525:
035005,000526: # ALARMS: 01426 IMU UNSATISFACTORY
035006,000527: # 01427 IMU REVERSED
035007,000528:
035008,000529: # OUTPUT: POSSIBLE ALARMS
035009,000530: # POSSIBLY TDEC1, RATT, VATT, RN, VN
035010,000531:
035011,000532: # ERASABLE INITIALIZATION REQUIRED:
035012,000533: # AVEGFLAG AVERAGEG ON OR OFF LEFT BY SERVICER
035013,000534: # PIPTIME (-28) CS TIME OF PIPA UPDATE LEFT BY READACCS
035014,000535: # RN (-29) M STATE VECTOR LEFT BY AVERAGEG
035015,000536: # VN (-7) M/CS STATE VECTOR LEFT BY AVERAGEG
035016,000537: # REFSMMAT (-1) .5 REF TO SM MATRIX LEFT BY LAST IMU ALIGNMENT
035017,000538:
035018,000539: # DEBRIS: QPRET
035019,000540: # POSSIBLY PIPTIME1, RATT, VATT, TDEC1, RN1, VN1, QTEMP, X1 IF UPDATED
035020,000541: # PUSH LIST LOCS USED BY CSMPREC
035021,000542:
035022,000543: 26,2544 E6,1661 EBANK= AOG # FOR 60GENRET, S61DT
035023,000544: 26,2544 BANK 26
035024,000545: 26,2000 SETLOC P60S3
035025,000546: 26,2000 BANK
035026,000547:
035027,000548: 26,2544 COUNT* $$/S61.1
035028,000549:
035029,000550: 26,2544 00006 S61.1 EXTEND
035030,000551: 26,2545 23773 QXCH 60GENRET # SAVE RET ADDR IN EB 6
035031,000552: 26,2546 04662 TC BANKCALL
035032,000553: 26,2547 17653 CADR R02BOTH
035033,000554: 26,2550 06006 TC INTPRET
Page 804 |
035035,000556: 26,2551 45014 BON CALRB
035036,000557: 26,2552 00716 AVEGFLAG # IS AVERAGEG ON
035037,000558: 26,2553 54604 S61.1A # YES
035038,000559: 26,2554 27543 MIDTOAV2 # GET FUTURE STATE VECTOR SOON AS CAN
035039,000560:
035040,000561: 26,2555 30155 CA MPAC +1 # RETURN INHINTED ***
035041,000562: 26,2556 55774 TS S61DT # FOR RESTART.
035042,000563: 26,2557 05245 TC WAITLIST
035043,000564: 26,2560 E7,1431 EBANK= DVCNTR
035044,000565: 26,2560 02565 54067 2CADR S61.1C
035045,000566:
035046,000567: 26,2562 05412 TC PHASCHNG
035047,000568: 26,2563 40434 OCT 40434
035048,000569: 26,2564 05217 TC ENDOFJOB
035049,000570:
035050,000571: 26,2565 35065 S61.1C CA PRIO13
035051,000572: 26,2566 05147 TC FINDVAC
035052,000573: 26,2567 E6,1661 EBANK= AOG
035053,000574: 26,2567 02603 54066 2CADR S61.1A -1
035054,000575:
035055,000576: 26,2571 00006 EXTEND
035056,000577: 26,2572 32643 DCA SERVCAD1 # HE WHO STARTS AVERAGEG MUST SERVICE
035057,000578: 26,2573 53223 DXCH AVEGEXIT # THE EXIT.
035058,000579:
035059,000580: 26,2574 05372 TC 2PHSCHNG
035060,000581: 26,2575 00454 OCT 00454
035061,000582: 26,2576 00415 OCT 00415
035062,000583:
035063,000584: 26,2577 35060 CA EBENTRY # SET EB= 7 FOR PREREAD.
035064,000585: 26,2600 54003 TS EBANK
035065,000586:
035066,000587: 26,2601 04701 TC POSTJUMP
035067,000588: 26,2602 76700 CADR PREREAD # PREREAD DOES TC TASKOVER.
035068,000589:
035069,000590: 26,2603 06006 TC INTPRET
035070,000591: 26,2604 77204 S61.1A BOVB VLOAD
035071,000592: 26,2605 57352 TCDANZIG # TURN OFF OVFIND, IF ON
035072,000593: 26,2606 01177 VN # VN (-7) M/CS
035073,000594: 26,2607 64235 VXV MXV
035074,000595: 26,2610 01171 RN # RN (-29) M
035075,000596: 26,2611 01736 REFSMMAT # .5 UNIT MATRIX
035076,000597: 26,2612 71256 UNIT DLOAD
035077,000598: 26,2613 00160 MPAC +3 # GET COS(THETA)/2
035078,000599: 26,2614 43240 BMN DAD
035079,000600: 26,2615 54622 S61.1B # DO TEST ON -YSM
035080,000601: 26,2616 14645 C(30)LIM # = 1.0 -.5 COS(30)
035081,000602: 26,2617 47004 BOVB RTB
035082,000603: 26,2620 54641 RETRN1
035083,000604: 26,2621 54626 RETRN3
Page 805 |
035085,000606: 26,2622 43276 S61.1B DCOMP DAD
035086,000607: 26,2623 14645 C(30)LIM # = 1.0 - .5 COS(30)
035087,000608: 26,2624 77404 BOVB EXIT
035088,000609: 26,2625 54631 RETRN2
035089,000610:
035090,000611: 26,2626 05650 RETRN3 TC ALARM
035091,000612: 26,2627 01426 OCT 01426 # IMU UNSATISFACTORY
035092,000613: 26,2630 02633 TC RETRN2 +2
035093,000614:
035094,000615: 26,2631 05650 RETRN2 TC ALARM
035095,000616: 26,2632 01427 OCT 01427 # IMU REVERSED
035096,000617:
035097,000618: 26,2633 35050 +2 CAF V05N09
035098,000619: 26,2634 04662 TC BANKCALL
035099,000620: 26,2635 20676 CADR GODSPR # DO DISPLAY
035100,000621: 26,2636 32646 CA 10SECS
035101,000622: 26,2637 04662 TC BANKCALL
035102,000623: 26,2640 01732 CADR DELAYJOB
035103,000624:
035104,000625: 26,2641 01773 RETRN1 TC 60GENRET
035105,000626:
035106,000627: 26,2642 E7,1431 EBANK= DVCNTR
035107,000628: 26,2642 03226 76067 SERVCAD1 2CADR SERVEXIT
035108,000629:
035109,000630: 26,2644 22111 17335 C(30)LIM 2DEC .566985 # = 1.0 - .5 COS(30)
035110,000631:
035111,000632: 26,2646 01750 10SECS DEC 1000 B-14 # 1000 CS
035112,000633: 26,2647 00000 13560 60SECDP 2DEC 6000 B-28 # 6000 CS
035113,000634:
Page 806 |
035115,000636: # PROGRAM NAME: S61.2 DATE: 14 FEB 67
035116,000637: # MOD NO: 1 LOG SECTION: P61-P67
035117,000638: # MOD BY: MORTH / BAIRNSFATHER
035118,000639: # MOD NO: 2 MOD BY: MORTH/BAIRNSFATHER DATE: 11 MAY 67 ADD 2ND ITER FOR ERAD AT 400K FT.
035119,000640: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 21 NOV 67 VARIABLE MU ADDED.
035120,000641: # MOD NO: 4 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 68 DIFFERENT EARTH/MOON SCALES IN TFF'S
035121,000642:
035122,000643: # FUNCTIONAL DESCRIPTION: CALLED BY P61. PROVIDES DISPLAYS FOR NOUNS N60 AND N63 .
035123,000644: # PROGRAM CALCULATES ENTRY DISPLAY OF MAXIMUM ACCELERATION EXPECTED (GMAX) AND ALSO THE EXPECTED
035124,000645: # INERTIAL VELOCITY (VPRED) AND ENTRY ANGLE (GAMMAEI) THAT WILL OBTAIN AT 400K FT ABOVE THE FISCHER
035125,000646: # ELLIPSOID. PROGRAM ALSO CALCULATES A SECOND DISPLAY RELATIVE TO THE EMSALT ABOVE FISCHER ELLIPSOID
035126,000647: # AND CONSISTS OF RANGE TO SPLASH FROM NOW (RTGO) , PREDICTED INERTIAL VELOCITY (VIO) , AND THE TIME TO
035127,000648: # GO FROM NOW (TTE) .
035128,000649:
035129,000650: # CALLING SEQUENCE: CALL
035130,000651: # S61.2
035131,000652: # C(MPAC) UNSPECIFIED
035132,000653: # PUSHLOC WILL BE SET TO ZERO.
035133,000654:
035134,000655: # SUBROUTINES CALLED: TFFCONIC, CALCTFF, TFF/TRIG, FISHCALC, GETERAD, VGAMCALC
035135,000656:
035136,000657: # NORMAL EXIT MODES: RTB P61.1
035137,000658:
035138,000659: # ALARMS: NONE
035139,000660:
035140,000661: # OUTPUT: THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
035141,000662: # GMAX 100 GMAX (-14) G,S MAXIMUM ACCELERATION
035142,000663: # VPRED (-7) M/CS PREDICTED VELOCITY AT 400K FT
035143,000664: # GAMMAEI GAMMA/360 PREDICTED GAMMA AT 400K FT
035144,000665: # FOR TM, DP(GAMMAEI) = (GAMMAEI, RTGO) / 360
035145,000666: # RTGO THETAH/360 RANGE ANGLE TO SPLASH FROM EMSALT EMSALT IS PAD LOADED
035146,000667: # VIO (-7) M/CS INERTIAL VELOCITY AT EMSALT EMSALT IS PAD LOADED
035147,000668: # TTE (-28) CS TIME TO EMSALT EMSALT IS PAD LOADED
035148,000669: # PUSHLOC = 0
035149,000670: # CONIC PARAMETERS STORED IN VAC AREA (SEE TFF SUBROUTINES)
035150,000671:
035151,000672: # ERASABLE INITIALIZATION REQUIRED:
035152,000673: # RONE (-29) M STATE VECTOR LEFT BY USER
035153,000674: # VONE (-7) M/CS STATE VECTOR LEFT BY USER
035154,000675: # URONE UR/2 LEFT BY USER
035155,000676: # UNI (-1) UNIT NORMAL V*R LEFT BY ENTRY / P61
035156,000677: # THETAH THETAH/360 RANGE ANGLE LEFT BY ENTRY / P61
035157,000678: # UNITW (0) UNIT POLAR VECTOR LEFT BY PAD LOAD
035158,000679: # EMSALT (-29) M EMS INTERFACE ALTITUDE LEFT BY PAD LOAD
035159,000680: # ORBITAL REENTRY: 284643 FT, LUNAR REENTRY: 297431 FT.
035160,000681:
035161,000682: # DEBRIS: QPRET,
035162,000683: # ALL PDL LOCATIONS ABOVE 12D, INCLUDING X1,X2,S1,S2
035163,000684: # ALSO PDL+0 ... PDL+5, WHERE INITIAL PUSHLOC = PDL
035164,000685:
Page 807 |
035166,000687: # THE FOLLOWING PUSH LIST LOCATIONS HAVE BEEN RESERVED FOR TFF ROUTINES AND ARE REPEATED HERE FOR CONVENIENCE.
035167,000688: # OF COURSE FOR S61.2 USAGE, EARTH ORIGIN SCALING IS USED.
035168,000689:
035169,000690: # BELOW E: IS USED FOR EARTH ORIGIN SCALE
035170,000691: # M: IS USED FOR MOON ORIGIN SCALE
035171,000692:
035172,000693: # RTERM = 18D TERMINAL RADIUS M E: (-29) M: (-27)
035173,000694: # NRTERM = 16D TERMINAL RADIUS M E: (-29+NR)
035174,000695: # M: (-27+NR)
035175,000696: # RMAG1 = 12D PRESENT RADIUS M E: (-29) M: (-27)
035176,000697: # NRMAG = 32D PRESENT RADIUS M E: (-29+NR)
035177,000698: # M: (-27+NR)
035178,000699: # SDELF/2 SIN(THETA) / 2
035179,000700: # CDELF/2 = 14D COS(THETA) / 2
035180,000701: # TFFX = 34D X, ARGUMENT OF SERIES T(X).
035181,000702: # TFFTEM = 36D ARG FOR TRANSFER ANGLE CALCULATION.
035182,000703: # TFFNP = 28D LC P M E: (-38+2NR) M: (-36+2NR)
035183,000704: # TFF/RTMU= 30D 1/SQRT(MU) E: (17) M: (14)
035184,000705: # TFFVSQ = 20D -(VN.VN/MU) 1/M E: (20) M: (18)
035185,000706:
Page 808 |
035187,000708: 34,3763 BANK 34
035188,000709: 26,2000 SETLOC P60S2
035189,000710: 26,2000 BANK
035190,000711:
035191,000712: 26,2651 COUNT* $$/S61.2
035192,000713: # PDL LEFT AT ZERO BY TARGETNG
035193,000714:
035194,000715: 26,2651 45345 S61.2 DLOAD DSU
035195,000716: 26,2652 02020 EMSALT
035196,000717: 26,2653 15001 290KFT
035197,000718: 26,2654 71244 BPL DLOAD
035198,000719: 26,2655 54775 LUNENT
035199,000720: 26,2656 17354 1/RTMU # ESTABLISH MU FOR ORBITAL ENTRIES
035200,000721: 26,2657 77624 CALLCON CALL
035201,000722: 26,2660 56757 TFFCONIC # FILL VAC AREA WITH CONIC PARAMETERS
035202,000723:
035203,000724: 26,2661 45145 DLOAD CALL
035204,000725: 26,2662 15021 RTRIAL # 1ST GUESS AT TERMINAL RADIUS (-29)
035205,000726: 26,2663 57067 CALCTFF # SAVES MPAC IN RTERM (18D)
035206,000727:
035207,000728: 26,2664 77624 CALL # CALC SDELF/2, CDELF/2
035208,000729: 26,2665 56631 TFF/TRIG # RETURN WITH S(THETA) IN MPAC
035209,000730:
035210,000731: 26,2666 77624 CALL # GET FISCHER RADIUS (-29) M
035211,000732: 26,2667 55030 FISHCALC # ANS IN MPAC AND IN ERADM.
035212,000733:
035213,000734: 26,2670 45015 DAD CALL
035214,000735: 26,2671 02020 EMSALT
035215,000736: 26,2672 57067 CALCTFF # SAVES MPAC IN RTERM (18D)
035216,000737:
035217,000738: 26,2673 77676 DCOMP # NEGATIVE AS IN COUNTDOWN.
035218,000739: 26,2674 03733 STORE TTE1 # DECR TTE FROM BASE TTE1. (RESTART)
035219,000740: # DNLIST AND DSKY WILL USE TTE.
035220,000741: 26,2675 37727 STCALL TTE # LET MISS CONTRL DECR BY ELAPSED TIME
035221,000742: # TTE= TIME FROM NOW TO EMSALT +FISCHER
035222,000743:
035223,000744: 26,2676 56631 TFF/TRIG # S(THETA) IN MPAC ON RETURNING
035224,000745: # AND THETA= RANGE FROM NOW TO EMSALT
035225,000746:
035226,000747: 26,2677 77624 CALL
035227,000748: 26,2700 55030 FISHCALC
035228,000749: 26,2701 77624 CALL
035229,000750: 26,2702 56664 VRCALC
035230,000751: 26,2703 77624 CALL
035231,000752: 26,2704 56651 DISPTARG
035232,000753: 26,2705 77624 CALL
035233,000754: 26,2706 56651 DISPTARG
035234,000755: 26,2707 37714 STCALL RTGO
Page 809 |
035236,000757: 26,2710 55051 VGAMCALC
035237,000758:
035238,000759: 26,2711 77605 DMP # MPAC = GAMMA
035239,000760: # PDL0 HAS VGAM.
035240,000761: 26,2712 43265 BDDV DAD
035241,000762: 26,2713 15027 VEMSCON # -HS D 180/PI (-14)
035242,000763: 26,2714 00001 0 # VGAM FROM PDL0.
035243,000764: 26,2715 17725 STODL VIO # PREDICTED VELOCITY AT EMSALT.
035244,000765:
035245,000766: # GAMMA AND VGAM AT 300K FT ARE REQUIRED BY GMAX
035246,000767: # ALGORITHM.
035247,000768:
035248,000769: 26,2716 02241 ERADM # EARTH RADIUS FROM GETERAD (-29) M
035249,000770: # = FISCHER RADIUS (-29)
035250,000771:
035251,000772: 26,2717 77615 DAD
035252,000773: 26,2720 06462 300KFT # M (-29)
035253,000774: 26,2721 34023 STCALL RTERM # TERMINAL RADIUS M (-29)
035254,000775:
035255,000776: 26,2722 55046 PREVGAM # VGAMCALC WITH NEW RTERM
035256,000777:
035257,000778: # VBAR = (V(FPS) - 36KF/S) / 20KF/S
035258,000779: # GMAX = (4/(1 + 4.8 VBARSQ))(GAM - 6.05 - 2.4 VBARSQ) - 10(L/D - .3) + 10 ASSUME L/D = 0.3, BANK =0.
035259,000780:
035260,000781: # GMAXCALC
035261,000782: 26,2723 45325 PDDL DSU # GAM TO PDL2
035262,000783: 26,2724 00001 0 # VGAM IS IN PDL0 (-7)
035263,000784: 26,2725 15005 36KFT/S # (-7) M/CS
035264,000785: 26,2726 63471 DDV DSQ
035265,000786: 26,2727 15007 20KFT/S # (-6) M/CS
035266,000787: 26,2730 00001 STORE 0 # VBARSQ (-2) TO PDL0
035267,000788:
035268,000789: 26,2731 43205 DMP DAD
035269,000790: 26,2732 15011 KR1
035270,000791: # GAM, POS DOWN, FROM PDL2
035271,000792: 26,2733 41215 DAD DMP
035272,000793: 26,2734 15013 -6.05DEG
035273,000794: 26,2735 15015 KR2
035274,000795: 26,2736 77725 PDDL # XCH PDL+0 FOR VBARSQ (-2)
035275,000796: 26,2737 43271 DDV DAD
035276,000797: 26,2740 15025 KR4
035277,000798: 26,2741 17366 DP2(-4)
035278,000799: 26,2742 77665 BDDV
035279,000800: # NUM FROM PDL+0
035280,000801: 26,2743 51015 DAD BPL
035281,000802: 26,2744 15017 KR3
035282,000803: 26,2745 54750 +3
035283,000804: 26,2746 77745 DLOAD
035284,000805: 26,2747 15335 HI6ZEROS
035285,000806: 26,2750 17722 STODL GMAX # 100 GMAX (-14)
Page 810 |
035287,000808: # DISPLAY USES GMAX AS SP, SO LO WORD IS WRITTEN OVER BY VPRED.
035288,000809: 26,2751 02241 ERADM # = FISCHER RADIUS (-29) M
035289,000810: 26,2752 45015 DAD CALL # 2 ND ITERATION FOR FISCHER RADIUS
035290,000811: 26,2753 15023 400KFT
035291,000812: 26,2754 57067 CALCTFF # ESTABLISH TRANSFER ANGLE DATA.
035292,000813: 26,2755 77624 CALL
035293,000814: 26,2756 56631 TFF/TRIG # GET SIN, COS DELF
035294,000815: 26,2757 77624 CALL
035295,000816: 26,2760 55030 FISHCALC # GET CORRESPONDING FISCHER RADIUS.
035296,000817:
035297,000818: 26,2761 73015 DAD LXA,2 # SAVE HI-WORD FOR DOWNLIST.
035298,000819: 26,2762 15023 400KFT # M (-29)
035299,000820: 26,2763 03713 RTGO # (RANGE ANGLE FROM EMSALT) / 360
035300,000821: 26,2764 34023 STCALL RTERM
035301,000822: 26,2765 55046 PREVGAM # VGAMCALC WITH NEW RTERM
035302,000823:
035303,000824: 26,2766 67076 DCOMP SXA,2 # HI-WORD OF EACH ON DOWNLIST.
035304,000825: 26,2767 00155 MPAC +1
035305,000826: 26,2770 17771 STODL GAMMAEI # CONIC GAMMA/360 AT 400K FT. (HI-WORD)
035306,000827: # CONIC RTGO/360 FROM EMSALT (LOW-WORD)
035307,000828: # FOR TM, DP(GAMMAEI) = (GAMMA, RTGO) / 360
035308,000829:
035309,000830: # VGAM FROM PDL+0 (-7)
035310,000831: 26,2771 77626 STADR
035311,000832: 26,2772 74010 STORE VPRED # CONIC VELOCITY AT 400K FT
035312,000833:
035313,000834: 26,2773 77634 RTB
035314,000835: 26,2774 54267 P61.1
035315,000836: # PDL BACK TO ZERO.
035316,000837:
035317,000838: 26,2775 52145 LUNENT DLOAD GOTO
035318,000839: 26,2776 06456 1/RTMUE # ESTABLISH MU FOR LUNAR TYPE ENTRIES
035319,000840: 26,2777 54657 CALLCON
035320,000841: 26,3000 00002 26244 290KFT 2DEC 88392.0 B-29
035321,000842:
035322,000843: 26,3002 00052 05716 KTETA1 2DEC* .421844723 E2 B-14* # 1100 2PI/16384(163.84)
035323,000844:
035324,000845: 26,3004 33335 05707 36KFT/S 2DEC 109.728 B-7 # (-7) M/CS = 36 KFT/S (-7)
035325,000846:
035326,000847: 26,3006 36365 30244 20KFT/S 2DEC 121.92 B-7 # (-6) M/CS = 2 20KFT/S (-7)
035327,000848:
035328,000849: 26,3010 77113 42770 KR1 2DEC -.026666667 # = -2.4 4 / 360
035329,000850:
035330,000851: 26,3012 77354 65030 -6.05DEG 2DEC -.016805556 # = -6.05 / 360
035331,000852:
035332,000853: 26,3014 21450 00001 KR2 2DEC .54931641 # = (360/4) 100 (-14) = 9000 B-14
035333,000854:
035334,000855: 26,3016 01750 00000 KR3 2DEC 1000 B-14 # = 100 (10.0) (-14) G,S
Page 811 |
035336,000857: # ASSUMES L/D = 0.3, BANK =0.
035337,000858: 26,3020 00305 04541 RTRIAL 2DEC 6460097.18 B-29 # RPAD +284643 FT =21 194 545 FT
035338,000859: # RPAD DEFINED AS 20 909 901.57 FT =6 373 338 M
035339,000860: 26,3022 00003 27040 400KFT 2DEC 121920 B-29 # METERS
035340,000861:
035341,000862: # 300KFT 2DEC 91440 B-29 (-29) M
035342,000863:
035343,000864: # EMSALT 2DEC 86759.2 B-29 284643 FT (-29) M (ORBITAL REENTRY)
035344,000865:
035345,000866: # EMSALT 2DEC 90657 B-29 297431 FT (-29) M (LUNAR REENTRY)
035346,000867:
035347,000868: 26,3024 32525 12525 KR4 2DEC .833333333
035348,000869:
035349,000870: 26,3026 23,2461 300KFT EQUALS MINPERE
035350,000871: 26,3026 77777 76601 VEMSCON 2DEC -.0389676 B-14 # = -HS D / 2 PI (-14) M SQ / CS SQ
035351,000872:
035352,000873: # = -16369 .05G 32.2 .3048 .3048/2 PI (-14)
035353,000874:
Page 812 |
035355,000876: # SUBROUTINE NAME: FISHCALC (USED BY S61.2) DATE: 01.21.67
035356,000877: # MOD NO: 0 LOG SECTION: P61-P67
035357,000878: # MOD BY: MORTH / BAIRNSFATHER
035358,000879: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 11 MAY 67 INCLUDE GETERAD CALL
035359,000880:
035360,000881: # FUNCTIONAL DESCRIPTION: GIVEN THE PRESENT POSITION, UNITR, CALCULATE A NEW UNITR THAT IS ROTATED THROUGH
035361,000882: # TRANSFER ANGLE, THETA, ALONG TRAJECTORY. THEN CALCULATE SIN(LAT) AND USE TO OBTAIN FISCHER RADIUS.
035362,000883:
035363,000884: # SINCE FISHCALC USES UNI (LEFT BY ENTRY) EARTH SCALING IS ASSUMED. (WILL IMPROVE FOR SUITABLE TENNANT)
035364,000885:
035365,000886: # CALLING SEQUENCE: CALL
035366,000887: # FISHCALC
035367,000888: # ENTER WITH .5 SIN(THETA) IN MPAC.
035368,000889: # PUSHLOC IS AT PDL+0, AN ARBITRARY BASE VALUE IF LEQ 8D
035369,000890:
035370,000891: # SUBROUTINES CALLED: GET ERAD
035371,000892:
035372,000893: # NORMAL EXIT MODE: RVQ
035373,000894:
035374,000895: # EXIT MODES: NONE
035375,000896:
035376,000897: # OUTPUT: ERADM (-29) M IN MPAC ON RETURNING
035377,000898: # NEW UNIT VECTOR NOT SAVED.
035378,000899: # SIN(LAT) NOT SAVED.
035379,000900: # PUSHLOC AT PDL+0
035380,000901:
035381,000902: # ERASEABLE INITIALIZATION REQUIRED:
035382,000903: # SDELF/2 =SIN(THETA) / 2, IN MPAC LEFT BY TFF/TRIG
035383,000904: # CDELF/2 =COS(THETA) / 2, STORED IN PDL 14D LEFT BY TFF/TRIG
035384,000905: # RONE (-29) M LEFT BY USER
035385,000906: # VONE (-7) M/CS LEFT BY USER
035386,000907: # URONE UR/2 LEFT BY USER
035387,000908: # UNI .5 UNIT(V*R) LEFT BY ENTRY / P61
035388,000909: # UNITW UNIT NORTH POLE LEFT BY PAD LOAD
035389,000910:
035390,000911: # DEBRIS: QPRET, PDL+0 ... PDL+5
035391,000912: # - - -
035392,000913: 26,3030 47315 FISHCALC PDVL VXV # URPR = UR CDELF + UHOR SDELF
035393,000914: 26,3031 02343 URONE
035394,000915: 26,3032 03502 UNI
035395,000916: 26,3033 76561 VXSC VSL1
035396,000917: # SIN(THETA) / 2 FROM PDL+0
035397,000918: 26,3034 74315 PDVL VXSC # TO PDL+0, +5
035398,000919: 26,3035 02343 URONE
035399,000920: 26,3036 00017 CDELF/2 # COS(THETA) / 2
035400,000921: 26,3037 45455 VAD STADR
035401,000922: 26,3040 74235 STORE URH # FOR USE IN RTGO FROM EMS DISPLAY
035402,000923: 26,3041 72441 DOT SL1
035403,000924: 26,3042 01714 UNITW # FULL UNIT VECTOR UNIT NORTH
035404,000925: 26,3043 02156 STORE ALPHAV +4 # = .5 SIN(LAT)
035405,000926: 26,3044 77650 DUMPFISH GOTO
035406,000927: 26,3045 26505 GETERAD # SAVES FISCHER RAD (-29) M IN ERADM AND
035407,000928: # IN MPAC. RETURNS TO CALLER VIQ QPRET.
035408,000929:
Page 813 |
035410,000931: # SUBROUTINE NAME: VGAMCALC (USED BY S61.2) DATE: 01.21.67
035411,000932: # MOD NO: 0 LOG SECTION: P61-P67
035412,000933: # MOD BY: MORTH / BAIRNSFATHER
035413,000934: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 11 APR 67
035414,000935: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 21 NOV 67 VARIABLE MU ADDED.
035415,000936: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 68 ACCEPT DIFFERENT EARTH/MOON SCALE
035416,000937:
035417,000938: # FUNCTIONAL DESCRIPTION: EARTH CENTERED VIS VIVA CALCULATION OF TERMINAL VELOCITY AND GAMMA (REL TO
035418,000939: # HORIZONTAL) GIVEN THE SCALAR QUANTITIES: PRESENT RADIUS AND VELOCITY AND THE TERMINAL RADIUS.
035419,000940: # THE USER MUST APPEND PROPER SIGN TO GAMMA, SINCE IT IS CALCULATED AS A POSITIVE NUMBER.
035420,000941: # THE EQUATIONS ARE
035421,000942:
035422,000943: # VGAM = SQRT(VN VN/MU + 2(RN-RTERM)/(RN RTERM) ) RTMU
035423,000944:
035424,000945: # COSGAM = H / RTERM VGAM = SQRT (LCP) / (RTERM VGAM/RTMU)
035425,000946:
035426,000947: # VGAMCALC ASSUMES THAT THE TERMINAL RADIUS IS LESS THAN THE PRESENT RADIUS. BOTH CALCTFF AND CALCTPER
035427,000948: # MAKE THIS ASSUMPTION.
035428,000949:
035429,000950: # CALLING SEQUENCE: CALL STCALL RTERM
035430,000951: # VGAMCALC PREVGAM
035431,000952: # PUSHLOC AT PDL+0, ARBITRARY IF LEQ 12D
035432,000953: # C(MPAC) UNSPECIFIED C(MPAC)=NEW RTERM
035433,000954:
035434,000955: # SUBROUTINES CALLED: NONE
035435,000956:
035436,000957: # NORMAL EXIT MODE: RVQ
035437,000958:
035438,000959: # ALARMS: NONE
035439,000960: #
035440,000961: # OUTPUT: GAMMA / 360 IN MPAC, POSITIVE NUMBER
035441,000962: # VGAM E: (-7) M: (-5) M/CS IN PDL+0
035442,000963: # PUSHLOC AT PDL+2
035443,000964:
035444,000965: # ERASABLE INITIALIZATION REQD:
035445,000966: # TFF/RTMU E: (17) M: (14) 1/SQRT(MU) LEFT BY TFFCONIC.
035446,000967: # RMAG1 E: (-29) M: (-27) M PRESENT RADIUS LENGTH LEFT BY TFFCONIC
035447,000968: # NRMAG E: (-29+NR) M NORM LENGTH OF PRESENT POSITION LEFT BY TFFCONIC
035448,000969: # M: (-27+NR)
035449,000970: # RTERM E: (-29) M: (-27) M TERMINAL RADIUS LENGTH LEFT BY CALCTFF
035450,000971: # NRTERM E: (-29+NR) M NORM LENGTH OF TERMINAL RADIUS LEFT BY CALCTFF
035451,000972: # M: (-27+NR)
035452,000973: # TFFVSQ E: (20) M: (18) 1/M -(V SQ/MU): PRESENT VELOCITY, NORM LEFT BY TFFCONIC
035453,000974: # TFFNP E: (-38+2NR) M LCP, SEMI-LATUS RECTUM, WEIGHT NR LEFT BY TFFCONIC
035454,000975: # M: (-36+2NR)
035455,000976:
035456,000977: # DEBRIS: QPRET, PDL+0 ... PDL+3
035457,000978: # RTERM, NRTERM IF PREVGAM ENTERED.
Page 814 |
035459,000980:
035460,000981: 26,3046 77657 PREVGAM SL* # ENTER WITH NEW RTERM IN MPAC
035461,000982: # E: (-29) M: (-27)
035462,000983: 26,3047 20201 0,1 # X1 = -NR
035463,000984: 26,3050 00021 STORE NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
035464,000985:
035465,000986: 26,3051 41345 VGAMCALC DLOAD DMP
035466,000987: 26,3052 00041 NRMAG # RMAG M E: (-29+NR) M: (-27+NR)
035467,000988: 26,3053 00021 NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
035468,000989: 26,3054 45325 PDDL DSU # RMAG RTERM M E: (-58+2NR) M: (-54+2NR)
035469,000990: 26,3055 00041 NRMAG # RMAG M E: (-29+NR) M: (-27+NR)
035470,000991: 26,3056 00021 NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
035471,000992: 26,3057 56257 SL* DDV # 2(RN-RTERM) E: (-30+NR) M: (-28+NR)
035472,000993: 26,3060 20171 0 -8D,1 # (-8+NR)
035473,000994: # PUSH UP PRODUCT.
035474,000995: 26,3061 77625 DSU
035475,000996: 26,3062 00025 TFFVSQ # -(V SQ/MU) E: (20) M: (18)
035476,000997: 26,3063 41566 SQRT PUSH # SAVE VGAM/RT(MU) FOR NOW. E: (10) M: (9)
035477,000998: 26,3064 65271 DDV PDDL # XCH PDL+0, LEAVING VGAM FOR OUTPUT.
035478,000999: # VGAM TO PDL M/CS E: (-7) M: (-2)
035479,001000: 26,3065 00037 TFF/RTMU # E: (17) M: (14)
035480,001001: 26,3066 65205 DMP PDDL # RTERM VGAM/RTMU E: (-19+NR) M: (-18+NR)
035481,001002: 26,3067 00021 NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
035482,001003: 26,3070 00035 TFFNP # LC P =H.H/MU M E: (-38+2NR) M: (-36+2NR)
035483,001004: 26,3071 56366 SQRT DDV # E: (-19+NR) M: (-18+NR)
035484,001005: # PUSH UP DEN E: (-19+NR) M: (-18+NR)
035485,001006: # USE DDV OVFL AS LIMITER (|COS| <1.0)
035486,001007: 26,3072 65542 SR1 ACOS
035487,001008: 26,3073 77616 DUMPVGAM RVQ
035488,001009: # CALLER MUST SUPPLY OWN SIGN ...
035489,001010: # 22W 27MS
035490,001011:
Page 815 |
035492,001013: # SUBROUTINE NAME: TFF/TRIG (USED BY S61.2) DATE 01.17.67
035493,001014: # MOD NO: 0 LOG SECTION: P61-P67
035494,001015: # MOD BY: RR BAIRNSFATHER
035495,001016: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 14 APR 67
035496,001017: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 68 ACCEPT DIFFERENT EARTH/MOON SCALE
035497,001018:
035498,001019: # FUNCTIONAL DESCRIPTION: USED BY ENTRY DISPLAY TO CALCULATE SIN(THETA), COS(THETA) FROM DATA LEFT IN
035499,001020: # PDL BY TFF SUBROUTINES. THE EQNS ARE
035500,001021:
035501,001022: # COS(THETA) = 1-2 ABS(ARG) / (RN RTERM (1+X) )
035502,001023: # 2
035503,001024: # SIN(THETA) = SGN(ARG) SQRT(1-COS (THETA) )
035504,001025:
035505,001026: # WHERE THETA = TRANSFER ANGLE
035506,001027: # AND ARG = P Z ABS(Z) IF ALFA ZZ LEQ 1
035507,001028: # ARG = (P / ALFA) SGN(Q1 + R 1/Z) IF ALFA Z Z G 1
035508,001029: # AND ARG HAS BEEN AFFIXED WITH THE SIGN OF SIN(THETA).
035509,001030:
035510,001031: # CALLING SEQUENCE: CALL
035511,001032: # TFF/TRIG
035512,001033: # PUSHLOC AT PDL+0, ARBITRARY IF NOT EQ 14D
035513,001034: # C(MPAC) UNSPECIFIED
035514,001035:
035515,001036: # SUBROUTINES CALLED: NONE
035516,001037:
035517,001038: # NORMAL EXIT MODES: RVQ
035518,001039:
035519,001040: # ALARMS: NONE
035520,001041:
035521,001042: # OUTPUT: C(MPAC) = .5 SIN(THETA)
035522,001043: # CDELF/2 = .5 COS(THETA) (IN PDL 14D)
035523,001044: # PUSHLOC AT PDL+0
035524,001045:
035525,001046: # ERASABLE INITIALIZATION REQUIRED:
035526,001047: # TFFX X LEFT BY CALCTFF OR CALCTPER
035527,001048: # TFFTEM E: (-59+2NR) ARG LEFT BY CALCTFF OR CALCTPER
035528,001049: # M: (-55+2NR) WHERE ARG = LCP ZZ SGN(DELF) OR ARG = LCP/ALFA SGN(DELF)
035529,001050: # NRTERM E: (-29+NR) M NORM LENGTH OF TERMINAL RADIUS LEFT BY CALCTFF OR CALCTPER
035530,001051: # M: (-27+NR)
035531,001052: # NRMAG E: (-29+NR) M NORM LENGTH OF PRESENT POSITION LEFT BY TFFCONIC
035532,001053: # M: (-27+NR)
035533,001054:
035534,001055: # DEBRIS: QPRET, CDELF/2
035535,001056:
035536,001057: 27,2631 BANK 27
035537,001058: 27,2000 SETLOC P60S5
035538,001059: 27,2000 BANK
035539,001060: 27,2631 70545 TFF/TRIG DLOAD SR1
035540,001061: 27,2632 00043 TFFX
035541,001062: 27,2633 41215 DAD DMP
035542,001063: 27,2634 15333 HIDPHALF
035543,001064: 27,2635 00041 NRMAG # RMAG M E: (-29+NR) M: (-27+NR)
035544,001065: 27,2636 55205 DMP BDDV
035545,001066: 27,2637 00021 NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
035546,001067: 27,2640 00045 TFFTEM # P ZSQ OR P/ALFA E: (-59+2NR) M: (-55+2NR)
035547,001068: 27,2641 44246 ABS BDSU # THE SIGN IS FOR SDELF.
035548,001069: 27,2642 15333 HIDPHALF
035549,001070: 27,2643 00017 STORE CDELF/2 # .5 COS(THETA)
035550,001071: 27,2644 57516 DSQ DCOMP # KEEP HONEST FOR SQRT.
Page 816 |
035552,001073: 27,2645 75415 DAD SQRT
035553,001074: 27,2646 15325 HIDP1/4
035554,001075: 27,2647 43565 DUMPTRIG SIGN RVQ
035555,001076: 27,2650 00045 TFFTEM # AFFIX SIGN(DELE/2)
035556,001077: # RETURN WITH .5 SIN(THETA) IN MPAC
035557,001078:
035558,001079: # 16W 15MS
035559,001080:
035560,001081: 27,2651 77620 DISPTARG STQ # C(MPAC) = TRGO ESTIMATE
035561,001082: 27,2652 03373 60GENRET
035562,001083: 27,2653 45205 DMP DSU
035563,001084: 27,2654 15003 KTETA1
035564,001085: 27,2655 03733 TTE1
035565,001086: 27,2656 37606 STCALL DTEAROT
035566,001087: 27,2657 46225 EARROT2
035567,001088: 27,2660 77624 CALL
035568,001089: 27,2661 56664 VRCALC
035569,001090: 27,2662 77650 GOTO
035570,001091: 27,2663 03373 60GENRET
035571,001092: 27,2664 50375 VRCALC VLOAD DOT
035572,001093: 27,2665 03542 URH
035573,001094: 27,2666 03474 RT
035574,001095: 27,2667 65512 SL2 ACOS
035575,001096: 27,2670 77616 RVQ
035576,001097:
035577,001098: # END OF PROGRAM S61.2
035578,001099:
Page 817 |
035580,001101: # PROGRAM DESCRIPTION S62.3 DATE 10JAN67
035581,001102: # MOD NO 1 LOG SECTION P60-P67
035582,001103: # MOD BY ZELDIN
035583,001104: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 15 MAY 67 CHANGED TO REF COORDS.
035584,001105: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 ALFAPAD CHANGES MADE.
035585,001106:
035586,001107: # FUNCTIONAL DESCRIPTION
035587,001108:
035588,001109: # COMPUTE DESIRED GIMBOL ANGLES FOR ENTRY ATTITUDE
035589,001110: # THE FOLLOWING TRAJECTORY TRIAD IS AVAILABLE IN MEMORY AND IS COMPUTED EACH 2 SECONDS BY CM/POSE IN
035590,001111: # REFERENCE COORDINATES (V = VELOCITY RELATIVE TO EARTH) :
035591,001112:
035592,001113: # UXA = -UNIT(V)
035593,001114: # UYA = UNIT(V*R)
035594,001115: # UZA = UXA*UYA
035595,001116:
035596,001117: # GENERATE A DESIRED BODY TRIAD FOR TRIMMED FLIGHT WITH RESPECT TO THE RELATIVE VELOCITY VECTOR, USING
035597,001118: # ROLL COMMAND AND TRIM ANGLE OF ATTACK:
035598,001119:
035599,001120: # UXD = UNIT(UYD*UXA) SIN(ALFATRIM) + UXA COS(ALFATRIM)
035600,001121: # UYD = UYA COS(ROLLC) + UZA SIN(ROLLC)
035601,001122: # UZD = UXD * UYD
035602,001123:
035603,001124: # USE THE DESIRED SET (IN REFERENCE COORDS) AND REFSMMAT TO CALL CALCGA AND OBTAIN GIMBAL ANGLES
035604,001125: # IN 2S, C IN MPAC, +2 AND THETAD, +2.
035605,001126:
035606,001127: # CALLING SEQUENCE
035607,001128:
035608,001129: # L CALL
035609,001130: # L+1 S62.3
035610,001131:
035611,001132: # NORMAL EXIT MODE
035612,001133:
035613,001134: # RETURN VIA QPRET DIRECTLY FROM CALCGA.
035614,001135:
035615,001136: # SUBROUTINES CALLED
035616,001137:
035617,001138: # CALCGA
035618,001139:
035619,001140: # ALARM OR ABORT MODES
035620,001141:
035621,001142: # NONE
035622,001143:
035623,001144: # ERASABLE INITIALIZATION REQUIRED
035624,001145:
035625,001146: # ROLLC ROLL COMMAND DP 1:S COMP AT 1REV
035626,001147: # ALFAPAD SP 1S,C / 180 LEFT BY PAD LOAD ALFATRIM IS NEGATIVE.
035627,001148: # UXA/2 REF COORDS LEFT BY CM/POSE
035628,001149: # UYA/2 REF COORDS LEFT BY CM/POSE
035629,001150: # UZA/2 REF COORDS LEFT BY CM/POSE
035630,001151:
035631,001152: # OUTPUT
035632,001153: #
035633,001154: # CPHI GIMBAL ANGLES (O,I,M) 2:S COMP TP (O,I,M)/180
035634,001155:
035635,001156: # DEBRIS
035636,001157:
035637,001158: # QTEMP, QPRET, PUSHLIST
035638,001159:
035639,001160: 10,2376 BANK 10
035640,001161: 10,2000 SETLOC P60S4
035641,001162: 10,2000 BANK
Page 818 |
035643,001164: 10,2376 COUNT* $$/S62.3
035644,001165:
035645,001166: 10,2376 67201 S62.3 SETPD SLOAD
035646,001167: 10,2377 00001 0
035647,001168: 10,2400 03012 ALFAPAD # ALFATRIM / 180, ALFA IS NEG.
035648,001169: 10,2401 41542 SR1 PUSH
035649,001170: 10,2402 65346 COS PDDL # XCH PDL, COS TO PDL0
035650,001171: 10,2403 65356 SIN PDDL # SIN TO PDL2
035651,001172: 10,2404 03316 ROLLC
035652,001173: 10,2405 74346 COS VXSC
035653,001174: 10,2406 03550 UYA/2 # REF COORDS
035654,001175: 10,2407 73525 PDDL SIN # PUSH VECTOR INTO PDL4,.9
035655,001176: 10,2410 03316 ROLLC
035656,001177: 10,2411 53361 VXSC VAD
035657,001178: 10,2412 03556 UZA/2 # REF COORDS
035658,001179: # VECTOR FROM PDL4, 9
035659,001180: 10,2413 77772 VSL1
035660,001181: 10,2414 02722 STORE YNB # = UYD REF COORDS
035661,001182:
035662,001183: 10,2415 76435 VXV VSL1
035663,001184: 10,2416 03542 UXA/2 # REF COORDS
035664,001185: 10,2417 65361 VXSC PDDL
035665,001186: # SIN TRIM FROM PDL2
035666,001187: # XCH PDL0 FOR COS TRIM
035667,001188: 10,2420 53361 VXSC VAD
035668,001189: 10,2421 03542 UXA/2 # REF COORDS
035669,001190: # FROM PDL0
035670,001191: 10,2422 77772 VSL1
035671,001192: 10,2423 02714 STORE XNB # X SC AXIS (.5 UNIT) REF COORDS
035672,001193:
035673,001194: 10,2424 76435 VXV VSL1
035674,001195: 10,2425 02722 YNB
035675,001196: 10,2426 26730 STOVL ZNB # Z SC IN REF COOR. SCALED AT 2
035676,001197: 10,2427 01736 REFSMMAT
035677,001198: 10,2430 26672 STOVL XSM
035678,001199: 10,2431 01744 REFSMMAT +6
035679,001200: 10,2432 26700 STOVL YSM
035680,001201: 10,2433 01752 REFSMMAT +12D
035681,001202: 10,2434 02706 STORE ZSM
035682,001203:
035683,001204: 10,2435 52014 CLEAR GOTO
035684,001205: 10,2436 00260 CPHIFLAG # CAUSE CALCGA TO STORE ANS IN TP CPHI
035685,001206: 10,2437 47311 CALCGA
035686,001207: # CALCGA WILL RETURN TO ORIGINAL CALLER
035687,001208: # VIA QPRET WITH 2,S COMP. ANGLES IN CPHI
035688,001209:
035689,001210:
035690,001211:
End of include-file P61-P67.agc. Parent file is MAIN.agc