Source Code
These source-code files were derived from scans of the
Colossus 237 (Apollo 8 Command Module) program listing from the private collection of original
AGC developer Fred Martin. Scanning was by Ron Burkey. Pre-existing Colossus 249
(Apollo 9 CM) source files were used as a template, and changes between Colossus 249
and Colossus 237 were manually transcribed by a team of volunteers. Note
that the page images
presented online are of reduced quality, and that additional images
are available. Report any conversion errors or legibility
problems in page images to info@sandroid.org.
Notations on the program listing read, in part:GAP: ASSEMBLE REVISION 237 OF AGC PROGRAM COLOSSUS BY NASA 2021111-031 1:17 AUG. 24, 1968Note that the date is the date of the printout, not the date of the program revision. |
032549,000002: ## Copyright: Public domain.
032550,000003: ## Filename: MAIN.agc
032551,000004: ## Purpose: Part of the source code for Colossus build 237.
032552,000005: ## This is for the Command Module's (CM) Apollo Guidance
032553,000006: ## Computer (AGC), for Apollo 8.
032554,000007: ## Assembler: yaYUL
032555,000008: ## Contact: Onno Hommes <ohommes@alumni.cmu.edu>
032556,000009: ## Website: www.ibiblio.org/apollo/index.html
032557,000010: ## Page Scans: www.ibiblio.org/apollo/ScansForConversion/Colossus237/
032558,000011: ## Mod history: 2010-05-18 OH Adapted from corresponding Colossus 249 file.
032559,000012: ## 2010-12-04 JL Remove Colossus 249 header comments. Change to double-has page numbers.
032560,000013: ## 2011-02-08 JL Minor fixes.
032561,000014: ## 2016-11-02 RSB Typo (offset-references +2 and +3 not indented).
032562,000015: ## 2017-01-01 RSB Proofed comment text using octopus/ProoferComments,
032563,000016: ## and fixed errors found.
032564,000017: ## 2017-01-18 RSB Fixed comment-text errors noted while diff'ing
032565,000018: ## vs Colossus 249.
032566,000019: ## 2017-02-08 RSB Fixed comment-text errors noted while diff'ing
032567,000020: ## vs Artemis 72.
032568,000021:
Page 740 |
032570,000023: # PROGRAM: P61
032571,000024: # MOD NO.: 0 MAR. 13, 1967
032572,000025: # MOD BY: R. HIRSCHKOP
032573,000026: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 22 JUN 67 RESTARTS.
032574,000027: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP CHANGES.
032575,000028: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 8 MAY 68 DELETE CMSM MANEUVER (PCR 50)
032576,000029: # FUNCTION: TO CALCULATE AND DISPLAY EMS INITIALIZATION DATA
032577,000030: # CALLING SEQUENCE- BY V37
032578,000031: # EXIT- TO P62
032579,000032: # SUBROUTINE CALLS- S61.1 , S61.3 , GOFLASH , FLAGUP , R02BOTH
032580,000033:
032581,000034: # ERASABLE INITIALIZATION:
032582,000035: # EMSALT (-29) M .05G ALTITUDE ABOVE FISCHER ELLIPSOID PAD LOADED.
032583,000036: # ALFAPAD /180 HYPERSONIC CM TRIM ANGLE OF ATTACK PAD LOADED
032584,000037: # OUTPUT: THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
032585,000038: # GMAX 100 GMAX (-14) G,S MAXIMUM ACCELERATION
032586,000039: # VPRED (-7) M/CS PREDICTED VELOCITY AT 400K FT
032587,000040: # GAMMAEI GAMMA/360 PREDICTED GAMMA AT 400K FT
032588,000041: # RTGO THETAH/360 RANGE ANGLE TO SPLASH FROM EMSALT EMSALT IS PAD LOADED
032589,000042: # VIO (-7) M/CS INERTIAL VELOCITY AT EMSALT EMSALT IS PAD LOADED
032590,000043: # TTE (-28) CS TIME TO EMSALT EMSALT IS PAD LOADED
032591,000044: # LAT(SPL) /360 TARGET LOCATION LEFT BY DSKY
032592,000045: # LNG(SPL) /360 TARGET LOCATION LEFT BY DSKY
032593,000046: # HEADSUP (0) +1 = LIFT DOWN, -1 = LIFT UP LEFT BY DSKY
032594,000047: # DEBRIS: SEE SUBROUTINES.
032595,000048:
032596,000049: 26,2217 BANK 26
032597,000050: 26,2000 SETLOC P60S
032598,000051: 26,2000 BANK
032599,000052:
032600,000053: 26,2217 E6,1661 EBANK= AOG
032601,000054:
032602,000055: 26,2217 COUNT* $$/P61
032603,000056:
032604,000057: 26,2217 34675 P61 CA BIT14 # EXTENDED VERB SHOULD BE FREE THIS CLOSE
032605,000058: 26,2220 55044 TS EXTVBACT # TO V37
032606,000059: # LOCK OUT EXTENDED VERBS SO CAN USE TFF
032607,000060: # ROUTINES.EXT VERB ERASE IS USED
032608,000061:
032609,000062: 26,2221 44712 CS ONE # REMOVE IF HEADSUP EVER ON UPLINK DATA
032610,000063: 26,2222 55726 TS HEADSUP # PRELOAD
032611,000064:
032612,000065: 26,2223 02543 TC S61.1 # CHECK STATE VECTOR AND IMU ORIENTATION
032613,000066: # RV 60GENRET. DOES PHASCHNG, GROUP 4.
032614,000067:
032615,000068: 26,2224 32424 CA V06N61 # LAT(SPL) LNG(SPL) HEADSUP
032616,000069: # XXX.XX DEG XXX.XX DEG XXXXX.
032617,000070: 26,2225 04555 TC BANKCALL
032618,000071: 26,2226 20763 CADR GOFLASHR
032619,000072: 26,2227 04106 TC GOTOPOOH
Page 741 |
032621,000074: 26,2230 02235 TC P61.4
032622,000075: 26,2231 02224 TC -5
032623,000076:
032624,000077: 26,2232 05301 P61.3 TC PHASCHNG
032625,000078: 26,2233 00014 OCT 00014
032626,000079:
032627,000080: 26,2234 05112 TC ENDOFJOB
032628,000081:
032629,000082: 26,2235 22007 P61.4 ZL
032630,000083: 26,2236 11726 CCS HEADSUP # C(HEADSUP)= +1/-1
032631,000084: 26,2237 34675 CA BIT14 # IF HEADSUP POS,ROLLC =180 DEG.(LIFT DWN)
032632,000085: 26,2240 12241 NOOP # IF HEADSUP NEG,ROLLC=0 (LIFT UP)
032633,000086: 26,2241 53716 DXCH ROLLC # ROLLC IS USED BY S62.3: GIM ANG AT .05G
032634,000087:
032635,000088: 26,2242 06006 TC INTPRET
032636,000089: 26,2243 77745 NEWRNVN DLOAD
032637,000090: 26,2244 01205 PIPTIME # SAVE TIME OF RN,VN TO DETERMINE IF AN
032638,000091: 26,2245 37651 STCALL MM # UPDATE HAS OCCURRED
032639,000092: 26,2246 52063 STARTEN1 # INITIALIZE
032640,000093: 26,2247 77775 VLOAD
032641,000094: 26,2250 01171 RN
032642,000095: 26,2251 02327 STORE RONE
032643,000096: 26,2252 77656 UNIT
032644,000097: 26,2253 26343 STOVL URONE
032645,000098: 26,2254 01177 VN
032646,000099: 26,2255 02335 STORE VONE
032647,000100: 26,2256 53435 VXV UNIT
032648,000101: 26,2257 02343 URONE
032649,000102: 26,2260 03502 STORE UNI
032650,000103: 26,2261 45345 DUMPP61 DLOAD DSU
032651,000104: 26,2262 03651 MM # INITIAL VALUE OF PIPTIME
032652,000105: 26,2263 01205 PIPTIME
032653,000106: 26,2264 45040 BMN CALRB
032654,000107: 26,2265 54243 NEWRNVN # UPDATED... GO TRY AGAIN
032655,000108: 26,2266 54650 S61.2 # GET DISPLAY DATA FOR N60 AND N63
032656,000109: # AND RETURN IN BASIC, BELOW.
032657,000110: 26,2267 05425 P61.1 TC CLEARMRK
032658,000111: 26,2270 32423 CA V06N60 # GMAX VPRED GAMMAEI
032659,000112: # XXX.XX G XXXXX. FPS XXX.XX DEG
032660,000113: 26,2271 04555 TC BANKCALL
032661,000114: 26,2272 20624 CADR GOFLASH
032662,000115:
032663,000116: 26,2273 04106 TC GOTOPOOH
032664,000117: 26,2274 02276 TC P61.2 # PROCEED
032665,000118: 26,2275 02270 TC -5
032666,000119:
032667,000120: 26,2276 06006 P61.2 TC INTPRET # CORRECT TTE FOR TIME LAPSE DURING
032668,000121: # ABOVE DISPLAY.
032669,000122: 26,2277 45234 RTB DSU
032670,000123: 26,2300 45505 LOADTIME # CURRENT TIME.
Page 742 |
032672,000125: 26,2301 03651 MM # PIPTIME FOR RONE & VONE.
032673,000126: 26,2302 77615 DAD
032674,000127: 26,2303 03733 TTE1 # NEGATIVE OF FREE FALL TIME.
032675,000128: 26,2304 03727 STORE TTE # DECREMENTED
032676,000129:
032677,000130: 26,2305 77776 EXIT
032678,000131:
032679,000132: 26,2306 32425 CA V06N63 # RTGO VIO TTE
032680,000133: # XXXX.X NM XXXXX. FPS XXBXX M,S
032681,000134: 26,2307 04555 TC BANKCALL
032682,000135: 26,2310 20624 CADR GOFLASH
032683,000136: 26,2311 04106 TC GOTOPOOH
032684,000137: 26,2312 02314 TC +2
032685,000138: 26,2313 02276 TC P61.2 # REDO
032686,000139:
032687,000140: # .... THEN FALL INTO P62
032688,000141:
Page 743 |
032690,000143: # PROGRAM- P62
032691,000144: # MOD NO.- 0 MAR. 13, 1967
032692,000145: # MOD BY- R. HIRSCHKOP
032693,000146: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 67
032694,000147: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 22 JUN 67 RESTARTS.
032695,000148: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP CHANGES.
032696,000149: # MOD NO: 4 MOD BY: RR BAIRNSFATHER DATE: 8 MAY 68 MOVE START OF DESIRED GIMBAL CALC.
032697,000150: # FUNCTION- 1) TO NOTIFY CREW WHEN GNC SYSTEM IS PREPARED FOR CM/SM SEPARATION
032698,000151: # 2) TO ORIENT THE CM TO THE CORRECT ATTITUDE FOR ATMOSPHERIC ENTRY
032699,000152: # CALLING SEQUENCE- BY V37 OR DIRECTLY FROM P61
032700,000153: # EXIT- TO P63
032701,000154: # ERASABLE INITIALIZATION:
032702,000155: # ALFAPAD LEFT BY PAD LOAD
032703,000156: # LADPAD LEFT BY PAD LOAD
032704,000157: # LODPAD LEFT BY PAD LOAD
032705,000158: # LAT(SPL) (MAY BE CHANGED BELOW) LEFT BY DSKY, VIA P61
032706,000159: # LNG(SPL) (MAY BE CHANGED BELOW) LEFT BY DSKY, VIA P61
032707,000160: # HEADSUP (MAY BE CHANGED BELOW) LEFT BY DSKY, VIA P61
032708,000161: # SUBROUTINE CALLS: NEWMODEX , S61.1 , CM/DAPIC , CM/DAPON , R02BOTH , GOPERF1 , GOFLASH , GODSPR
032709,000162:
032710,000163: 26,2314 COUNT* $$/P62
032711,000164:
032712,000165: 26,2314 05243 TC NEWMODEX # MODE CHANGE IF CAME FROM P61.
032713,000166: 26,2315 00076 MM 62 B-14 # MODE CHANGE AUTOMATIC VIA V 37.
032714,000167: 26,2316 34712 CA ONE
032715,000168: 26,2317 54332 TS DNLSTCOD
032716,000169:
032717,000170: 26,2320 02543 P62 TC S61.1 # CHECK STATE VECTOR AND IMU ORIENTATION.
032718,000171:
032719,000172: 26,2321 06006 TC INTPRET
032720,000173: 26,2322 47131 SSP RTB
032721,000174: 26,2323 03325 POSEXIT
032722,000175: 26,2324 54402 P62.3 # CALCULATE DESIRED .05G GIMBAL ANGLES,
032723,000176: # WITHOUT DISPLAY.
032724,000177: 26,2325 41630 CM/DAPIC # START CM/POSE AND BODY RATE CALC
032725,000178:
032726,000179: # DOES 2PHSCHNG, OCT 40116, OCT 05024, OCT 13000.
032727,000180: # CM/DAPIC SETS EBANK = EBAOG
032728,000181:
032729,000182: # AND RETURNS IN BASIC TO P62.2.
032730,000183: 26,2326 00006 P62.2 EXTEND
032731,000184: 26,2327 32431 DCA POSECADR # CONTINUE WITH CM/POSE AFTER AV G.
032732,000185: 26,2330 53223 DXCH AVEGEXIT
032733,000186:
032734,000187: 26,2331 34270 CAF OCT41 # REQUEST SEPARATION
032735,000188: 26,2332 04555 TC BANKCALL
032736,000189: 26,2333 21031 CADR GOPERF1R
032737,000190: 26,2334 04106 TC GOTOPOOH
032738,000191: 26,2335 02340 TC +3 # PROCEED
032739,000192:
Page 744 |
032741,000194: # NOTE: NODOFLAG WILL BE SET IN CM/DAPON. <<<
032742,000195: 26,2336 02331 TC -5 # ENTER
032743,000196: 26,2337 02232 TC P61.3 # FOR PHASCHNG AND ENDOFJOB.
032744,000197:
032745,000198: 26,2340 04574 +3 TC POSTJUMP
032746,000199: 26,2341 41550 CADR CM/DAPON # DISABLE RCS DAP, ENABLE ENTRY DAP AND
032747,000200: # DO ATTITUDE HOLD.
032748,000201:
032749,000202: # WILL IDLE UNTIL CM/POSE DOES ONE UPDATE.
032750,000203: # CM/DAPON DOES NO PHASCHNG.
032751,000204:
032752,000205:
032753,000206: 26,2342 32424 P62.1 CA V06N61 # LAT(SPL) LNG(SPL) HEADSUP
032754,000207: # XXX.XX DEG XXX.XX DEG 0000X.
032755,000208:
032756,000209: # TERMINATE ATTITUDE HOLD. SET UP COMMANDS:
032757,000210: # ROLLC, ALFACOM, BETACOM. BEGIN MANUVER TO
032758,000211: # ENTRY ATTITUDE.
032759,000212:
032760,000213: 26,2343 04555 TC BANKCALL
032761,000214: 26,2344 20624 CADR GOFLASH
032762,000215: 26,2345 02342 TC -3
032763,000216: 26,2346 02350 TC +2
032764,000217: 26,2347 02342 TC -5
032765,000218:
032766,000219: 26,2350 05301 TC PHASCHNG
032767,000220: 26,2351 04024 OCT 04024 # USE ENTRYVN FOR DISPLAY BELOW.
032768,000221:
032769,000222: # EBANK WAS SET IN CM/DAPON TO EBAOG
032770,000223:
032771,000224: 26,2352 11726 CCS HEADSUP # C(HEADSUP) = +/- 1
032772,000225: 26,2353 34675 CA BIT14 # IF HEADSUP POS,ROLLC=180 DEG (LIFT DWN)
032773,000226: 26,2354 12355 NOOP # IF HEADSUP NEG,ROLLC=0 DEG (LIFT UP)
032774,000227: 26,2355 55715 TS ROLLC
032775,000228: 26,2356 31411 CA ALFAPAD # NOMINAL ALFATRIM PAD LOADED, NEG. NO.
032776,000229: 26,2357 22007 ZL
032777,000230: 26,2360 53604 DXCH ALFACOM # SET ALFACOM = ALFA TRIM, BETACOM=0
032778,000231:
032779,000232: 26,2361 34712 CA ONE # PERMITS EXDAP2 TO CHANGE FLAG TO +0
032780,000233: 26,2362 55727 TS P63FLAG # AS INDICATOR. STARTS UP P63.
032781,000234:
032782,000235: 26,2363 34745 CA V06N22 # SET UP DISPLAY FOR CDU DESIRED VALUES
032783,000236: 26,2364 55263 TS ENTRYVN # FROM ENTRY ATTITUDE CALC, THAT IS
032784,000237: # ALREADY GOING.
032785,000238: 26,2365 05435 TC UPFLAG # TURN ON ENTRY DISPLAY
032786,000239: 26,2366 00134 ADRES ENTRYDSP # ENTRYDSP = 92D BIT 13 FLAG 6
032787,000240: # SKIP
032788,000241:
Page 745 |
032790,000243: 26,2367 41700 CS CMDAPMOD # GO DIRECTLY TO P63 IF BODY ATTITUDE
032791,000244: 26,2370 74712 MASK ONE # IS SUCH THAT THE DELAY TASK: WAKEP62
032792,000245: 26,2371 00006 EXTEND # WILL BE OMITTED.
032793,000246: 26,2372 12420 BZF P63.1 # DISABLE GRP 4, GO TO ENDOFJOB.
032794,000247:
032795,000248: # (IE, CONTINUE IF CMDAPMOD = -1, OR +0)
032796,000249: 26,2373 02406 TC P63
032797,000250:
032798,000251: # PUT JOB TO SLEEP UNTIL VEHICLE MANUVER HAS
032799,000252: # REDUCED ALFA TO +/-45 DEG. CONSIDER REMAINING
032800,000253: # 65 DEG (25 DEG IF ALFA NEG) TO ALFA TRIM TO
032801,000254: # OCCUR AT 3 DEG/SEC, AND TERMINATE P62 AT THAT
032802,000255: # TIME.
032803,000256: # TASK WAKEP62 IS CALLED FROM ENTRY DAP.
032804,000257:
032805,000258: 26,2374 34760 WAKEP62 CA PRIO13
032806,000259: 26,2375 05027 TC NOVAC
032807,000260: 26,2376 E6,1661 EBANK= AOG
032808,000261: 26,2376 02406 54066 2CADR P63
032809,000262: 26,2400 05213 TC TASKOVER
032810,000263:
032811,000264: 26,2401 54402 P62.3CAD CADR P62.3
032812,000265:
032813,000266: # EACH 2 SEC, CALCULATE GIMBAL ANGLES FOR ENTRY CON-
032814,000267: # DITIONS THAT WILL HOLD IF REORIENTATION WERE MADE
032815,000268: # AT PRESENT RN, VN. COME HERE FROM CM/POSE AND ALSO
032816,000269: # IN KEPLER PHASE OF ENTRY.
032817,000270: 26,2402 52131 P62.3 SSP GOTO # SET RETURN ADDRESS SO THAT ROUTINE
032818,000271: 26,2403 00053 QPRET # GOES DIRECTLY TO ENTRY GUIDANCE EXIT
032819,000272: 26,2404 53570 ENDEXIT # THAT DOES ENTRY DISPLAY ,GRP 5.
032820,000273: 26,2405 20302 S62.3 # PUT DESIRED CDU VALUES IN CPHI'S FOR
032821,000274: # N22 DISPLAY.
032822,000275:
Page 746 |
032824,000277: # P63
032825,000278: # PROGRAM- P63
032826,000279: # MOD NO.- 0 MAR. 13, 1967
032827,000280: # MOD BY- R. HIRSCHKOP
032828,000281: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 22 JIN 67 RESTARTS.
032829,000282: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 14 JUL 67 REVISED RESTARTS
032830,000283: # FUNCTION- 1) TO INITIALIZE THE ENTRY EQUATIONS
032831,000284: # 2) TO CONTINUE TO HOLD THE CM TO THE CORRECT ATTITUDE WITH RESPECT TO THE ATMOSPHERE FOR
032832,000285: # THE ONSET OF ENTRY DECELERATION. ROLL ANGLE IS LIFT UP/DOWN AS SPECIFIED BY HEADSUP.
032833,000286: # 3) TO SENSE .05 G
032834,000287: # CALLING SEQUENCE- DIRECTLY FROM P62
032835,000288: # EXIT- TO ENDOFJOB
032836,000289: # SUBROUTINE CALLS- NEWMODEX , GODSPR
032837,000290:
032838,000291: 26,2406 COUNT* $$/P63
032839,000292:
032840,000293: 26,2406 05243 P63 TC NEWMODEX
032841,000294: 26,2407 00077 MM 63 B-14
032842,000295:
032843,000296: 26,2410 04555 TC BANKCALL # FLUSH N22 DISPLAY, IF ON. (ONIT DISP
032844,000297: 26,2411 20607 CADR CLEANDSP # DURING STARTENT PASS.)
032845,000298:
032846,000299: # ARRIVE WITH EBANK = AOG.
032847,000300:
032848,000301: 26,2412 32427 CA ENTCADR # CONTINUE AT STARTENT AFTER CM/POSE .
032849,000302:
032850,000303: # AT END OF STARTENT, CHANGE ADDRESS IN GOTOADDR
032851,000304: # TO CONTINUE AT SCALEPOP THEREAFTER.
032852,000305:
032853,000306: 26,2413 55724 TS POSEXIT
032854,000307:
032855,000308: 26,2414 32426 CA V06N64 # G VI R TO SPLSH
032856,000309: # XXX.XX G XXXXX. FPS XXXX.X NM
032857,000310: 26,2415 55263 TS ENTRYVN # FOR DISPLAY CALL IN OVERNOUT.
032858,000311:
032859,000312: 26,2416 44712 CS ONE # IN CASE FLAG IS LEFT AT +1 BY DAP. THE
032860,000313: 26,2417 55727 TS P63FLAG # -1 ASSURES THAT EXO-ATM DAP WILL NOT
032861,000314: # CALL P63 OUT OF SEQUENCE IN P66 .
032862,000315:
032863,000316: 26,2420 05301 P63.1 TC PHASCHNG
032864,000317: 26,2421 00004 OCT 00004 # DISABLE. DISPLAY RESTARTED VIA ENTRY.
032865,000318:
032866,000319: 26,2422 05112 TC ENDOFJOB
032867,000320:
032868,000321: 26,2423 01474 V06N60 VN 0660
032869,000322: 26,2424 01475 V06N61 VN 0661
032870,000323: 26,2425 01477 V06N63 VN 0663
032871,000324: 26,2426 01500 V06N64 VN 0664
032872,000325: 26,2427 52000 ENTCADR CADR STARTENT
Page 747 |
032874,000327: 26,2430 E7,1451 EBANK= RTINIT # TO CARY OVER INTO ENTRY STEERING.
032875,000328: 26,2430 03375 76067 POSECADR 2CADR CM/POSE
032876,000329:
Page 748 |
032878,000331: # PROGRAM- P64
032879,000332: # MOD NO.- 1 SEPT. 19, 1967
032880,000333: # MOD BY- R. HIRSCHKOP
032881,000334: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 8 MAY 68 REVISED COMMENTS FOR COLOSSUS
032882,000335: # FUNCTION- 1. TO START ENTRY GUIDANCE AT .05G SELECTING ROLL ATTITUDE, CONSTANT DRAG LEVEL, AND
032883,000336: # DRAG THRESHOLD, KA , WHICH ARE KEYED TO THE .05G POINT.
032884,000337: # 2. SELECT FINAL PHASE P67 IF V < 27000 FPS WHEN .2G OCCURS.
032885,000338: # 3. ITERATE FOR UP-CONTROL SOLUTION P65 IF V > 27000 FPS AND IF ALTITUDE RATE AND DRAG
032886,000339: # LEVEL CONDITIONS ARE SATISFIED. ENTER P65 WHEN CONSTANT DRAG CONTROLLER HAS BROUGHT RANGE
032887,000340: # AS PREDICTED TO WITHIN 25 NM OF DESIRED RANGE.
032888,000341: # 4. SELECT FINAL PHASE P67 IF NO UP-CONTROL SOLUTION EXISTS WITH VL > 18000 FPS.
032889,000342: # CALLING SEQUENCE- BY RTB FROM REENTRY CONTROL
032890,000343: # EXIT- BACK TO REENTRY CONTROL
032891,000344: # SUBROUTINE CALLS- NEWMODEX
032892,000345:
032893,000346:
032894,000347: 26,2432 BANK 26
032895,000348: 26,2000 SETLOC P60S1
032896,000349: 26,2000 BANK
032897,000350:
032898,000351: # THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING. RESTART PROTECTION IS VIA STEERING.
032899,000352:
032900,000353: 26,2432 COUNT* $$/P64
032901,000354:
032902,000355: 26,2432 05243 P64 TC NEWMODEX # ENTER VIA RTB WHEN .05G IS EXCEEDED.
032903,000356: 26,2433 00100 MM 64 B-14
032904,000357: 26,2434 32437 CA V06N68 # ROLLC VI HDOT
032905,000358: # XXX.XX DEG XXXXX. FPS XXXXX. FPS
032906,000359: 26,2435 55263 TS ENTRYVN # DISPLAY VIA OVERNOUT.
032907,000360:
032908,000361: 26,2436 06030 TC DANZIG # ... AND CONTINUE IN INITROLL ...
032909,000362:
032910,000363:
032911,000364: 26,2437 01504 V06N68 VN 0668
032912,000365:
Page 749 |
032914,000367: # PROGRAM: P65
032915,000368: # MOD NO: 0 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP ADDITION.
032916,000369: # FUNCTION: TO CONTINUE ENTRY GUIDANCE, USING THE UP-CONTROL PHASE TO STEER TO A CONTROLLED EXIT
032917,000370: # CONDITION. THIS PHASE TERMINATES A) IF D < Q7 FPSS, GO TO P66 ,
032918,000371: # B) IF RDOT NEG, AND IF V < VL +500 FPS, GO TO P67.
032919,000372: # CALLING SEQUENCE: BY RTB FROM REENTRY CONTROL
032920,000373: # EXIT: BACK TO REENTRY CONTROL, OR TO ENDOFJOB.
032921,000374: # SUBROUTINE CALLS: NEWMODEX
032922,000375:
032923,000376: 26,2440 COUNT* $$/P65
032924,000377:
032925,000378: 26,2440 05243 P65 TC NEWMODEX # ENTER VIA RTB WHEN RANGE < 25 N M OF
032926,000379: 26,2441 00101 MM 65 B-14 # TARGET.
032927,000380:
032928,000381: 26,2442 34760 CA PRIO13
032929,000382: 26,2443 05027 TC NOVAC
032930,000383: 26,2444 1263 EBANK= ENTRYVN
032931,000384: 26,2444 02456 54062 2CADR P65.1
032932,000385: 26,2446 05261 TC 2PHSCHNG # 2 PHASE CHG REQUIRED TO PREVENT RE-
032933,000386: 26,2447 00554 OCT 00554 # STARTING FLASHING DISPLAY TWICE.
032934,000387: 26,2450 10035 OCT 10035 # 4.55 SPOT AND SERVICER, HERE.
032935,000388: 26,2451 06006 TC INTPRET
032936,000389: 26,2452 47131 SSP RTB
032937,000390: 26,2453 03646 GOTOADDR # CHANGE ENTRY MODE TO UPCONTRL.
032938,000391: 26,2454 53027 UPCONTRL
032939,000392: 26,2455 52120 REFAZE10 # GO HERE TO REESTABLISH ENTRY SEQUENCER.
032940,000393: # AND CONTINUE AT UPCONTRL...
032941,000394:
032942,000395: 26,2456 05447 P65.1 TC DOWNFLAG
032943,000396: 26,2457 00134 ADRES ENTRYDSP # ENTRYDSP = 92D BIT 13 FLAG 6
032944,000397:
032945,000398: 26,2460 32472 CA V16N69 # ROLLC DL (Q7) VL
032946,000399: 26,2461 04555 TC BANKCALL # XXX.XX DEG XXX.XX G XXXXX. FPS
032947,000400: 26,2462 20763 CADR GOFLASHR
032948,000401: 26,2463 02460 TC -3 # NODOFLAG IS SET..
032949,000402: 26,2464 02467 TC +3
032950,000403: 26,2465 02460 TC -5
032951,000404: 26,2466 02232 TC P61.3 # EST. GRP 4 FOR DSPLAY AND DO ENDOFJOB
032952,000405: # IF PROCEED, CONTINUE.
032953,000406: 26,2467 05435 TC UPFLAG
032954,000407: 26,2470 00134 ADRES ENTRYDSP # ENTRYDSP = 92D BIT 13 FLAG 6
032955,000408:
032956,000409: 26,2471 02420 TC P63.1 # DISABLE GRP 4,START UP ENTRY DISPLAY
032957,000410:
032958,000411: # N06V68 VIA OVERNOUT, AS USED IN P64.
032959,000412:
032960,000413: 26,2472 04105 V16N69 VN 1669
032961,000414:
Page 750 |
032963,000416: # PROGRAM: P66
032964,000417: # MOD NO: 0 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP ADDITIONS.
032965,000418: # FUNCTION: KEEP CM ATTITUDE IN TRIM TO THE RELATIVE VELOCITY VECTOR. ENTRY GUIDANCE STOPS GENERATING
032966,000419: # ROLL COMMANDS UNTIL DRAG BUILDS UP TO Q7+0.5 FPSS.
032967,000420:
032968,000421: # CALLING SEQUENCE: VIA RTB FROM REENTRY CONTROL.
032969,000422: # EXIT: BACK TO REENTRY CONTROL.
032970,000423: # SUBROUTINE CALLS: NEWMODEX
032971,000424:
032972,000425: 26,2473 COUNT* $$/P66
032973,000426:
032974,000427: 26,2473 05243 P66 TC NEWMODEX # ENTER VIA RTB WHEN D < Q7 FPSS
032975,000428: 26,2474 00102 MM 66 B-14
032976,000429:
032977,000430: 26,2475 34745 CA V06N22 # OGA IGA MGA
032978,000431: # XXX.XX DEG XXX.XX DEG XXX.XX DEG
032979,000432: 26,2476 02502 TC P66END # IN CASE CAME FROM P65, GO DISABLE GRP4,
032980,000433: # AND SET ENTRYDSP TO DO DISPLAY VIA
032981,000434: # OVERNOUT.
032982,000435: # ... AND CONTINUE AT KEP2
032983,000436:
Page 751 |
032985,000438: # P67
032986,000439:
032987,000440: # PROGRAM- P67
032988,000441: # MOD NO.- 0 MAR. 16, 1967
032989,000442: # MOD BY- R. HIRSCHKOP
032990,000443: # FUNCTION- TO TERMINATE STEERING WHEN THE CM VELOCITY WRT EARTH = 1000 FT/SEC
032991,000444: # CALLING SEQUENCE-
032992,000445: # EXIT- TO POOH
032993,000446: # SUBROUTINE CALLS- GOFLASH
032994,000447:
032995,000448: # THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING. RESTART PROTECTION IS VIA STEERING.
032996,000449:
032997,000450: 26,2477 COUNT* $$/P67
032998,000451:
032999,000452: 26,2477 05243 P67 TC NEWMODEX # ENTER VIA RTB
033000,000453: 26,2500 00103 MM 67 B-14
033001,000454: 26,2501 32510 CA V06N66 # ROLLC XRNGERR DNRNGERR
033002,000455: # XXX.XX DEG XXXX.X NM XXXX.X NM
033003,000456: 26,2502 55263 P66END TS ENTRYVN # DISPLAY VIA OVERNOUT.
033004,000457:
033005,000458: 26,2503 05435 TC UPFLAG # (IN CASE CAME FROM P65. ENTRY DISPLAY
033006,000459: 26,2504 00134 ADRES ENTRYDSP # WILL FLUSH FLASHING DISP. IF STILL ON)
033007,000460: # BIT 13 FLAG 6
033008,000461: 26,2505 05301 KILLGRP4 TC PHASCHNG # DISABLE GRP4, IN CASE CAME FROM HUNTEST.
033009,000462: 26,2506 00004 OCT 00004 # (COME TO KILLGRP4 VIA RTB,RET TO CALLER)
033010,000463:
033011,000464: 26,2507 06030 TC DANZIG # ... AND CONTINUE AT PREDICT3 ...
033012,000465:
033013,000466: 26,2510 01502 V06N66 VN 0666
033014,000467:
033015,000468: 26,2511 BANK 26
033016,000469: 26,2000 SETLOC P60S2
033017,000470: 26,2000 BANK
033018,000471:
033019,000472: 26,2511 32542 P67.1 CA V16N67 # RTOGO LAT LONG
033020,000473: # XXXX.X NM XXX.XX DEG XXX.XX DEG
033021,000474: 26,2512 04555 TC BANKCALL
033022,000475: 26,2513 20624 CADR GOFLASH
033023,000476: 26,2514 02517 TC +3 # EFFECTIVE GOTOPOOH
033024,000477: 26,2515 02517 TC +2
033025,000478: 26,2516 02511 TC P67.1 # REDO
033026,000479:
033027,000480: 26,2517 46214 CS THREE # TURN OFF ENTRY DAP
033028,000481: 26,2520 00004 INHINT
033029,000482: 26,2521 70102 MASK CM/FLAGS # CM/DSTBY , GAMDIFSW
033030,000483: 26,2522 54102 TS CM/FLAGS
033031,000484: 26,2523 00003 RELINT
033032,000485: 26,2524 00006 EXTEND
033033,000486: 26,2525 32642 DCA SERVCAD2
Page 752 |
033035,000488: 26,2526 53223 DXCH AVEGEXIT
033036,000489: 26,2527 14106 TCF GOTOPOOH
033037,000490:
Page 753 |
033039,000492: 26,2530 43175 P67.2 VLOAD CLEAR # CALC PRESENT LAT, LONG, ALT.
033040,000493: 26,2531 01171 RN
033041,000494: 26,2532 00662 ERADFLAG # USE PAD RAD FOR ALT.(NOT SEEN ANYWAY)
033042,000495: 26,2533 16152 STODL ALPHAV
033043,000496: 26,2534 01205 PIPTIME # USE TIME OF RN
033044,000497: 26,2535 45014 CLEAR CALL
033045,000498: 26,2536 01663 LUNAFLAG
033046,000499: 26,2537 26322 LAT-LONG
033047,000500: 26,2540 77634 P67.3 RTB # ENTRY EXIT THAT OMITS DISPLAY.
033048,000501: 26,2541 53603 SERVNOUT
033049,000502:
033050,000503: 26,2542 04103 V16N67 VN 1667
033051,000504: 26,2543 4270 OCT41 = 33DEC
033052,000505: 26,2543 26,2641 SERVCAD2 = SERVCAD1
033053,000506:
Page 754 |
033055,000508: # SUBROUTINE NAME: S61.1
033056,000509: # MOD NO: 0 DATE: 21 FEB 67
033057,000510: # MOD BY: RR BAIRNSFATHER LOG SECTION: P61-P67
033058,000511: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 22 JUN 67 RESTARTS.
033059,000512: # FUNCTIONAL DESCRIPTION: CALLED BY BOTH P61 AND P62
033060,000513: # FIRST,TEST TO SEE IF AVERAGEG IS ON. IF NOT, UPDATE THE STATE VECTOR TO PRESENT TIME + TOLERANCE
033061,000514: # AND TURN ON AVERAGEG AT THAT TIME, AND CONTINUE. OTHERWISE CONTINUE: SEE IF IMU Y AXIS IS
033062,000515: # WITHIN 30 DEG OF V*R. IF YES, EXIT SUBROUTINE S61.1. IF NO, SEE IF -Y AXIS OF IMU IS WITHIN
033063,000516: # 30 DEG OF V*R. IF YES, DISPLAY ALARM: 01427 IMU REVERSED.
033064,000517: # IF NO, DISPLAY ALARM: 01426 IMU UNSATISFACTORY.
033065,000518: # IN EITHER OF THESE LAST 2 CASES, WAIT 10 SEC AND THEN EXIT SUBROUTINE S61.1.
033066,000519:
033067,000520: # REMARK: THERE WILL BE A SHORT 10 SEC DELAY IF AN ALARM EXIT IS TAKEN. THE DELAY FOR INTEGRATION IS
033068,000521: # AS SHORT AS CAN BE MADE, BUT IS ARBITRARY SINCE IT DEPENDS ON THE AGE OF THE STATE VECTOR.
033069,000522:
033070,000523: # CALLING SEQUENCE: CALL
033071,000524: # S61.1
033072,000525: # C(MPAC) UNSPECIFIED
033073,000526: # PUSHLOC UNSPECIFIED
033074,000527:
033075,000528: # SUBROUTINES CALLED: LOADTIME, CSMPREC, TPAGREE,
033076,000529: # WAITLIST, JOBSLEEP, JOBWAKE, PREREAD, ALARM, GODSPR, BANKCALL, DELAYJOB
033077,000530: # NORMAL EXIT MODES: RVQ
033078,000531: # ALARMS: 01426 IMU UNSATISFACTORY
033079,000532: # 01427 IMU REVERSED
033080,000533: # OUTPUT: POSSIBLE ALARMS
033081,000534: # POSSIBLY TDEC1, RATT, VATT, RN, VN
033082,000535: # ERASABLE INITIALIZATION REQUIRED:
033083,000536: # AVEGFLAG AVERAGEG ON OR OFF LEFT BY SERVICER
033084,000537: # PIPTIME (-28) CS TIME OF PIPA UPDATE LEFT BY READACCS
033085,000538: # RN (-29) M STATE VECTOR LEFT BY AVERAGEG
033086,000539: # VN (-7) M/CS STATE VECTOR LEFT BY AVERAGEG
033087,000540: # REFSMMAT (-1) .5 REF TO SM MATRIX LEFT BY LAST IMU ALIGNMENT
033088,000541: # DEBRIS: QPRET
033089,000542: # POSSIBLY PIPTIME1, RATT, VATT, TDEC1, RN1, VN1, QTEMP, X1 IF UPDATED
033090,000543: # PUSH LIST LOCS USED BY CSMPREC
033091,000544:
033092,000545: 26,2543 E6,1661 EBANK= AOG # FOR 60GENRET , S61DT
033093,000546: 26,2543 BANK 26
033094,000547: 26,2000 SETLOC P60S3
033095,000548: 26,2000 BANK
033096,000549:
033097,000550: 26,2543 COUNT* $$/S61.1
033098,000551:
033099,000552: 26,2543 00006 S61.1 EXTEND
033100,000553: 26,2544 23773 QXCH 60GENRET # SAVE RET ADDR IN EB 6
033101,000554: 26,2545 04555 TC BANKCALL
033102,000555: 26,2546 17573 CADR R02BOTH
033103,000556: 26,2547 06006 TC INTPRET
Page 755 |
033105,000558: 26,2550 45014 BON CALRB
033106,000559: 26,2551 00716 AVEGFLAG # IS AVERAGEG ON
033107,000560: 26,2552 54603 S61.1A # YES
033108,000561: 26,2553 27570 MIDTOAV2 # GET FUTURE STATE VECTOR SOON AS CAN
033109,000562:
033110,000563: 26,2554 30155 CA MPAC +1 # RETURN INHINTED ***
033111,000564: 26,2555 55774 TS S61DT # FOR RESTART.
033112,000565: 26,2556 05140 TC WAITLIST
033113,000566: 26,2557 E7,1431 EBANK= DVCNTR
033114,000567: 26,2557 02564 54067 2CADR S61.1C
033115,000568: 26,2561 05301 TC PHASCHNG
033116,000569: 26,2562 40434 OCT 40434
033117,000570: 26,2563 05112 TC ENDOFJOB
033118,000571:
033119,000572: 26,2564 34760 S61.1C CA PRIO13
033120,000573: 26,2565 05042 TC FINDVAC
033121,000574: 26,2566 E6,1661 EBANK= AOG
033122,000575: 26,2566 02602 54066 2CADR S61.1A -1
033123,000576:
033124,000577: 26,2570 00006 EXTEND
033125,000578: 26,2571 32642 DCA SERVCAD1 # HE WHO STARTS AVERAGEG MUST SERVICE
033126,000579: 26,2572 53223 DXCH AVEGEXIT # THE EXIT.
033127,000580:
033128,000581: 26,2573 05261 TC 2PHSCHNG
033129,000582: 26,2574 00454 OCT 00454
033130,000583: 26,2575 00415 OCT 00415
033131,000584:
033132,000585: 26,2576 34753 CA EBENTRY # SET EB= 7 FOR PREREAD.
033133,000586: 26,2577 54003 TS EBANK
033134,000587:
033135,000588: 26,2600 04574 TC POSTJUMP
033136,000589: 26,2601 76604 CADR PREREAD # PREREAD DOES TC TASKOVER.
033137,000590:
033138,000591: 26,2602 06006 TC INTPRET
033139,000592: 26,2603 77204 S61.1A BOVB VLOAD
033140,000593: 26,2604 57314 TCDANZIG # TURN OFF OVFIND, IF ON
033141,000594: 26,2605 01177 VN # VN (-7) M/CS
033142,000595: 26,2606 64235 VXV MXV
033143,000596: 26,2607 01171 RN # RN (-29) M
033144,000597: 26,2610 01736 REFSMMAT # .5 UNIT MATRIX
033145,000598: 26,2611 71256 UNIT DLOAD
033146,000599: 26,2612 00160 MPAC +3 # GET COS(THETA)/2
033147,000600: 26,2613 43240 BMN DAD
033148,000601: 26,2614 54621 S61.1B # DO TEST ON -YSM
033149,000602: 26,2615 14644 C(30)LIM # = 1.0 -.5 COS(30)
033150,000603: 26,2616 47004 BOVB RTB
033151,000604: 26,2617 54640 RETRN1
033152,000605: 26,2620 54625 RETRN3
Page 756 |
033154,000607: 26,2621 43276 S61.1B DCOMP DAD
033155,000608: 26,2622 14644 C(30)LIM # = 1.0- .5 COS(30)
033156,000609: 26,2623 77404 BOVB EXIT
033157,000610: 26,2624 54630 RETRN2
033158,000611:
033159,000612: 26,2625 05537 RETRN3 TC ALARM
033160,000613: 26,2626 01426 OCT 01426 # IMU UNSATISFACTORY
033161,000614: 26,2627 02632 TC RETRN2 +2
033162,000615:
033163,000616: 26,2630 05537 RETRN2 TC ALARM
033164,000617: 26,2631 01427 OCT 01427 # IMU REVERSED
033165,000618:
033166,000619: 26,2632 34743 +2 CAF V05N09
033167,000620: 26,2633 04555 TC BANKCALL
033168,000621: 26,2634 20602 CADR GODSPR # DO DISPLAY
033169,000622: 26,2635 32645 CA 10SECS
033170,000623: 26,2636 04555 TC BANKCALL
033171,000624: 26,2637 01730 CADR DELAYJOB
033172,000625:
033173,000626: 26,2640 01773 RETRN1 TC 60GENRET
033174,000627:
033175,000628: 26,2641 E7,1431 EBANK= DVCNTR
033176,000629: 26,2641 03136 76067 SERVCAD1 2CADR SERVEXIT
033177,000630: 26,2643 22111 17335 C(30)LIM 2DEC .566985 # = 1.0 - .5 COS(30)
033178,000631: 26,2645 01750 10SECS DEC 1000 B-14 # 1000 CS
033179,000632: 26,2646 00000 13560 60SECDP 2DEC 6000 B-28 # 6000 CS
033180,000633:
Page 757 |
033182,000635: # PROGRAM NAME: S61.2 DATE: 14 FEB 67
033183,000636: # MOD NO: 1 LOG SECTION: P61-P67
033184,000637: # MOD BY: MORTH / BAIRNSFATHER
033185,000638: # MOD NO: 2 MOD BY: MORTH/BAIRNSFATHER DATE: 11 MAY 67 ADD 2ND ITER FOR ERAD AT 400K FT.
033186,000639: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 21 NOV 67 VARIABLE MU ADDED.
033187,000640: # MOD NO: 4 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 68 DIFFERENT EARTH/MOON SCALES IN TFF'S
033188,000641: # FUNCTIONAL DESCRIPTION: CALLED BY P61. PROVIDES DISPLAYS FOR NOUNS N60 AND N63 .
033189,000642: # PROGRAM CALCULATES ENTRY DISPLAY OF MAXIMUM ACCELERATION EXPECTED (GMAX) AND ALSO THE EXPECTED
033190,000643: # INERTIAL VELOCITY (VPRED) AND ENTRY ANGLE (GAMMAEI) THAT WILL OBTAIN AT 400K FT ABOVE THE FISCHER
033191,000644: # ELLIPSOID. PROGRAM ALSO CALCULATES A SECOND DISPLAY RELATIVE TO THE EMSALT ABOVE FISCHER ELLIPSOID
033192,000645: # AND CONSISTS OF RANGE TO SPLASH FROM NOW (RTGO) , PREDICTED INERTIAL VELOCITY (VIO) , AND THE TIME TO
033193,000646: # GO FROM NOW (TTE) .
033194,000647: # CALLING SEQUENCE: CALL
033195,000648: # S61.2
033196,000649: # C(MPAC) UNSPECIFIED
033197,000650: # PUSHLOC WILL BE SET TO ZERO.
033198,000651:
033199,000652: # SUBROUTINES CALLED: TFFCONIC, CALCTFF, TFF/TRIG, FISHCALC, GETERAD, VGAMCALC
033200,000653: # NORMAL EXIT MODES: RTB P61.1
033201,000654: # ALARMS: NONE
033202,000655: # OUTPUT: THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
033203,000656: # GMAX 100 GMAX (-14) G,S MAXIMUM ACCELERATION
033204,000657: # VPRED (-7) M/CS PREDICTED VELOCITY AT 400K FT
033205,000658: # GAMMAEI GAMMA/360 PREDICTED GAMMA AT 400K FT
033206,000659: # FOR TM, DP(GAMMAEI) = (GAMMAEI, RTGO) / 360
033207,000660: # RTGO THETAH/360 RANGE ANGLE TO SPLASH FROM EMSALT EMSALT IS PAD LOADED
033208,000661: # VIO (-7) M/CS INERTIAL VELOCITY AT EMSALT EMSALT IS PAD LOADED
033209,000662: # TTE (-28) CS TIME TO EMSALT EMSALT IS PAD LOADED
033210,000663:
033211,000664: # PUSHLOC = 0
033212,000665: # CONIC PARAMETERS STORED IN VAC AREA (SEE TFF SUBROUTINES)
033213,000666: # ERASABLE INITIALIZATION REQUIRED:
033214,000667: # RONE (-29) M STATE VECTOR LEFT BY USER
033215,000668: # VONE (-7) M/CS STATE VECTOR LEFT BY USER
033216,000669: # URONE UR/2 LEFT BY USER
033217,000670: # UNI (-1) UNIT NORMAL V*R LEFT BY ENTRY / P61
033218,000671: # THETAH THETAH/360 RANGE ANGLE LEFT BY ENTRY / P61
033219,000672: # UNITW (0) UNIT POLAR VECTOR LEFT BY PAD LOAD
033220,000673: # EMSALT (-29) M EMS INTERFACE ALTITUDE LEFT BY PAD LOAD
033221,000674: # ORBITAL REENTRY: 284643 FT, LUNAR REENTRY: 297431 FT.
033222,000675: # DEBRIS: QPRET,
033223,000676: # ALL PDL LOCATIONS ABOVE 12D, INCLUDING X1,X2,S1,S2
033224,000677: # ALSO PDL+0 ... PDL+5, WHERE INITIAL PUSHLOC = PDL
033225,000678:
Page 758 |
033227,000680:
033228,000681:
033229,000682: # THE FOLLOWING PUSH LIST LOCATIONS HAVE BEEN RESERVED FOR TFF ROUTINES AND ARE REPEATED HERE FOR CONVENIENCE.
033230,000683:
033231,000684: # OF COURSE FOR S61.2 USAGE, EARTH ORIGIN SCALING IS USED.
033232,000685:
033233,000686: # BELOW E: IS USED FOR EARTH ORIGIN SCALE
033234,000687: # M: IS USED FOR MOON ORIGIN SCALE
033235,000688:
033236,000689: # RTERM = 18D TERMINAL RADIUS M E: (-29) M: (-27)
033237,000690: # NRTERM = 16D TERMINAL RADIUS M E: (-29+NR)
033238,000691: # M: (-27+NR)
033239,000692: # RMAG1 = 12D PRESENT RADIUS M E: (-29) M: (-27)
033240,000693: # NRMAG = 32D PRESENT RADIUS M E: (-29+NR)
033241,000694: # M: (-27+NR)
033242,000695: # SDELF/2 SIN(THETA) /2
033243,000696: # CDELF/2 = 14D COS(THETA) /2
033244,000697: # TFFX = 34D X, ARGUMENT OF SERIES T(X).
033245,000698: # TFFTEM = 36D ARG FOR TRANSFER ANGLE CALCULATION.
033246,000699: # TFFNP = 28D LC P M E: (-38+2NR) M: (-36+2NR)
033247,000700: # TFF/RTMU = 30D 1/SQRT(MU) E: (17) M: (14)
033248,000701: # TFFVSQ = 20D -(VN.VN/MU) 1/M E: (20) M: (18)
033249,000702:
Page 759 |
033251,000704: 34,3654 BANK 34
033252,000705: 26,2000 SETLOC P60S2
033253,000706: 26,2000 BANK
033254,000707:
033255,000708: 26,2650 COUNT* $$/S61.2
033256,000709:
033257,000710: # PDL LEFT AT ZERO BY TARGETNG
033258,000711:
033259,000712: 26,2650 45345 S61.2 DLOAD DSU
033260,000713: 26,2651 02020 EMSALT
033261,000714: 26,2652 15000 290KFT
033262,000715: 26,2653 71244 BPL DLOAD
033263,000716: 26,2654 54774 LUNENT
033264,000717: 26,2655 17316 1/RTMU # ESTABLISH MU FOR ORBITAL ENTRIES
033265,000718: 26,2656 77624 CALLCON CALL
033266,000719: 26,2657 56721 TFFCONIC # FILL VAC AREA WITH CONIC PARAMETERS
033267,000720:
033268,000721: 26,2660 45145 DLOAD CALL
033269,000722: 26,2661 15020 RTRIAL # 1ST GUESS AT TERMINAL RADIUS (-29)
033270,000723: 26,2662 57031 CALCTFF # SAVES MPAC IN RTERM (18D)
033271,000724:
033272,000725: 26,2663 77624 CALL # CALC SDELF/2, CDELF/2
033273,000726: 26,2664 56573 TFF/TRIG # RETURN WITH S(THETA) IN MPAC
033274,000727:
033275,000728: 26,2665 77624 CALL # GET FISCHER RADIUS (-29) M
033276,000729: 26,2666 55027 FISHCALC # ANS IN MPAC AND IN ERADM.
033277,000730:
033278,000731: 26,2667 45015 DAD CALL
033279,000732: 26,2670 02020 EMSALT
033280,000733: 26,2671 57031 CALCTFF # SAVES MPAC IN RTERM (18D)
033281,000734:
033282,000735: 26,2672 77676 DCOMP # NEGATIVE AS IN COUNTDOWN.
033283,000736: 26,2673 03733 STORE TTE1 # DECR TTE FROM BASE TTE1. (RESTART)
033284,000737: # DNLIST AND DSKY WILL USE TTE.
033285,000738: 26,2674 37727 STCALL TTE # LET MISS CONTRL DECR BY ELAPSED TIME
033286,000739: # TTE= TIME FROM NOW TO EMSALT +FISCHER
033287,000740:
033288,000741: 26,2675 56573 TFF/TRIG # S(THETA) IN MPAC ON RETURNING
033289,000742: # AND THETA= RANGE FROM NOW TO EMSALT
033290,000743:
033291,000744: 26,2676 77624 CALL
033292,000745: 26,2677 55027 FISHCALC
033293,000746: 26,2700 77624 CALL
033294,000747: 26,2701 56626 VRCALC
033295,000748: 26,2702 77624 CALL
033296,000749: 26,2703 56613 DISPTARG
033297,000750: 26,2704 77624 CALL
033298,000751: 26,2705 56613 DISPTARG
033299,000752: 26,2706 37714 STCALL RTGO
Page 760 |
033301,000754: 26,2707 55050 VGAMCALC
033302,000755:
033303,000756: 26,2710 77605 DMP # MPAC = GAMMA
033304,000757: # PDL0 HAS VGAM.
033305,000758: 26,2711 43265 BDDV DAD
033306,000759: 26,2712 15026 VEMSCON # -HS D 180/PI (-14)
033307,000760: 26,2713 00001 0 # VGAM FROM PDL0.
033308,000761: 26,2714 17725 STODL VIO # PREDICTED VELOCITY AT EMSALT.
033309,000762:
033310,000763: # GAMMA AND VGAM AT 300K FT ARE REQUIRED BY GMAX
033311,000764: # ALGORITHM.
033312,000765:
033313,000766: 26,2715 02241 ERADM # EARTH RADIUS FROM GETERAD (-29) M
033314,000767: # = FISCHER RADIUS (-29)
033315,000768: 26,2716 77615 DAD
033316,000769: 26,2717 06462 300KFT # M (-29)
033317,000770: 26,2720 34023 STCALL RTERM # TERMINAL RADIUS M (-29)
033318,000771:
033319,000772: 26,2721 55045 PREVGAM # VGAMCALC WITH NEW RTERM
033320,000773:
033321,000774: # VBAR = (V(FPS) - 36KF/S) / 20KF/S
033322,000775: # GMAX = (4/(1+ 4.8 VBARSQ))(GAM -6.05 -2.4 VBARSQ) -10(L/D -.3) + 10 ASSUME L/D = 0.3, BANK =0.
033323,000776:
033324,000777:
033325,000778: # GMAXCALC
033326,000779: 26,2722 45325 PDDL DSU # GAM TO PDL2
033327,000780: 26,2723 00001 0 # VGAM IS IN PDL0 (-7)
033328,000781: 26,2724 15004 36KFT/S # (-7) M/CS
033329,000782: 26,2725 63471 DDV DSQ
033330,000783: 26,2726 15006 20KFT/S # (-6) M/CS
033331,000784: 26,2727 00001 STORE 0 # VBARSQ (-2) TO PDL0
033332,000785:
033333,000786: 26,2730 43205 DMP DAD
033334,000787: 26,2731 15010 KR1
033335,000788: # GAM, POS DOWN, FROM PDL2
033336,000789: 26,2732 41215 DAD DMP
033337,000790: 26,2733 15012 -6.05DEG
033338,000791: 26,2734 15014 KR2
033339,000792: 26,2735 77725 PDDL # XCH PDL+0 FOR VBARSQ (-2)
033340,000793: 26,2736 43271 DDV DAD
033341,000794: 26,2737 15024 KR4
033342,000795: 26,2740 17330 DP2(-4)
033343,000796: 26,2741 77665 BDDV
033344,000797: # NUM FROM PDL+0
033345,000798: 26,2742 51015 DAD BPL
033346,000799: 26,2743 15016 KR3
033347,000800: 26,2744 54747 +3
033348,000801: 26,2745 77745 DLOAD
033349,000802: 26,2746 15332 HI6ZEROS
033350,000803: 26,2747 17722 STODL GMAX # 100 GMAX (-14)
Page 761 |
033352,000805: # DISPLAY USES GMAX AS SP, SO LO WORD IS WRITTEN OVER BY VPRED.
033353,000806:
033354,000807: 26,2750 02241 ERADM # = FISCHER RADIUS (-29) M
033355,000808: 26,2751 45015 DAD CALL # 2 ND ITERATION FOR FISCHER RADIUS
033356,000809: 26,2752 15022 400KFT
033357,000810: 26,2753 57031 CALCTFF # ESTABLISH TRANSFER ANGLE DATA.
033358,000811: 26,2754 77624 CALL
033359,000812: 26,2755 56573 TFF/TRIG # GET SIN, COS DELF
033360,000813: 26,2756 77624 CALL
033361,000814: 26,2757 55027 FISHCALC # GET CORRESPONDING FISCHER RADIUS.
033362,000815:
033363,000816: 26,2760 73015 DAD LXA,2 # SAVE HI-WORD FOR DOWNLIST.
033364,000817: 26,2761 15022 400KFT # M (-29)
033365,000818: 26,2762 03713 RTGO # (RANGE ANGLE FROM EMSALT)/360
033366,000819: 26,2763 34023 STCALL RTERM
033367,000820: 26,2764 55045 PREVGAM # VGAMCALC WITH NEW RTERM
033368,000821:
033369,000822: 26,2765 67076 DCOMP SXA,2 # HI-WORD OF EACH ON DOWNLIST.
033370,000823: 26,2766 00155 MPAC +1
033371,000824: 26,2767 17771 STODL GAMMAEI # CONIC GAMMA/360 AT 400K FT. ( HI-WORD)
033372,000825: # CONIC RTGO/360 FROM EMSALT (LOW-WORD)
033373,000826: # FOR TM, DP(GAMMAEI)= (GAMMA, RTGO)/360
033374,000827:
033375,000828: # VGAM FROM PDL+0 (-7)
033376,000829: 26,2770 77626 STADR
033377,000830: 26,2771 74010 STORE VPRED # CONIC VELOCITY AT 400K FT
033378,000831:
033379,000832: 26,2772 77634 RTB
033380,000833: 26,2773 54267 P61.1
033381,000834: # PDL BACK TO ZERO.
033382,000835:
033383,000836: 26,2774 52145 LUNENT DLOAD GOTO
033384,000837: 26,2775 06456 1/RTMUE # ESTABLISH MU FOR LUNAR TYPE ENTRIES
033385,000838: 26,2776 54656 CALLCON
033386,000839: 26,2777 00002 26244 290KFT 2DEC 88392 B-29
033387,000840: 26,3001 00052 05716 KTETA1 2DEC* .421844723 E2 B-14* # 1100 2PI/16384(163.84)
033388,000841: 26,3003 33335 05707 36KFT/S 2DEC 109.728 B-7 # (-7) M/CS = 36 KFT/S (-7)
033389,000842: 26,3005 36365 30244 20KFT/S 2DEC 121.92 B-7 # (-6) M/CS = 2 20KFT/S (-7)
033390,000843: 26,3007 77113 42770 KR1 2DEC -.026666667 # = -2.4 4 / 360
033391,000844: 26,3011 77354 65030 -6.05DEG 2DEC -.016805556 # = -6.05 / 360
033392,000845: 26,3013 21450 00001 KR2 2DEC .54931641 # =(360/4) 100 (-14) = 9000 B-14
033393,000846: 26,3015 01750 00000 KR3 2DEC 1000 B-14 # = 100 (10.0) (-14) G,S
Page 762 |
033395,000848: # ASSUMES L/D = 0.3, BANK =0.
033396,000849: 26,3017 00305 04541 RTRIAL 2DEC 6460097.18 B-29 # RPAD +284643 FT =21 194 545 FT
033397,000850: # RPAD DEFINED AS 20 909 901.57 FT =6 373 338 M
033398,000851: 26,3021 00003 27040 400KFT 2DEC 121920 B-29 # METERS
033399,000852:
033400,000853: # 300KFT 2DEC 91440 B-29 (-29) M
033401,000854:
033402,000855: # EMSALT 2DEC 86759.2 B-29 284643 FT (-29) M (ORBITAL REENTRY)
033403,000856:
033404,000857: # EMSALT 2DEC 90657 B-29 297431 FT (-29) M (LUNAR REENTRY)
033405,000858:
033406,000859: 26,3023 32525 12525 KR4 2DEC .833333333
033407,000860: 26,3025 23,2461 300KFT EQUALS MINPERE
033408,000861: 26,3025 77777 76601 VEMSCON 2DEC -.0389676 B-14 # = -HS D /2 PI (-14) M SQ/ CS SQ
033409,000862: # =- 16369 .05G 32.2 .3048 .3048/2 PI (-14)
033410,000863:
Page 763 |
033412,000865: # SUBROUTINE NAME: FISHCALC (USED BY S61.2) DATE: 01.21.67
033413,000866: # MOD NO: 0 LOG SECTION: P61-P67
033414,000867: # MOD BY: MORTH / BAIRNSFATHER
033415,000868: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 11 MAY 67 INCLUDE GETERAD CALL
033416,000869: # FUNCTIONAL DESCRIPTION: GIVEN THE PRESENT POSITION, UNITR, CALCULATE A NEW UNITR THAT IS ROTATED THROUGH
033417,000870: # TRANSFER ANGLE, THETA, ALONG TRAJECTORY. THEN CALCULATE SIN(LAT) AND USE TO OBTAIN FISCHER RADIUS.
033418,000871:
033419,000872: # SINCE FISHCALC USES UNI (LEFT BY ENTRY) EARTH SCALING IS ASSUMED.(WILL IMPROVE FOR SUITABLE TENNANT)
033420,000873:
033421,000874: # CALLING SEQUENCE: CALL
033422,000875: # FISHCALC
033423,000876: # ENTER WITH .5 SIN(THETA) IN MPAC.
033424,000877: # PUSHLOC IS AT PDL+0, AN ARBITRARY BASE VALUE IF LEQ 8D
033425,000878:
033426,000879: # SUBROUTINES CALLED: GETERAD
033427,000880: # NORMAL EXIT MODE: RVQ
033428,000881: # EXIT MODES: NONE
033429,000882: # OUTPUT: ERADM (-29) M IN MPAC ON RETURNING
033430,000883: # NEW UNIT VECTOR NOT SAVED.
033431,000884: # SIN(LAT) NOT SAVED.
033432,000885: # PUSHLOC AT PDL+0
033433,000886: # ERASEABLE INITIALIZATION REQUIRED:
033434,000887: # SDELF/2 =SIN(THETA) /2, IN MPAC LEFT BY TFF/TRIG
033435,000888: # CDELF/2 =COS(THETA) /2, STORED IN PDL 14D LEFT BY TFF/TRIG
033436,000889: # RONE (-29) M LEFT BY USER
033437,000890: # VONE (-7) M/CS LEFT BY USER
033438,000891: # URONE UR/2 LEFT BY USER
033439,000892: # UNI .5 UNIT( V*R) LEFT BY ENTRY / P61
033440,000893: # UNITW UNIT NORTH POLE LEFT BY PAD LOAD
033441,000894: # DEBRIS: QPRET, PDL+0 ... PDL+5
033442,000895:
033443,000896:
033444,000897: # - - -
033445,000898: 26,3027 47315 FISHCALC PDVL VXV # URPR = UR CDELF + UHOR SDELF
033446,000899: 26,3030 02343 URONE
033447,000900: 26,3031 03502 UNI
033448,000901: 26,3032 76561 VXSC VSL1
033449,000902: # SIN(THETA) /2 FROM PDL+0
033450,000903: 26,3033 74315 PDVL VXSC # TO PDL+0, +5
033451,000904: 26,3034 02343 URONE
033452,000905: 26,3035 00017 CDELF/2 # COS(THETA) /2
033453,000906: 26,3036 45455 VAD STADR
033454,000907: 26,3037 74235 STORE URH # FOR USE IN RTGO FROM EMS DISPLAY
033455,000908: 26,3040 72441 DOT SL1
033456,000909: 26,3041 01714 UNITW # FULL UNIT VECTOR UNIT NORTH
033457,000910: 26,3042 02156 STORE ALPHAV +4 # = .5 SIN(LAT)
033458,000911: 26,3043 77650 DUMPFISH GOTO
033459,000912: 26,3044 26437 GETERAD # SAVES FISCHER RAD (-29) M IN ERADM AND
033460,000913: # IN MPAC. RETURNS TO CALLER VIQ QPRET.
033461,000914:
Page 764 |
033463,000916: # SUBROUTINE NAME: VGAMCALC (USED BY S61.2) DATE: 01.21.67
033464,000917: # MOD NO: 0 LOG SECTION: P61-P67
033465,000918: # MOD BY: MORTH / BAIRNSFATHER
033466,000919: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 11 APR 67
033467,000920: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 21 NOV 67 VARIABLE MU ADDED.
033468,000921: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 68 ACCEPT DIFFERENT EARTH/MOON SCALE
033469,000922: # FUNCTIONAL DESCRIPTION: EARTH CENTERED VIS VIVA CALCULATION OF TERMINAL VELOCITY AND GAMMA (REL TO
033470,000923: # HORIZONTAL) GIVEN THE SCALAR QUANTITIES: PRESENT RADIUS AND VELOCITY AND THE TERMINAL RADIUS.
033471,000924: # THE USER MUST APPEND PROPER SIGN TO GAMMA, SINCE IT IS CALCULATED AS A POSITIVE NUMBER.
033472,000925: # THE EQUATIONS ARE
033473,000926:
033474,000927: # VGAM = SQRT(VN VN/MU + 2(RN-RTERM)/(RN RTERM) ) RTMU
033475,000928:
033476,000929: # COSGAM = H /RTERM VGAM = SQRT(LCP)/ (RTERM VGAM/RTMU)
033477,000930:
033478,000931:
033479,000932: # VGAMCALC ASSUMES THAT THE TERMINAL RADIUS IS LESS THAN THE PRESENT RADIUS. BOTH CALCTFF AND CALCTPER
033480,000933: # MAKE THIS ASSUMPTION.
033481,000934:
033482,000935: # CALLING SEQUENCE: CALL STCALL RTERM
033483,000936: # VGAMCALC PREVGAM
033484,000937: # PUSHLOC AT PDL+0, ARBITRARY IF LEQ 12D
033485,000938: # C(MPAC) UNSPECIFIED C(MPAC)=NEW RTERM
033486,000939:
033487,000940: # SUBROUTINES CALLED: NONE
033488,000941: # NORMAL EXIT MODE: RVQ
033489,000942: # ALARMS: NONE
033490,000943: # OUTPUT: GAMMA / 360 IN MPAC, POSITIVE NUMBER
033491,000944: # VGAM E:(-7) M:(-5) M/CS IN PDL+0
033492,000945: # PUSHLOC AT PDL+2
033493,000946: # ERASABLE INITIALIZATION REQD:
033494,000947: # TFF/RTMU E:(17) M:(14) 1/SQRT(MU) LEFT BY TFFCONIC.
033495,000948: # RMAG1 E:(-29) M:(-27) M PRESENT RADIUS LENGTH LEFT BY TFFCONIC
033496,000949: # NRMAG E: (-29+NR) M NORM LENGTH OF PRESENT POSITION LEFT BY TFFCONIC
033497,000950: # M: (-27+NR)
033498,000951: # RTERM E:(-29) M:(-27) M TERMINAL RADIUS LENGTH LEFT BY CALCTFF
033499,000952: # NRTERM E: (-29+NR) M NORM LENGTH OF TERMINAL RADIUS LEFT BY CALCTFF
033500,000953: # M: (-27+NR)
033501,000954: # TFFVSQ E:(20) M:(18) 1/M -(V SQ/MU): PRESENT VELOCITY,NORM LEFT BY TFFCONIC
033502,000955: # TFFNP E: (-38+2NR) M LCP, SEMI-LATUS RECTUM, WEIGHT NR LEFT BY TFFCONIC
033503,000956: # M: (-36+2NR)
033504,000957: # DEBRIS: QPRET, PDL+0 ... PDL+3
033505,000958: # RTERM, NRTERM IF PREVGAM ENTERED.
033506,000959:
Page 765 |
033508,000961: 26,3045 77657 PREVGAM SL* # ENTER WITH NEW RTERM IN MPAC
033509,000962: # E: (-29) M: (-27)
033510,000963: 26,3046 20201 0,1 # X1 = -NR
033511,000964: 26,3047 00021 STORE NRTERM # RTERM M E:(-29+NR) M: (-27+NR)
033512,000965:
033513,000966: 26,3050 41345 VGAMCALC DLOAD DMP
033514,000967: 26,3051 00041 NRMAG # RMAG M E:(-29+NR) M:(-27+NR)
033515,000968: 26,3052 00021 NRTERM # RTERM M E:(-29+NR) M:(-27+NR)
033516,000969: 26,3053 45325 PDDL DSU # RMAG RTERM M E:(-58+2NR) M:(-54+2NR)
033517,000970: 26,3054 00041 NRMAG # RMAG M E:(-29+NR) M:(-27+NR)
033518,000971: 26,3055 00021 NRTERM # RTERM M E:(-29+NR) M:(-27+NR)
033519,000972: 26,3056 56257 SL* DDV # 2(RN-RTERM) E:(-30+NR) M:(-28+NR)
033520,000973: 26,3057 20171 0 -8D,1 # (-8+NR)
033521,000974: # PUSH UP PRODUCT.
033522,000975: 26,3060 77625 DSU
033523,000976: 26,3061 00025 TFFVSQ # -(V SQ/MU) E: (20) M: (18)
033524,000977: 26,3062 41566 SQRT PUSH # SAVE VGAM/RT(MU) FOR NOW. E:(10) M: (9)
033525,000978: 26,3063 65271 DDV PDDL # XCH PDL+0, LEAVING VGAM FOR OUTPUT.
033526,000979: # VGAM TO PDL M/CS E: (-7) M: (-2)
033527,000980: 26,3064 00037 TFF/RTMU # E: (17) M: (14)
033528,000981: 26,3065 65205 DMP PDDL # RTERM VGAM/RTMU E:(-19+NR) M:(-18+NR)
033529,000982: 26,3066 00021 NRTERM # RTERM M E:(-29+NR) M:(-27+NR)
033530,000983: 26,3067 00035 TFFNP # LC P =H.H/MU M E:(-38+2NR) M:(-36+2NR)
033531,000984: 26,3070 56366 SQRT DDV # E:(-19+NR) M:(-18+NR)
033532,000985: # PUSH UP DEN E:(-19+NR) M:(-18+NR)
033533,000986: # USE DDV OVFL AS LIMITER (|COS| <1.0)
033534,000987: 26,3071 65542 SR1 ACOS
033535,000988: 26,3072 77616 DUMPVGAM RVQ
033536,000989:
033537,000990: # CALLER MUST SUPPLY OWN SIGN ...
033538,000991:
033539,000992: # 22W 27MS
033540,000993:
Page 766 |
033542,000995: # SUBROUTINE NAME: TFF/TRIG (USED BY S61.2) DATE 01.17.67
033543,000996: # MOD NO: 0 LOG SECTION: P61-P67
033544,000997: # MOD BY: RR BAIRNSFATHER
033545,000998: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 14 APR 67
033546,000999: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 68 ACCEPT DIFFERENT EARTH/MOON SCALE
033547,001000: # FUNCTIONAL DESCRIPTION: USED BY ENTRY DISPLAY TO CALCULATE SIN(THETA), COS(THETA) FROM DATA LEFT IN
033548,001001: # PDL BY TFF SUBROUTINES. THE EQNS ARE
033549,001002: # COS(THETA) = 1-2 ABS(ARG) /(RN RTERM (1+X) )
033550,001003: # 2
033551,001004: # SIN(THETA) = SGN(ARG) SQRT(1-COS (THETA) )
033552,001005: # WHERE THETA = TRANSFER ANGLE
033553,001006: # AND ARG = P Z ABS(Z) IF ALFA ZZ LEQ 1
033554,001007: # ARG = (P / ALFA) SGN(Q1 + R 1/Z) IF ALFA Z Z G 1
033555,001008: # AND ARG HAS BEEN AFFIXED WITH THE SIGN OF SIN(THETA).
033556,001009: # CALLING SEQUENCE: CALL
033557,001010: # TFF/TRIG
033558,001011: # PUSHLOC AT PDL+0, ARBITRARY IF NOT EQ 14D
033559,001012: # C(MPAC) UNSPECIFIED
033560,001013:
033561,001014: # SUBROUTINES CALLED: NONE
033562,001015: # NORMAL EXIT MODES: RVQ
033563,001016: # ALARMS: NONE
033564,001017: # OUTPUT: C(MPAC) = .5 SIN(THETA)
033565,001018: # CDELF/2 = .5 COS(THETA) (IN PDL 14D)
033566,001019: # PUSHLOC AT PDL+0
033567,001020: # ERASABLE INITIALIZATION REQUIRED:
033568,001021: # TFFX X LEFT BY CALCTFF OR CALCTPER
033569,001022: # TFFTEM E: (-59+2NR) ARG LEFT BY CALCTFF OR CALCTPER
033570,001023: # M: (-55+2NR) WHERE ARG = LCP ZZ SGN(DELF) OR ARG = LCP/ALFA SGN(DELF)
033571,001024: # NRTERM E: (-29+NR) M NORM LENGTH OF TERMINAL RADIUS LEFT BY CALCTFF OR CALCTPER
033572,001025: # M: (-27+NR)
033573,001026: # NRMAG E: (-29+NR) M NORM LENGTH OF PRESENT POSITION LEFT BY TFFCONIC
033574,001027: # M: (-27+NR)
033575,001028: # DEBRIS: QPRET, CDELF/2
033576,001029:
033577,001030: 27,2573 BANK 27
033578,001031: 27,2000 SETLOC P60S5
033579,001032: 27,2000 BANK
033580,001033: 27,2573 70545 TFF/TRIG DLOAD SR1
033581,001034: 27,2574 00043 TFFX
033582,001035: 27,2575 41215 DAD DMP
033583,001036: 27,2576 15330 HIDPHALF
033584,001037: 27,2577 00041 NRMAG # RMAG M E:(-29+NR) M:(-27+NR)
033585,001038: 27,2600 55205 DMP BDDV
033586,001039: 27,2601 00021 NRTERM # RTERM M E:(-29+NR) M:(-27+NR)
033587,001040: 27,2602 00045 TFFTEM # P ZSQ OR P/ALFA E:(-59+2NR) M:(-55+2NR)
033588,001041: 27,2603 44246 ABS BDSU # THE SIGN IS FOR SDELF.
033589,001042: 27,2604 15330 HIDPHALF
033590,001043: 27,2605 00017 STORE CDELF/2 # .5 COS(THETA)
033591,001044: 27,2606 57516 DSQ DCOMP # KEEP HONEST FOR SQRT.
Page 767 |
033593,001046: 27,2607 75415 DAD SQRT
033594,001047: 27,2610 15322 HIDP1/4
033595,001048: 27,2611 43565 DUMPTRIG SIGN RVQ
033596,001049: 27,2612 00045 TFFTEM # AFFIX SIGN(DELE/2)
033597,001050: # RETURN WITH .5 SIN(THETA) IN MPAC
033598,001051:
033599,001052: # 16W 15 MS
033600,001053:
033601,001054: 27,2613 77620 DISPTARG STQ # C(MPAC) = TRGO ESTIMATE
033602,001055: 27,2614 03373 60GENRET
033603,001056: 27,2615 45205 DMP DSU
033604,001057: 27,2616 15002 KTETA1
033605,001058: 27,2617 03733 TTE1
033606,001059: 27,2620 37606 STCALL DTEAROT
033607,001060: 27,2621 46225 EARROT2
033608,001061: 27,2622 77624 CALL
033609,001062: 27,2623 56626 VRCALC
033610,001063: 27,2624 77650 GOTO
033611,001064: 27,2625 03373 60GENRET
033612,001065: 27,2626 50375 VRCALC VLOAD DOT
033613,001066: 27,2627 03542 URH
033614,001067: 27,2630 03474 RT
033615,001068: 27,2631 65512 SL2 ACOS
033616,001069: 27,2632 77616 RVQ
033617,001070: # END OF PROGRAM S61.2
033618,001071:
Page 768 |
033620,001073:
033621,001074: # PROGRAM DESCRIPTION S62.3 DATE 10JAN67
033622,001075: # MOD NO 1 LOG SECTION P60-P67
033623,001076: # MOD BY ZELDIN
033624,001077: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 15 MAY 67 CHANGED TO REF COORDS.
033625,001078: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 ALFAPAD CHANGES MADE.
033626,001079: # FUNCTIONAL DESCRIPTION
033627,001080: # COMPUTE DESIRED GIMBOL ANGLES FOR ENTRY ATTITUDE
033628,001081: # THE FOLLOWING TRAJECTORY TRIAD IS AVAILABLE IN MEMORY AND IS COMPUTED EACH 2 SECONDS BY CM/POSE IN
033629,001082: # REFERENCE COORDINATES (V = VELOCITY RELATIVE TO EARTH) :
033630,001083:
033631,001084: # UXA = -UNIT(V)
033632,001085: # UYA = UNIT(V*R)
033633,001086: # UZA = UXA*UYA
033634,001087:
033635,001088: # GENERATE A DESIRED BODY TRIAD FOR TRIMMED FLIGHT WITH RESPECT TO THE RELATIVE VELOCITY VECTOR, USING
033636,001089: # ROLL COMMAND AND TRIM ANGLE OF ATTACK:
033637,001090:
033638,001091: # UXD = UNIT(UYD*UXA) SIN(ALFATRIM) + UXA COS(ALFATRIM)
033639,001092: # UYD = UYA COS(ROLLC) + UZA SIN(ROLLC)
033640,001093: # UZD = UXD * UYD
033641,001094:
033642,001095: # USE THE DESIRED SET (IN REFERENCE COORDS) AND REFSMMAT TO CALL CALCGA AND OBTAIN GIMBAL ANGLES
033643,001096: # IN 2S,C IN MPAC, +2 AND THETAD, +2.
033644,001097:
033645,001098: # CALLING SEQUENCE
033646,001099: # L CALL
033647,001100: # L+1 S62.3
033648,001101: # NORMAL EXIT MODE
033649,001102: # RETURN VIA QPRET DIRECTLY FROM CALCGA.
033650,001103: # SUBROUTINES CALLED
033651,001104: # CALCGA
033652,001105: # ALARM OR ABORT MODES
033653,001106: # NONE
033654,001107: # ERASABLE INITIALIZATION REQUIRED
033655,001108: # ROLLC ROLL COMMAND DP 1:S COMP AT 1REV
033656,001109: # ALFAPAD SP 1S,C /180 LEFT BY PAD LOAD ALFATRIM IS NEGATIVE.
033657,001110: # UXA/2 REF COORDS LEFT BY CM/POSE
033658,001111: # UYA/2 REF COORDS LEFT BY CM/POSE
033659,001112: # UZA/2 REF COORDS LEFT BY CM/POSE
033660,001113: # OUTPUT
033661,001114: # CPHI GIMBAL ANGLES (O,I,M) 2:S COMP TP (O,I,M)/180
033662,001115: # DEBRIS
033663,001116: # QTEMP, QPRET,PUSHLIST
033664,001117:
033665,001118: 10,2302 BANK 10
033666,001119: 10,2000 SETLOC P60S4
033667,001120: 10,2000 BANK
033668,001121:
Page 769 |
033670,001123: 10,2302 COUNT* $$/S62.3
033671,001124:
033672,001125: 10,2302 67201 S62.3 SETPD SLOAD
033673,001126: 10,2303 00001 0
033674,001127: 10,2304 03012 ALFAPAD # ALFATRIM /180, ALFA IS NEG.
033675,001128: 10,2305 41542 SR1 PUSH
033676,001129: 10,2306 65346 COS PDDL # XCH PDL, COS TO PDL0
033677,001130: 10,2307 65356 SIN PDDL # SIN TO PDL2
033678,001131: 10,2310 03316 ROLLC
033679,001132: 10,2311 74346 COS VXSC
033680,001133: 10,2312 03550 UYA/2 # REF COORDS
033681,001134: 10,2313 73525 PDDL SIN # PUSH VECTOR INTO PDL4,.9
033682,001135: 10,2314 03316 ROLLC
033683,001136: 10,2315 53361 VXSC VAD
033684,001137: 10,2316 03556 UZA/2 # REF COORDS
033685,001138: # VECTOR FROM PDL4, 9
033686,001139: 10,2317 77772 VSL1
033687,001140: 10,2320 02722 STORE YNB # = UYD REF COORDS
033688,001141:
033689,001142: 10,2321 76435 VXV VSL1
033690,001143: 10,2322 03542 UXA/2 # REF COORDS
033691,001144: 10,2323 65361 VXSC PDDL
033692,001145: # SIN TRIM FROM PDL2
033693,001146: # XCH PDL0 FOR COS TRIM
033694,001147: 10,2324 53361 VXSC VAD
033695,001148: 10,2325 03542 UXA/2 # REF COORDS
033696,001149: # FROM PDL0
033697,001150: 10,2326 77626 STADR
033698,001151: 10,2327 75063 STORE XNB # X SC AXIS (.5 UNIT) REF COORDS
033699,001152:
033700,001153: 10,2330 76435 VXV VSL1
033701,001154: 10,2331 02722 YNB
033702,001155: 10,2332 26730 STOVL ZNB # Z SC IN REF COOR. SCALED AT 2
033703,001156: 10,2333 01736 REFSMMAT
033704,001157: 10,2334 26672 STOVL XSM
033705,001158: 10,2335 01744 REFSMMAT +6
033706,001159: 10,2336 26700 STOVL YSM
033707,001160: 10,2337 01752 REFSMMAT +12D
033708,001161: 10,2340 02706 STORE ZSM
033709,001162:
033710,001163: 10,2341 52014 CLEAR GOTO
033711,001164: 10,2342 00260 CPHIFLAG # CAUSE CALCGA TO STORE ANS IN TP CPHI
033712,001165: 10,2343 47244 CALCGA
033713,001166: # CALCGA WILL RETURN TO ORIGINAL CALLER
033714,001167: # VIA QPRET WITH 2,S COMP. ANGLES IN CPHI
End of include-file P61-P67.agc. Parent file is MAIN.agc