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, 1968
Note that the date is the date of the printout, not the date of the program revision.

032542,000002:                                                                                                  ## Copyright:   Public domain.
032543,000003:                                                                                                  ## Filename:    MAIN.agc
032544,000004:                                                                                                  ## Purpose:     Part of the source code for Colossus build 237.  
032545,000005:                                                                                                  ##              This is for the Command Module's (CM) Apollo Guidance
032546,000006:                                                                                                  ##              Computer (AGC), for Apollo 8.
032547,000007:                                                                                                  ## Assembler:   yaYUL
032548,000008:                                                                                                  ## Contact:     Onno Hommes <ohommes@alumni.cmu.edu>
032549,000009:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
032550,000010:                                                                                                  ## Page Scans:  www.ibiblio.org/apollo/ScansForConversion/Colossus237/
032551,000011:                                                                                                  ## Mod history: 2010-05-18 OH   Adapted from corresponding Colossus 249 file.
032552,000012:                                                                                                  ##              2010-12-04 JL   Remove Colossus 249 header comments. Change to double-has page numbers.
032553,000013:                                                                                                  ##              2011-02-08 JL   Minor fixes.
032554,000014:                                                                                                  ##              2016-11-02 RSB  Typo (offset-references +2 and +3 not indented).
032555,000015:                                                                                                  ##              2017-01-01 RSB  Proofed comment text using octopus/ProoferComments,
032556,000016:                                                                                                  ##                              and fixed errors found.
032557,000017:                                                                                                  ##              2017-01-18 RSB  Fixed comment-text errors noted while diff'ing
032558,000018:                                                                                                  ##                              vs Colossus 249.
032559,000019:                                                                                                  ##              2017-02-08 RSB  Fixed comment-text errors noted while diff'ing
032560,000020:                                                                                                  ##                              vs Artemis 72.
032561,000021: 

Page 740

032563,000023:                                                                                                  #  PROGRAM:             P61
032564,000024:                                                                                                  #  MOD NO.:             0    MAR. 13, 1967
032565,000025:                                                                                                  #  MOD BY:              R. HIRSCHKOP
032566,000026:                                                                                                  #  MOD NO:  1           MOD BY:  RR BAIRNSFATHER      DATE:  22 JUN 67     RESTARTS.
032567,000027:                                                                                                  #  MOD NO:  2           MOD BY:  RR BAIRNSFATHER      DATE:  17 JAN 68     COLOSSUS GSOP CHANGES.
032568,000028:                                                                                                  #  MOD NO:  3           MOD BY:  RR BAIRNSFATHER      DATE:   8 MAY 68     DELETE CMSM MANEUVER (PCR 50)
032569,000029:                                                                                                  #  FUNCTION:            TO CALCULATE AND DISPLAY EMS INITIALIZATION DATA
032570,000030:                                                                                                  #  CALLING SEQUENCE-    BY V37
032571,000031:                                                                                                  #  EXIT-                TO P62
032572,000032:                                                                                                  #  SUBROUTINE CALLS-    S61.1 , S61.3 , GOFLASH , FLAGUP , R02BOTH
032573,000033: 
032574,000034:                                                                                                  #  ERASABLE INITIALIZATION:
032575,000035:                                                                                                  #           EMSALT  (-29) M        .05G ALTITUDE ABOVE FISCHER ELLIPSOID   PAD LOADED.
032576,000036:                                                                                                  #           ALFAPAD  /180          HYPERSONIC CM TRIM ANGLE OF ATTACK      PAD LOADED
032577,000037:                                                                                                  #  OUTPUT:  THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
032578,000038:                                                                                                  #           GMAX   100 GMAX  (-14)  G,S     MAXIMUM ACCELERATION
032579,000039:                                                                                                  #           VPRED  (-7)  M/CS      PREDICTED VELOCITY AT 400K FT
032580,000040:                                                                                                  #           GAMMAEI  GAMMA/360     PREDICTED GAMMA    AT 400K FT
032581,000041:                                                                                                  #           RTGO   THETAH/360      RANGE ANGLE TO SPLASH FROM EMSALT       EMSALT IS PAD LOADED
032582,000042:                                                                                                  #           VIO    (-7) M/CS       INERTIAL VELOCITY AT       EMSALT       EMSALT IS PAD LOADED
032583,000043:                                                                                                  #           TTE    (-28) CS        TIME     TO                EMSALT       EMSALT IS PAD LOADED
032584,000044:                                                                                                  #           LAT(SPL)  /360         TARGET LOCATION                         LEFT BY DSKY
032585,000045:                                                                                                  #           LNG(SPL)  /360         TARGET LOCATION                         LEFT BY DSKY
032586,000046:                                                                                                  #           HEADSUP   (0)          +1 = LIFT DOWN, -1 = LIFT UP            LEFT BY DSKY
032587,000047:                                                                                                  #  DEBRIS:  SEE SUBROUTINES.
032588,000048: 
032589,000049: 26,2217                                           BANK     26                                    
032590,000050: 26,2000                                           SETLOC   P60S                                  
032591,000051: 26,2000                                           BANK                                           
032592,000052: 
032593,000053: 26,2217  E6,1661                                  EBANK=   AOG                                   
032594,000054: 
032595,000055: 26,2217                                           COUNT*   $$/P61                                
032596,000056: 
032597,000057: 26,2217           34675        P61                CA       BIT14                                 #  EXTENDED VERB SHOULD BE FREE THIS CLOSE
032598,000058: 26,2220           55044                           TS       EXTVBACT                              #  TO V37
032599,000059:                                                                                                  #                                          LOCK OUT EXTENDED VERBS SO CAN USE TFF
032600,000060:                                                                                                  #                                          ROUTINES.EXT VERB ERASE IS USED
032601,000061: 
032602,000062: 26,2221           44712                           CS       ONE                                   #  REMOVE IF HEADSUP EVER ON UPLINK DATA
032603,000063: 26,2222           55726                           TS       HEADSUP                               #  PRELOAD
032604,000064: 
032605,000065: 26,2223           02543                           TC       S61.1                                 #  CHECK STATE VECTOR AND IMU ORIENTATION
032606,000066:                                                                                                  #                               RV 60GENRET. DOES PHASCHNG, GROUP 4.
032607,000067: 
032608,000068: 26,2224           32424                           CA       V06N61                                #  LAT(SPL)     LNG(SPL)     HEADSUP
032609,000069:                                                                                                  #                                          XXX.XX DEG   XXX.XX DEG   XXXXX.
032610,000070: 26,2225           04555                           TC       BANKCALL                              
032611,000071: 26,2226           20763                           CADR     GOFLASHR                              
032612,000072: 26,2227           04106                           TC       GOTOPOOH                              

Page 741

032614,000074: 26,2230           02235                           TC       P61.4                                 
032615,000075: 26,2231           02224                           TC       -5                                    
032616,000076: 
032617,000077: 26,2232           05301        P61.3              TC       PHASCHNG                              
032618,000078: 26,2233           00014                           OCT      00014                                 
032619,000079: 
032620,000080: 26,2234           05112                           TC       ENDOFJOB                              
032621,000081: 
032622,000082: 26,2235           22007        P61.4              ZL                                             
032623,000083: 26,2236           11726                           CCS      HEADSUP                               #  C(HEADSUP)=  +1/-1
032624,000084: 26,2237           34675                           CA       BIT14                                 #  IF HEADSUP POS,ROLLC =180 DEG.(LIFT DWN)
032625,000085: 26,2240           12241                           NOOP                                           #  IF HEADSUP NEG,ROLLC=0 (LIFT UP)
032626,000086: 26,2241           53716                           DXCH     ROLLC                                 #  ROLLC IS USED BY S62.3: GIM ANG AT .05G
032627,000087: 
032628,000088: 26,2242           06006                           TC       INTPRET                               
032629,000089: 26,2243           77745        NEWRNVN            DLOAD                                          
032630,000090: 26,2244           01205                                    PIPTIME                               #  SAVE TIME OF RN,VN TO DETERMINE IF AN
032631,000091: 26,2245           37651                           STCALL   MM                                    #  UPDATE HAS OCCURRED
032632,000092: 26,2246           52063                                    STARTEN1                              #  INITIALIZE
032633,000093: 26,2247           77775                           VLOAD                                          
032634,000094: 26,2250           01171                                    RN                                    
032635,000095: 26,2251           02327                           STORE    RONE                                  
032636,000096: 26,2252           77656                           UNIT                                           
032637,000097: 26,2253           26343                           STOVL    URONE                                 
032638,000098: 26,2254           01177                                    VN                                    
032639,000099: 26,2255           02335                           STORE    VONE                                  
032640,000100: 26,2256           53435                           VXV      UNIT                                  
032641,000101: 26,2257           02343                                    URONE                                 
032642,000102: 26,2260           03502                           STORE    UNI                                   
032643,000103: 26,2261           45345        DUMPP61            DLOAD    DSU                                   
032644,000104: 26,2262           03651                                    MM                                    #  INITIAL VALUE OF PIPTIME
032645,000105: 26,2263           01205                                    PIPTIME                               
032646,000106: 26,2264           45040                           BMN      CALRB                                 
032647,000107: 26,2265           54243                                    NEWRNVN                               #  UPDATED... GO TRY AGAIN
032648,000108: 26,2266           54650                                    S61.2                                 #  GET DISPLAY DATA FOR N60 AND N63
032649,000109:                                                                                                  #                                          AND RETURN IN BASIC, BELOW.
032650,000110: 26,2267           05425        P61.1              TC       CLEARMRK                              
032651,000111: 26,2270           32423                           CA       V06N60                                #  GMAX         VPRED         GAMMAEI
032652,000112:                                                                                                  #                                          XXX.XX G     XXXXX. FPS    XXX.XX DEG
032653,000113: 26,2271           04555                           TC       BANKCALL                              
032654,000114: 26,2272           20624                           CADR     GOFLASH                               
032655,000115: 
032656,000116: 26,2273           04106                           TC       GOTOPOOH                              
032657,000117: 26,2274           02276                           TC       P61.2                                 #  PROCEED
032658,000118: 26,2275           02270                           TC       -5                                    
032659,000119: 
032660,000120: 26,2276           06006        P61.2              TC       INTPRET                               #  CORRECT  TTE  FOR TIME LAPSE DURING
032661,000121:                                                                                                  #                                          ABOVE DISPLAY.
032662,000122: 26,2277           45234                           RTB      DSU                                   
032663,000123: 26,2300           45505                                    LOADTIME                              #  CURRENT TIME.

Page 742

032665,000125: 26,2301           03651                                    MM                                    #  PIPTIME FOR RONE & VONE.
032666,000126: 26,2302           77615                           DAD                                            
032667,000127: 26,2303           03733                                    TTE1                                  #  NEGATIVE OF FREE FALL TIME.
032668,000128: 26,2304           03727                           STORE    TTE                                   #  DECREMENTED
032669,000129: 
032670,000130: 26,2305           77776                           EXIT                                           
032671,000131: 
032672,000132: 26,2306           32425                           CA       V06N63                                #  RTGO         VIO           TTE
032673,000133:                                                                                                  #                                          XXXX.X NM    XXXXX. FPS    XXBXX M,S
032674,000134: 26,2307           04555                           TC       BANKCALL                              
032675,000135: 26,2310           20624                           CADR     GOFLASH                               
032676,000136: 26,2311           04106                           TC       GOTOPOOH                              
032677,000137: 26,2312           02314                           TC       +2                                    
032678,000138: 26,2313           02276                           TC       P61.2                                 #  REDO
032679,000139: 
032680,000140:                                                                                                  #                                  .... THEN FALL INTO P62
032681,000141: 

Page 743

032683,000143:                                                                                                  #  PROGRAM-             P62
032684,000144:                                                                                                  #  MOD NO.-             0    MAR. 13, 1967
032685,000145:                                                                                                  #  MOD BY-              R. HIRSCHKOP
032686,000146:                                                                                                  #  MOD NO:  1           MOD BY:  RR BAIRNSFATHER      DATE: 21 MAR 67
032687,000147:                                                                                                  #  MOD NO:  2           MOD BY:  RR BAIRNSFATHER      DATE:  22 JUN 67     RESTARTS.
032688,000148:                                                                                                  #  MOD NO:  3           MOD BY:  RR BAIRNSFATHER      DATE:  17 JAN 68     COLOSSUS GSOP CHANGES.
032689,000149:                                                                                                  #  MOD NO:  4           MOD BY:  RR BAIRNSFATHER      DATE:   8 MAY 68     MOVE START OF DESIRED GIMBAL CALC.
032690,000150:                                                                                                  #  FUNCTION-            1) TO NOTIFY CREW WHEN GNC SYSTEM IS PREPARED FOR CM/SM SEPARATION
032691,000151:                                                                                                  #                       2) TO ORIENT THE CM TO THE CORRECT ATTITUDE FOR ATMOSPHERIC ENTRY
032692,000152:                                                                                                  #  CALLING SEQUENCE-    BY V37 OR DIRECTLY FROM P61
032693,000153:                                                                                                  #  EXIT-                TO P63
032694,000154:                                                                                                  #  ERASABLE INITIALIZATION:
032695,000155:                                                                                                  #           ALFAPAD                                       LEFT BY PAD LOAD
032696,000156:                                                                                                  #           LADPAD                                        LEFT BY PAD LOAD
032697,000157:                                                                                                  #           LODPAD                                        LEFT BY PAD LOAD
032698,000158:                                                                                                  #           LAT(SPL)    (MAY BE CHANGED BELOW)            LEFT BY DSKY, VIA P61
032699,000159:                                                                                                  #           LNG(SPL)    (MAY BE CHANGED BELOW)            LEFT BY DSKY, VIA P61
032700,000160:                                                                                                  #           HEADSUP     (MAY BE CHANGED BELOW)            LEFT BY DSKY, VIA P61
032701,000161:                                                                                                  #  SUBROUTINE CALLS:    NEWMODEX , S61.1 , CM/DAPIC , CM/DAPON , R02BOTH , GOPERF1 , GOFLASH , GODSPR
032702,000162: 
032703,000163: 26,2314                                           COUNT*   $$/P62                                
032704,000164: 
032705,000165: 26,2314           05243                           TC       NEWMODEX                              #  MODE CHANGE IF CAME FROM P61.
032706,000166: 26,2315           00076                           MM       62         B-14                       #  MODE CHANGE AUTOMATIC VIA V 37.
032707,000167: 26,2316           34712                           CA       ONE                                   
032708,000168: 26,2317           54332                           TS       DNLSTCOD                              
032709,000169: 
032710,000170: 26,2320           02543        P62                TC       S61.1                                 #  CHECK STATE VECTOR AND IMU ORIENTATION.
032711,000171: 
032712,000172: 26,2321           06006                           TC       INTPRET                               
032713,000173: 26,2322           47131                           SSP      RTB                                   
032714,000174: 26,2323           03325                                    POSEXIT                               
032715,000175: 26,2324           54402                                    P62.3                                 #  CALCULATE DESIRED .05G GIMBAL ANGLES,
032716,000176:                                                                                                  #  WITHOUT DISPLAY.
032717,000177: 26,2325           41630                                    CM/DAPIC                              #  START CM/POSE AND BODY RATE CALC
032718,000178: 
032719,000179:                                                                                                  #  DOES 2PHSCHNG, OCT 40116, OCT 05024, OCT 13000.
032720,000180:                                                                                                  #  CM/DAPIC SETS EBANK = EBAOG
032721,000181: 
032722,000182:                                                                                                  #  AND RETURNS IN BASIC TO P62.2.                                
032723,000183: 26,2326           00006        P62.2              EXTEND                                         
032724,000184: 26,2327           32431                           DCA      POSECADR                              #  CONTINUE WITH CM/POSE AFTER AV G.
032725,000185: 26,2330           53223                           DXCH     AVEGEXIT                              
032726,000186: 
032727,000187: 26,2331           34270                           CAF      OCT41                                 #  REQUEST SEPARATION
032728,000188: 26,2332           04555                           TC       BANKCALL                              
032729,000189: 26,2333           21031                           CADR     GOPERF1R                              
032730,000190: 26,2334           04106                           TC       GOTOPOOH                              
032731,000191: 26,2335           02340                           TC       +3                                    #  PROCEED
032732,000192: 

Page 744

032734,000194:                                                                                                  #                                                               NOTE:  NODOFLAG WILL BE SET IN CM/DAPON. <<<
032735,000195: 26,2336           02331                           TC       -5                                    #  ENTER
032736,000196: 26,2337           02232                           TC       P61.3                                 #  FOR PHASCHNG AND ENDOFJOB.
032737,000197: 
032738,000198: 26,2340           04574                 +3        TC       POSTJUMP                              
032739,000199: 26,2341           41550                           CADR     CM/DAPON                              #  DISABLE RCS DAP, ENABLE ENTRY DAP AND
032740,000200:                                                                                                  #                                          DO ATTITUDE HOLD.
032741,000201: 
032742,000202:                                                                                                  #                               WILL IDLE UNTIL CM/POSE DOES ONE UPDATE.
032743,000203:                                                                                                  #                               CM/DAPON DOES NO PHASCHNG.
032744,000204: 
032745,000205: 
032746,000206: 26,2342           32424        P62.1              CA       V06N61                                #  LAT(SPL)     LNG(SPL)      HEADSUP
032747,000207:                                                                                                  #  XXX.XX DEG   XXX.XX DEG    0000X.
032748,000208: 
032749,000209:                                                                                                  #                                  TERMINATE  ATTITUDE HOLD. SET UP COMMANDS:
032750,000210:                                                                                                  #                                  ROLLC,  ALFACOM,  BETACOM.   BEGIN MANUVER TO
032751,000211:                                                                                                  #                                  ENTRY ATTITUDE.
032752,000212: 
032753,000213: 26,2343           04555                           TC       BANKCALL                              
032754,000214: 26,2344           20624                           CADR     GOFLASH                               
032755,000215: 26,2345           02342                           TC       -3                                    
032756,000216: 26,2346           02350                           TC       +2                                    
032757,000217: 26,2347           02342                           TC       -5                                    
032758,000218: 
032759,000219: 26,2350           05301                           TC       PHASCHNG                              
032760,000220: 26,2351           04024                           OCT      04024                                 #  USE ENTRYVN FOR DISPLAY BELOW.
032761,000221: 
032762,000222:                                                                                                  #                                          EBANK WAS SET IN CM/DAPON TO EBAOG
032763,000223: 
032764,000224: 26,2352           11726                           CCS      HEADSUP                               #  C(HEADSUP) = +/- 1
032765,000225: 26,2353           34675                           CA       BIT14                                 #  IF HEADSUP POS,ROLLC=180 DEG (LIFT DWN)
032766,000226: 26,2354           12355                           NOOP                                           #  IF HEADSUP NEG,ROLLC=0 DEG  (LIFT UP)
032767,000227: 26,2355           55715                           TS       ROLLC                                 
032768,000228: 26,2356           31411                           CA       ALFAPAD                               #  NOMINAL ALFATRIM PAD LOADED, NEG. NO.
032769,000229: 26,2357           22007                           ZL                                             
032770,000230: 26,2360           53604                           DXCH     ALFACOM                               #  SET ALFACOM = ALFA TRIM, BETACOM=0
032771,000231: 
032772,000232: 26,2361           34712                           CA       ONE                                   #  PERMITS EXDAP2 TO CHANGE FLAG TO +0
032773,000233: 26,2362           55727                           TS       P63FLAG                               #  AS INDICATOR. STARTS UP P63.
032774,000234: 
032775,000235: 26,2363           34745                           CA       V06N22                                #  SET UP DISPLAY FOR CDU DESIRED VALUES
032776,000236: 26,2364           55263                           TS       ENTRYVN                               #  FROM ENTRY ATTITUDE CALC, THAT IS
032777,000237:                                                                                                  #                                          ALREADY GOING.
032778,000238: 26,2365           05435                           TC       UPFLAG                                #  TURN ON ENTRY DISPLAY
032779,000239: 26,2366           00134                           ADRES    ENTRYDSP                              #  ENTRYDSP = 92D  BIT 13  FLAG 6
032780,000240:                                                                                                  #  SKIP
032781,000241: 

Page 745

032783,000243: 26,2367           41700                           CS       CMDAPMOD                              #  GO DIRECTLY TO P63 IF BODY ATTITUDE
032784,000244: 26,2370           74712                           MASK     ONE                                   #  IS SUCH THAT THE DELAY TASK: WAKEP62
032785,000245: 26,2371           00006                           EXTEND                                         #  WILL BE OMITTED.
032786,000246: 26,2372           12420                           BZF      P63.1                                 #  DISABLE GRP 4, GO TO ENDOFJOB.
032787,000247: 
032788,000248:                                                                                                  #                                          (IE, CONTINUE IF CMDAPMOD = -1, OR +0)
032789,000249: 26,2373           02406                           TC       P63                                   
032790,000250: 
032791,000251:                                                                                                  #                                  PUT JOB TO SLEEP UNTIL VEHICLE MANUVER HAS
032792,000252:                                                                                                  #                                  REDUCED ALFA TO +/-45 DEG. CONSIDER REMAINING
032793,000253:                                                                                                  #                                  65 DEG (25 DEG IF ALFA NEG) TO ALFA TRIM TO
032794,000254:                                                                                                  #                                  OCCUR AT 3 DEG/SEC, AND TERMINATE P62 AT THAT
032795,000255:                                                                                                  #                                  TIME.
032796,000256:                                                                                                  #                                  TASK WAKEP62 IS CALLED FROM ENTRY DAP.
032797,000257: 
032798,000258: 26,2374           34760        WAKEP62            CA       PRIO13                                
032799,000259: 26,2375           05027                           TC       NOVAC                                 
032800,000260: 26,2376  E6,1661                                  EBANK=   AOG                                   
032801,000261: 26,2376           02406 54066                     2CADR    P63                                   
032802,000262: 26,2400           05213                           TC       TASKOVER                              
032803,000263: 
032804,000264: 26,2401           54402        P62.3CAD           CADR     P62.3                                 
032805,000265: 
032806,000266:                                                                                                  #                               EACH 2 SEC, CALCULATE GIMBAL ANGLES FOR ENTRY CON-
032807,000267:                                                                                                  #                               DITIONS THAT WILL HOLD IF REORIENTATION WERE MADE
032808,000268:                                                                                                  #                               AT PRESENT RN, VN. COME HERE FROM CM/POSE AND ALSO
032809,000269:                                                                                                  #                               IN KEPLER PHASE OF ENTRY.
032810,000270: 26,2402           52131        P62.3              SSP      GOTO                                  #  SET RETURN ADDRESS SO THAT   ROUTINE
032811,000271: 26,2403           00053                                    QPRET                                 #  GOES DIRECTLY TO ENTRY GUIDANCE EXIT
032812,000272: 26,2404           53570                                    ENDEXIT                               #  THAT DOES ENTRY DISPLAY ,GRP 5.
032813,000273: 26,2405           20302                                    S62.3                                 #   PUT DESIRED CDU VALUES IN CPHI'S FOR
032814,000274:                                                                                                  #  N22 DISPLAY.
032815,000275: 

Page 746

032817,000277:                                                                                                  #           P63
032818,000278:                                                                                                  #  PROGRAM-             P63
032819,000279:                                                                                                  #  MOD NO.-             0    MAR. 13, 1967
032820,000280:                                                                                                  #  MOD BY-              R. HIRSCHKOP
032821,000281:                                                                                                  #  MOD NO:  1           MOD BY:  RR BAIRNSFATHER      DATE:  22 JIN 67     RESTARTS.
032822,000282:                                                                                                  #  MOD NO:  2           MOD BY:  RR BAIRNSFATHER      DATE:  14 JUL 67     REVISED RESTARTS
032823,000283:                                                                                                  #  FUNCTION-            1) TO INITIALIZE THE ENTRY EQUATIONS
032824,000284:                                                                                                  #                       2) TO CONTINUE TO HOLD THE CM TO THE CORRECT ATTITUDE WITH RESPECT TO THE ATMOSPHERE FOR
032825,000285:                                                                                                  #                          THE ONSET OF ENTRY DECELERATION. ROLL ANGLE IS LIFT UP/DOWN AS SPECIFIED BY HEADSUP.
032826,000286:                                                                                                  #                       3) TO SENSE .05 G
032827,000287:                                                                                                  #  CALLING SEQUENCE-    DIRECTLY FROM P62
032828,000288:                                                                                                  #  EXIT-                TO ENDOFJOB
032829,000289:                                                                                                  #  SUBROUTINE CALLS-    NEWMODEX , GODSPR
032830,000290: 
032831,000291: 26,2406                                           COUNT*   $$/P63                                
032832,000292: 
032833,000293: 26,2406           05243        P63                TC       NEWMODEX                              
032834,000294: 26,2407           00077                           MM       63         B-14                       
032835,000295: 
032836,000296: 26,2410           04555                           TC       BANKCALL                              #  FLUSH N22 DISPLAY, IF ON.  (ONIT DISP
032837,000297: 26,2411           20607                           CADR     CLEANDSP                              #  DURING STARTENT PASS.)
032838,000298: 
032839,000299:                                                                                                  #                                          ARRIVE WITH EBANK = AOG.
032840,000300: 
032841,000301: 26,2412           32427                           CA       ENTCADR                               #  CONTINUE AT STARTENT AFTER CM/POSE .
032842,000302: 
032843,000303:                                                                                                  #                                  AT END OF STARTENT, CHANGE ADDRESS IN GOTOADDR
032844,000304:                                                                                                  #                                  TO CONTINUE AT  SCALEPOP  THEREAFTER.
032845,000305: 
032846,000306: 26,2413           55724                           TS       POSEXIT                               
032847,000307: 
032848,000308: 26,2414           32426                           CA       V06N64                                #  G            VI            R TO SPLSH
032849,000309:                                                                                                  #                                          XXX.XX G     XXXXX. FPS    XXXX.X NM
032850,000310: 26,2415           55263                           TS       ENTRYVN                               #  FOR DISPLAY CALL IN OVERNOUT.
032851,000311: 
032852,000312: 26,2416           44712                           CS       ONE                                   #  IN CASE FLAG IS LEFT AT +1 BY DAP. THE
032853,000313: 26,2417           55727                           TS       P63FLAG                               #  -1 ASSURES THAT EXO-ATM DAP WILL NOT
032854,000314:                                                                                                  #                                          CALL P63 OUT OF SEQUENCE IN P66 .
032855,000315: 
032856,000316: 26,2420           05301        P63.1              TC       PHASCHNG                              
032857,000317: 26,2421           00004                           OCT      00004                                 #  DISABLE. DISPLAY RESTARTED VIA ENTRY.
032858,000318: 
032859,000319: 26,2422           05112                           TC       ENDOFJOB                              
032860,000320: 
032861,000321: 26,2423           01474        V06N60             VN       0660                                  
032862,000322: 26,2424           01475        V06N61             VN       0661                                  
032863,000323: 26,2425           01477        V06N63             VN       0663                                  
032864,000324: 26,2426           01500        V06N64             VN       0664                                  
032865,000325: 26,2427           52000        ENTCADR            CADR     STARTENT                              

Page 747

032867,000327: 26,2430  E7,1451                                  EBANK=   RTINIT                                #  TO CARY OVER INTO ENTRY STEERING.
032868,000328: 26,2430           03375 76067  POSECADR           2CADR    CM/POSE                               
032869,000329: 

Page 748

032871,000331:                                                                                                  #  PROGRAM-             P64
032872,000332:                                                                                                  #  MOD NO.-             1     SEPT. 19, 1967
032873,000333:                                                                                                  #  MOD BY-              R. HIRSCHKOP
032874,000334:                                                                                                  #  MOD NO:  2           MOD BY:  RR BAIRNSFATHER      DATE:   8 MAY 68     REVISED COMMENTS FOR COLOSSUS
032875,000335:                                                                                                  #  FUNCTION-            1.  TO START ENTRY GUIDANCE AT .05G SELECTING ROLL  ATTITUDE, CONSTANT DRAG LEVEL, AND
032876,000336:                                                                                                  #                       DRAG THRESHOLD,  KA  , WHICH ARE KEYED TO THE .05G POINT.
032877,000337:                                                                                                  #                       2.  SELECT FINAL PHASE P67 IF V < 27000 FPS WHEN .2G OCCURS.
032878,000338:                                                                                                  #                       3.  ITERATE FOR UP-CONTROL SOLUTION  P65  IF V > 27000 FPS AND IF ALTITUDE RATE AND DRAG
032879,000339:                                                                                                  #                       LEVEL CONDITIONS ARE SATISFIED. ENTER P65 WHEN CONSTANT DRAG CONTROLLER HAS BROUGHT RANGE
032880,000340:                                                                                                  #                       AS PREDICTED TO WITHIN 25 NM OF DESIRED RANGE.
032881,000341:                                                                                                  #                       4.  SELECT FINAL PHASE  P67  IF NO UP-CONTROL SOLUTION EXISTS WITH VL > 18000 FPS.
032882,000342:                                                                                                  #  CALLING SEQUENCE-    BY RTB FROM REENTRY CONTROL
032883,000343:                                                                                                  #  EXIT-                BACK TO REENTRY CONTROL
032884,000344:                                                                                                  #  SUBROUTINE CALLS-    NEWMODEX
032885,000345: 
032886,000346: 
032887,000347: 26,2432                                           BANK     26                                    
032888,000348: 26,2000                                           SETLOC   P60S1                                 
032889,000349: 26,2000                                           BANK                                           
032890,000350: 
032891,000351:                                                                                                  #           THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING. RESTART PROTECTION IS VIA STEERING.
032892,000352: 
032893,000353: 26,2432                                           COUNT*   $$/P64                                
032894,000354: 
032895,000355: 26,2432           05243        P64                TC       NEWMODEX                              #  ENTER VIA RTB WHEN .05G IS EXCEEDED.
032896,000356: 26,2433           00100                           MM       64         B-14                       
032897,000357: 26,2434           32437                           CA       V06N68                                #  ROLLC        VI            HDOT
032898,000358:                                                                                                  #                                          XXX.XX DEG   XXXXX. FPS    XXXXX. FPS
032899,000359: 26,2435           55263                           TS       ENTRYVN                               #  DISPLAY VIA OVERNOUT.
032900,000360: 
032901,000361: 26,2436           06030                           TC       DANZIG                                #  ... AND CONTINUE IN INITROLL ...
032902,000362: 
032903,000363: 
032904,000364: 26,2437           01504        V06N68             VN       0668                                  
032905,000365: 

Page 749

032907,000367:                                                                                                  #  PROGRAM:             P65
032908,000368:                                                                                                  #  MOD NO:  0           MOD BY:  RR BAIRNSFATHER      DATE:  17 JAN 68     COLOSSUS GSOP ADDITION.
032909,000369:                                                                                                  #  FUNCTION:            TO CONTINUE ENTRY GUIDANCE, USING THE UP-CONTROL PHASE TO STEER TO A CONTROLLED EXIT
032910,000370:                                                                                                  #                       CONDITION. THIS PHASE TERMINATES  A) IF D  < Q7 FPSS, GO TO P66   ,
032911,000371:                                                                                                  #                                                         B) IF RDOT NEG, AND IF V < VL +500 FPS, GO TO P67.
032912,000372:                                                                                                  #  CALLING SEQUENCE:    BY RTB FROM REENTRY CONTROL
032913,000373:                                                                                                  #  EXIT:                BACK TO REENTRY CONTROL, OR TO ENDOFJOB.
032914,000374:                                                                                                  #  SUBROUTINE CALLS:    NEWMODEX
032915,000375: 
032916,000376: 26,2440                                           COUNT*   $$/P65                                
032917,000377: 
032918,000378: 26,2440           05243        P65                TC       NEWMODEX                              #  ENTER VIA RTB WHEN RANGE < 25 N M OF
032919,000379: 26,2441           00101                           MM       65         B-14                       #  TARGET.
032920,000380: 
032921,000381: 26,2442           34760                           CA       PRIO13                                
032922,000382: 26,2443           05027                           TC       NOVAC                                 
032923,000383: 26,2444     1263                                  EBANK=   ENTRYVN                               
032924,000384: 26,2444           02456 54062                     2CADR    P65.1                                 
032925,000385: 26,2446           05261                           TC       2PHSCHNG                              #  2 PHASE CHG REQUIRED TO PREVENT RE-
032926,000386: 26,2447           00554                           OCT      00554                                 #  STARTING FLASHING DISPLAY TWICE.
032927,000387: 26,2450           10035                           OCT      10035                                 #  4.55 SPOT AND SERVICER, HERE.
032928,000388: 26,2451           06006                           TC       INTPRET                               
032929,000389: 26,2452           47131                           SSP      RTB                                   
032930,000390: 26,2453           03646                                    GOTOADDR                              #  CHANGE ENTRY MODE TO UPCONTRL.
032931,000391: 26,2454           53027                                    UPCONTRL                              
032932,000392: 26,2455           52120                                    REFAZE10                              #  GO HERE TO REESTABLISH ENTRY SEQUENCER.
032933,000393:                                                                                                  #                                          AND CONTINUE AT UPCONTRL...
032934,000394: 
032935,000395: 26,2456           05447        P65.1              TC       DOWNFLAG                              
032936,000396: 26,2457           00134                           ADRES    ENTRYDSP                              #  ENTRYDSP = 92D  BIT 13 FLAG 6
032937,000397: 
032938,000398: 26,2460           32472                           CA       V16N69                                #  ROLLC        DL  (Q7)      VL
032939,000399: 26,2461           04555                           TC       BANKCALL                              #  XXX.XX DEG   XXX.XX G      XXXXX. FPS
032940,000400: 26,2462           20763                           CADR     GOFLASHR                              
032941,000401: 26,2463           02460                           TC       -3                                    #  NODOFLAG IS SET..
032942,000402: 26,2464           02467                           TC       +3                                    
032943,000403: 26,2465           02460                           TC       -5                                    
032944,000404: 26,2466           02232                           TC       P61.3                                 #  EST. GRP 4 FOR DSPLAY AND DO ENDOFJOB
032945,000405:                                                                                                  #                                          IF PROCEED, CONTINUE.
032946,000406: 26,2467           05435                           TC       UPFLAG                                
032947,000407: 26,2470           00134                           ADRES    ENTRYDSP                              #  ENTRYDSP = 92D   BIT 13 FLAG 6
032948,000408: 
032949,000409: 26,2471           02420                           TC       P63.1                                 #  DISABLE GRP 4,START UP ENTRY DISPLAY
032950,000410: 
032951,000411:                                                                                                  #                                          N06V68 VIA OVERNOUT, AS USED IN P64.
032952,000412: 
032953,000413: 26,2472           04105        V16N69             VN       1669                                  
032954,000414: 

Page 750

032956,000416:                                                                                                  #  PROGRAM:             P66
032957,000417:                                                                                                  #  MOD NO:  0           MOD BY:  RR BAIRNSFATHER      DATE:  17 JAN 68     COLOSSUS GSOP ADDITIONS.
032958,000418:                                                                                                  #  FUNCTION:            KEEP CM ATTITUDE IN TRIM TO THE RELATIVE VELOCITY VECTOR. ENTRY GUIDANCE STOPS GENERATING
032959,000419:                                                                                                  #                       ROLL COMMANDS UNTIL DRAG BUILDS UP TO  Q7+0.5 FPSS.
032960,000420: 
032961,000421:                                                                                                  #  CALLING SEQUENCE:    VIA RTB FROM REENTRY CONTROL.
032962,000422:                                                                                                  #  EXIT:                BACK TO REENTRY CONTROL.
032963,000423:                                                                                                  #  SUBROUTINE CALLS:    NEWMODEX
032964,000424: 
032965,000425: 26,2473                                           COUNT*   $$/P66                                
032966,000426: 
032967,000427: 26,2473           05243        P66                TC       NEWMODEX                              #  ENTER VIA RTB WHEN D < Q7 FPSS
032968,000428: 26,2474           00102                           MM       66         B-14                       
032969,000429: 
032970,000430: 26,2475           34745                           CA       V06N22                                #  OGA          IGA           MGA
032971,000431:                                                                                                  #  XXX.XX DEG   XXX.XX DEG    XXX.XX DEG
032972,000432: 26,2476           02502                           TC       P66END                                #  IN CASE CAME FROM P65, GO DISABLE GRP4,
032973,000433:                                                                                                  #                                          AND SET ENTRYDSP TO DO DISPLAY VIA
032974,000434:                                                                                                  #                                          OVERNOUT.
032975,000435:                                                                                                  #                                          ... AND CONTINUE AT KEP2 
032976,000436: 

Page 751

032978,000438:                                                                                                  #  P67
032979,000439: 
032980,000440:                                                                                                  #  PROGRAM-      P67
032981,000441:                                                                                                  #  MOD NO.-      0       MAR. 16, 1967
032982,000442:                                                                                                  #  MOD BY-       R. HIRSCHKOP
032983,000443:                                                                                                  #  FUNCTION-     TO TERMINATE STEERING WHEN THE CM VELOCITY WRT EARTH = 1000 FT/SEC
032984,000444:                                                                                                  #  CALLING SEQUENCE-
032985,000445:                                                                                                  #  EXIT-         TO POOH
032986,000446:                                                                                                  #  SUBROUTINE CALLS-  GOFLASH
032987,000447: 
032988,000448:                                                                                                  #  THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING.  RESTART PROTECTION IS VIA STEERING.
032989,000449: 
032990,000450: 26,2477                                           COUNT*   $$/P67                                
032991,000451: 
032992,000452: 26,2477           05243        P67                TC       NEWMODEX                              #  ENTER VIA RTB
032993,000453: 26,2500           00103                           MM       67         B-14                       
032994,000454: 26,2501           32510                           CA       V06N66                                #  ROLLC         XRNGERR         DNRNGERR
032995,000455:                                                                                                  #  XXX.XX DEG    XXXX.X NM       XXXX.X NM
032996,000456: 26,2502           55263        P66END             TS       ENTRYVN                               #  DISPLAY VIA OVERNOUT.
032997,000457: 
032998,000458: 26,2503           05435                           TC       UPFLAG                                #  (IN CASE CAME FROM P65. ENTRY DISPLAY
032999,000459: 26,2504           00134                           ADRES    ENTRYDSP                              #  WILL FLUSH FLASHING DISP. IF STILL ON)
033000,000460:                                                                                                  #                                          BIT 13 FLAG 6
033001,000461: 26,2505           05301        KILLGRP4           TC       PHASCHNG                              #  DISABLE GRP4, IN CASE CAME FROM HUNTEST.
033002,000462: 26,2506           00004                           OCT      00004                                 #  (COME TO KILLGRP4 VIA RTB,RET TO CALLER)
033003,000463: 
033004,000464: 26,2507           06030                           TC       DANZIG                                #  ... AND CONTINUE AT PREDICT3 ...
033005,000465: 
033006,000466: 26,2510           01502        V06N66             VN       0666                                  
033007,000467: 
033008,000468: 26,2511                                           BANK     26                                    
033009,000469: 26,2000                                           SETLOC   P60S2                                 
033010,000470: 26,2000                                           BANK                                           
033011,000471: 
033012,000472: 26,2511           32542        P67.1              CA       V16N67                                #  RTOGO        LAT           LONG
033013,000473:                                                                                                  #  XXXX.X NM    XXX.XX DEG    XXX.XX DEG
033014,000474: 26,2512           04555                           TC       BANKCALL                              
033015,000475: 26,2513           20624                           CADR     GOFLASH                               
033016,000476: 26,2514           02517                           TC       +3                                    #  EFFECTIVE GOTOPOOH
033017,000477: 26,2515           02517                           TC       +2                                    
033018,000478: 26,2516           02511                           TC       P67.1                                 #  REDO
033019,000479: 
033020,000480: 26,2517           46214                           CS       THREE                                 #  TURN OFF ENTRY DAP
033021,000481: 26,2520           00004                           INHINT                                         
033022,000482: 26,2521           70102                           MASK     CM/FLAGS                              #  CM/DSTBY , GAMDIFSW
033023,000483: 26,2522           54102                           TS       CM/FLAGS                              
033024,000484: 26,2523           00003                           RELINT                                         
033025,000485: 26,2524           00006                           EXTEND                                         
033026,000486: 26,2525           32642                           DCA      SERVCAD2                              

Page 752

033028,000488: 26,2526           53223                           DXCH     AVEGEXIT                              
033029,000489: 26,2527           14106                           TCF      GOTOPOOH                              
033030,000490: 

Page 753

033032,000492: 26,2530           43175        P67.2              VLOAD    CLEAR                                 #  CALC PRESENT LAT, LONG, ALT.
033033,000493: 26,2531           01171                                    RN                                    
033034,000494: 26,2532           00662                                    ERADFLAG                              #  USE PAD RAD FOR ALT.(NOT SEEN ANYWAY)
033035,000495: 26,2533           16152                           STODL    ALPHAV                                
033036,000496: 26,2534           01205                                    PIPTIME                               #  USE TIME OF RN
033037,000497: 26,2535           45014                           CLEAR    CALL                                  
033038,000498: 26,2536           01663                                    LUNAFLAG                              
033039,000499: 26,2537           26322                                    LAT-LONG                              
033040,000500: 26,2540           77634        P67.3              RTB                                            #  ENTRY EXIT THAT OMITS DISPLAY.
033041,000501: 26,2541           53603                                    SERVNOUT                              
033042,000502: 
033043,000503: 26,2542           04103        V16N67             VN       1667                                  
033044,000504: 26,2543     4270               OCT41              =        33DEC                                 
033045,000505: 26,2543  26,2641               SERVCAD2           =        SERVCAD1                              
033046,000506: 

Page 754

033048,000508:                                                                                                  #  SUBROUTINE NAME:     S61.1    
033049,000509:                                                                                                  #  MOD NO:  0                                                              DATE: 21 FEB 67
033050,000510:                                                                                                  #  MOD BY:  RR BAIRNSFATHER                              LOG SECTION:    P61-P67
033051,000511:                                                                                                  #  MOD NO:  1           MOD BY:  RR BAIRNSFATHER         DATE:           22 JUN 67       RESTARTS.
033052,000512:                                                                                                  #  FUNCTIONAL DESCRIPTION:     CALLED BY BOTH P61 AND P62
033053,000513:                                                                                                  #           FIRST,TEST TO SEE IF   AVERAGEG   IS ON. IF NOT, UPDATE THE STATE VECTOR TO PRESENT TIME + TOLERANCE
033054,000514:                                                                                                  #           AND TURN ON   AVERAGEG   AT THAT TIME, AND CONTINUE.   OTHERWISE CONTINUE:   SEE IF  IMU Y AXIS IS
033055,000515:                                                                                                  #           WITHIN 30 DEG OF V*R.  IF YES, EXIT SUBROUTINE S61.1.    IF NO,  SEE IF -Y AXIS OF IMU IS WITHIN
033056,000516:                                                                                                  #           30 DEG OF V*R.   IF YES, DISPLAY ALARM:  01427   IMU REVERSED.
033057,000517:                                                                                                  #                            IF NO, DISPLAY ALARM:   01426   IMU UNSATISFACTORY.
033058,000518:                                                                                                  #           IN EITHER OF THESE LAST 2 CASES, WAIT  10 SEC  AND THEN EXIT SUBROUTINE  S61.1.
033059,000519: 
033060,000520:                                                                                                  #  REMARK:              THERE WILL BE A SHORT 10 SEC DELAY IF AN ALARM EXIT IS TAKEN. THE DELAY FOR INTEGRATION IS
033061,000521:                                                                                                  #                       AS SHORT AS CAN BE MADE, BUT IS ARBITRARY SINCE IT  DEPENDS ON THE AGE OF THE STATE VECTOR.
033062,000522: 
033063,000523:                                                                                                  #  CALLING SEQUENCE:  CALL
033064,000524:                                                                                                  #                            S61.1
033065,000525:                                                                                                  #                     C(MPAC) UNSPECIFIED
033066,000526:                                                                                                  #                     PUSHLOC UNSPECIFIED
033067,000527: 
033068,000528:                                                                                                  #  SUBROUTINES CALLED:  LOADTIME, CSMPREC, TPAGREE,
033069,000529:                                                                                                  #                       WAITLIST, JOBSLEEP, JOBWAKE, PREREAD, ALARM, GODSPR, BANKCALL, DELAYJOB
033070,000530:                                                                                                  #  NORMAL EXIT MODES:   RVQ
033071,000531:                                                                                                  #  ALARMS:  01426     IMU UNSATISFACTORY
033072,000532:                                                                                                  #           01427     IMU REVERSED
033073,000533:                                                                                                  #  OUTPUT:  POSSIBLE ALARMS
033074,000534:                                                                                                  #           POSSIBLY TDEC1, RATT, VATT, RN, VN
033075,000535:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
033076,000536:                                                                                                  #           AVEGFLAG               AVERAGEG ON OR OFF                      LEFT BY SERVICER
033077,000537:                                                                                                  #           PIPTIME  (-28) CS      TIME OF PIPA UPDATE                     LEFT BY READACCS
033078,000538:                                                                                                  #           RN     (-29) M         STATE VECTOR                            LEFT BY AVERAGEG
033079,000539:                                                                                                  #           VN     (-7) M/CS       STATE VECTOR                            LEFT BY AVERAGEG
033080,000540:                                                                                                  #           REFSMMAT  (-1)         .5 REF TO SM MATRIX                     LEFT BY LAST IMU ALIGNMENT
033081,000541:                                                                                                  #  DEBRIS:  QPRET
033082,000542:                                                                                                  #           POSSIBLY PIPTIME1, RATT, VATT, TDEC1, RN1, VN1, QTEMP, X1      IF UPDATED
033083,000543:                                                                                                  #           PUSH LIST LOCS USED BY CSMPREC
033084,000544: 
033085,000545: 26,2543  E6,1661                                  EBANK=   AOG                                   #  FOR 60GENRET , S61DT
033086,000546: 26,2543                                           BANK     26                                    
033087,000547: 26,2000                                           SETLOC   P60S3                                 
033088,000548: 26,2000                                           BANK                                           
033089,000549: 
033090,000550: 26,2543                                           COUNT*   $$/S61.1                              
033091,000551: 
033092,000552: 26,2543           00006        S61.1              EXTEND                                         
033093,000553: 26,2544           23773                           QXCH     60GENRET                              #  SAVE RET ADDR IN EB 6
033094,000554: 26,2545           04555                           TC       BANKCALL                              
033095,000555: 26,2546           17573                           CADR     R02BOTH                               
033096,000556: 26,2547           06006                           TC       INTPRET                               

Page 755

033098,000558: 26,2550           45014                           BON      CALRB                                 
033099,000559: 26,2551           00716                                    AVEGFLAG                              #  IS AVERAGEG ON
033100,000560: 26,2552           54603                                    S61.1A                                #  YES
033101,000561: 26,2553           27570                                    MIDTOAV2                              #  GET FUTURE STATE VECTOR SOON AS CAN
033102,000562: 
033103,000563: 26,2554           30155                           CA       MPAC       +1                         #  RETURN INHINTED ***
033104,000564: 26,2555           55774                           TS       S61DT                                 #  FOR RESTART.
033105,000565: 26,2556           05140                           TC       WAITLIST                              
033106,000566: 26,2557  E7,1431                                  EBANK=   DVCNTR                                
033107,000567: 26,2557           02564 54067                     2CADR    S61.1C                                
033108,000568: 26,2561           05301                           TC       PHASCHNG                              
033109,000569: 26,2562           40434                           OCT      40434                                 
033110,000570: 26,2563           05112                           TC       ENDOFJOB                              
033111,000571: 
033112,000572: 26,2564           34760        S61.1C             CA       PRIO13                                
033113,000573: 26,2565           05042                           TC       FINDVAC                               
033114,000574: 26,2566  E6,1661                                  EBANK=   AOG                                   
033115,000575: 26,2566           02602 54066                     2CADR    S61.1A     -1                         
033116,000576: 
033117,000577: 26,2570           00006                           EXTEND                                         
033118,000578: 26,2571           32642                           DCA      SERVCAD1                              #  HE WHO STARTS AVERAGEG MUST SERVICE
033119,000579: 26,2572           53223                           DXCH     AVEGEXIT                              #  THE EXIT.
033120,000580: 
033121,000581: 26,2573           05261                           TC       2PHSCHNG                              
033122,000582: 26,2574           00454                           OCT      00454                                 
033123,000583: 26,2575           00415                           OCT      00415                                 
033124,000584: 
033125,000585: 26,2576           34753                           CA       EBENTRY                               #  SET EB= 7 FOR PREREAD.
033126,000586: 26,2577           54003                           TS       EBANK                                 
033127,000587: 
033128,000588: 26,2600           04574                           TC       POSTJUMP                              
033129,000589: 26,2601           76604                           CADR     PREREAD                               #  PREREAD DOES TC TASKOVER.
033130,000590: 
033131,000591: 26,2602           06006                           TC       INTPRET                               
033132,000592: 26,2603           77204        S61.1A             BOVB     VLOAD                                 
033133,000593: 26,2604           57314                                    TCDANZIG                              #  TURN OFF OVFIND, IF ON
033134,000594: 26,2605           01177                                    VN                                    #  VN   (-7) M/CS
033135,000595: 26,2606           64235                           VXV      MXV                                   
033136,000596: 26,2607           01171                                    RN                                    #  RN  (-29)  M
033137,000597: 26,2610           01736                                    REFSMMAT                              #  .5 UNIT MATRIX
033138,000598: 26,2611           71256                           UNIT     DLOAD                                 
033139,000599: 26,2612           00160                                    MPAC       +3                         #  GET  COS(THETA)/2
033140,000600: 26,2613           43240                           BMN      DAD                                   
033141,000601: 26,2614           54621                                    S61.1B                                #  DO TEST ON -YSM
033142,000602: 26,2615           14644                                    C(30)LIM                              #  = 1.0 -.5 COS(30)
033143,000603: 26,2616           47004                           BOVB     RTB                                   
033144,000604: 26,2617           54640                                    RETRN1                                
033145,000605: 26,2620           54625                                    RETRN3                                

Page 756

033147,000607: 26,2621           43276        S61.1B             DCOMP    DAD                                   
033148,000608: 26,2622           14644                                    C(30)LIM                              #  = 1.0- .5 COS(30)
033149,000609: 26,2623           77404                           BOVB     EXIT                                  
033150,000610: 26,2624           54630                                    RETRN2                                
033151,000611: 
033152,000612: 26,2625           05537        RETRN3             TC       ALARM                                 
033153,000613: 26,2626           01426                           OCT      01426                                 #  IMU UNSATISFACTORY
033154,000614: 26,2627           02632                           TC       RETRN2     +2                         
033155,000615: 
033156,000616: 26,2630           05537        RETRN2             TC       ALARM                                 
033157,000617: 26,2631           01427                           OCT      01427                                 #  IMU REVERSED
033158,000618: 
033159,000619: 26,2632           34743                 +2        CAF      V05N09                                
033160,000620: 26,2633           04555                           TC       BANKCALL                              
033161,000621: 26,2634           20602                           CADR     GODSPR                                #  DO DISPLAY
033162,000622: 26,2635           32645                           CA       10SECS                                
033163,000623: 26,2636           04555                           TC       BANKCALL                              
033164,000624: 26,2637           01730                           CADR     DELAYJOB                              
033165,000625: 
033166,000626: 26,2640           01773        RETRN1             TC       60GENRET                              
033167,000627: 
033168,000628: 26,2641  E7,1431                                  EBANK=   DVCNTR                                
033169,000629: 26,2641           03136 76067  SERVCAD1           2CADR    SERVEXIT                              
033170,000630: 26,2643           22111 17335  C(30)LIM           2DEC     .566985                               #  = 1.0 - .5 COS(30)
033171,000631: 26,2645           01750        10SECS             DEC      1000       B-14                       #  1000 CS
033172,000632: 26,2646           00000 13560  60SECDP            2DEC     6000       B-28                       #  6000 CS
033173,000633: 

Page 757

033175,000635:                                                                                                  #  PROGRAM NAME:      S61.2                                                DATE:           14 FEB 67
033176,000636:                                                                                                  #  MOD NO:  1                                                              LOG SECTION:    P61-P67
033177,000637:                                                                                                  #  MOD BY:  MORTH / BAIRNSFATHER
033178,000638:                                                                                                  #  MOD NO:  2           MOD BY:  MORTH/BAIRNSFATHER   DATE:  11 MAY 67     ADD 2ND ITER FOR ERAD AT 400K FT.
033179,000639:                                                                                                  #  MOD NO:  3           MOD BY:  RR BAIRNSFATHER      DATE:  21 NOV 67     VARIABLE MU ADDED.
033180,000640:                                                                                                  #  MOD NO:  4           MOD BY:  RR BAIRNSFATHER      DATE:  21 MAR 68     DIFFERENT EARTH/MOON SCALES IN TFF'S
033181,000641:                                                                                                  #  FUNCTIONAL DESCRIPTION:      CALLED BY P61.  PROVIDES DISPLAYS FOR NOUNS  N60  AND  N63  .
033182,000642:                                                                                                  #           PROGRAM CALCULATES ENTRY DISPLAY OF MAXIMUM ACCELERATION EXPECTED  (GMAX)  AND ALSO THE EXPECTED
033183,000643:                                                                                                  #           INERTIAL VELOCITY (VPRED) AND ENTRY ANGLE   (GAMMAEI)   THAT WILL OBTAIN AT 400K FT ABOVE THE FISCHER
033184,000644:                                                                                                  #           ELLIPSOID.   PROGRAM ALSO CALCULATES A SECOND DISPLAY RELATIVE  TO THE EMSALT  ABOVE FISCHER ELLIPSOID
033185,000645:                                                                                                  #           AND CONSISTS OF RANGE TO SPLASH FROM NOW (RTGO) , PREDICTED INERTIAL VELOCITY (VIO) , AND THE TIME TO
033186,000646:                                                                                                  #           GO FROM NOW (TTE) .
033187,000647:                                                                                                  #  CALLING SEQUENCE:  CALL
033188,000648:                                                                                                  #                            S61.2
033189,000649:                                                                                                  #           C(MPAC) UNSPECIFIED
033190,000650:                                                                                                  #           PUSHLOC WILL BE SET TO ZERO.
033191,000651: 
033192,000652:                                                                                                  #  SUBROUTINES CALLED:  TFFCONIC,  CALCTFF,  TFF/TRIG,  FISHCALC,  GETERAD,  VGAMCALC
033193,000653:                                                                                                  #  NORMAL EXIT MODES:    RTB  P61.1
033194,000654:                                                                                                  #  ALARMS:  NONE
033195,000655:                                                                                                  #  OUTPUT:  THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
033196,000656:                                                                                                  #           GMAX   100 GMAX  (-14)  G,S     MAXIMUM ACCELERATION
033197,000657:                                                                                                  #           VPRED  (-7)  M/CS      PREDICTED VELOCITY AT 400K FT
033198,000658:                                                                                                  #           GAMMAEI  GAMMA/360     PREDICTED GAMMA    AT 400K FT
033199,000659:                                                                                                  #                                  FOR TM, DP(GAMMAEI) = (GAMMAEI, RTGO) / 360
033200,000660:                                                                                                  #           RTGO   THETAH/360      RANGE ANGLE TO SPLASH FROM EMSALT       EMSALT IS PAD LOADED
033201,000661:                                                                                                  #           VIO    (-7) M/CS       INERTIAL VELOCITY AT       EMSALT       EMSALT IS PAD LOADED
033202,000662:                                                                                                  #           TTE    (-28) CS        TIME TO                    EMSALT       EMSALT IS PAD LOADED
033203,000663: 
033204,000664:                                                                                                  #           PUSHLOC = 0
033205,000665:                                                                                                  #           CONIC PARAMETERS STORED IN VAC AREA (SEE TFF SUBROUTINES)
033206,000666:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
033207,000667:                                                                                                  #           RONE   (-29) M         STATE VECTOR                            LEFT BY USER
033208,000668:                                                                                                  #           VONE   (-7)  M/CS      STATE VECTOR                            LEFT BY USER
033209,000669:                                                                                                  #           URONE  UR/2                                                    LEFT BY USER
033210,000670:                                                                                                  #           UNI    (-1)            UNIT NORMAL V*R                         LEFT BY ENTRY / P61
033211,000671:                                                                                                  #           THETAH  THETAH/360     RANGE ANGLE                             LEFT BY ENTRY / P61
033212,000672:                                                                                                  #           UNITW  (0)             UNIT POLAR VECTOR                       LEFT BY  PAD LOAD
033213,000673:                                                                                                  #           EMSALT  (-29) M        EMS INTERFACE ALTITUDE                  LEFT BY  PAD LOAD
033214,000674:                                                                                                  #                                  ORBITAL REENTRY:  284643 FT, LUNAR REENTRY:  297431 FT.
033215,000675:                                                                                                  #  DEBRIS:  QPRET,
033216,000676:                                                                                                  #           ALL PDL LOCATIONS ABOVE 12D, INCLUDING X1,X2,S1,S2
033217,000677:                                                                                                  #           ALSO PDL+0 ... PDL+5, WHERE INITIAL PUSHLOC = PDL
033218,000678: 

Page 758

033220,000680: 
033221,000681: 
033222,000682:                                                                                                  #  THE FOLLOWING PUSH LIST LOCATIONS HAVE BEEN RESERVED FOR TFF ROUTINES AND ARE REPEATED HERE FOR CONVENIENCE.
033223,000683: 
033224,000684:                                                                                                  #  OF COURSE  FOR S61.2 USAGE, EARTH ORIGIN SCALING IS USED.
033225,000685: 
033226,000686:                                                                                                  #                                                               BELOW      E:   IS USED FOR EARTH ORIGIN SCALE
033227,000687:                                                                                                  #                                                                          M:   IS USED FOR MOON ORIGIN SCALE
033228,000688: 
033229,000689:                                                                                                  #                                          RTERM    =      18D             TERMINAL RADIUS M  E: (-29)  M: (-27)
033230,000690:                                                                                                  #                                          NRTERM   =      16D             TERMINAL RADIUS M  E: (-29+NR)
033231,000691:                                                                                                  #                                                                                             M: (-27+NR)
033232,000692:                                                                                                  #                                          RMAG1    =      12D             PRESENT RADIUS M   E: (-29)  M: (-27)
033233,000693:                                                                                                  #                                          NRMAG    =      32D             PRESENT RADIUS M   E: (-29+NR)
033234,000694:                                                                                                  #                                                                                             M: (-27+NR)
033235,000695:                                                                                                  #                                          SDELF/2                         SIN(THETA)  /2
033236,000696:                                                                                                  #                                          CDELF/2  =      14D             COS(THETA) /2
033237,000697:                                                                                                  #                                          TFFX     =      34D             X, ARGUMENT OF SERIES T(X).
033238,000698:                                                                                                  #                                          TFFTEM   =      36D             ARG  FOR TRANSFER ANGLE CALCULATION.
033239,000699:                                                                                                  #                                          TFFNP    =      28D             LC P  M  E: (-38+2NR)   M: (-36+2NR)
033240,000700:                                                                                                  #                                          TFF/RTMU =      30D             1/SQRT(MU)         E: (17)   M: (14)
033241,000701:                                                                                                  #                                          TFFVSQ   =      20D             -(VN.VN/MU)  1/M   E: (20)   M: (18)
033242,000702: 

Page 759

033244,000704: 34,3654                                           BANK     34                                    
033245,000705: 26,2000                                           SETLOC   P60S2                                 
033246,000706: 26,2000                                           BANK                                           
033247,000707: 
033248,000708: 26,2650                                           COUNT*   $$/S61.2                              
033249,000709: 
033250,000710:                                                                                                  #                                          PDL LEFT AT ZERO BY TARGETNG
033251,000711: 
033252,000712: 26,2650           45345        S61.2              DLOAD    DSU                                   
033253,000713: 26,2651           02020                                    EMSALT                                
033254,000714: 26,2652           15000                                    290KFT                                
033255,000715: 26,2653           71244                           BPL      DLOAD                                 
033256,000716: 26,2654           54774                                    LUNENT                                
033257,000717: 26,2655           17316                                    1/RTMU                                #  ESTABLISH MU FOR ORBITAL ENTRIES
033258,000718: 26,2656           77624        CALLCON            CALL                                           
033259,000719: 26,2657           56721                                    TFFCONIC                              #  FILL VAC AREA WITH CONIC PARAMETERS
033260,000720: 
033261,000721: 26,2660           45145                           DLOAD    CALL                                  
033262,000722: 26,2661           15020                                    RTRIAL                                #  1ST GUESS AT TERMINAL RADIUS  (-29)
033263,000723: 26,2662           57031                                    CALCTFF                               #  SAVES MPAC IN RTERM  (18D)
033264,000724: 
033265,000725: 26,2663           77624                           CALL                                           #  CALC SDELF/2,  CDELF/2
033266,000726: 26,2664           56573                                    TFF/TRIG                              #  RETURN WITH S(THETA) IN MPAC
033267,000727: 
033268,000728: 26,2665           77624                           CALL                                           #  GET FISCHER RADIUS (-29) M
033269,000729: 26,2666           55027                                    FISHCALC                              #  ANS IN MPAC AND IN ERADM.
033270,000730: 
033271,000731: 26,2667           45015                           DAD      CALL                                  
033272,000732: 26,2670           02020                                    EMSALT                                
033273,000733: 26,2671           57031                                    CALCTFF                               #  SAVES MPAC IN  RTERM  (18D)
033274,000734: 
033275,000735: 26,2672           77676                           DCOMP                                          #  NEGATIVE AS IN COUNTDOWN.
033276,000736: 26,2673           03733                           STORE    TTE1                                  #  DECR TTE FROM BASE TTE1. (RESTART)
033277,000737:                                                                                                  #                                          DNLIST AND DSKY WILL USE TTE.
033278,000738: 26,2674           37727                           STCALL   TTE                                   #  LET MISS CONTRL DECR BY ELAPSED TIME
033279,000739:                                                                                                  #                                          TTE= TIME FROM NOW TO EMSALT +FISCHER
033280,000740: 
033281,000741: 26,2675           56573                                    TFF/TRIG                              #  S(THETA) IN MPAC ON RETURNING
033282,000742:                                                                                                  #                                          AND THETA= RANGE FROM NOW TO EMSALT
033283,000743: 
033284,000744: 26,2676           77624                           CALL                                           
033285,000745: 26,2677           55027                                    FISHCALC                              
033286,000746: 26,2700           77624                           CALL                                           
033287,000747: 26,2701           56626                                    VRCALC                                
033288,000748: 26,2702           77624                           CALL                                           
033289,000749: 26,2703           56613                                    DISPTARG                              
033290,000750: 26,2704           77624                           CALL                                           
033291,000751: 26,2705           56613                                    DISPTARG                              
033292,000752: 26,2706           37714                           STCALL   RTGO                                  

Page 760

033294,000754: 26,2707           55050                                    VGAMCALC                              
033295,000755: 
033296,000756: 26,2710           77605                           DMP                                            #  MPAC = GAMMA
033297,000757:                                                                                                  #  PDL0 HAS VGAM.
033298,000758: 26,2711           43265                           BDDV     DAD                                   
033299,000759: 26,2712           15026                                    VEMSCON                               #  -HS D 180/PI (-14)
033300,000760: 26,2713           00001                                    0                                     #  VGAM FROM PDL0.
033301,000761: 26,2714           17725                           STODL    VIO                                   #  PREDICTED VELOCITY AT EMSALT.
033302,000762: 
033303,000763:                                                                                                  #                               GAMMA AND VGAM AT 300K FT ARE REQUIRED BY  GMAX
033304,000764:                                                                                                  #                               ALGORITHM.
033305,000765: 
033306,000766: 26,2715           02241                                    ERADM                                 #  EARTH RADIUS FROM GETERAD     (-29) M
033307,000767:                                                                                                  #                                          = FISCHER RADIUS  (-29)
033308,000768: 26,2716           77615                           DAD                                            
033309,000769: 26,2717           06462                                    300KFT                                #  M  (-29)
033310,000770: 26,2720           34023                           STCALL   RTERM                                 #  TERMINAL RADIUS  M  (-29)
033311,000771: 
033312,000772: 26,2721           55045                                    PREVGAM                               #  VGAMCALC WITH NEW RTERM
033313,000773: 
033314,000774:                                                                                                  #  VBAR = (V(FPS)  - 36KF/S) / 20KF/S
033315,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.
033316,000776: 
033317,000777: 
033318,000778:                                                                                                  #                                          GMAXCALC
033319,000779: 26,2722           45325                           PDDL     DSU                                   #  GAM TO PDL2
033320,000780: 26,2723           00001                                    0                                     #  VGAM IS IN PDL0  (-7)
033321,000781: 26,2724           15004                                    36KFT/S                               #  (-7)   M/CS
033322,000782: 26,2725           63471                           DDV      DSQ                                   
033323,000783: 26,2726           15006                                    20KFT/S                               #  (-6)   M/CS
033324,000784: 26,2727           00001                           STORE    0                                     #  VBARSQ  (-2)  TO PDL0
033325,000785: 
033326,000786: 26,2730           43205                           DMP      DAD                                   
033327,000787: 26,2731           15010                                    KR1                                   
033328,000788:                                                                                                  #                                          GAM,    POS DOWN, FROM PDL2
033329,000789: 26,2732           41215                           DAD      DMP                                   
033330,000790: 26,2733           15012                                    -6.05DEG                              
033331,000791: 26,2734           15014                                    KR2                                   
033332,000792: 26,2735           77725                           PDDL                                           #  XCH PDL+0 FOR VBARSQ  (-2)
033333,000793: 26,2736           43271                           DDV      DAD                                   
033334,000794: 26,2737           15024                                    KR4                                   
033335,000795: 26,2740           17330                                    DP2(-4)                               
033336,000796: 26,2741           77665                           BDDV                                           
033337,000797:                                                                                                  #                                          NUM FROM PDL+0
033338,000798: 26,2742           51015                           DAD      BPL                                   
033339,000799: 26,2743           15016                                    KR3                                   
033340,000800: 26,2744           54747                                    +3                                    
033341,000801: 26,2745           77745                           DLOAD                                          
033342,000802: 26,2746           15332                                    HI6ZEROS                              
033343,000803: 26,2747           17722                           STODL    GMAX                                  #  100 GMAX  (-14)

Page 761

033345,000805:                                                                                                  #  DISPLAY USES GMAX AS SP, SO LO WORD IS WRITTEN OVER BY VPRED.
033346,000806: 
033347,000807: 26,2750           02241                                    ERADM                                 #  = FISCHER RADIUS  (-29) M
033348,000808: 26,2751           45015                           DAD      CALL                                  #  2 ND  ITERATION FOR FISCHER RADIUS
033349,000809: 26,2752           15022                                    400KFT                                
033350,000810: 26,2753           57031                                    CALCTFF                               #  ESTABLISH TRANSFER ANGLE DATA.
033351,000811: 26,2754           77624                           CALL                                           
033352,000812: 26,2755           56573                                    TFF/TRIG                              #  GET SIN, COS DELF
033353,000813: 26,2756           77624                           CALL                                           
033354,000814: 26,2757           55027                                    FISHCALC                              #  GET CORRESPONDING FISCHER RADIUS.
033355,000815: 
033356,000816: 26,2760           73015                           DAD      LXA,2                                 #  SAVE HI-WORD FOR DOWNLIST.
033357,000817: 26,2761           15022                                    400KFT                                #  M  (-29)
033358,000818: 26,2762           03713                                    RTGO                                  #  (RANGE ANGLE FROM EMSALT)/360
033359,000819: 26,2763           34023                           STCALL   RTERM                                 
033360,000820: 26,2764           55045                                    PREVGAM                               #  VGAMCALC WITH NEW RTERM
033361,000821: 
033362,000822: 26,2765           67076                           DCOMP    SXA,2                                 #  HI-WORD OF EACH ON DOWNLIST.
033363,000823: 26,2766           00155                                    MPAC       +1                         
033364,000824: 26,2767           17771                           STODL    GAMMAEI                               #  CONIC GAMMA/360 AT 400K FT.   ( HI-WORD)
033365,000825:                                                                                                  #                                          CONIC RTGO/360 FROM EMSALT    (LOW-WORD)
033366,000826:                                                                                                  #                                          FOR TM, DP(GAMMAEI)= (GAMMA, RTGO)/360
033367,000827: 
033368,000828:                                                                                                  #                                          VGAM FROM PDL+0   (-7)
033369,000829: 26,2770           77626                           STADR                                          
033370,000830: 26,2771           74010                           STORE    VPRED                                 #  CONIC VELOCITY AT 400K FT
033371,000831: 
033372,000832: 26,2772           77634                           RTB                                            
033373,000833: 26,2773           54267                                    P61.1                                 
033374,000834:                                                                                                  #                                          PDL BACK TO ZERO.
033375,000835: 
033376,000836: 26,2774           52145        LUNENT             DLOAD    GOTO                                  
033377,000837: 26,2775           06456                                    1/RTMUE                               #  ESTABLISH MU FOR LUNAR TYPE ENTRIES
033378,000838: 26,2776           54656                                    CALLCON                               
033379,000839: 26,2777           00002 26244  290KFT             2DEC     88392      B-29                       
033380,000840: 26,3001           00052 05716  KTETA1             2DEC*    .421844723 E2         B-14*           #  1100 2PI/16384(163.84)
033381,000841: 26,3003           33335 05707  36KFT/S            2DEC     109.728    B-7                        #  (-7) M/CS = 36 KFT/S (-7)
033382,000842: 26,3005           36365 30244  20KFT/S            2DEC     121.92     B-7                        #  (-6) M/CS  = 2 20KFT/S  (-7)
033383,000843: 26,3007           77113 42770  KR1                2DEC     -.026666667                            #  = -2.4  4 / 360
033384,000844: 26,3011           77354 65030  -6.05DEG           2DEC     -.016805556                            #  = -6.05 / 360
033385,000845: 26,3013           21450 00001  KR2                2DEC     .54931641                             #  =(360/4) 100 (-14) =  9000 B-14
033386,000846: 26,3015           01750 00000  KR3                2DEC     1000       B-14                       #  = 100  (10.0)  (-14)   G,S

Page 762

033388,000848:                                                                                                  #                                          ASSUMES L/D = 0.3, BANK =0.
033389,000849: 26,3017           00305 04541  RTRIAL             2DEC     6460097.18 B-29                       #   RPAD +284643 FT =21 194 545 FT
033390,000850:                                                                                                  #                               RPAD DEFINED AS 20 909 901.57 FT =6 373 338 M
033391,000851: 26,3021           00003 27040  400KFT             2DEC     121920     B-29                       #  METERS
033392,000852: 
033393,000853:                                                                                                  #  300KFT   2DEC   91440 B-29      (-29)  M
033394,000854: 
033395,000855:                                                                                                  #  EMSALT   2DEC   86759.2 B-29    284643 FT (-29) M    (ORBITAL REENTRY)
033396,000856: 
033397,000857:                                                                                                  #  EMSALT   2DEC   90657 B-29      297431 FT (-29) M    (LUNAR REENTRY)
033398,000858: 
033399,000859: 26,3023           32525 12525  KR4                2DEC     .833333333                            
033400,000860: 26,3025  23,2461               300KFT             EQUALS   MINPERE                               
033401,000861: 26,3025           77777 76601  VEMSCON            2DEC     -.0389676  B-14                       #  = -HS D  /2  PI  (-14)    M SQ/ CS SQ
033402,000862:                                                                                                  #                               =- 16369   .05G  32.2  .3048  .3048/2 PI    (-14)
033403,000863: 

Page 763

033405,000865:                                                                                                  #  SUBROUTINE NAME:   FISHCALC              (USED BY S61.2)                DATE:           01.21.67
033406,000866:                                                                                                  #  MOD NO:  0                                                              LOG SECTION:    P61-P67
033407,000867:                                                                                                  #  MOD BY:  MORTH / BAIRNSFATHER
033408,000868:                                                                                                  #  MOD NO:  1           MOD BY:  RR BAIRNSFATHER     DATE:  11 MAY 67      INCLUDE  GETERAD  CALL
033409,000869:                                                                                                  #  FUNCTIONAL DESCRIPTION:  GIVEN THE PRESENT POSITION, UNITR, CALCULATE A  NEW UNITR THAT IS ROTATED THROUGH
033410,000870:                                                                                                  #           TRANSFER ANGLE, THETA, ALONG TRAJECTORY. THEN CALCULATE  SIN(LAT)  AND USE TO OBTAIN FISCHER RADIUS.
033411,000871: 
033412,000872:                                                                                                  #           SINCE FISHCALC USES UNI (LEFT BY ENTRY) EARTH SCALING IS ASSUMED.(WILL IMPROVE FOR SUITABLE TENNANT)
033413,000873: 
033414,000874:                                                                                                  #  CALLING SEQUENCE:  CALL
033415,000875:                                                                                                  #                          FISHCALC
033416,000876:                                                                                                  #           ENTER WITH .5 SIN(THETA) IN MPAC.
033417,000877:                                                                                                  #           PUSHLOC IS AT PDL+0, AN ARBITRARY BASE VALUE IF LEQ 8D
033418,000878: 
033419,000879:                                                                                                  #  SUBROUTINES CALLED:  GETERAD
033420,000880:                                                                                                  #  NORMAL EXIT MODE:    RVQ
033421,000881:                                                                                                  #  EXIT MODES:           NONE
033422,000882:                                                                                                  #  OUTPUT:  ERADM  (-29) M   IN MPAC ON RETURNING
033423,000883:                                                                                                  #           NEW UNIT VECTOR NOT SAVED.
033424,000884:                                                                                                  #           SIN(LAT) NOT SAVED.
033425,000885:                                                                                                  #           PUSHLOC AT PDL+0
033426,000886:                                                                                                  #  ERASEABLE INITIALIZATION REQUIRED:
033427,000887:                                                                                                  #           SDELF/2    =SIN(THETA)  /2,   IN MPAC                          LEFT BY TFF/TRIG
033428,000888:                                                                                                  #           CDELF/2    =COS(THETA) /2, STORED IN PDL 14D                   LEFT BY TFF/TRIG
033429,000889:                                                                                                  #           RONE   (-29) M                                                 LEFT BY USER
033430,000890:                                                                                                  #           VONE   (-7)  M/CS                                              LEFT BY USER
033431,000891:                                                                                                  #           URONE  UR/2                                                    LEFT BY USER
033432,000892:                                                                                                  #           UNI        .5 UNIT( V*R)                                       LEFT BY ENTRY / P61
033433,000893:                                                                                                  #           UNITW      UNIT NORTH POLE                                     LEFT BY PAD LOAD
033434,000894:                                                                                                  #  DEBRIS:  QPRET,   PDL+0 ... PDL+5
033435,000895: 
033436,000896: 
033437,000897:                                                                                                  #                                          -      -          -
033438,000898: 26,3027           47315        FISHCALC           PDVL     VXV                                   #  URPR = UR CDELF + UHOR SDELF
033439,000899: 26,3030           02343                                    URONE                                 
033440,000900: 26,3031           03502                                    UNI                                   
033441,000901: 26,3032           76561                           VXSC     VSL1                                  
033442,000902:                                                                                                  #                                          SIN(THETA) /2 FROM PDL+0
033443,000903: 26,3033           74315                           PDVL     VXSC                                  #  TO PDL+0,  +5
033444,000904: 26,3034           02343                                    URONE                                 
033445,000905: 26,3035           00017                                    CDELF/2                               #  COS(THETA) /2
033446,000906: 26,3036           45455                           VAD      STADR                                 
033447,000907: 26,3037           74235                           STORE    URH                                   #  FOR USE IN RTGO FROM EMS DISPLAY
033448,000908: 26,3040           72441                           DOT      SL1                                   
033449,000909: 26,3041           01714                                    UNITW                                 #  FULL UNIT VECTOR    UNIT NORTH
033450,000910: 26,3042           02156                           STORE    ALPHAV     +4                         #   = .5 SIN(LAT)
033451,000911: 26,3043           77650        DUMPFISH           GOTO                                           
033452,000912: 26,3044           26437                                    GETERAD                               #  SAVES FISCHER RAD (-29) M IN ERADM AND
033453,000913:                                                                                                  #                                          IN MPAC. RETURNS TO CALLER VIQ QPRET.
033454,000914: 

Page 764

033456,000916:                                                                                                  #  SUBROUTINE NAME:   VGAMCALC   (USED BY S61.2)                         DATE:           01.21.67
033457,000917:                                                                                                  #  MOD NO:    0                                                          LOG SECTION:    P61-P67
033458,000918:                                                                                                  #  MOD BY:  MORTH / BAIRNSFATHER
033459,000919:                                                                                                  #  MOD NO:  1           MOD BY:  RR BAIRNSFATHER         DATE: 11 APR 67
033460,000920:                                                                                                  #  MOD NO:  2           MOD BY:  RR BAIRNSFATHER         DATE: 21 NOV 67         VARIABLE MU ADDED.
033461,000921:                                                                                                  #  MOD NO:  3           MOD BY:  RR BAIRNSFATHER         DATE: 21 MAR 68         ACCEPT DIFFERENT EARTH/MOON SCALE
033462,000922:                                                                                                  #  FUNCTIONAL DESCRIPTION:       EARTH CENTERED VIS VIVA CALCULATION OF TERMINAL VELOCITY AND GAMMA (REL TO
033463,000923:                                                                                                  #          HORIZONTAL)  GIVEN  THE SCALAR QUANTITIES:   PRESENT RADIUS AND VELOCITY AND THE TERMINAL RADIUS.
033464,000924:                                                                                                  #          THE USER MUST APPEND PROPER SIGN TO GAMMA, SINCE IT IS CALCULATED AS A POSITIVE NUMBER.
033465,000925:                                                                                                  #          THE EQUATIONS ARE
033466,000926: 
033467,000927:                                                                                                  #                 VGAM = SQRT(VN VN/MU + 2(RN-RTERM)/(RN RTERM)  )  RTMU
033468,000928: 
033469,000929:                                                                                                  #                 COSGAM = H /RTERM VGAM  = SQRT(LCP)/ (RTERM VGAM/RTMU)
033470,000930: 
033471,000931: 
033472,000932:                                                                                                  #          VGAMCALC ASSUMES THAT THE TERMINAL RADIUS IS LESS THAN THE PRESENT RADIUS. BOTH CALCTFF AND CALCTPER
033473,000933:                                                                                                  #          MAKE THIS ASSUMPTION.
033474,000934: 
033475,000935:                                                                                                  #  CALLING SEQUENCE:  CALL                         STCALL RTERM
033476,000936:                                                                                                  #                           VGAMCALC                      PREVGAM
033477,000937:                                                                                                  #          PUSHLOC AT PDL+0, ARBITRARY  IF LEQ 12D
033478,000938:                                                                                                  #          C(MPAC) UNSPECIFIED                    C(MPAC)=NEW RTERM
033479,000939: 
033480,000940:                                                                                                  #  SUBROUTINES CALLED:  NONE
033481,000941:                                                                                                  #  NORMAL EXIT MODE:    RVQ
033482,000942:                                                                                                  #  ALARMS:    NONE
033483,000943:                                                                                                  #  OUTPUT:    GAMMA / 360 IN MPAC, POSITIVE NUMBER
033484,000944:                                                                                                  #             VGAM E:(-7)  M:(-5)    M/CS IN PDL+0
033485,000945:                                                                                                  #             PUSHLOC AT PDL+2
033486,000946:                                                                                                  #  ERASABLE INITIALIZATION REQD:
033487,000947:                                                                                                  #           TFF/RTMU E:(17) M:(14)   1/SQRT(MU)                            LEFT BY TFFCONIC.
033488,000948:                                                                                                  #           RMAG1  E:(-29) M:(-27)   M   PRESENT RADIUS LENGTH             LEFT BY TFFCONIC
033489,000949:                                                                                                  #           NRMAG  E: (-29+NR)       M  NORM LENGTH OF PRESENT POSITION    LEFT BY TFFCONIC
033490,000950:                                                                                                  #                  M: (-27+NR)
033491,000951:                                                                                                  #           RTERM  E:(-29) M:(-27)   M  TERMINAL RADIUS LENGTH             LEFT BY CALCTFF
033492,000952:                                                                                                  #           NRTERM E: (-29+NR)       M  NORM LENGTH OF TERMINAL RADIUS     LEFT BY CALCTFF
033493,000953:                                                                                                  #                  M: (-27+NR)
033494,000954:                                                                                                  #           TFFVSQ E:(20)  M:(18)  1/M   -(V SQ/MU): PRESENT VELOCITY,NORM LEFT BY TFFCONIC
033495,000955:                                                                                                  #           TFFNP  E: (-38+2NR)      M  LCP, SEMI-LATUS RECTUM, WEIGHT NR  LEFT BY TFFCONIC
033496,000956:                                                                                                  #                  M: (-36+2NR)
033497,000957:                                                                                                  #  DEBRIS:  QPRET, PDL+0 ... PDL+3
033498,000958:                                                                                                  #           RTERM, NRTERM IF PREVGAM ENTERED.
033499,000959: 

Page 765

033501,000961: 26,3045           77657        PREVGAM            SL*                                            #  ENTER WITH NEW  RTERM IN MPAC
033502,000962:                                                                                                  #                                          E: (-29)  M: (-27)
033503,000963: 26,3046           20201                                    0,1                                   #  X1 = -NR
033504,000964: 26,3047           00021                           STORE    NRTERM                                #  RTERM  M        E:(-29+NR)   M: (-27+NR)
033505,000965: 
033506,000966: 26,3050           41345        VGAMCALC           DLOAD    DMP                                   
033507,000967: 26,3051           00041                                    NRMAG                                 #  RMAG  M          E:(-29+NR)  M:(-27+NR)
033508,000968: 26,3052           00021                                    NRTERM                                #  RTERM  M         E:(-29+NR)  M:(-27+NR)
033509,000969: 26,3053           45325                           PDDL     DSU                                   #  RMAG RTERM M     E:(-58+2NR) M:(-54+2NR)
033510,000970: 26,3054           00041                                    NRMAG                                 #  RMAG  M          E:(-29+NR)  M:(-27+NR)
033511,000971: 26,3055           00021                                    NRTERM                                #  RTERM  M         E:(-29+NR)  M:(-27+NR)
033512,000972: 26,3056           56257                           SL*      DDV                                   #  2(RN-RTERM)      E:(-30+NR)  M:(-28+NR)
033513,000973: 26,3057           20171                                    0          -8D,1                      #  (-8+NR)
033514,000974:                                                                                                  #                                          PUSH UP PRODUCT.
033515,000975: 26,3060           77625                           DSU                                            
033516,000976: 26,3061           00025                                    TFFVSQ                                #  -(V SQ/MU)         E: (20)   M: (18)
033517,000977: 26,3062           41566                           SQRT     PUSH                                  #  SAVE VGAM/RT(MU) FOR NOW. E:(10) M: (9)
033518,000978: 26,3063           65271                           DDV      PDDL                                  #  XCH PDL+0, LEAVING VGAM FOR OUTPUT.
033519,000979:                                                                                                  #                                          VGAM TO PDL M/CS   E: (-7)   M: (-2)
033520,000980: 26,3064           00037                                    TFF/RTMU                              #  E: (17)  M: (14)
033521,000981: 26,3065           65205                           DMP      PDDL                                  #  RTERM VGAM/RTMU  E:(-19+NR)  M:(-18+NR)
033522,000982: 26,3066           00021                                    NRTERM                                #  RTERM M          E:(-29+NR)  M:(-27+NR)
033523,000983: 26,3067           00035                                    TFFNP                                 #  LC P =H.H/MU M   E:(-38+2NR) M:(-36+2NR)
033524,000984: 26,3070           56366                           SQRT     DDV                                   #                   E:(-19+NR)  M:(-18+NR)
033525,000985:                                                                                                  #                                          PUSH UP DEN      E:(-19+NR)  M:(-18+NR)
033526,000986:                                                                                                  #                                          USE DDV OVFL AS LIMITER (|COS| <1.0)
033527,000987: 26,3071           65542                           SR1      ACOS                                  
033528,000988: 26,3072           77616        DUMPVGAM           RVQ                                            
033529,000989: 
033530,000990:                                                                                                  #                                          CALLER MUST SUPPLY OWN SIGN ...
033531,000991: 
033532,000992:                                                                                                  #                                                                   22W     27MS
033533,000993: 

Page 766

033535,000995:                                                                                                  #  SUBROUTINE NAME:     TFF/TRIG            (USED BY S61.2)                DATE     01.17.67
033536,000996:                                                                                                  #  MOD NO:  0                                                              LOG SECTION:    P61-P67
033537,000997:                                                                                                  #  MOD BY:  RR BAIRNSFATHER
033538,000998:                                                                                                  #  MOD NO:  1           MOD BY:  RR BAIRNSFATHER     DATE:  14 APR 67
033539,000999:                                                                                                  #  MOD NO:  2           MOD BY:  RR BAIRNSFATHER     DATE:  21 MAR 68      ACCEPT DIFFERENT EARTH/MOON SCALE
033540,001000:                                                                                                  #  FUNCTIONAL DESCRIPTION:      USED BY ENTRY DISPLAY TO CALCULATE SIN(THETA), COS(THETA) FROM DATA LEFT IN
033541,001001:                                                                                                  #           PDL BY TFF SUBROUTINES. THE EQNS ARE
033542,001002:                                                                                                  #                  COS(THETA) = 1-2 ABS(ARG) /(RN RTERM (1+X)  )
033543,001003:                                                                                                  #                                                  2
033544,001004:                                                                                                  #                  SIN(THETA) = SGN(ARG) SQRT(1-COS (THETA) )
033545,001005:                                                                                                  #           WHERE  THETA = TRANSFER ANGLE
033546,001006:                                                                                                  #           AND    ARG = P Z ABS(Z)                                        IF ALFA ZZ   LEQ 1
033547,001007:                                                                                                  #                  ARG = (P / ALFA)  SGN(Q1 + R 1/Z)                       IF ALFA Z Z   G  1
033548,001008:                                                                                                  #           AND  ARG  HAS BEEN AFFIXED WITH THE SIGN OF SIN(THETA).
033549,001009:                                                                                                  #  CALLING SEQUENCE:  CALL
033550,001010:                                                                                                  #                            TFF/TRIG
033551,001011:                                                                                                  #           PUSHLOC AT PDL+0, ARBITRARY IF NOT EQ 14D
033552,001012:                                                                                                  #           C(MPAC) UNSPECIFIED
033553,001013: 
033554,001014:                                                                                                  #  SUBROUTINES CALLED:  NONE
033555,001015:                                                                                                  #  NORMAL EXIT MODES:   RVQ
033556,001016:                                                                                                  #  ALARMS:  NONE
033557,001017:                                                                                                  #  OUTPUT:  C(MPAC) = .5 SIN(THETA)
033558,001018:                                                                                                  #           CDELF/2 = .5 COS(THETA)          (IN PDL 14D)
033559,001019:                                                                                                  #           PUSHLOC AT PDL+0
033560,001020:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
033561,001021:                                                                                                  #           TFFX                   X                                       LEFT BY CALCTFF OR CALCTPER
033562,001022:                                                                                                  #           TFFTEM E: (-59+2NR)    ARG                                     LEFT BY CALCTFF OR CALCTPER
033563,001023:                                                                                                  #                  M: (-55+2NR)    WHERE ARG = LCP ZZ SGN(DELF) OR ARG = LCP/ALFA  SGN(DELF)
033564,001024:                                                                                                  #           NRTERM E: (-29+NR)       M  NORM LENGTH OF TERMINAL RADIUS     LEFT BY CALCTFF OR CALCTPER
033565,001025:                                                                                                  #                  M: (-27+NR)
033566,001026:                                                                                                  #           NRMAG  E: (-29+NR)       M  NORM LENGTH OF PRESENT POSITION    LEFT BY TFFCONIC
033567,001027:                                                                                                  #                  M: (-27+NR)
033568,001028:                                                                                                  #  DEBRIS:  QPRET, CDELF/2
033569,001029: 
033570,001030: 27,2573                                           BANK     27                                    
033571,001031: 27,2000                                           SETLOC   P60S5                                 
033572,001032: 27,2000                                           BANK                                           
033573,001033: 27,2573           70545        TFF/TRIG           DLOAD    SR1                                   
033574,001034: 27,2574           00043                                    TFFX                                  
033575,001035: 27,2575           41215                           DAD      DMP                                   
033576,001036: 27,2576           15330                                    HIDPHALF                              
033577,001037: 27,2577           00041                                    NRMAG                                 #  RMAG  M          E:(-29+NR)  M:(-27+NR)
033578,001038: 27,2600           55205                           DMP      BDDV                                  
033579,001039: 27,2601           00021                                    NRTERM                                #  RTERM  M         E:(-29+NR)  M:(-27+NR)
033580,001040: 27,2602           00045                                    TFFTEM                                #  P ZSQ OR P/ALFA  E:(-59+2NR) M:(-55+2NR)
033581,001041: 27,2603           44246                           ABS      BDSU                                  #  THE SIGN IS FOR SDELF.
033582,001042: 27,2604           15330                                    HIDPHALF                              
033583,001043: 27,2605           00017                           STORE    CDELF/2                               #  .5 COS(THETA)
033584,001044: 27,2606           57516                           DSQ      DCOMP                                 #  KEEP HONEST FOR SQRT.

Page 767

033586,001046: 27,2607           75415                           DAD      SQRT                                  
033587,001047: 27,2610           15322                                    HIDP1/4                               
033588,001048: 27,2611           43565        DUMPTRIG           SIGN     RVQ                                   
033589,001049: 27,2612           00045                                    TFFTEM                                #  AFFIX SIGN(DELE/2)
033590,001050:                                                                                                  #                                          RETURN WITH .5 SIN(THETA) IN MPAC
033591,001051: 
033592,001052:                                                                                                  #                                                             16W            15 MS
033593,001053: 
033594,001054: 27,2613           77620        DISPTARG           STQ                                            #   C(MPAC) = TRGO  ESTIMATE
033595,001055: 27,2614           03373                                    60GENRET                              
033596,001056: 27,2615           45205                           DMP      DSU                                   
033597,001057: 27,2616           15002                                    KTETA1                                
033598,001058: 27,2617           03733                                    TTE1                                  
033599,001059: 27,2620           37606                           STCALL   DTEAROT                               
033600,001060: 27,2621           46225                                    EARROT2                               
033601,001061: 27,2622           77624                           CALL                                           
033602,001062: 27,2623           56626                                    VRCALC                                
033603,001063: 27,2624           77650                           GOTO                                           
033604,001064: 27,2625           03373                                    60GENRET                              
033605,001065: 27,2626           50375        VRCALC             VLOAD    DOT                                   
033606,001066: 27,2627           03542                                    URH                                   
033607,001067: 27,2630           03474                                    RT                                    
033608,001068: 27,2631           65512                           SL2      ACOS                                  
033609,001069: 27,2632           77616                           RVQ                                            
033610,001070:                                                                                                  #  END OF PROGRAM S61.2
033611,001071: 

Page 768

033613,001073: 
033614,001074:                                                                                                  #  PROGRAM DESCRIPTION S62.3       DATE 10JAN67
033615,001075:                                                                                                  #  MOD NO 1        LOG SECTION P60-P67
033616,001076:                                                                                                  #  MOD BY ZELDIN
033617,001077:                                                                                                  #  MOD NO:  2           MOD BY:  RR BAIRNSFATHER      DATE: 15 MAY 67      CHANGED TO REF COORDS.
033618,001078:                                                                                                  #  MOD NO:  3           MOD BY:  RR BAIRNSFATHER      DATE:  17 JAN 68     ALFAPAD CHANGES MADE.
033619,001079:                                                                                                  #  FUNCTIONAL DESCRIPTION
033620,001080:                                                                                                  #           COMPUTE  DESIRED GIMBOL ANGLES FOR ENTRY ATTITUDE
033621,001081:                                                                                                  #           THE FOLLOWING TRAJECTORY TRIAD IS AVAILABLE IN MEMORY AND IS COMPUTED EACH 2 SECONDS BY  CM/POSE  IN
033622,001082:                                                                                                  #           REFERENCE COORDINATES (V = VELOCITY RELATIVE TO EARTH) :
033623,001083: 
033624,001084:                                                                                                  #                  UXA = -UNIT(V)
033625,001085:                                                                                                  #                  UYA =  UNIT(V*R)
033626,001086:                                                                                                  #                  UZA =  UXA*UYA
033627,001087: 
033628,001088:                                                                                                  #           GENERATE A DESIRED BODY TRIAD FOR TRIMMED FLIGHT WITH RESPECT TO THE RELATIVE VELOCITY VECTOR, USING
033629,001089:                                                                                                  #           ROLL COMMAND AND TRIM ANGLE OF ATTACK:
033630,001090: 
033631,001091:                                                                                                  #                UXD = UNIT(UYD*UXA) SIN(ALFATRIM) + UXA COS(ALFATRIM)
033632,001092:                                                                                                  #                UYD = UYA COS(ROLLC) + UZA SIN(ROLLC)
033633,001093:                                                                                                  #                UZD = UXD * UYD
033634,001094: 
033635,001095:                                                                                                  #           USE THE DESIRED SET (IN REFERENCE COORDS) AND  REFSMMAT  TO CALL   CALCGA   AND OBTAIN GIMBAL ANGLES
033636,001096:                                                                                                  #           IN 2S,C IN MPAC, +2 AND THETAD, +2.
033637,001097: 
033638,001098:                                                                                                  #  CALLING SEQUENCE
033639,001099:                                                                                                  #         L   CALL
033640,001100:                                                                                                  #         L+1      S62.3
033641,001101:                                                                                                  #  NORMAL EXIT MODE
033642,001102:                                                                                                  #           RETURN VIA QPRET DIRECTLY FROM CALCGA.
033643,001103:                                                                                                  #  SUBROUTINES CALLED
033644,001104:                                                                                                  #           CALCGA
033645,001105:                                                                                                  #  ALARM OR ABORT MODES
033646,001106:                                                                                                  #           NONE
033647,001107:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED
033648,001108:                                                                                                  #           ROLLC  ROLL COMMAND          DP 1:S COMP AT 1REV
033649,001109:                                                                                                  #           ALFAPAD   SP 1S,C     /180                LEFT BY PAD LOAD    ALFATRIM IS NEGATIVE.
033650,001110:                                                                                                  #           UXA/2  REF COORDS                         LEFT BY CM/POSE
033651,001111:                                                                                                  #           UYA/2  REF COORDS                         LEFT BY CM/POSE
033652,001112:                                                                                                  #           UZA/2  REF COORDS                         LEFT BY CM/POSE
033653,001113:                                                                                                  #  OUTPUT
033654,001114:                                                                                                  #           CPHI   GIMBAL ANGLES (O,I,M) 2:S COMP TP (O,I,M)/180
033655,001115:                                                                                                  #  DEBRIS
033656,001116:                                                                                                  #        QTEMP, QPRET,PUSHLIST
033657,001117: 
033658,001118: 10,2302                                           BANK     10                                    
033659,001119: 10,2000                                           SETLOC   P60S4                                 
033660,001120: 10,2000                                           BANK                                           
033661,001121: 

Page 769

033663,001123: 10,2302                                           COUNT*   $$/S62.3                              
033664,001124: 
033665,001125: 10,2302           67201        S62.3              SETPD    SLOAD                                 
033666,001126: 10,2303           00001                                    0                                     
033667,001127: 10,2304           03012                                    ALFAPAD                               #  ALFATRIM /180, ALFA IS NEG.
033668,001128: 10,2305           41542                           SR1      PUSH                                  
033669,001129: 10,2306           65346                           COS      PDDL                                  #  XCH PDL, COS TO PDL0
033670,001130: 10,2307           65356                           SIN      PDDL                                  #  SIN TO PDL2
033671,001131: 10,2310           03316                                    ROLLC                                 
033672,001132: 10,2311           74346                           COS      VXSC                                  
033673,001133: 10,2312           03550                                    UYA/2                                 #                           REF COORDS
033674,001134: 10,2313           73525                           PDDL     SIN                                   #  PUSH VECTOR INTO PDL4,.9
033675,001135: 10,2314           03316                                    ROLLC                                 
033676,001136: 10,2315           53361                           VXSC     VAD                                   
033677,001137: 10,2316           03556                                    UZA/2                                 #                           REF COORDS
033678,001138:                                                                                                  #                                          VECTOR FROM PDL4, 9
033679,001139: 10,2317           77772                           VSL1                                           
033680,001140: 10,2320           02722                           STORE    YNB                                   #  = UYD                    REF COORDS
033681,001141: 
033682,001142: 10,2321           76435                           VXV      VSL1                                  
033683,001143: 10,2322           03542                                    UXA/2                                 #                           REF COORDS
033684,001144: 10,2323           65361                           VXSC     PDDL                                  
033685,001145:                                                                                                  #                                          SIN TRIM FROM PDL2
033686,001146:                                                                                                  #                                          XCH PDL0 FOR COS TRIM
033687,001147: 10,2324           53361                           VXSC     VAD                                   
033688,001148: 10,2325           03542                                    UXA/2                                 #                           REF COORDS
033689,001149:                                                                                                  #                                          FROM PDL0
033690,001150: 10,2326           77626                           STADR                                          
033691,001151: 10,2327           75063                           STORE    XNB                                   #  X SC AXIS (.5 UNIT)        REF COORDS
033692,001152: 
033693,001153: 10,2330           76435                           VXV      VSL1                                  
033694,001154: 10,2331           02722                                    YNB                                   
033695,001155: 10,2332           26730                           STOVL    ZNB                                   #  Z SC IN REF COOR. SCALED AT 2
033696,001156: 10,2333           01736                                    REFSMMAT                              
033697,001157: 10,2334           26672                           STOVL    XSM                                   
033698,001158: 10,2335           01744                                    REFSMMAT   +6                         
033699,001159: 10,2336           26700                           STOVL    YSM                                   
033700,001160: 10,2337           01752                                    REFSMMAT   +12D                       
033701,001161: 10,2340           02706                           STORE    ZSM                                   
033702,001162: 
033703,001163: 10,2341           52014                           CLEAR    GOTO                                  
033704,001164: 10,2342           00260                                    CPHIFLAG                              #  CAUSE CALCGA TO STORE ANS IN TP CPHI
033705,001165: 10,2343           47244                                    CALCGA                                
033706,001166:                                                                                                  #                                          CALCGA WILL RETURN TO ORIGINAL CALLER
033707,001167:                                                                                                  #                                          VIA QPRET WITH 2,S COMP. ANGLES IN CPHI

End of include-file P61-P67.agc.  Parent file is MAIN.agc