Source Code
These source-code files are part of a reconstructed copy of Artemis 071, the
first release of the Apollo 15 through 17 Command Module (CM) Apollo Guidance
Computer (AGC) software.
The reconstruction began with source code of Artemis 072 previously transcribed from a digitized copy of that program. The code was then updated by undoing changes between the two versions. The reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021154-. Note that page numbers in the reconstructed code match those on the Artemis 072 printout, although the changed code would likely have changed page numbers for a real Artemis 071 listing. Comments from the original source code are prefixed with a single '#' symbol, whereas comments added later are prefixed by "##" or "###". Report any errors noted by creating an issue report at the Virtual AGC project's GitHub repository. |
035155,000002: ## Copyright: Public domain.
035156,000003: ## Filename: P61-P67.agc
035157,000004: ## Purpose: A section of Artemis revision 071.
035158,000005: ## It is part of the reconstructed source code for the first
035159,000006: ## release of the flight software for the Command Module's
035160,000007: ## (CM) Apollo Guidance Computer (AGC) for Apollo 15 through
035161,000008: ## 17. The code has been recreated from a copy of Artemis 072.
035162,000009: ## It has been adapted such that the resulting bugger words
035163,000010: ## exactly match those specified for Artemis 071 in NASA
035164,000011: ## drawing 2021154-, which gives relatively high confidence
035165,000012: ## that the reconstruction is correct.
035166,000013: ## Reference: 792
035167,000014: ## Assembler: yaYUL
035168,000015: ## Contact: Ron Burkey <info@sandroid.org>.
035169,000016: ## Website: www.ibiblio.org/apollo/index.html
035170,000017: ## Mod history: 2019-08-14 MAS Created from Artemis 072.
035171,000018: ## 2021-05-30 ABS DEC -> DEC* for extended address field.
035172,000019:
Page 792 |
035174,000021:
035175,000022: # PROGRAM: P61
035176,000023: # MOD NO.: 0 MAR. 13, 1967
035177,000024: # MOD BY: R. HIRSCHKOP
035178,000025: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 22 JUN 67 RESTARTS.
035179,000026: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP CHANGES.
035180,000027: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 8 MAY 68 DELETE CMSM MANEUVER (PCR 50)
035181,000028: # MOD NO: 4 MOD BY: RR BAIRNSFATHER DATE: 1 JUL 69 PCR 787: TICK TTE
035182,000029: # FUNCTION: TO CALCULATE AND DISPLAY EMS INITIALIZATION DATA
035183,000030: # CALLING SEQUENCE- BY V37
035184,000031: # EXIT- TO P62
035185,000032: # SUBROUTINE CALLS- S61.1 , S61.3 , GOFLASH , FLAGUP , R02BOTH
035186,000033: # ERASABLE INITIALIZATION:
035187,000034: # EMSALT (-29) M .05G ALTITUDE ABOVE FISCHER ELLIPSOID PAD LOADED.
035188,000035: # ALFAPAD /180 HYPERSONIC CM TRIM ANGLE OF ATTACK PAD LOADED
035189,000036: # OUTPUT: THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
035190,000037: # GMAX 100 GMAX (-14) G,S MAXIMUM ACCELERATION
035191,000038: # VPRED (-7) M/CS PREDICTED VELOCITY AT 400K FT
035192,000039: # GAMMAEI GAMMA/360 PREDICTED GAMMA AT 400K FT
035193,000040: # RTGO THETAH/360 RANGE ANGLE TO SPLASH FROM EMSALT EMSALT IS PAD LOADED
035194,000041: # VIO (-7) M/CS INERTIAL VELOCITY AT EMSALT EMSALT IS PAD LOADED
035195,000042: # TTE (-28) CS TIME TO EMSALT EMSALT IS PAD LOADED
035196,000043: # LAT(SPL) /360 TARGET LOCATION LEFT BY DSKY
035197,000044: # LNG(SPL) /360 TARGET LOCATION LEFT BY DSKY
035198,000045: # HEADSUP (0) +1 = LIFT DOWN, -1 = LIFT UP LEFT BY DSKY
035199,000046: # DEBRIS: SEE SUBROUTINES.
035200,000047:
035201,000048: 26,2000 SETLOC P60S
035202,000049: 26,2000 BANK
035203,000050:
035204,000051: 26,2234 E6,1661 EBANK= AOG
035205,000052:
035206,000053: 26,2234 COUNT* $$/P61
035207,000054:
035208,000055: 26,2234 34753 P61 CA BIT14 # EXTENDED VERB SHOULD BE FREE THIS CLOSE
035209,000056: 26,2235 55247 TS EXTVBACT # TO V37
035210,000057: # LOCK OUT EXTENDED VERBS SO CAN USE TFF
035211,000058: # ROUTINES.EXT VERB ERASE IS USED
035212,000059:
035213,000060: 26,2236 44770 CS ONE # REMOVE IF HEADSUP EVER ON UPLINK DATA
035214,000061: 26,2237 55726 TS HEADSUP # PRELOAD
035215,000062:
035216,000063: 26,2240 02546 TC S61.1 # CHECK STATE VECTOR AND IMU ORIENTATION
035217,000064: # RV 60GENRET. DOES PHASCHNG, GROUP 4.
035218,000065:
035219,000066: 26,2241 35034 CA V06N61 # LAT(SPL) LNG(SPL) HEADSUP
035220,000067: # XXX.XX DEG XXX.XX DEG XXXXX.
035221,000068: 26,2242 05540 TC VNFLASHR
035222,000069: 26,2243 02247 TC P61.4
035223,000070: 26,2244 05402 P61.3 TC PHASCHNG
Page 793 |
035225,000072: 26,2245 00014 OCT 00014
035226,000073:
035227,000074: 26,2246 05205 TC ENDOFJOB
035228,000075:
035229,000076: 26,2247 22007 P61.4 ZL
035230,000077: 26,2250 11726 CCS HEADSUP # C(HEADSUP)= +1/-1
035231,000078: 26,2251 34753 CA BIT14 # IF HEADSUP POS,ROLLC =180 DEG.(LIFT DWN)
035232,000079: 26,2252 12253 NOOP # IF HEADSUP NEG,ROLLC =0 (LIFT UP)
035233,000080: 26,2253 53716 DXCH ROLLC # ROLLC IS USED BY S62.3: GIM ANG AT .05G
035234,000081:
035235,000082: 26,2254 34753 AGIN,MON CA BIT14 # LOCK OUT EXTENDED VERBS.(REDUNDANT ON
035236,000083: 26,2255 55247 TS EXTVBACT # INITIAL PASS)
035237,000084:
035238,000085: 26,2256 06006 TC INTPRET
035239,000086: 26,2257 77745 NEWRNVN DLOAD
035240,000087: 26,2260 01044 PIPTIME # SAVE TIME OF RN,VN TO DETERMINE IF AN
035241,000088: 26,2261 37651 STCALL MM # UPDATE HAS OCCURRED
035242,000089: 26,2262 52063 STARTEN1 # INITIALIZE
035243,000090: 26,2263 43175 VLOAD CLEAR # 'TTE' WILL BE DECREMENTED UNTIL
035244,000091: 26,2264 01030 RN
035245,000092: 26,2265 03274 .05GSW # THE DRAG > 0.05 G .
035246,000093: # .05GSW SET =1 BY FRESH START.
035247,000094:
035248,000095: 26,2266 02320 STORE RONE
035249,000096: 26,2267 77656 UNIT
035250,000097: 26,2270 26334 STOVL URONE
035251,000098: 26,2271 01036 VN
035252,000099: 26,2272 02326 STORE VONE
035253,000100: 26,2273 53435 VXV UNIT
035254,000101: 26,2274 02334 URONE
035255,000102: 26,2275 03502 STORE UNI
035256,000103: 26,2276 45345 DUMPP61 DLOAD DSU
035257,000104: 26,2277 03651 MM # INITIAL VALUE OF PIPTIME
035258,000105: 26,2300 01044 PIPTIME
035259,000106: 26,2301 45040 BMN CALRB
035260,000107: 26,2302 54257 NEWRNVN # UPDATED... GO TRY AGAIN
035261,000108: 26,2303 54652 S61.2 # GET DISPLAY DATA FOR N60 AND N63
035262,000109: # AND RETURN IN BASIC, BELOW.
035263,000110: 26,2304 05527 P61.1 TC CLEARMRK
035264,000111: 26,2305 35033 CA V06N60 # GMAX VPRED GAMMAEI
035265,000112: # XXX.XX G XXXXX. FPS XXX.XX DEG
035266,000113: 26,2306 05535 TC VNFLASH
035267,000114:
035268,000115: # 'TICKTTE' DECREMENTS 'TTE' DISPLAY NOUN N63 AT A 2 SECOND RATE. 'TICKTTE' IS LOCATED IN 'SERVICER' AND
035269,000116: # OPERATES ONLY DURING P61 THROUGH P63. THUS N63 IS 'ON CALL' & ON ENTRY DOWNLIST THROUGH P63.
035270,000117: # 'TICKTTE' WILL GIVE PROPER ANSWER IN EVENT OF RESTART OR A RECYCLE VIA V32.
035271,000118:
035272,000119: 26,2307 32425 CA V16N63 # RTGO VIO TTE
035273,000120: # XXXX.X NM XXXXX. FPS XXBXX M,S
035274,000121: 26,2310 04636 TC BANKCALL
035275,000122: 26,2311 20743 CADR GOFLASH
035276,000123: 26,2312 04103 TC GOTOPOOH
Page 794 |
035278,000125: 26,2313 02315 TC +2
035279,000126: 26,2314 02254 TC AGIN,MON # REDO CONIC CALC. ASSUME EXT VB INACTIVE
035280,000127:
035281,000128: # .... THEN FALL INTO P62
035282,000129:
Page 795 |
035284,000131:
035285,000132: # PROGRAM- P62
035286,000133: # MOD NO.- 0 MAR. 13, 1967
035287,000134: # MOD BY- R. HIRSCHKOP
035288,000135: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 67
035289,000136: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 22 JUN 67 RESTARTS.
035290,000137: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP CHANGES.
035291,000138: # MOD NO: 4 MOD BY: RR BAIRNSFATHER DATE: 8 MAY 68 MOVE START OF DESIRED GIMBAL CALC.
035292,000139: # FUNCTION- 1) TO NOTIFY CREW WHEN GNC SYSTEM IS PREPARED FOR CM/SM SEPARATION
035293,000140: # 2) TO ORIENT THE CM TO THE CORRECT ATTITUDE FOR ATMOSPHERIC ENTRY
035294,000141: # CALLING SEQUENCE- BY V37 OR DIRECTLY FROM P61
035295,000142: # EXIT- TO P63
035296,000143: # ERASABLE INITIALIZATION:
035297,000144: # ALFAPAD LEFT BY PAD LOAD
035298,000145: # LADPAD LEFT BY PAD LOAD
035299,000146: # LODPAD LEFT BY PAD LOAD
035300,000147: # LAT(SPL) (MAY BE CHANGED BELOW) LEFT BY DSKY, VIA P61
035301,000148: # LNG(SPL) (MAY BE CHANGED BELOW) LEFT BY DSKY, VIA P61
035302,000149: # HEADSUP (MAY BE CHANGED BELOW) LEFT BY DSKY, VIA P61
035303,000150: # SUBROUTINE CALLS: NEWMODEX , S61.1 , CM/DAPIC , CM/DAPON , R02BOTH , GOPERF1 , GOFLASH , GODSPR
035304,000151:
035305,000152: 26,2315 COUNT* $$/P62
035306,000153:
035307,000154: 26,2315 05344 +2 TC NEWMODEX # MODE CHANGE IF ENTERED FROM P61
035308,000155: 26,2316 00076 MM 62 B-14 # MODE CHANGE AUTOMATIC VIA V 37.
035309,000156: 26,2317 34770 CA ONE
035310,000157: 26,2320 54332 TS DNLSTCOD
035311,000158:
035312,000159: 26,2321 02546 P62 TC S61.1 # CHECK STATE VECTOR AND IMU ORIENTATION.
035313,000160:
035314,000161: 26,2322 06006 TC INTPRET
035315,000162: 26,2323 47131 SSP RTB
035316,000163: 26,2324 03325 POSEXIT
035317,000164: 26,2325 54402 P62.3 # CALCULATE DESIRED .05G GIMBAL ANGLES,
035318,000165: # WITHOUT DISPLAY.
035319,000166: 26,2326 41703 CM/DAPIC # START CM/POSE AND BODY RATE CALC
035320,000167:
035321,000168: # DOES 2PHSCHNG, OCT 40116, OCT 05024, OCT 13000.
035322,000169: # CM/DAPIC SETS EBANK = EBAOG
035323,000170: # AND RETURNS IN BASIC TO P62.2.
035324,000171: 26,2327 00006 P62.2 EXTEND
035325,000172: 26,2330 32431 DCA POSECADR # CONTINUE WITH CM/POSE AFTER AV G.
035326,000173: 26,2331 53062 DXCH AVEGEXIT
035327,000174:
035328,000175: 26,2332 32545 CAF OCT41 # REQUEST SEPARATION
035329,000176: 26,2333 04636 TC BANKCALL
035330,000177: 26,2334 21147 CADR GOPERF1R
035331,000178: 26,2335 04103 TC GOTOPOOH
035332,000179: 26,2336 02341 TC +3 # PROCEED
Page 796 |
035334,000181: # NOTE: NODOFLAG WILL BE SET IN CM/DAPON. <<<
035335,000182: 26,2337 02332 TC -5 # ENTER
035336,000183: 26,2340 02244 TC P61.3 # FOR PHASCHNG AND ENDOFJOB.
035337,000184:
035338,000185: 26,2341 04655 +3 TC POSTJUMP
035339,000186: 26,2342 41624 CADR CM/DAPON # DISABLE RCS DAP, ENABLE ENTRY DAP AND
035340,000187: # DO ATTITUDE HOLD.
035341,000188:
035342,000189: # WILL IDLE UNTIL CM/POSE DOES ONE UPDATE.
035343,000190: # CM/DAPON DOES NO PHASCHNG.
035344,000191:
035345,000192: 26,2343 35034 P62.1 CA V06N61 # LAT(SPL) LNG(SPL) HEADSUP
035346,000193: # XXX.XX DEG XXX.XX DEG 0000X.
035347,000194:
035348,000195: # TERMINATE ATTITUDE HOLD. SET UP COMMANDS:
035349,000196: # ROLLC, ALFACOM, BETACOM. BEGIN MANUVER TO
035350,000197: # ENTRY ATTITUDE.
035351,000198:
035352,000199: 26,2344 04636 TC BANKCALL
035353,000200: 26,2345 20743 CADR GOFLASH
035354,000201: 26,2346 02343 TC -3
035355,000202: 26,2347 02351 TC +2
035356,000203: 26,2350 02343 TC -5
035357,000204:
035358,000205: 26,2351 05402 TC PHASCHNG
035359,000206: 26,2352 04024 OCT 04024 # USE ENTRYVN FOR DISPLAY BELOW.
035360,000207:
035361,000208: # EBANK WAS SET IN CM/DAPON TO EBAOG
035362,000209:
035363,000210: 26,2353 11726 CCS HEADSUP # C(HEADSUP) = +/- 1
035364,000211: 26,2354 34753 CA BIT14 # IF HEADSUP POS, ROLLC=180 DEG (LIFT DWN)
035365,000212: 26,2355 12356 NOOP # IF HEADSUP NEG, ROLLC=0 DEG (LIFT UP)
035366,000213: 26,2356 55715 TS ROLLC
035367,000214: 26,2357 31411 CA ALFAPAD # NOMINAL ALFATRIM PAD LOADED, NEG. NO.
035368,000215: 26,2360 22007 ZL
035369,000216: 26,2361 53604 DXCH ALFACOM # SET ALFACOM = ALFA TRIM, BETACOM=0
035370,000217:
035371,000218: 26,2362 34770 CA ONE # PERMITS EXDAP2 TO CHANGE FLAG TO +0
035372,000219: 26,2363 55727 TS P63FLAG # AS INDICATOR. STARTS UP P63.
035373,000220:
035374,000221: 26,2364 35025 CA V06N22 # SET UP DISPLAY FOR CDU DESIRED VALUES
035375,000222: 26,2365 55122 TS ENTRYVN # FROM ENTRY ATTITUDE CALC, THAT IS
035376,000223: # ALREADY GOING.
035377,000224: 26,2366 05547 TC UPFLAG # TURN ON ENTRY DISPLAY
035378,000225: 26,2367 00134 ADRES ENTRYDSP # ENTRYDSP = 92D BIT 13 FLAG 6
035379,000226: # SKIP
Page 797 |
035381,000228: 26,2370 41700 CS CMDAPMOD # GO DIRECTLY TO P63 IF BODY ATTITUDE
035382,000229: 26,2371 74770 MASK ONE # IS SUCH THAT THE DELAY TASK: WAKEP62
035383,000230: 26,2372 00006 EXTEND # WILL BE OMITTED.
035384,000231: 26,2373 12422 BZF P63.1 # DISABLE GRP 4, GO TO ENDOFJOB.
035385,000232: # (IE, CONTINUE IF CMDAPMOD = -1, OR +0)
035386,000233: 26,2374 02406 TC P63
035387,000234:
035388,000235: # PUT JOB TO SLEEP UNTIL VEHICLE MANUVER HAS
035389,000236: # REDUCED ALFA TO +/-45 DEG. CONSIDER REMAINING
035390,000237: # 65 DEG (25 DEG IF ALFA NEG) TO ALFA TRIM TO
035391,000238: # OCCUR AT 3 DEG/SEC, AND TERMINATE P62 AT THAT
035392,000239: # TIME.
035393,000240: # TASK WAKEP62 IS CALLED FROM ENTRY DAP.
035394,000241:
035395,000242: 26,2375 35052 WAKEP62 CA PRIO13
035396,000243: 26,2376 05121 TC NOVAC
035397,000244: 26,2377 E6,1661 EBANK= AOG
035398,000245: 26,2377 02406 54066 2CADR P63
035399,000246:
035400,000247: 26,2401 05314 TC TASKOVER
035401,000248:
035402,000249: # EACH 2 SEC, CALCULATE GIMBAL ANGLES FOR ENTRY CON-
035403,000250: # DITIONS THAT WILL HOLD IF REORIENTATION WERE MADE
035404,000251: # AT PRESENT RN, VN. COME HERE FROM CM/POSE AND ALSO
035405,000252: # IN KEPLER PHASE OF ENTRY.
035406,000253:
035407,000254: 26,2402 52131 P62.3 SSP GOTO # SET RETURN ADDRESS SO THAT ROUTINE
035408,000255: 26,2403 00053 QPRET # GOES DIRECTLY TO ENTRY GUIDANCE EXIT
035409,000256: 26,2404 53574 ENDEXIT # THAT DOES ENTRY DISPLAY, GRP 5.
035410,000257: 26,2405 20412 S62.3 # PUT DESIRED CDU VALUES IN CPHI'S FOR
035411,000258: # N22 DISPLAY.
035412,000259:
Page 798 |
035414,000261: # P63
035415,000262: # PROGRAM- P63
035416,000263: # MOD NO.- 0 MAR. 13, 1967
035417,000264: # MOD BY- R. HIRSCHKOP
035418,000265: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 22 JIN 67 RESTARTS.
035419,000266: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 14 JUL 67 REVISED RESTARTS
035420,000267: # FUNCTION- 1) TO INITIALIZE THE ENTRY EQUATIONS
035421,000268: # 2) TO CONTINUE TO HOLD THE CM TO THE CORRECT ATTITUDE WITH RESPECT TO THE ATMOSPHERE FOR
035422,000269: # THE ONSET OF ENTRY DECELERATION. ROLL ANGLE IS LIFT UP/DOWN AS SPECIFIED BY HEADSUP.
035423,000270: # 3) TO SENSE .05G
035424,000271: # CALLING SEQUENCE- DIRECTLY FROM P62
035425,000272: # EXIT- TO ENDOFJOB
035426,000273: # SUBROUTINE CALLS- NEWMODEX , GODSPR
035427,000274:
035428,000275: 26,2406 COUNT* $$/P63
035429,000276:
035430,000277: 26,2406 05344 P63 TC NEWMODEX
035431,000278: 26,2407 00077 MM 63 B-14
035432,000279:
035433,000280: # ARRIVE WITH EBANK = AOG.
035434,000281:
035435,000282: 26,2410 32427 CA ENTCADR # CONTINUE AT STARTENT AFTER CM/POSE.
035436,000283:
035437,000284: # AT END OF STARTENT, CHANGE ADDRESS IN GOTOADDR
035438,000285: # TO CONTINUE AT SCALEPOP THEREAFTER.
035439,000286:
035440,000287: 26,2411 55724 TS POSEXIT
035441,000288:
035442,000289: 26,2412 32426 CA V06N64 # G VI R TO SPLSH
035443,000290: # XXX.XX G XXXXX. FPS XXXX.X NM
035444,000291: 26,2413 55122 TS ENTRYVN # FOR DISPLAY CALL IN OVERNOUT.
035445,000292:
035446,000293: 26,2414 44770 CS ONE # IN CASE FLAG IS LEFT AT +1 BY DAP. THE
035447,000294: 26,2415 55727 TS P63FLAG # -1 ASSURES THAT EXO-ATM DAP WILL NOT
035448,000295: # CALL P63 OUT OF SEQUENCE IN P66.
035449,000296:
035450,000297: 26,2416 05402 TC PHASCHNG # THIS IS REQUIRED TO PRESERVE CLEANDSP
035451,000298: 26,2417 00004 OCT 00004 # RETURN IN EVENT OF AN EXTENDED VERB..
035452,000299:
035453,000300: 26,2420 04636 TC BANKCALL # FLUSH 'N22' DISPLAY, IF ON. (OMIT
035454,000301: 26,2421 20715 CADR CLEANDSP # DISPLAY DURING 'STARTENT' PASS.)
035455,000302:
035456,000303: 26,2422 05402 P63.1 TC PHASCHNG
035457,000304: 26,2423 00004 OCT 00004 # DISABLE. DISPLAY RESTARTED VIA ENTRY.
035458,000305:
035459,000306: 26,2424 05205 TC ENDOFJOB
035460,000307:
035461,000308: 26,2425 04077 V16N63 VN 1663
035462,000309: 26,2426 01500 V06N64 VN 0664
035463,000310: 26,2427 52000 ENTCADR CADR STARTENT
Page 799 |
035465,000312: 26,2430 E7,1451 EBANK= RTINIT # TO CARY OVER INTO ENTRY STEERING.
035466,000313: 26,2430 03404 76067 POSECADR 2CADR CM/POSE
035467,000314:
Page 800 |
035469,000316:
035470,000317: # PROGRAM- P64
035471,000318: # MOD NO.- 1 SEPT. 19, 1967
035472,000319: # MOD BY- R. HIRSCHKOP
035473,000320: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 8 MAY 68 REVISED COMMENTS FOR COLOSSUS
035474,000321: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 1 MAR '69 N74
035475,000322: # FUNCTION- 1. TO START ENTRY GUIDANCE AT .05G SELECTING ROLL ATTITUDE, CONSTANT DRAG LEVEL, AND
035476,000323: # DRAG THRESHOLD, KA , WHICH ARE KEYED TO THE .05G POINT.
035477,000324: # 2. SELECT FINAL PHASE P67 IF V < 27000 FPS WHEN .2G OCCURS.
035478,000325: # 3. ITERATE FOR UP-CONTROL SOLUTION P65 IF V > 27000 FPS AND IF ALTITUDE RATE AND DRAG
035479,000326: # LEVEL CONDITIONS ARE SATISFIED. ENTER P65 WHEN CONSTANT DRAG CONTROLLER HAS BROUGHT RANGE
035480,000327: # AS PREDICTED TO WITHIN 25 NM OF DESIRED RANGE.
035481,000328: # 4. SELECT FINAL PHASE P67 IF NO UP-CONTROL SOLUTION EXISTS WITH VL > 18000 FPS.
035482,000329: # CALLING SEQUENCE- BY RTB FROM REENTRY CONTROL
035483,000330: # EXIT- BACK TO REENTRY CONTROL
035484,000331: # SUBROUTINE CALLS- NEWMODEX
035485,000332:
035486,000333: 26,2000 SETLOC P60S1
035487,000334: 26,2000 BANK
035488,000335:
035489,000336: # THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING. RESTART PROTECTION IS VIA STEERING.
035490,000337:
035491,000338: 26,2432 COUNT* $$/P64
035492,000339:
035493,000340: 26,2432 05344 P64 TC NEWMODEX # ENTER VIA RTB WHEN .05G IS EXCEEDED.
035494,000341: 26,2433 00100 MM 64 B-14
035495,000342: 26,2434 32437 CA V06N74 # ROLLC VI D
035496,000343: # XXX.XX DEG XXXXX. FPS XXX.XX G
035497,000344: 26,2435 55122 TS ENTRYVN # DISPLAY VIA OVERNOUT.
035498,000345:
035499,000346: 26,2436 06030 TC DANZIG # ... AND CONTINUE IN INITROLL ...
035500,000347:
035501,000348: 26,2437 01512 V06N74 VN 0674
035502,000349:
Page 801 |
035504,000351: # PROGRAM: P65
035505,000352: # MOD NO: 0 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP ADDITION.
035506,000353: # FUNCTION: TO CONTINUE ENTRY GUIDANCE, USING THE UP-CONTROL PHASE TO STEER TO A CONTROLLED EXIT
035507,000354: # CONDITION. THIS PHASE TERMINATES A) IF D < Q7 FPSS, GO TO P66 ,
035508,000355: # B) IF RDOT NEG, AND IF V < VL +500 FPS, GO TO P67.
035509,000356:
035510,000357: # CALLING SEQUENCE: BY RTB FROM REENTRY CONTROL
035511,000358: # EXIT: BACK TO REENTRY CONTROL, OR TO ENDOFJOB.
035512,000359: # SUBROUTINE CALLS: NEWMODEX
035513,000360:
035514,000361: 26,2440 COUNT* $$/P65
035515,000362:
035516,000363: 26,2440 05344 P65 TC NEWMODEX # ENTER VIA RTB WHEN RANGE < 25 N M OF
035517,000364: 26,2441 00101 MM 65 B-14 # TARGET.
035518,000365:
035519,000366: 26,2442 35052 CA PRIO13
035520,000367: 26,2443 05121 TC NOVAC
035521,000368: 26,2444 1122 EBANK= ENTRYVN
035522,000369: 26,2444 02456 54062 2CADR P65.1
035523,000370:
035524,000371: 26,2446 05362 TC 2PHSCHNG # 2 PHASE CHG REQUIRED TO PREVENT RE-
035525,000372: 26,2447 00554 OCT 00554 # STARTING FLASHING DISPLAY TWICE.
035526,000373: 26,2450 10035 OCT 10035 # 4.55 SPOT AND SERVICER, HERE.
035527,000374: 26,2451 01,2223 4P55SPT1 = 4.55SPOT
035528,000375: 26,2451 01,2250 5P3SPT8 = 5.3SPOT
035529,000376: 26,2451 06006 TC INTPRET
035530,000377: 26,2452 47131 SSP RTB
035531,000378: 26,2453 03646 GOTOADDR # CHANGE ENTRY MODE TO UPCONTRL.
035532,000379: 26,2454 53034 UPCONTRL
035533,000380: 26,2455 52120 REFAZE10 # GO HERE TO REESTABLISH ENTRY SEQUENCER.
035534,000381: # AND CONTINUE AT UPCONTRL...
035535,000382:
035536,000383: 26,2456 05561 P65.1 TC DOWNFLAG
035537,000384: 26,2457 00134 ADRES ENTRYDSP # ENTRYDSP = 92D BIT 13 FLAG 6
035538,000385:
035539,000386: 26,2460 32472 CA V16N69 # ROLLC DL (Q7) VL
035540,000387: 26,2461 04636 TC BANKCALL # XXX.XX DEG XXX.XX G XXXXX. FPS
035541,000388: 26,2462 21101 CADR GOFLASHR
035542,000389: 26,2463 02460 TC -3 # NODOFLAG IS SET..
035543,000390: 26,2464 02467 TC +3
035544,000391: 26,2465 02460 TC -5
035545,000392: 26,2466 02244 TC P61.3 # EST. GRP 4 FOR DSPLAY AND DO ENDOFJOB
035546,000393: # IF PROCEED, CONTINUE.
035547,000394: 26,2467 05547 TC UPFLAG
035548,000395: 26,2470 00134 ADRES ENTRYDSP # ENTRYDSP = 92D BIT 13 FLAG 6
035549,000396:
035550,000397: 26,2471 02422 TC P63.1 # DISABLE GRP 4, START UP ENTRY DISPLAY
035551,000398: # N06V68 VIA OVERNOUT, AS USED IN P64.
Page 802 |
035553,000400: 26,2472 04105 V16N69 VN 1669
035554,000401:
Page 803 |
035556,000403: # PROGRAM: P66
035557,000404: # MOD NO: 0 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 COLOSSUS GSOP ADDITIONS.
035558,000405: # FUNCTION: KEEP CM ATTITUDE IN TRIM TO THE RELATIVE VELOCITY VECTOR. ENTRY GUIDANCE STOPS GENERATING
035559,000406: # ROLL COMMANDS UNTIL DRAG BUILDS UP TO Q7+0.5 FPSS.
035560,000407: # CALLING SEQUENCE: VIA RTB FROM REENTRY CONTROL.
035561,000408: # EXIT: BACK TO REENTRY CONTROL.
035562,000409: # SUBROUTINE CALLS: NEWMODEX
035563,000410:
035564,000411: 26,2473 COUNT* $$/P66
035565,000412:
035566,000413: 26,2473 05344 P66 TC NEWMODEX # ENTER VIA RTB WHEN D < Q7 FPSS
035567,000414: 26,2474 00102 MM 66 B-14
035568,000415:
035569,000416: 26,2475 35025 CA V06N22 # OGA IGA MGA
035570,000417: # XXX.XX DEG XXX.XX DEG XXX.XX DEG
035571,000418: 26,2476 02502 TC P66END # IN CASE CAME FROM P65, GO DISABLE GRP4,
035572,000419: # AND SET ENTRYDSP TO DO DISPLAY VIA
035573,000420: # OVERNOUT.
035574,000421:
035575,000422: # ... AND CONTINUE AT KEP2
035576,000423:
Page 804 |
035578,000425: # P67
035579,000426:
035580,000427: # PROGRAM- P67
035581,000428: # MOD NO.- 0 MAR. 16, 1967
035582,000429: # MOD BY- R. HIRSCHKOP
035583,000430: # FUNCTION- TO TERMINATE STEERING WHEN THE CM VELOCITY WRT EARTH = 1000 FT/SEC
035584,000431: # CALLING SEQUENCE-
035585,000432: # EXIT- TO POOH
035586,000433: # SUBROUTINE CALLS- GOFLASH
035587,000434:
035588,000435: # THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING. RESTART PROTECTION IS VIA STEERING.
035589,000436:
035590,000437: 26,2477 COUNT* $$/P67
035591,000438:
035592,000439: 26,2477 05344 P67 TC NEWMODEX # ENTER VIA RTB
035593,000440: 26,2500 00103 MM 67 B-14
035594,000441: 26,2501 32510 CA V06N66 # ROLLC XRNGERR DNRNGERR
035595,000442: # XXX.XX DEG XXXX.X NM XXXX.X NM
035596,000443: 26,2502 55122 P66END TS ENTRYVN # DISPLAY VIA OVERNOUT.
035597,000444:
035598,000445: 26,2503 05547 TC UPFLAG # (IN CASE CAME FROM P65. ENTRY DISPLAY
035599,000446: 26,2504 00134 ADRES ENTRYDSP # WILL FLUSH FLASHING DISP. IF STILL ON)
035600,000447: # BIT 13 FLAG 6
035601,000448: 26,2505 05402 KILLGRP4 TC PHASCHNG # DISABLE GRP4, IN CASE CAME FROM HUNTEST.
035602,000449: 26,2506 00004 OCT 00004 # (COME TO KILLGRP4 VIA RTB, RET TO CALLER)
035603,000450:
035604,000451: 26,2507 06030 TC DANZIG # ... AND CONTINUE AT PREDICT3 ...
035605,000452:
035606,000453: 26,2510 01502 V06N66 VN 0666
035607,000454:
035608,000455: 26,2000 SETLOC P60S2
035609,000456: 26,2000 BANK
035610,000457:
035611,000458: 26,2511 32544 P67.1 CA V16N67 # RTOGO LAT LONG
035612,000459: # XXXX.X NM XXX.XX DEG XXX.XX DEG
035613,000460: 26,2512 04636 TC BANKCALL
035614,000461: 26,2513 20743 CADR GOFLASH
035615,000462: 26,2514 02517 TC +3 # EFFECTIVE GOTOPOOH
035616,000463: 26,2515 02517 TC +2
035617,000464: 26,2516 02511 TC P67.1 # REDO
035618,000465:
035619,000466: 26,2517 00004 INHINT
035620,000467: 26,2520 34767 CA CM/DSBIT
035621,000468: 26,2521 64770 AD GYMDIBIT
035622,000469: 26,2522 40000 COM
035623,000470: 26,2523 70102 MASK CM/FLAGS # CM/DSTBY, GAMDIFSW
035624,000471: 26,2524 54102 TS CM/FLAGS
035625,000472: 26,2525 00003 RELINT
Page 805 |
035627,000474: 26,2526 00006 EXTEND
035628,000475: 26,2527 32644 DCA SERVCAD2
035629,000476: 26,2530 53062 DXCH AVEGEXIT
035630,000477:
035631,000478: 26,2531 14103 TCF GOTOPOOH
035632,000479:
Page 806 |
035634,000481: 26,2532 43175 P67.2 VLOAD CLEAR # CALC PRESENT LAT, LONG, ALT.
035635,000482: 26,2533 01030 RN
035636,000483: 26,2534 00662 ERADFLAG # USE PAD RAD FOR ALT. (NOT SEEN ANYWAY)
035637,000484: 26,2535 16152 STODL ALPHAV
035638,000485: 26,2536 01044 PIPTIME # USE TIME OF RN
035639,000486: 26,2537 45014 CLEAR CALL
035640,000487: 26,2540 01663 LUNAFLAG
035641,000488: 26,2541 26453 LAT-LONG
035642,000489: 26,2542 77634 P67.3 RTB # ENTRY EXIT THAT OMITS DISPLAY.
035643,000490: 26,2543 53607 SERVNOUT
035644,000491:
035645,000492: 26,2544 04103 V16N67 VN 1667
035646,000493: 26,2545 00041 OCT41 OCT 41
035647,000494: 26,2546 26,2643 SERVCAD2 = SERVCAD1
035648,000495:
Page 807 |
035650,000497: # SUBROUTINE NAME: S61.1
035651,000498: # MOD NO: 0 DATE: 21 FEB 67
035652,000499: # MOD BY: RR BAIRNSFATHER LOG SECTION: P61-P67
035653,000500: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 22 JUN 67 RESTARTS.
035654,000501: # FUNCTIONAL DESCRIPTION: CALLED BY BOTH P61 AND P62
035655,000502: # FIRST, TEST TO SEE IF AVERAGEG IS ON. IF NOT, UPDATE THE STATE VECTOR TO PRESENT TIME + TOLERANCE
035656,000503: # AND TURN ON AVERAGEG AT THAT TIME, AND CONTINUE. OTHERWISE CONTINUE: SEE IF IMU Y AXIS IS
035657,000504: # WITHIN 30 DEG OF V*R. IF YES, EXIT SUBROUTINE S61.1. IF NO, SEE IF -Y AXIS OF IMU IS WITHIN
035658,000505: # 30 DEG OF V*R. IF YES, DISPLAY ALARM: 01427 IMU REVERSED.
035659,000506: # IF NO, DISPLAY ALARM: 01426 IMU UNSATISFACTORY.
035660,000507: # IN EITHER OF THESE LAST 2 CASES, WAIT 10 SEC AND THEN EXIT SUBROUTINE S61.1.
035661,000508:
035662,000509: # REMARK: THERE WILL BE A SHORT 10 SEC DELAY IF AN ALARM EXIT IS TAKEN. THE DELAY FOR INTEGRATION IS
035663,000510: # AS SHORT AS CAN BE MADE, BUT IS ARBITRARY SINCE IT DEPENDS ON THE AGE OF THE STATE VECTOR.
035664,000511:
035665,000512: # CALLING SEQUENCE: CALL
035666,000513: # S61.1
035667,000514: # C(MPAC) UNSPECIFIED
035668,000515: # PUSHLOC UNSPECIFIED
035669,000516:
035670,000517: # SUBROUTINES CALLED: LOADTIME, CSMPREC, TPAGREE,
035671,000518: # WAITLIST, JOBSLEEP, JOBWAKE, PREREAD, ALARM, GODSPR, BANKCALL, DELAYJOB
035672,000519: # NORMAL EXIT MODES: RVQ
035673,000520: # ALARMS: 01426 IMU UNSATISFACTORY
035674,000521: # 01427 IMU REVERSED
035675,000522: # OUTPUT: POSSIBLE ALARMS
035676,000523: # POSSIBLY TDEC1, RATT, VATT, RN, VN
035677,000524: # ERASABLE INITIALIZATION REQUIRED:
035678,000525: # AVEGFLAG AVERAGEG ON OR OFF LEFT BY SERVICER
035679,000526: # PIPTIME (-28) CS TIME OF PIPA UPDATE LEFT BY READACCS
035680,000527: # RN (-29) M STATE VECTOR LEFT BY AVERAGEG
035681,000528: # VN (-7) M/CS STATE VECTOR LEFT BY AVERAGEG
035682,000529: # REFSMMAT (-1) .5 REF TO SM MATRIX LEFT BY LAST IMU ALIGNMENT
035683,000530:
035684,000531: # DEBRIS: QPRET
035685,000532: # POSSIBLY PIPTIME1, RATT, VATT, TDEC1, RN1, VN1, QTEMP, X1 IF UPDATED
035686,000533: # PUSH LIST LOCS USED BY CSMPREC
035687,000534:
035688,000535: 26,2546 E6,1661 EBANK= AOG # FOR 60GENRET, S61DT
035689,000536: 26,2000 SETLOC P60S3
035690,000537: 26,2000 BANK
035691,000538:
035692,000539: 26,2546 COUNT* $$/S61.1
035693,000540:
035694,000541: 26,2546 00006 S61.1 EXTEND
035695,000542: 26,2547 23773 QXCH 60GENRET # SAVE RET ADDR IN EB 6
035696,000543: 26,2550 04636 TC BANKCALL
035697,000544: 26,2551 03731 CADR R02BOTH
035698,000545: 26,2552 06006 TC INTPRET
035699,000546:
035700,000547: 26,2553 45014 BON CALRB
Page 808 |
035702,000549: 26,2554 00716 AVEGFLAG # IS AVERAGEG ON
035703,000550: 26,2555 54605 S61.1A # YES
035704,000551: 26,2556 27566 MIDTOAV2 # GET FUTURE STATE VECTOR SOON AS CAN
035705,000552:
035706,000553: 26,2557 30155 CA MPAC +1 # RETURN INHINTED ***
035707,000554: 26,2560 55774 TS S61DT # FOR RESTART.
035708,000555: 26,2561 05233 TC WAITLIST
035709,000556: 26,2562 E7,1425 EBANK= DVTOTAL
035710,000557: 26,2562 02567 54067 2CADR S61.1C
035711,000558:
035712,000559: 26,2564 05402 TC PHASCHNG
035713,000560: 26,2565 40434 OCT 40434
035714,000561: 26,2566 01,2204 4P43SPT1 = 4.43SPOT
035715,000562: 26,2566 05205 TC ENDOFJOB
035716,000563:
035717,000564: 26,2567 35052 S61.1C CA PRIO13
035718,000565: 26,2570 05135 TC FINDVAC
035719,000566: 26,2571 E6,1661 EBANK= AOG
035720,000567: 26,2571 02604 54066 2CADR S61.1A-1
035721,000568:
035722,000569: 26,2573 00006 EXTEND
035723,000570: 26,2574 32644 DCA SERVCAD1 # HE WHO STARTS AVERAGEG MUST SERVICE
035724,000571: 26,2575 53062 DXCH AVEGEXIT # THE EXIT.
035725,000572:
035726,000573: 26,2576 05362 TC 2PHSCHNG
035727,000574: 26,2577 00454 OCT 00454
035728,000575: 26,2600 00175 OCT 00175
035729,000576: 26,2601 01,2207 4P45SPT1 = 4.45SPOT
035730,000577: 26,2601 01,2272 5P17SPT1 = 5.17SPOT
035731,000578: 26,2601 04606 TC E7SETTER
035732,000579:
035733,000580: 26,2602 04655 TC POSTJUMP
035734,000581: 26,2603 76607 CADR PREREAD # PREREAD DOES TC TASKOVER.
035735,000582:
035736,000583: 26,2604 06006 S61.1A-1 TC INTPRET
035737,000584: 26,2605 77204 S61.1A BOVB VLOAD
035738,000585: 26,2606 57544 TCDANZIG # TURN OFF OVFIND, IF ON
035739,000586: 26,2607 01036 VN # VN (-7) M/CS
035740,000587: 26,2610 64235 VXV MXV
035741,000588: 26,2611 01030 RN # RN (-29) M
035742,000589: 26,2612 01734 REFSMMAT # .5 UNIT MATRIX
035743,000590: 26,2613 71256 UNIT DLOAD
035744,000591: 26,2614 00160 MPAC +3 # GET COS(THETA)/2
035745,000592: 26,2615 43240 BMN DAD
035746,000593: 26,2616 54623 S61.1B # DO TEST ON -YSM
035747,000594: 26,2617 14646 C(30)LIM # = 1.0 -.5 COS(30)
035748,000595: 26,2620 47004 BOVB RTB
035749,000596: 26,2621 54642 RETRN1
035750,000597: 26,2622 54627 RETRN3
Page 809 |
035752,000599: 26,2623 43276 S61.1B DCOMP DAD
035753,000600: 26,2624 14646 C(30)LIM # = 1.0 - .5 COS(30)
035754,000601: 26,2625 77404 BOVB EXIT
035755,000602: 26,2626 54632 RETRN2
035756,000603:
035757,000604: 26,2627 05671 RETRN3 TC ALARM
035758,000605: 26,2630 01426 OCT 01426 # IMU UNSATISFACTORY
035759,000606: 26,2631 02634 TC RETRN2 +2
035760,000607:
035761,000608: 26,2632 05671 RETRN2 TC ALARM
035762,000609: 26,2633 01427 OCT 01427 # IMU REVERSED
035763,000610:
035764,000611: 26,2634 35023 +2 CAF V05N09
035765,000612: 26,2635 04636 TC BANKCALL
035766,000613: 26,2636 20710 CADR GODSPR # DO DISPLAY
035767,000614: 26,2637 32647 CA 10SECS
035768,000615: 26,2640 04636 TC BANKCALL
035769,000616: 26,2641 01731 CADR DELAYJOB
035770,000617:
035771,000618: 26,2642 01773 RETRN1 TC 60GENRET
035772,000619:
035773,000620: 26,2643 E7,1425 EBANK= DVTOTAL
035774,000621: 26,2643 03143 76067 SERVCAD1 2CADR SERVEXIT
035775,000622: 26,2645 22111 17335 C(30)LIM 2DEC .566985 # = 1.0 - .5 COS(30)
035776,000623: 26,2647 01750 10SECS DEC 1000 B-14 # 1000 CS
035777,000624: 26,2650 00000 13560 60SECDP 2DEC 6000 B-28 # 6000 CS
035778,000625:
Page 810 |
035780,000627: # PROGRAM NAME: S61.2 DATE: 14 FEB 67
035781,000628: # MOD NO: 1 LOG SECTION: P61-P67
035782,000629: # MOD BY: MORTH / BAIRNSFATHER
035783,000630: # MOD NO: 2 MOD BY: MORTH/BAIRNSFATHER DATE: 11 MAY 67 ADD 2ND ITER FOR ERAD AT 400K FT.
035784,000631: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 21 NOV 67 VARIABLE MU ADDED.
035785,000632: # MOD NO: 4 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 68 DIFFERENT EARTH/MOON SCALES IN TFF'S
035786,000633: # FUNCTIONAL DESCRIPTION: CALLED BY P61. PROVIDES DISPLAYS FOR NOUNS N60 AND N63 .
035787,000634: # PROGRAM CALCULATES ENTRY DISPLAY OF MAXIMUM ACCELERATION EXPECTED (GMAX) AND ALSO THE EXPECTED
035788,000635: # INERTIAL VELOCITY (VPRED) AND ENTRY ANGLE (GAMMAEI) THAT WILL OBTAIN AT 400K FT ABOVE THE FISCHER
035789,000636: # ELLIPSOID. PROGRAM ALSO CALCULATES A SECOND DISPLAY RELATIVE TO THE EMSALT ABOVE FISCHER ELLIPSOID
035790,000637: # AND CONSISTS OF RANGE TO SPLASH FROM NOW (RTGO) , PREDICTED INERTIAL VELOCITY (VIO) , AND THE TIME TO
035791,000638: # GO FROM NOW (TTE) .
035792,000639: # CALLING SEQUENCE: CALL
035793,000640: # S61.2
035794,000641: # C(MPAC) UNSPECIFIED
035795,000642: # PUSHLOC WILL BE SET TO ZERO.
035796,000643:
035797,000644: # SUBROUTINES CALLED: TFFCONIC, CALCTFF, TFF/TRIG, FISHCALC, GETERAD, VGAMCALC
035798,000645: # NORMAL EXIT MODES: RTB P61.1
035799,000646: # ALARMS: NONE
035800,000647: # OUTPUT: THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
035801,000648: # GMAX 100 GMAX (-14) G,S MAXIMUM ACCELERATION
035802,000649: # VPRED (-7) M/CS PREDICTED VELOCITY AT 400K FT
035803,000650: # GAMMAEI GAMMA/360 PREDICTED GAMMA AT 400K FT
035804,000651: # FOR TM, DP(GAMMAEI) = (GAMMAEI, RTGO) / 360
035805,000652: # RTGO THETAH/360 RANGE ANGLE TO SPLASH FROM EMSALT EMSALT IS PAD LOADED
035806,000653: # VIO (-7) M/CS INERTIAL VELOCITY AT EMSALT EMSALT IS PAD LOADED
035807,000654: # TTE (-28) CS TIME TO EMSALT EMSALT IS PAD LOADED
035808,000655:
035809,000656: # PUSHLOC = 0
035810,000657: # CONIC PARAMETERS STORED IN VAC AREA (SEE TFF SUBROUTINES)
035811,000658: # ERASABLE INITIALIZATION REQUIRED:
035812,000659: # RONE (-29) M STATE VECTOR LEFT BY USER
035813,000660: # VONE (-7) M/CS STATE VECTOR LEFT BY USER
035814,000661: # URONE UR/2 LEFT BY USER
035815,000662: # UNI (-1) UNIT NORMAL V*R LEFT BY ENTRY / P61
035816,000663: # THETAH THETAH/360 RANGE ANGLE LEFT BY ENTRY / P61
035817,000664: # UNITW (0) UNIT POLAR VECTOR LEFT BY PAD LOAD
035818,000665: # EMSALT (-29) M EMS INTERFACE ALTITUDE LEFT BY PAD LOAD
035819,000666: # ORBITAL REENTRY: 284643 FT, LUNAR REENTRY: 297431 FT.
035820,000667: # DEBRIS: QPRET,
035821,000668: # ALL PDL LOCATIONS ABOVE 12D, INCLUDING X1,X2,S1,S2
035822,000669: # ALSO PDL+0 ... PDL+5, WHERE INITIAL PUSHLOC = PDL
035823,000670:
Page 811 |
035825,000672:
035826,000673: # THE FOLLOWING PUSH LIST LOCATIONS HAVE BEEN RESERVED FOR TFF ROUTINES AND ARE REPEATED HERE FOR CONVENIENCE.
035827,000674: # OF COURSE FOR S61.2 USAGE, EARTH ORIGIN SCALING IS USED.
035828,000675:
035829,000676: # BELOW E: IS USED FOR EARTH ORIGIN SCALE
035830,000677: # M: IS USED FOR MOON ORIGIN SCALE
035831,000678:
035832,000679: # RTERM = 18D TERMINAL RADIUS M E: (-29) M: (-27)
035833,000680: # NRTERM = 16D TERMINAL RADIUS M E: (-29+NR)
035834,000681: # M: (-27+NR)
035835,000682: # RMAG1 = 12D PRESENT RADIUS M E: (-29) M: (-27)
035836,000683: # NRMAG = 32D PRESENT RADIUS M E: (-29+NR)
035837,000684: # M: (-27+NR)
035838,000685: # SDELF/2 SIN(THETA) / 2
035839,000686: # CDELF/2 = 14D COS(THETA) / 2
035840,000687: # TFFX = 34D X, ARGUMENT OF SERIES T(X).
035841,000688: # TFFTEM = 36D ARG FOR TRANSFER ANGLE CALCULATION.
035842,000689: # TFFNP = 28D LC P M E: (-38+2NR) M: (-36+2NR)
035843,000690: # TFF/RTMU= 30D 1/SQRT(MU) E: (17) M: (14)
035844,000691: # TFFVSQ = 20D -(VN.VN/MU) 1/M E: (20) M: (18)
035845,000692:
Page 812 |
035847,000694: 26,2000 SETLOC P60S2
035848,000695: 26,2000 BANK
035849,000696:
035850,000697: 26,2652 COUNT* $$/S61.2
035851,000698:
035852,000699: # PDL LEFT AT ZERO BY TARGETNG
035853,000700:
035854,000701: 26,2652 45345 S61.2 DLOAD DSU
035855,000702: 26,2653 02020 EMSALT
035856,000703: 26,2654 15006 290KFT
035857,000704: 26,2655 71244 BPL DLOAD
035858,000705: 26,2656 55002 LUNENT
035859,000706: 26,2657 31757 1/RTMU # ESTABLISH MU FOR ORBITAL ENTRIES
035860,000707: 26,2660 77624 CALLCON CALL
035861,000708: 26,2661 57151 TFFCONIC # FILL VAC AREA WITH CONIC PARAMETERS
035862,000709:
035863,000710: 26,2662 45145 DLOAD CALL
035864,000711: 26,2663 15024 RTRIAL # 1 ST GUESS AT TERMINAL RADIUS (-29)
035865,000712: 26,2664 57261 CALCTFF # SAVES MPAC IN RTERM (18D)
035866,000713:
035867,000714: 26,2665 77624 CALL # CALC SDELF/2, CDELF/2
035868,000715: 26,2666 57052 TFF/TRIG # RETURN WITH S(THETA) IN MPAC
035869,000716:
035870,000717: 26,2667 77624 CALL # GET FISCHER RADIUS (-29) M
035871,000718: 26,2670 55033 FISHCALC # ANS IN MPAC AND IN ERADM.
035872,000719:
035873,000720: 26,2671 45015 DAD CALL
035874,000721: 26,2672 02020 EMSALT
035875,000722: 26,2673 57261 CALCTFF # SAVES MPAC IN RTERM (18D)
035876,000723:
035877,000724: 26,2674 03733 STORE TTE1 # USED IN TARGET ITERATION (DISPTARG)
035878,000725: 26,2675 57415 DAD DCOMP # DECR 'TTE' FROM BASE 'TTE2' IN 'SERVICER
035879,000726: 26,2676 03651 MM # 'PIPTIME' FOR STATE VECTOR
035880,000727: # DNLIST AND DSKY WILL USE TTE.
035881,000728: 26,2677 03735 STORE TTE2 # TTE=PIPTIME+TTE2=-(TTE1+MM-PIPTIME)
035882,000729: 26,2700 77615 DAD # DECREMENT 'TTE' FOR DISPLAY AND DOWNLINK
035883,000730: 26,2701 01044 PIPTIME # UNTIL SERVICER COMES ALONG.
035884,000731: 26,2702 37727 STCALL TTE # 'TTE' IS NEGATIVE AS IN COUNTDOWN.
035885,000732:
035886,000733: # TTE= TIME FROM NOW TO EMSALT +FISCHER
035887,000734:
035888,000735: 26,2703 57052 TFF/TRIG # S(THETA) IN MPAC ON RETURNING
035889,000736: # AND THETA= RANGE FROM NOW TO EMSALT
035890,000737:
035891,000738: 26,2704 77624 CALL
035892,000739: 26,2705 55033 FISHCALC
035893,000740: 26,2706 77624 CALL
035894,000741: 26,2707 11744 VRCALC
035895,000742: 26,2710 77624 CALL
Page 813 |
035897,000744: 26,2711 11731 DISPTARG
035898,000745: 26,2712 77624 CALL
035899,000746: 26,2713 11731 DISPTARG
035900,000747: 26,2714 37714 STCALL RTGO
035901,000748: 26,2715 55054 VGAMCALC
035902,000749:
035903,000750: 26,2716 77605 DMP # MPAC = GAMMA
035904,000751: # PDL0 HAS VGAM.
035905,000752: 26,2717 43265 BDDV DAD
035906,000753: 26,2720 15032 VEMSCON # -HS D 180/PI (-14)
035907,000754: 26,2721 00001 0 # VGAM FROM PDL0.
035908,000755: 26,2722 17725 STODL VIO # PREDICTED VELOCITY AT EMSALT.
035909,000756:
035910,000757: # GAMMA AND VGAM AT 300K FT ARE REQUIRED BY GMAX
035911,000758: # ALGORITHM.
035912,000759:
035913,000760: 26,2723 02240 ERADM # EARTH RADIUS FROM GETERAD (-29) M
035914,000761: # = FISCHER RADIUS (-29)
035915,000762: 26,2724 77615 DAD
035916,000763: 26,2725 06456 300KFT # M (-29)
035917,000764: 26,2726 34023 STCALL RTERM # TERMINAL RADIUS M (-29)
035918,000765:
035919,000766: 26,2727 55051 PREVGAM # VGAMCALC WITH NEW RTERM
035920,000767:
035921,000768: # VBAR = (V(FPS) - 36KF/S) / 20KF/S
035922,000769: # GMAX = (4/(1 + 4.8 VBARSQ))(GAM -6.05 -2.4 VBARSQ) - 10(L/D - .3) + 10 ASSUME L/D = 0.3, BANK =0.
035923,000770:
035924,000771: # GMAXCALC
035925,000772: 26,2730 45325 PDDL DSU # GAM TO PDL2
035926,000773: 26,2731 00001 0 # VGAM IS IN PDL0 (-7)
035927,000774: 26,2732 15010 36KFT/S # (-7) M/CS
035928,000775: 26,2733 63471 DDV DSQ
035929,000776: 26,2734 15012 20KFT/S # (-6) M/CS
035930,000777: 26,2735 00001 STORE 0 # VBARSQ (-2) TO PDL0
035931,000778:
035932,000779: 26,2736 43205 DMP DAD
035933,000780: 26,2737 15014 KR1
035934,000781: # GAM, POS DOWN, FROM PDL2
035935,000782: 26,2740 41215 DAD DMP
035936,000783: 26,2741 15016 -6.05DEG
035937,000784: 26,2742 15020 KR2
035938,000785: 26,2743 77725 PDDL # XCH PDL+0 FOR VBARSQ (-2)
035939,000786: 26,2744 43271 DDV DAD
035940,000787: 26,2745 15030 KR4
035941,000788: 26,2746 31771 DP2(-4)
035942,000789: 26,2747 77665 BDDV
035943,000790: # NUM FROM PDL+0
035944,000791: 26,2750 51015 DAD BPL
035945,000792: 26,2751 15022 KR3
Page 814 |
035947,000794: 26,2752 54755 +3
035948,000795: 26,2753 77745 DLOAD
035949,000796: 26,2754 15336 HI6ZEROS
035950,000797: 26,2755 17722 STODL GMAX # 100 GMAX (-14)
035951,000798:
035952,000799: # DISPLAY USES GMAX AS SP, SO LO WORD IS WRITTEN OVER BY VPRED.
035953,000800:
035954,000801: 26,2756 02240 ERADM # = FISCHER RADIUS (-29) M
035955,000802: 26,2757 45015 DAD CALL # 2 ND ITERATION FOR FISCHER RADIUS
035956,000803: 26,2760 15026 400KFT
035957,000804: 26,2761 57261 CALCTFF # ESTABLISH TRANSFER ANGLE DATA.
035958,000805: 26,2762 77624 CALL
035959,000806: 26,2763 57052 TFF/TRIG # GET SIN, COS DELF
035960,000807: 26,2764 77624 CALL
035961,000808: 26,2765 55033 FISHCALC # GET CORRESPONDING FISCHER RADIUS.
035962,000809:
035963,000810: 26,2766 73015 DAD LXA,2 # SAVE HI-WORD FOR DOWNLIST.
035964,000811: 26,2767 15026 400KFT # M (-29)
035965,000812: 26,2770 03713 RTGO # (RANGE ANGLE FROM EMSALT)/360
035966,000813: 26,2771 34023 STCALL RTERM
035967,000814: 26,2772 55051 PREVGAM # VGAMCALC WITH NEW RTERM
035968,000815:
035969,000816: 26,2773 67076 DCOMP SXA,2 # HI-WORD OF EACH ON DOWNLIST.
035970,000817: 26,2774 00155 MPAC +1
035971,000818: 26,2775 17761 STODL GAMMAEI # CONIC GAMMA/360 AT 400K FT. ( HI-WORD)
035972,000819: # CONIC RTGO/360 FROM EMSALT (LOW-WORD)
035973,000820: # FOR TM, DP(GAMMAEI) = (GAMMA, RTGO)/360
035974,000821:
035975,000822: # VGAM FROM PDL+0 (-7)
035976,000823: 26,2776 77626 STADR
035977,000824: 26,2777 74020 STORE VPRED # CONIC VELOCITY AT 400K FT
035978,000825:
035979,000826: 26,3000 77634 RTB
035980,000827: 26,3001 54304 P61.1
035981,000828: # PDL BACK TO ZERO.
035982,000829:
035983,000830: 26,3002 52145 LUNENT DLOAD GOTO
035984,000831: 26,3003 06452 1/RTMUE # ESTABLISH MU FOR LUNAR TYPE ENTRIES
035985,000832: 26,3004 54660 CALLCON
035986,000833: 26,3005 00002 26244 290KFT 2DEC 88392.0 B-29
035987,000834: 26,3007 33335 05707 36KFT/S 2DEC 109.728 B-7 # (-7) M/CS = 36 KFT/S (-7)
035988,000835: 26,3011 36365 30244 20KFT/S 2DEC 121.92 B-7 # (-6) M/CS = 2 20KFT/S (-7)
035989,000836: 26,3013 77113 42770 KR1 2DEC -.026666667 # = -2.4 4 / 360
035990,000837: 26,3015 77354 65030 -6.05DEG 2DEC -.016805556 # = -6.05 / 360
035991,000838: 26,3017 21450 00001 KR2 2DEC .54931641 # = (360/4) 100 (-14) = 9000 B-14
Page 815 |
035993,000840: 26,3021 01750 00000 KR3 2DEC 1000 B-14 # = 100 (10.0) (-14) G,S
035994,000841: # ASSUMES L/D = 0.3, BANK =0.
035995,000842: 26,3023 00305 04541 RTRIAL 2DEC 6460097.18 B-29 # RPAD +284643 FT =21 194 545 FT
035996,000843: # RPAD DEFINED AS 20 909 901.57 FT =6 373 338 M
035997,000844: 26,3025 00003 27040 400KFT 2DEC 121920 B-29 # METERS
035998,000845:
035999,000846: # 300KFT 2DEC 91440 B-29 (-29) M
036000,000847:
036001,000848: # EMSALT 2DEC 86759.2 B-29 284643 FT (-29) M (ORBITAL REENTRY)
036002,000849:
036003,000850: # EMSALT 2DEC 90657 B-29 297431 FT (-29) M (LUNAR REENTRY)
036004,000851:
036005,000852: 26,3027 32525 12525 KR4 2DEC .833333333
036006,000853: 26,3031 23,2455 300KFT EQUALS MINPERE
036007,000854: 26,3031 77777 76601 VEMSCON 2DEC -.0389676 B-14 # = -HS D / 2 PI (-14) M SQ / CS SQ
036008,000855: # =- 16369 .05G 32.2 .3048 .3048/2 PI (-14)
036009,000856:
Page 816 |
036011,000858: # SUBROUTINE NAME: FISHCALC (USED BY S61.2) DATE: 01.21.67
036012,000859: # MOD NO: 0 LOG SECTION: P61-P67
036013,000860: # MOD BY: MORTH / BAIRNSFATHER
036014,000861: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 11 MAY 67 INCLUDE GETERAD CALL
036015,000862: # FUNCTIONAL DESCRIPTION: GIVEN THE PRESENT POSITION, UNITR, CALCULATE A NEW UNITR THAT IS ROTATED THROUGH
036016,000863: # TRANSFER ANGLE, THETA, ALONG TRAJECTORY. THEN CALCULATE SIN(LAT) AND USE TO OBTAIN FISCHER RADIUS.
036017,000864:
036018,000865: # SINCE FISHCALC USES UNI (LEFT BY ENTRY) EARTH SCALING IS ASSUMED. (WILL IMPROVE FOR SUITABLE TENNANT)
036019,000866:
036020,000867: # CALLING SEQUENCE: CALL
036021,000868: # FISHCALC
036022,000869: # ENTER WITH .5 SIN(THETA) IN MPAC.
036023,000870: # PUSHLOC IS AT PDL+0, AN ARBITRARY BASE VALUE IF LEQ 8D
036024,000871:
036025,000872: # SUBROUTINES CALLED: GET ERAD
036026,000873: # NORMAL EXIT MODE: RVQ
036027,000874: # EXIT MODES: NONE
036028,000875: # OUTPUT: ERADM (-29) M IN MPAC ON RETURNING
036029,000876: # NEW UNIT VECTOR NOT SAVED.
036030,000877: # SIN(LAT) NOT SAVED.
036031,000878: # PUSHLOC AT PDL+0
036032,000879:
036033,000880: # ERASEABLE INITIALIZATION REQUIRED:
036034,000881: # SDELF/2 =SIN(THETA) /2, IN MPAC LEFT BY TFF/TRIG
036035,000882: # CDELF/2 =COS(THETA) /2, STORED IN PDL 14D LEFT BY TFF/TRIG
036036,000883: # RONE (-29) M LEFT BY USER
036037,000884: # VONE (-7) M/CS LEFT BY USER
036038,000885: # URONE UR/2 LEFT BY USER
036039,000886: # UNI .5 UNIT(V*R) LEFT BY ENTRY / P61
036040,000887: # UNITW UNIT NORTH POLE LEFT BY PAD LOAD
036041,000888: # DEBRIS: QPRET, PDL+0 ... PDL+5
036042,000889:
036043,000890: # - - -
036044,000891: 26,3033 47315 FISHCALC PDVL VXV # URPR = UR CDELF + UHOR SDELF
036045,000892: 26,3034 02334 URONE
036046,000893: 26,3035 03502 UNI
036047,000894: 26,3036 76561 VXSC VSL1
036048,000895: # SIN(THETA) / 2 FROM PDL+0
036049,000896: 26,3037 74315 PDVL VXSC # TO PDL+0, +5
036050,000897: 26,3040 02334 URONE
036051,000898: 26,3041 00017 CDELF/2 # COS(THETA) /2
036052,000899: 26,3042 45455 VAD STADR
036053,000900: 26,3043 74235 STORE URH # FOR USE IN RTGO FROM EMS DISPLAY
036054,000901: 26,3044 72441 DOT SL1
036055,000902: 26,3045 01712 UNITW # FULL UNIT VECTOR UNIT NORTH
036056,000903: 26,3046 02156 STORE ALPHAV +4 # = .5 SIN(LAT)
036057,000904: 26,3047 77650 DUMPFISH GOTO
036058,000905: 26,3050 26570 GETERAD # SAVES FISCHER RAD (-29) M IN ERADM AND
036059,000906: # IN MPAC. RETURNS TO CALLER VIQ QPRET.
036060,000907:
Page 817 |
036062,000909: # SUBROUTINE NAME: VGAMCALC (USED BY S61.2) DATE: 01.21.67
036063,000910: # MOD NO: 0 LOG SECTION: P61-P67
036064,000911: # MOD BY: MORTH / BAIRNSFATHER
036065,000912: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 11 APR 67
036066,000913: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 21 NOV 67 VARIABLE MU ADDED.
036067,000914: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 68 ACCEPT DIFFERENT EARTH/MOON SCALE
036068,000915: # FUNCTIONAL DESCRIPTION: EARTH CENTERED VIS VIVA CALCULATION OF TERMINAL VELOCITY AND GAMMA (REL TO
036069,000916: # HORIZONTAL) GIVEN THE SCALAR QUANTITIES: PRESENT RADIUS AND VELOCITY AND THE TERMINAL RADIUS.
036070,000917: # THE USER MUST APPEND PROPER SIGN TO GAMMA, SINCE IT IS CALCULATED AS A POSITIVE NUMBER.
036071,000918: # THE EQUATIONS ARE
036072,000919:
036073,000920: # VGAM = SQRT(VN VN/MU + 2(RN-RTERM)/(RN RTERM) ) RTMU
036074,000921:
036075,000922: # COSGAM = H /RTERM VGAM = SQRT(LCP)/ (RTERM VGAM/RTMU)
036076,000923:
036077,000924: # VGAMCALC ASSUMES THAT THE TERMINAL RADIUS IS LESS THAN THE PRESENT RADIUS. BOTH CALCTFF AND CALCTPER
036078,000925: # MAKE THIS ASSUMPTION.
036079,000926:
036080,000927: # CALLING SEQUENCE: CALL STCALL RTERM
036081,000928: # VGAMCALC PREVGAM
036082,000929: # PUSHLOC AT PDL+0, ARBITRARY IF LEQ 12D
036083,000930: # C(MPAC) UNSPECIFIED C(MPAC)=NEW RTERM
036084,000931:
036085,000932: # SUBROUTINES CALLED: NONE
036086,000933: # NORMAL EXIT MODE: RVQ
036087,000934: # ALARMS: NONE
036088,000935: # OUTPUT: GAMMA / 360 IN MPAC, POSITIVE NUMBER
036089,000936: # VGAM E:(-7) M:(-5) M/CS IN PDL+0
036090,000937: # PUSHLOC AT PDL+2
036091,000938: # ERASABLE INITIALIZATION REQD:
036092,000939: # TFF/RTMU E:(17) M:(14) 1/SQRT(MU) LEFT BY TFFCONIC.
036093,000940: # RMAG1 E:(-29) M:(-27) M PRESENT RADIUS LENGTH LEFT BY TFFCONIC
036094,000941: # NRMAG E:(-29+NR) M NORM LENGTH OF PRESENT POSITION LEFT BY TFFCONIC
036095,000942: # M:(-27+NR)
036096,000943: # RTERM E:(-29) M:(-27) M TERMINAL RADIUS LENGTH LEFT BY CALCTFF
036097,000944: # NRTERM E:(-29+NR) M NORM LENGTH OF TERMINAL RADIUS LEFT BY CALCTFF
036098,000945: # M:(-27+NR)
036099,000946: # TFFVSQ E:(20) M:(18) 1/M -(V SQ/MU): PRESENT VELOCITY, NORM LEFT BY TFFCONIC
036100,000947: # TFFNP E:(-38+2NR) M LCP, SEMI-LATUS RECTUM, WEIGHT NR LEFT BY TFFCONIC
036101,000948: # M:(-36+2NR)
036102,000949: # DEBRIS: QPRET, PDL+0 ... PDL+3
036103,000950: # RTERM, NRTERM IF PREVGAM ENTERED.
Page 818 |
036105,000952:
036106,000953: 26,3051 77657 PREVGAM SL* # ENTER WITH NEW RTERM IN MPAC
036107,000954: # E: (-29) M: (-27)
036108,000955: 26,3052 20201 0,1 # X1 = -NR
036109,000956: 26,3053 00021 STORE NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
036110,000957:
036111,000958: 26,3054 41345 VGAMCALC DLOAD DMP
036112,000959: 26,3055 00041 NRMAG # RMAG M E: (-29+NR) M: (-27+NR)
036113,000960: 26,3056 00021 NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
036114,000961: 26,3057 45325 PDDL DSU # RMAG RTERM M E: (-58+2NR) M: (-54+2NR)
036115,000962: 26,3060 00041 NRMAG # RMAG M E: (-29+NR) M: (-27+NR)
036116,000963: 26,3061 00021 NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
036117,000964: 26,3062 56257 SL* DDV # 2(RN-RTERM) E: (-30+NR) M: (-28+NR)
036118,000965: 26,3063 20171 0 -8D,1 # (-8+NR)
036119,000966: # PUSH UP PRODUCT.
036120,000967: 26,3064 77625 DSU
036121,000968: 26,3065 00025 TFFVSQ # -(V SQ/MU) E: (20) M: (18)
036122,000969: 26,3066 41566 SQRT PUSH # SAVE VGAM/RT(MU) FOR NOW. E: (10) M: (9)
036123,000970: 26,3067 65271 DDV PDDL # XCH PDL+0, LEAVING VGAM FOR OUTPUT.
036124,000971: # VGAM TO PDL M/CS E: (-7) M: (-2)
036125,000972: 26,3070 00037 TFF/RTMU # E: (17) M: (14)
036126,000973: 26,3071 65205 DMP PDDL # RTERM VGAM/RTMU E: (-19+NR) M: (-18+NR)
036127,000974: 26,3072 00021 NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
036128,000975: 26,3073 00035 TFFNP # LC P =H.H/MU M E: (-38+2NR) M: (-36+2NR)
036129,000976: 26,3074 56366 SQRT DDV # E: (-19+NR) M: (-18+NR)
036130,000977: # PUSH UP DEN E: (-19+NR) M: (-18+NR)
036131,000978: # USE DDV OVFL AS LIMITER (|COS| <1.0)
036132,000979: 26,3075 65542 SR1 ACOS
036133,000980: 26,3076 77616 DUMPVGAM RVQ
036134,000981: # CALLER MUST SUPPLY OWN SIGN ...
036135,000982: # 22W 27MS
036136,000983:
Page 819 |
036138,000985: # SUBROUTINE NAME: TFF/TRIG (USED BY S61.2) DATE 01.17.67
036139,000986: # MOD NO: 0 LOG SECTION: P61-P67
036140,000987: # MOD BY: RR BAIRNSFATHER
036141,000988: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 14 APR 67
036142,000989: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 21 MAR 68 ACCEPT DIFFERENT EARTH/MOON SCALE
036143,000990: # FUNCTIONAL DESCRIPTION: USED BY ENTRY DISPLAY TO CALCULATE SIN(THETA), COS(THETA) FROM DATA LEFT IN
036144,000991: # PDL BY TFF SUBROUTINES. THE EQNS ARE
036145,000992:
036146,000993: # COS(THETA) = 1-2 ABS(ARG) / (RN RTERM (1+X) )
036147,000994: # 2
036148,000995: # SIN(THETA) = SGN(ARG) SQRT(1-COS (THETA) )
036149,000996:
036150,000997: # WHERE THETA = TRANSFER ANGLE
036151,000998: # AND ARG = P Z ABS(Z) IF ALFA ZZ LEQ 1
036152,000999: # ARG = (P / ALFA) SGN(Q1 + R 1/Z) IF ALFA Z Z G 1
036153,001000: # AND ARG HAS BEEN AFFIXED WITH THE SIGN OF SIN(THETA).
036154,001001: # CALLING SEQUENCE: CALL
036155,001002: # TFF/TRIG
036156,001003: # PUSHLOC AT PDL+0, ARBITRARY IF NOT EQ 14D
036157,001004: # C(MPAC) UNSPECIFIED
036158,001005:
036159,001006: # SUBROUTINES CALLED: NONE
036160,001007: # NORMAL EXIT MODES: RVQ
036161,001008: # ALARMS: NONE
036162,001009: # OUTPUT: C(MPAC) = .5 SIN(THETA)
036163,001010: # CDELF/2 = .5 COS(THETA) (IN PDL 14D)
036164,001011: # PUSHLOC AT PDL+0
036165,001012: # ERASABLE INITIALIZATION REQUIRED:
036166,001013: # TFFX X LEFT BY CALCTFF OR CALCTPER
036167,001014: # TFFTEM E: (-59+2NR) ARG LEFT BY CALCTFF OR CALCTPER
036168,001015: # M: (-55+2NR) WHERE ARG = LCP ZZ SGN(DELF) OR ARG = LCP/ALFA SGN(DELF)
036169,001016: # NRTERM E: (-29+NR) M NORM LENGTH OF TERMINAL RADIUS LEFT BY CALCTFF OR CALCTPER
036170,001017: # M: (-27+NR)
036171,001018: # NRMAG E: (-29+NR) M NORM LENGTH OF PRESENT POSITION LEFT BY TFFCONIC
036172,001019: # M: (-27+NR)
036173,001020: # DEBRIS: QPRET, CDELF/2
036174,001021:
036175,001022: 27,2000 SETLOC P60S5
036176,001023: 27,2000 BANK
036177,001024: 27,3052 COUNT* $$/S61.2
036178,001025: 27,3052 70545 TFF/TRIG DLOAD SR1
036179,001026: 27,3053 00043 TFFX
036180,001027: 27,3054 41215 DAD DMP
036181,001028: 27,3055 15334 HIDPHALF
036182,001029: 27,3056 00041 NRMAG # RMAG M E: (-29+NR) M: (-27+NR)
036183,001030: 27,3057 55205 DMP BDDV
036184,001031: 27,3060 00021 NRTERM # RTERM M E: (-29+NR) M: (-27+NR)
036185,001032: 27,3061 00045 TFFTEM # P ZSQ OR P/ALFA E: (-59+2NR) M: (-55+2NR)
036186,001033: 27,3062 44246 ABS BDSU # THE SIGN IS FOR SDELF.
036187,001034: 27,3063 15334 HIDPHALF
036188,001035: 27,3064 00017 STORE CDELF/2 # .5 COS(THETA)
036189,001036: 27,3065 57516 DSQ DCOMP # KEEP HONEST FOR SQRT.
Page 820 |
036191,001038: 27,3066 75415 DAD SQRT
036192,001039: 27,3067 15326 HIDP1/4
036193,001040: 27,3070 43565 DUMPTRIG SIGN RVQ
036194,001041: 27,3071 00045 TFFTEM # AFFIX SIGN(DELE/2)
036195,001042: # RETURN WITH .5 SIN(THETA) IN MPAC
036196,001043:
036197,001044: 04,2000 SETLOC P60S6
036198,001045: 04,2000 BANK
036199,001046:
036200,001047: 04,3731 COUNT* $$/S61.1
036201,001048: # 16W 15MS
036202,001049:
036203,001050: 04,3731 77620 DISPTARG STQ # C(MPAC) = TRGO ESTIMATE
036204,001051: 04,3732 03373 60GENRET
036205,001052: 04,3733 43205 DMP DAD # (TTE1 IS POSITIVE)
036206,001053: 04,3734 11752 KTETA1
036207,001054: 04,3735 03733 TTE1
036208,001055: 04,3736 37606 STCALL DTEAROT
036209,001056: 04,3737 46223 EARROT2
036210,001057: 04,3740 77624 CALL
036211,001058: 04,3741 11744 VRCALC
036212,001059: 04,3742 77650 GOTO
036213,001060: 04,3743 03373 60GENRET
036214,001061: 04,3744 50375 VRCALC VLOAD DOT
036215,001062: 04,3745 03542 URH
036216,001063: 04,3746 03474 RT
036217,001064: 04,3747 65512 SL2 ACOS
036218,001065: 04,3750 77616 RVQ
036219,001066: 04,3751 00052 05716 KTETA1 2DEC* .421844723 E2 B-14* # 1100 2PI/16384(163.84)
036220,001067: # END OF PROGRAM S61.2
036221,001068:
Page 821 |
036223,001070: # PROGRAM DESCRIPTION S62.3 DATE 10JAN67
036224,001071: # MOD NO 1 LOG SECTION P60-P67
036225,001072: # MOD BY ZELDIN
036226,001073: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 15 MAY 67 CHANGED TO REF COORDS.
036227,001074: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 17 JAN 68 ALFAPAD CHANGES MADE.
036228,001075: # FUNCTIONAL DESCRIPTION
036229,001076: # COMPUTE DESIRED GIMBOL ANGLES FOR ENTRY ATTITUDE
036230,001077: # THE FOLLOWING TRAJECTORY TRIAD IS AVAILABLE IN MEMORY AND IS COMPUTED EACH 2 SECONDS BY CM/POSE IN
036231,001078: # REFERENCE COORDINATES (V = VELOCITY RELATIVE TO EARTH) :
036232,001079:
036233,001080: # UXA = -UNIT(V)
036234,001081: # UYA = UNIT(V*R)
036235,001082: # UZA = UXA*UYA
036236,001083:
036237,001084: # GENERATE A DESIRED BODY TRIAD FOR TRIMMED FLIGHT WITH RESPECT TO THE RELATIVE VELOCITY VECTOR, USING
036238,001085: # ROLL COMMAND AND TRIM ANGLE OF ATTACK:
036239,001086:
036240,001087: # UXD = UNIT(UYD*UXA) SIN(ALFATRIM) + UXA COS(ALFATRIM)
036241,001088: # UYD = UYA COS(ROLLC) + UZA SIN(ROLLC)
036242,001089: # UZD = UXD * UYD
036243,001090:
036244,001091: # USE THE DESIRED SET (IN REFERENCE COORDS) AND REFSMMAT TO CALL CALCGA AND OBTAIN GIMBAL ANGLES
036245,001092: # IN 2S,C IN MPAC, +2 AND THETAD, +2.
036246,001093:
036247,001094: # CALLING SEQUENCE
036248,001095: # L CALL
036249,001096: # L+1 S62.3
036250,001097: # NORMAL EXIT MODE
036251,001098: # RETURN VIA QPRET DIRECTLY FROM CALCGA.
036252,001099: # SUBROUTINES CALLED
036253,001100: # CALCGA
036254,001101: # ALARM OR ABORT MODES
036255,001102: # NONE
036256,001103: # ERASABLE INITIALIZATION REQUIRED
036257,001104: # ROLLC ROLL COMMAND DP 1:S COMP AT 1REV
036258,001105: # ALFAPAD SP 1S,C /180 LEFT BY PAD LOAD ALFATRIM IS NEGATIVE.
036259,001106: # UXA/2 REF COORDS LEFT BY CM/POSE
036260,001107: # UYA/2 REF COORDS LEFT BY CM/POSE
036261,001108: # UZA/2 REF COORDS LEFT BY CM/POSE
036262,001109: # OUTPUT
036263,001110: # CPHI GIMBAL ANGLES (O,I,M) 2:S COMP TP (O,I,M)/180
036264,001111: # DEBRIS
036265,001112: # QTEMP, QPRET, PUSHLIST
036266,001113:
036267,001114: 10,2000 SETLOC P60S4
036268,001115: 10,2000 BANK
036269,001116:
036270,001117: 10,2412 COUNT* $$/S62.3
036271,001118:
Page 822 |
036273,001120: 10,2412 67201 S62.3 SETPD SLOAD
036274,001121: 10,2413 00001 0
036275,001122: 10,2414 03012 ALFAPAD # ALFATRIM /180, ALFA IS NEG.
036276,001123: 10,2415 41542 SR1 PUSH
036277,001124: 10,2416 65346 COS PDDL # XCH PDL, COS TO PDL0
036278,001125: 10,2417 65356 SIN PDDL # SIN TO PDL2
036279,001126: 10,2420 03316 ROLLC
036280,001127: 10,2421 74346 COS VXSC
036281,001128: 10,2422 03550 UYA/2 # REF COORDS
036282,001129: 10,2423 73525 PDDL SIN # PUSH VECTOR INTO PDL4,.9
036283,001130: 10,2424 03316 ROLLC
036284,001131: 10,2425 53361 VXSC VAD
036285,001132: 10,2426 03556 UZA/2 # REF COORDS
036286,001133: # VECTOR FROM PDL4, 9
036287,001134: 10,2427 77772 VSL1
036288,001135: 10,2430 02722 STORE YNB # = UYD REF COORDS
036289,001136:
036290,001137: 10,2431 76435 VXV VSL1
036291,001138: 10,2432 03542 UXA/2 # REF COORDS
036292,001139: 10,2433 65361 VXSC PDDL
036293,001140: # SIN TRIM FROM PDL2
036294,001141: # XCH PDL0 FOR COS TRIM
036295,001142: 10,2434 53361 VXSC VAD
036296,001143: 10,2435 03542 UXA/2 # REF COORDS
036297,001144: # FROM PDL0
036298,001145: 10,2436 77772 VSL1
036299,001146: 10,2437 02714 STORE XNB # X SC AXIS (.5 UNIT) REF COORDS
036300,001147:
036301,001148: 10,2440 76435 VXV VSL1
036302,001149: 10,2441 02722 YNB
036303,001150: 10,2442 26730 STOVL ZNB # Z SC IN REF COOR. SCALED AT 2
036304,001151: 10,2443 01734 REFSMMAT
036305,001152: 10,2444 26672 STOVL XSM
036306,001153: 10,2445 01742 REFSMMAT +6
036307,001154: 10,2446 26700 STOVL YSM
036308,001155: 10,2447 01750 REFSMMAT +12D
036309,001156: 10,2450 02706 STORE ZSM
036310,001157:
036311,001158: 10,2451 77650 GOTO
036312,001159: 10,2452 47344 CALCGA
036313,001160: # CALCGA WILL RETURN TO ORIGINAL CALLER
036314,001161: # VIA QPRET WITH 2,S COMP. ANGLES IN CPHI
End of include-file P61-P67.agc. Parent file is MAIN.agc