Source Code

These source-code files are part of a reconstructed copy of Comanche 45, the second release, though not the final mission release, of the Apollo 10 Command Module (CM) Apollo Guidance Computer (AGC) software. Comanche 45 was preceded by Comanche 44 and followed by Comanche 45/2 (the flown release). The reconstruction is believed to be exactly accurate, but in the absence of an actual Apollo-era listing of Comanche 45, some explanation of the reconstruction process is needed to insure confidence in that accuracy.

The starting point was the source code of Comanche 44 (itself previously accurately reconstructed). Comanche 44 source code was then modified by incorporating changes known from contemporary documentation to have been made between revisions 44 and 45. The now-reconstructed Comanche 45 source code was verified by assembling it and checking that the assembled code had the expected known-correct memory-bank checksums. Note that page numbers in the reconstructed code tend to match those in the Comanche 55, the most-similar revision of Comanche for which we have access to an actual non-reconstructed hardcopy; the source code would likely have different page numbers in a contemporary Comanche 45 listing.

Annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change relative to Comanche 44. Here's a guide to the Apollo documentation referenced in those annotations:
There is also a detailed commentary about the reconstruction process.

Comments expected to have been present in the original source code are prefixed with a single '#' symbol, whereas comments added later are prefixed by "##" or "###". Report any errors noted by creating an issue report at the Virtual AGC Project's GitHub repository.

034534,000002:                                                                                                  ## Copyright:   Public domain.
034535,000003:                                                                                                  ## Filename:    P61-P67.agc
034536,000004:                                                                                                  ## Purpose:     A section of Comanche revision 045.
034537,000005:                                                                                                  ##              It is part of the reconstructed source code for the
034538,000006:                                                                                                  ##              second release of the flight software for the Command
034539,000007:                                                                                                  ##              Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
034540,000008:                                                                                                  ##              The code has been recreated from a copy of Comanche 055. It
034541,000009:                                                                                                  ##              has been adapted such that the resulting bugger words
034542,000010:                                                                                                  ##              exactly match those specified for Comanche 45 in NASA drawing
034543,000011:                                                                                                  ##              2021153D, which gives relatively high confidence that the
034544,000012:                                                                                                  ##              reconstruction is correct.
034545,000013:                                                                                                  ## Assembler:   yaYUL
034546,000014:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
034547,000015:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
034548,000016:                                                                                                  ## Mod history: 2020-12-06 MAS  Created from Comanche 44.
034549,000017: 

Page 789

034551,000019:                                                                                                  #  PROGRAM:      P61
034552,000020:                                                                                                  #  MOD NO.:      0       MAR. 13, 1967
034553,000021:                                                                                                  #  MOD BY:       R. HIRSCHKOP
034554,000022:                                                                                                  #  MOD NO: 1     MOD BY:  RR BAIRNSFATHER        DATE: 22 JUN 67         RESTARTS.
034555,000023:                                                                                                  #  MOD NO: 2     MOD BY:  RR BAIRNSFATHER        DATE: 17 JAN 68         COLOSSUS GSOP CHANGES.
034556,000024:                                                                                                  #  MOD NO: 3     MOD BY:  RR BAIRNSFATHER        DATE:  8 MAY 68         DELETE CMSM MANEUVER (PCR 50)
034557,000025:                                                                                                  #  FUNCTION:     TO CALCULATE AND DISPLAY EMS INITIALIZATION DATA
034558,000026:                                                                                                  #  CALLING SEQUENCE-  BY V37
034559,000027:                                                                                                  #  EXIT-         TO P62
034560,000028:                                                                                                  #  SUBROUTINE CALLS-  S61.1, S61.3, GOFLASH, FLAGUP, R02BOTH
034561,000029:                                                                                                  #  ERASABLE INITIALIZATION:
034562,000030:                                                                                                  #        EMSALT (-29) M          .05G ALTITUDE ABOVE FISCHER ELLIPSOID   PAD LOADED.
034563,000031:                                                                                                  #        ALFAPAD /180            HYPERSONIC CM TRIM ANGLE OF ATTACK      PAD LOADED
034564,000032:                                                                                                  #  OUTPUT:       THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
034565,000033:                                                                                                  #                GMAX    100 GMAX (-14) G,S      MAXIMUM ACCELERATION
034566,000034:                                                                                                  #                VPRED   (-7) M/CS               PREDICTED VELOCITY AT 400K FT
034567,000035:                                                                                                  #                GAMMAEI GAMMA/360               PREDICTED GAMMA    AT 400K FT
034568,000036:                                                                                                  #                RTGO    THETAH/360              RANGE ANGLE TO SPLASH FROM EMSALT       EMSALT IS PAD LOADED
034569,000037:                                                                                                  #                VIO     (-7) M/CS               INERTIAL VELOCITY AT       EMSALT       EMSALT IS PAD LOADED
034570,000038:                                                                                                  #                TTE     (-28) CS                TIME TO                    EMSALT       EMSALT IS PAD LOADED
034571,000039:                                                                                                  #                LAT(SPL) /360                   TARGET LOCATION                         LEFT BY DSKY
034572,000040:                                                                                                  #                LNG(SPL) /360                   TARGET LOCATION                         LEFT BY DSKY
034573,000041:                                                                                                  #                HEADSUP (0)                     +1 = LIFT DOWN, -1 = LIFT UP            LEFT BY DSKY
034574,000042:                                                                                                  #  DEBRIS:       SEE SUBROUTINES.
034575,000043: 
034576,000044: 26,2217                                           BANK     26                                    
034577,000045: 26,2000                                           SETLOC   P60S                                  
034578,000046: 26,2000                                           BANK                                           
034579,000047: 
034580,000048: 26,2217  E6,1661                                  EBANK=   AOG                                   
034581,000049: 
034582,000050: 26,2217                                           COUNT*   $$/P61                                
034583,000051: 
034584,000052: 26,2217           35002        P61                CA       BIT14                                 #  EXTENDED VERB SHOULD BE FREE THIS CLOSE
034585,000053: 26,2220           55044                           TS       EXTVBACT                              #  TO V37
034586,000054:                                                                                                  #  LOCK OUT EXTENDED VERBS SO CAN USE TFF
034587,000055:                                                                                                  #  ROUTINES.  EXT VERB ERASE IS USED
034588,000056: 
034589,000057: 26,2221           45017                           CS       ONE                                   #  REMOVE IF HEADSUP EVER ON UPLINK DATA
034590,000058: 26,2222           55726                           TS       HEADSUP                               #  PRELOAD
034591,000059: 
034592,000060: 26,2223           02544                           TC       S61.1                                 #  CHECK STATE VECTOR AND IMU ORIENTATION
034593,000061:                                                                                                  #  RV 60GENRET. DOES PHASCHNG, GROUP 4.
034594,000062: 
034595,000063: 26,2224           32425                           CA       V06N61                                #  LAT(SPL)      LNG(SPL)        HEADSUP
034596,000064:                                                                                                  #  XXX.XX DEG    XXX.XX DEG      XXXXX.
034597,000065: 26,2225           04662                           TC       BANKCALL                              
034598,000066: 26,2226           21057                           CADR     GOFLASHR                              
034599,000067: 26,2227           04106                           TC       GOTOPOOH                              

Page 790

034601,000069: 26,2230           02235                           TC       P61.4                                 
034602,000070: 26,2231           02224                           TC       -5                                    
034603,000071: 
034604,000072: 26,2232           05412        P61.3              TC       PHASCHNG                              
034605,000073: 26,2233           00014                           OCT      00014                                 
034606,000074: 
034607,000075: 26,2234           05217                           TC       ENDOFJOB                              
034608,000076: 
034609,000077: 26,2235           22007        P61.4              ZL                                             
034610,000078: 26,2236           11726                           CCS      HEADSUP                               #  C(HEADSUP)= +1/-1
034611,000079: 26,2237           35002                           CA       BIT14                                 #  IF HEADSUP POS,ROLLC =180 DEG.(LIFT DWN)
034612,000080: 26,2240           12241                           NOOP                                           #  IF HEADSUP NEG,ROLLC =0 (LIFT UP)
034613,000081: 26,2241           53716                           DXCH     ROLLC                                 #  ROLLC IS USED BY S62.3: GIM ANG AT .05G
034614,000082: 
034615,000083: 26,2242           06006                           TC       INTPRET                               
034616,000084: 26,2243           77745        NEWRNVN            DLOAD                                          
034617,000085: 26,2244           01205                                    PIPTIME                               #  SAVE TIME OF RN,VN TO DETERMINE IF AN
034618,000086: 26,2245           37651                           STCALL   MM                                    #  UPDATE HAS OCCURRED
034619,000087: 26,2246           52063                                    STARTEN1                              #  INITIALIZE
034620,000088: 26,2247           77775                           VLOAD                                          
034621,000089: 26,2250           01171                                    RN                                    
034622,000090: 26,2251           02327                           STORE    RONE                                  
034623,000091: 26,2252           77656                           UNIT                                           
034624,000092: 26,2253           26343                           STOVL    URONE                                 
034625,000093: 26,2254           01177                                    VN                                    
034626,000094: 26,2255           02335                           STORE    VONE                                  
034627,000095: 26,2256           53435                           VXV      UNIT                                  
034628,000096: 26,2257           02343                                    URONE                                 
034629,000097: 26,2260           03502                           STORE    UNI                                   
034630,000098: 26,2261           45345        DUMPP61            DLOAD    DSU                                   
034631,000099: 26,2262           03651                                    MM                                    #  INITIAL VALUE OF PIPTIME
034632,000100: 26,2263           01205                                    PIPTIME                               
034633,000101: 26,2264           45040                           BMN      CALRB                                 
034634,000102: 26,2265           54243                                    NEWRNVN                               #  UPDATED... GO TRY AGAIN
034635,000103: 26,2266           54651                                    S61.2                                 #  GET DISPLAY DATA FOR N60 AND N63
034636,000104:                                                                                                  #  AND RETURN IN BASIC, BELOW.
034637,000105: 26,2267           05536        P61.1              TC       CLEARMRK                              
034638,000106: 26,2270           32424                           CA       V06N60                                #  GMAX          VPRED           GAMMAEI
034639,000107:                                                                                                  #  XXX.XX G      XXXXX. FPS      XXX.XX DEG
034640,000108: 26,2271           04662                           TC       BANKCALL                              
034641,000109: 26,2272           20720                           CADR     GOFLASH                               
034642,000110: 
034643,000111: 26,2273           04106                           TC       GOTOPOOH                              
034644,000112: 26,2274           02276                           TC       P61.2                                 #  PROCEED
034645,000113: 26,2275           02270                           TC       -5                                    
034646,000114: 
034647,000115: 26,2276           06006        P61.2              TC       INTPRET                               #  CORRECT TTE FOR TIME LAPSE DURING
034648,000116:                                                                                                  #  ABOVE DISPLAY.
034649,000117: 26,2277           45234                           RTB      DSU                                   
034650,000118: 26,2300           45510                                    LOADTIME                              #  CURRENT TIME.

Page 791

034652,000120: 26,2301           03651                                    MM                                    #  PIPTIME FOR RONE & VONE.
034653,000121: 26,2302           77615                           DAD                                            
034654,000122: 26,2303           03733                                    TTE1                                  #  NEGATIVE OF FREE FALL TIME.
034655,000123: 26,2304           03727                           STORE    TTE                                   #  DECREMENTED
034656,000124: 
034657,000125: 26,2305           77776                           EXIT                                           
034658,000126: 
034659,000127: 26,2306           32426                           CA       V06N63                                #  RTGO          VIO             TTE
034660,000128:                                                                                                  #  XXXX.X NM     XXXXX. FPS      XXBXX M,S
034661,000129: 26,2307           04662                           TC       BANKCALL                              
034662,000130: 26,2310           20720                           CADR     GOFLASH                               
034663,000131: 26,2311           04106                           TC       GOTOPOOH                              
034664,000132: 26,2312           02314                           TC       +2                                    
034665,000133: 26,2313           02276                           TC       P61.2                                 #  REDO
034666,000134: 
034667,000135:                                                                                                  #                .... THEN FALL INTO P62

Page 792

034669,000137: 
034670,000138:                                                                                                  #  PROGRAM-      P62
034671,000139:                                                                                                  #  MOD NO.-      0       MAR. 13, 1967
034672,000140:                                                                                                  #  MOD BY-       R. HIRSCHKOP
034673,000141:                                                                                                  #  MOD NO:  1    MOD BY:  RR BAIRNSFATHER        DATE: 21 MAR 67
034674,000142:                                                                                                  #  MOD NO:  2    MOD BY:  RR BAIRNSFATHER        DATE: 22 JUN 67         RESTARTS.
034675,000143:                                                                                                  #  MOD NO:  3    MOD BY:  RR BAIRNSFATHER        DATE: 17 JAN 68         COLOSSUS GSOP CHANGES.
034676,000144:                                                                                                  #  MOD NO:  4    MOD BY:  RR BAIRNSFATHER        DATE:  8 MAY 68         MOVE START OF DESIRED GIMBAL CALC.
034677,000145:                                                                                                  #  FUNCTION-     1) TO NOTIFY CREW WHEN GNC SYSTEM IS PREPARED FOR CM/SM SEPARATION
034678,000146:                                                                                                  #                2) TO ORIENT THE CM TO THE CORRECT ATTITUDE FOR ATMOSPHERIC ENTRY
034679,000147:                                                                                                  #  CALLING SEQUENCE-  BY V37 OR DIRECTLY FROM P61
034680,000148:                                                                                                  #  EXIT-         TO P63
034681,000149:                                                                                                  #  ERASABLE INITIALIZATION:      
034682,000150:                                                                                                  #        ALFAPAD                                         LEFT BY PAD LOAD
034683,000151:                                                                                                  #        LADPAD                                          LEFT BY PAD LOAD
034684,000152:                                                                                                  #        LODPAD                                          LEFT BY PAD LOAD
034685,000153:                                                                                                  #        LAT(SPL)        (MAY BE CHANGED BELOW)          LEFT BY DSKY, VIA P61
034686,000154:                                                                                                  #        LNG(SPL)        (MAY BE CHANGED BELOW)          LEFT BY DSKY, VIA P61
034687,000155:                                                                                                  #        HEADSUP         (MAY BE CHANGED BELOW)          LEFT BY DSKY, VIA P61
034688,000156:                                                                                                  #  SUBROUTINE CALLS:  NEWMODEX, S61.1, CM/DAPIC, CM/DAPON, R02BOTH, GOPERF1, GOFLASH, GODSPR
034689,000157: 
034690,000158: 26,2314                                           COUNT*   $$/P62                                
034691,000159: 
034692,000160: 26,2314           05354                           TC       NEWMODEX                              #  MODE CHANGE IF CAME FROM P61.
034693,000161: 26,2315           00076                           MM       62         B-14                       #  MODE CHANGE AUTOMATIC VIA V 37.
034694,000162: 26,2316           35017                           CA       ONE                                   
034695,000163: 26,2317           54332                           TS       DNLSTCOD                              
034696,000164: 
034697,000165: 26,2320           02544        P62                TC       S61.1                                 #  CHECK STATE VECTOR AND IMU ORIENTATION.
034698,000166: 
034699,000167: 26,2321           06006                           TC       INTPRET                               
034700,000168: 26,2322           47131                           SSP      RTB                                   
034701,000169: 26,2323           03325                                    POSEXIT                               
034702,000170: 26,2324           54401                                    P62.3                                 #  CALCULATE DESIRED .05G GIMBAL ANGLES,
034703,000171:                                                                                                  #  WITHOUT DISPLAY.
034704,000172: 26,2325           41672                                    CM/DAPIC                              #  START CM/POSE AND BODY RATE CALC
034705,000173: 
034706,000174:                                                                                                  #  DOES 2PHSCHNG, OCT 40116, OCT 05024, OCT 13000.
034707,000175:                                                                                                  #  CM/DAPIC SETS EBANK = EBAOG
034708,000176:                                                                                                  #  AND RETURNS IN BASIC TO P62.2.                                
034709,000177: 26,2326           00006        P62.2              EXTEND                                         
034710,000178: 26,2327           32432                           DCA      POSECADR                              #  CONTINUE WITH CM/POSE AFTER AV G.
034711,000179: 26,2330           53223                           DXCH     AVEGEXIT                              
034712,000180: 
034713,000181: 26,2331           34270                           CAF      OCT41                                 #  REQUEST SEPARATION
034714,000182: 26,2332           04662                           TC       BANKCALL                              
034715,000183: 26,2333           21125                           CADR     GOPERF1R                              
034716,000184: 26,2334           04106                           TC       GOTOPOOH                              
034717,000185: 26,2335           02340                           TC       +3                                    #  PROCEED

Page 793

034719,000187:                                                                                                  #  NOTE:  NODOFLAG WILL BE SET IN CM/DAPON. <<<
034720,000188: 26,2336           02331                           TC       -5                                    #  ENTER
034721,000189: 26,2337           02232                           TC       P61.3                                 #  FOR PHASCHNG AND ENDOFJOB.
034722,000190: 
034723,000191: 26,2340           04701                 +3        TC       POSTJUMP                              
034724,000192: 26,2341           41612                           CADR     CM/DAPON                              #  DISABLE RCS DAP, ENABLE ENTRY DAP AND
034725,000193:                                                                                                  #  DO ATTITUDE HOLD.
034726,000194: 
034727,000195:                                                                                                  #  WILL IDLE UNTIL CM/POSE DOES ONE UPDATE.
034728,000196:                                                                                                  #  CM/DAPON DOES NO PHASCHNG.
034729,000197: 
034730,000198: 26,2342           32425        P62.1              CA       V06N61                                #  LAT(SPL)      LNG(SPL)        HEADSUP
034731,000199:                                                                                                  #  XXX.XX DEG    XXX.XX DEG      0000X.
034732,000200: 
034733,000201:                                                                                                  #  TERMINATE ATTITUDE HOLD.  SET UP COMMANDS:
034734,000202:                                                                                                  #  ROLLC, ALFACOM, BETACOM.  BEGIN MANUVER TO
034735,000203:                                                                                                  #  ENTRY ATTITUDE.
034736,000204: 
034737,000205: 26,2343           04662                           TC       BANKCALL                              
034738,000206: 26,2344           20720                           CADR     GOFLASH                               
034739,000207: 26,2345           02342                           TC       -3                                    
034740,000208: 26,2346           02350                           TC       +2                                    
034741,000209: 26,2347           02342                           TC       -5                                    
034742,000210: 
034743,000211: 26,2350           05412                           TC       PHASCHNG                              
034744,000212: 26,2351           04024                           OCT      04024                                 #  USE ENTRYVN FOR DISPLAY BELOW.
034745,000213:                                                                                                  #  EBANK WAS SET IN CM/DAPON TO EBAOG
034746,000214: 
034747,000215: 26,2352           11726                           CCS      HEADSUP                               #  C(HEADSUP) = +/- 1
034748,000216: 26,2353           35002                           CA       BIT14                                 #  IF HEADSUP POS, ROLLC=180 DEG (LIFT DWN)
034749,000217: 26,2354           12355                           NOOP                                           #  IF HEADSUP NEG, ROLLC=0 DEG (LIFT UP)
034750,000218: 26,2355           55715                           TS       ROLLC                                 
034751,000219: 26,2356           31411                           CA       ALFAPAD                               #  NOMINAL ALFATRIM PAD LOADED, NEG. NO.
034752,000220: 26,2357           22007                           ZL                                             
034753,000221: 26,2360           53604                           DXCH     ALFACOM                               #  SET ALFACOM = ALFA TRIM, BETACOM=0
034754,000222: 
034755,000223: 26,2361           35017                           CA       ONE                                   #  PERMITS EXDAP2 TO CHANGE FLAG TO +0
034756,000224: 26,2362           55727                           TS       P63FLAG                               #  AS INDICATOR.  STARTS UP P63.
034757,000225: 
034758,000226: 26,2363           35052                           CA       V06N22                                #  SET UP DISPLAY FOR CDU DESIRED VALUES
034759,000227: 26,2364           55263                           TS       ENTRYVN                               #  FROM ENTRY ATTITUDE CALC, THAT IS
034760,000228:                                                                                                  #  ALREADY GOING.
034761,000229: 26,2365           05546                           TC       UPFLAG                                #  TURN ON ENTRY DISPLAY
034762,000230: 26,2366           00134                           ADRES    ENTRYDSP                              #  ENTRYDSP = 92D BIT 13 FLAG 6
034763,000231:                                                                                                  #  SKIP

Page 794

034765,000233: 26,2367           41700                           CS       CMDAPMOD                              #  GO DIRECTLY TO P63 IF BODY ATTITUDE
034766,000234: 26,2370           75017                           MASK     ONE                                   #  IS SUCH THAT THE DELAY TASK: WAKEP62
034767,000235: 26,2371           00006                           EXTEND                                         #  WILL BE OMITTED.
034768,000236: 26,2372           12421                           BZF      P63.1                                 #  DISABLE GRP 4, GO TO ENDOFJOB.
034769,000237:                                                                                                  #  (IE, CONTINUE IF CMDAPMOD = -1, OR +0)
034770,000238: 26,2373           02405                           TC       P63                                   
034771,000239: 
034772,000240:                                                                                                  #  PUT JOB TO SLEEP UNTIL VEHICLE MANUVER HAS
034773,000241:                                                                                                  #  REDUCED ALFA TO +/-45 DEG. CONSIDER REMAINING
034774,000242:                                                                                                  #  65 DEG (25 DEG IF ALFA NEG) TO ALFA TRIM TO
034775,000243:                                                                                                  #  OCCUR AT 3 DEG/SEC, AND TERMINATE P62 AT THAT
034776,000244:                                                                                                  #  TIME.
034777,000245: 
034778,000246:                                                                                                  #  TASK WAKEP62 IS CALLED FROM ENTRY DAP.
034779,000247: 26,2374           35065        WAKEP62            CA       PRIO13                                
034780,000248: 26,2375           05134                           TC       NOVAC                                 
034781,000249: 26,2376  E6,1661                                  EBANK=   AOG                                   
034782,000250: 26,2376           02405 54066                     2CADR    P63                                   
034783,000251: 
034784,000252: 26,2400           05324                           TC       TASKOVER                              
034785,000253: 
034786,000254:                                                                                                  #  EACH 2 SEC, CALCULATE GIMBAL ANGLES FOR ENTRY CON-
034787,000255:                                                                                                  #  DITIONS THAT WILL HOLD IF REORIENTATION WERE MADE
034788,000256:                                                                                                  #  AT PRESENT RN, VN.  COME HERE FROM CM/POSE AND ALSO
034789,000257:                                                                                                  #  IN KEPLER PHASE OF ENTRY.
034790,000258: 
034791,000259: 26,2401           52131        P62.3              SSP      GOTO                                  #  SET RETURN ADDRESS SO THAT ROUTINE
034792,000260: 26,2402           00053                                    QPRET                                 #  GOES DIRECTLY TO ENTRY GUIDANCE EXIT
034793,000261: 26,2403           53576                                    ENDEXIT                               #  THAT DOES ENTRY DISPLAY, GRP 5.
034794,000262: 26,2404           20376                                    S62.3                                 #  PUT DESIRED CDU VALUES IN CPHI'S FOR
034795,000263:                                                                                                  #  N22 DISPLAY.
034796,000264: 

Page 795

034798,000266:                                                                                                  #        P63
034799,000267:                                                                                                  #  PROGRAM-      P63
034800,000268:                                                                                                  #  MOD NO.-      0       MAR. 13, 1967
034801,000269:                                                                                                  #  MOD BY-       R. HIRSCHKOP
034802,000270:                                                                                                  #  MOD NO: 1     MOD BY: RR BAIRNSFATHER         DATE: 22 JIN 67         RESTARTS.
034803,000271:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 14 JUL 67         REVISED RESTARTS
034804,000272:                                                                                                  #  FUNCTION-     1) TO INITIALIZE THE ENTRY EQUATIONS
034805,000273:                                                                                                  #                2) TO CONTINUE TO HOLD THE CM TO THE CORRECT ATTITUDE WITH RESPECT TO THE ATMOSPHERE FOR
034806,000274:                                                                                                  #                   THE ONSET OF ENTRY DECELERATION.  ROLL ANGLE IS LIFT UP/DOWN AS SPECIFIED BY HEADSUP.
034807,000275:                                                                                                  #                3) TO SENSE .05 G
034808,000276:                                                                                                  #  CALLING SEQUENCE-  DIRECTLY FROM P62
034809,000277:                                                                                                  #  EXIT-         TO ENDOFJOB
034810,000278:                                                                                                  #  SUBROUTINE CALLS-  NEWMODEX, GODSPR
034811,000279: 
034812,000280: 26,2405                                           COUNT*   $$/P63                                
034813,000281: 
034814,000282: 26,2405           05354        P63                TC       NEWMODEX                              
034815,000283: 26,2406           00077                           MM       63         B-14                       
034816,000284: 
034817,000285:                                                                                                  #  ARRIVE WITH EBANK = AOG.
034818,000286: 
034819,000287: 26,2407           32430                           CA       ENTCADR                               #  CONTINUE AT STARTENT AFTER CM/POSE.
034820,000288: 
034821,000289:                                                                                                  #  AT END OF STARTENT, CHANGE ADDRESS IN GOTOADDR
034822,000290:                                                                                                  #  TO CONTINUE AT SCALEPOP THEREAFTER.
034823,000291: 
034824,000292: 26,2410           55724                           TS       POSEXIT                               
034825,000293: 
034826,000294: 26,2411           32427                           CA       V06N64                                #  G             VI              R TO SPLSH
034827,000295:                                                                                                  #  XXX.XX G      XXXXX. FPS      XXXX.X NM
034828,000296: 26,2412           55263                           TS       ENTRYVN                               #  FOR DISPLAY CALL IN OVERNOUT.
034829,000297: 
034830,000298: 26,2413           45017                           CS       ONE                                   #  IN CASE FLAG IS LEFT AT +1 BY DAP.  THE
034831,000299: 26,2414           55727                           TS       P63FLAG                               #  -1 ASSURES THAT EXO-ATM DAP WILL NOT
034832,000300:                                                                                                  #  CALL P63 OUT OF SEQUENCE IN P66.
034833,000301: 
034834,000302: 26,2415           05412                           TC       PHASCHNG                              #  THIS IS REQUIRED TO PRESERVE CLEANDSP
034835,000303: 26,2416           00004                           OCT      00004                                 #  RETURN IN EVENT OF AN EXTENDED VERB..
034836,000304: 
034837,000305: 26,2417           04662                           TC       BANKCALL                              #  FLUSH 'N22' DISPLAY, IF ON. (OMIT
034838,000306: 26,2420           20703                           CADR     CLEANDSP                              #  DISPLAY DURING 'STARTENT' PASS.)
034839,000307: 
034840,000308: 26,2421           05412        P63.1              TC       PHASCHNG                              
034841,000309: 26,2422           00004                           OCT      00004                                 #  DISABLE.  DISPLAY RESTARTED VIA ENTRY.
034842,000310: 
034843,000311: 26,2423           05217                           TC       ENDOFJOB                              
034844,000312: 
034845,000313: 26,2424           01474        V06N60             VN       0660                                  
034846,000314: 26,2425           01475        V06N61             VN       0661                                  
034847,000315: 26,2426           01477        V06N63             VN       0663                                  

Page 796

034849,000317: 26,2427           01500        V06N64             VN       0664                                  
034850,000318: 26,2430           52000        ENTCADR            CADR     STARTENT                              
034851,000319: 
034852,000320: 26,2431  E7,1451                                  EBANK=   RTINIT                                #  TO CARY OVER INTO ENTRY STEERING.
034853,000321: 26,2431           03467 76067  POSECADR           2CADR    CM/POSE                               
034854,000322: 

Page 797

034856,000324:                                                                                                  #  PROGRAM-      P64
034857,000325:                                                                                                  #  MOD NO.-      1       SEPT. 19, 1967
034858,000326:                                                                                                  #  MOD BY-       R. HIRSCHKOP
034859,000327:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 8 MAY 68          REVISED COMMENTS FOR COLOSSUS
034860,000328:                                                                                                  #  FUNCTION-     1.  TO START ENTRY GUIDANCE AT .05G SELECTING ROLL ATTITUDE, CONSTANT DRAG LEVEL, AND
034861,000329:                                                                                                  #                    DRAG THRESHOLD, KA, WHICH ARE KEYED TO THE .05G POINT.
034862,000330:                                                                                                  #                2.  SELECT FINAL PHASE P67 IF V < 27000 FPS WHEN .2G OCCURS.
034863,000331:                                                                                                  #                3.  ITERATE FOR UP-CONTROL SOLUTION P65 IF V > 27000 FPS AND IF ALTITUDE RATE AND DRAG
034864,000332:                                                                                                  #                    LEVEL CONDITIONS ARE SATISFIED.  ENTER P65 WHEN CONSTANT DRAG CONTROLLER HAS BROUGHT RANGE
034865,000333:                                                                                                  #                    AS PREDICTED TO WITHIN 25 NM OF DESIRED RANGE.
034866,000334:                                                                                                  #                4.  SELECT FINAL PHASE  P67  IF NO UP-CONTROL SOLUTION EXISTS WITH VL > 18000 FPS.
034867,000335:                                                                                                  #  CALLING SEQUENCE-  BY RTB FROM REENTRY CONTROL
034868,000336:                                                                                                  #  EXIT-         BACK TO REENTRY CONTROL
034869,000337:                                                                                                  #  SUBROUTINE CALLS-  NEWMODEX
034870,000338: 
034871,000339: 25,2000                                           BANK     25                                    
034872,000340: 26,2000                                           SETLOC   P60S1                                 
034873,000341: 26,2000                                           BANK                                           
034874,000342: 
034875,000343:                                                                                                  #  THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING.  RESTART PROTECTION IS VIA STEERING.
034876,000344: 
034877,000345: 26,2433                                           COUNT*   $$/P64                                
034878,000346: 
034879,000347: 26,2433           05354        P64                TC       NEWMODEX                              #  ENTER VIA RTB WHEN .05G IS EXCEEDED.
034880,000348: 26,2434           00100                           MM       64         B-14                       
034881,000349: 26,2435           32440                           CA       V06N68                                #  ROLLC         VI              HDOT
034882,000350:                                                                                                  #  XXX.XX DEG    XXXXX. FPS      XXXXX. FPS
034883,000351: 26,2436           55263                           TS       ENTRYVN                               #  DISPLAY VIA OVERNOUT.
034884,000352: 
034885,000353: 26,2437           06030                           TC       DANZIG                                #  ... AND CONTINUE IN INITROLL ...
034886,000354: 26,2440           01504        V06N68             VN       0668                                  
034887,000355: 

Page 798

034889,000357:                                                                                                  #  PROGRAM:      P65
034890,000358:                                                                                                  #  MOD NO:  0    MOD BY:  RR BAIRNSFATHER        DATE:  17 JAN 68        COLOSSUS GSOP ADDITION.
034891,000359:                                                                                                  #  FUNCTION:     TO CONTINUE ENTRY GUIDANCE, USING THE UP-CONTROL PHASE TO STEER TO A CONTROLLED EXIT
034892,000360:                                                                                                  #                CONDITION.  THIS PHASE TERMINATES  A) IF D < Q7 FPSS, GO TO P66   ,
034893,000361:                                                                                                  #                                                   B) IF RDOT NEG, AND IF V < VL +500 FPS, GO TO P67.
034894,000362:                                                                                                  #  CALLING SEQUENCE:  BY RTB FROM REENTRY CONTROL
034895,000363:                                                                                                  #  EXIT:         BACK TO REENTRY CONTROL, OR TO ENDOFJOB.
034896,000364:                                                                                                  #  SUBROUTINE CALLS:  NEWMODEX
034897,000365: 
034898,000366: 26,2441                                           COUNT*   $$/P65                                
034899,000367: 
034900,000368: 26,2441           05354        P65                TC       NEWMODEX                              #  ENTER VIA RTB WHEN RANGE < 25 N M OF
034901,000369: 26,2442           00101                           MM       65         B-14                       #  TARGET.
034902,000370: 
034903,000371: 26,2443           35065                           CA       PRIO13                                
034904,000372: 26,2444           05134                           TC       NOVAC                                 
034905,000373: 26,2445     1263                                  EBANK=   ENTRYVN                               
034906,000374: 26,2445           02457 54062                     2CADR    P65.1                                 
034907,000375: 
034908,000376: 26,2447           05372                           TC       2PHSCHNG                              #  2 PHASE CHG REQUIRED TO PREVENT RE-
034909,000377: 26,2450           00554                           OCT      00554                                 #  STARTING FLASHING DISPLAY TWICE.
034910,000378: 26,2451           10035                           OCT      10035                                 #  4.55 SPOT AND SERVICER, HERE.
034911,000379: 26,2452           06006                           TC       INTPRET                               
034912,000380: 26,2453           47131                           SSP      RTB                                   
034913,000381: 26,2454           03646                                    GOTOADDR                              #  CHANGE ENTRY MODE TO UPCONTRL.
034914,000382: 26,2455           53035                                    UPCONTRL                              
034915,000383: 26,2456           52120                                    REFAZE10                              #  GO HERE TO REESTABLISH ENTRY SEQUENCER.
034916,000384:                                                                                                  #  AND CONTINUE AT UPCONTRL...
034917,000385: 
034918,000386: 26,2457           05560        P65.1              TC       DOWNFLAG                              
034919,000387: 26,2460           00134                           ADRES    ENTRYDSP                              #  ENTRYDSP = 92D BIT 13 FLAG 6
034920,000388: 
034921,000389: 26,2461           32473                           CA       V16N69                                #  ROLLC         DL (Q7)         VL
034922,000390: 26,2462           04662                           TC       BANKCALL                              #  XXX.XX DEG    XXX.XX G        XXXXX. FPS
034923,000391: 26,2463           21057                           CADR     GOFLASHR                              
034924,000392: 26,2464           02461                           TC       -3                                    #  NODOFLAG IS SET..
034925,000393: 26,2465           02470                           TC       +3                                    
034926,000394: 26,2466           02461                           TC       -5                                    
034927,000395: 26,2467           02232                           TC       P61.3                                 #  EST. GRP 4 FOR DSPLAY AND DO ENDOFJOB
034928,000396:                                                                                                  #  IF PROCEED, CONTINUE.
034929,000397: 26,2470           05546                           TC       UPFLAG                                
034930,000398: 26,2471           00134                           ADRES    ENTRYDSP                              #  ENTRYDSP = 92D BIT 13 FLAG 6
034931,000399: 
034932,000400: 26,2472           02421                           TC       P63.1                                 #  DISABLE GRP 4,START UP ENTRY DISPLAY
034933,000401:                                                                                                  #  N06V68 VIA OVERNOUT, AS USED IN P64.
034934,000402: 26,2473           04105        V16N69             VN       1669                                  
034935,000403: 

Page 799

034937,000405:                                                                                                  #  PROGRAM:      P66
034938,000406:                                                                                                  #  MOD NO: 0     MOD BY: RR BAIRNSFATHER         DATE: 17 JAN 68         COLOSSUS GSOP ADDITIONS.
034939,000407:                                                                                                  #  FUNCTION:     KEEP CM ATTITUDE IN TRIM TO THE RELATIVE VELOCITY VECTOR.  ENTRY GUIDANCE STOPS GENERATING
034940,000408:                                                                                                  #                ROLL COMMANDS UNTIL DRAG BUILDS UP TO Q7+0.5 FPSS.
034941,000409:                                                                                                  #  CALLING SEQUENCE:  VIA RTB FROM REENTRY CONTROL.
034942,000410:                                                                                                  #  EXIT:         BACK TO REENTRY CONTROL.
034943,000411:                                                                                                  #  SUBROUTINE CALLS:  NEWMODEX
034944,000412: 
034945,000413: 26,2474                                           COUNT*   $$/P66                                
034946,000414: 
034947,000415: 26,2474           05354        P66                TC       NEWMODEX                              #  ENTER VIA RTB WHEN D < Q7 FPSS
034948,000416: 26,2475           00102                           MM       66         B-14                       
034949,000417: 
034950,000418: 26,2476           35052                           CA       V06N22                                #  OGA           IGA             MGA
034951,000419:                                                                                                  #  XXX.XX DEG    XXX.XX DEG      XXX.XX DEG
034952,000420: 26,2477           02503                           TC       P66END                                #  IN CASE CAME FROM P65, GO DISABLE GRP4,
034953,000421:                                                                                                  #  AND SET ENTRYDSP TO DO DISPLAY VIA
034954,000422:                                                                                                  #  OVERNOUT.
034955,000423: 
034956,000424:                                                                                                  #  ... AND CONTINUE AT KEP2 
034957,000425: 

Page 800

034959,000427:                                                                                                  #  P67
034960,000428: 
034961,000429:                                                                                                  #  PROGRAM-      P67
034962,000430:                                                                                                  #  MOD NO.-      0       MAR. 16, 1967
034963,000431:                                                                                                  #  MOD BY-       R. HIRSCHKOP
034964,000432:                                                                                                  #  FUNCTION-     TO TERMINATE STEERING WHEN THE CM VELOCITY WRT EARTH = 1000 FT/SEC
034965,000433:                                                                                                  #  CALLING SEQUENCE-
034966,000434:                                                                                                  #  EXIT-         TO POOH
034967,000435:                                                                                                  #  SUBROUTINE CALLS-  GOFLASH
034968,000436: 
034969,000437:                                                                                                  #  THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING.  RESTART PROTECTION IS VIA STEERING.
034970,000438: 
034971,000439: 26,2500                                           COUNT*   $$/P67                                
034972,000440: 
034973,000441: 26,2500           05354        P67                TC       NEWMODEX                              #  ENTER VIA RTB
034974,000442: 26,2501           00103                           MM       67         B-14                       
034975,000443: 26,2502           32511                           CA       V06N66                                #  ROLLC         XRNGERR         DNRNGERR
034976,000444:                                                                                                  #  XXX.XX DEG    XXXX.X NM       XXXX.X NM
034977,000445: 26,2503           55263        P66END             TS       ENTRYVN                               #  DISPLAY VIA OVERNOUT.
034978,000446: 
034979,000447: 26,2504           05546                           TC       UPFLAG                                #  (IN CASE CAME FROM P65.  ENTRY DISPLAY
034980,000448: 26,2505           00134                           ADRES    ENTRYDSP                              #  WILL FLUSH FLASHING DISP.  IF STILL ON)
034981,000449:                                                                                                  #  BIT 13 FLAG 6
034982,000450: 26,2506           05412        KILLGRP4           TC       PHASCHNG                              #  DISABLE GRP4, IN CASE CAME FROM HUNTEST.
034983,000451: 26,2507           00004                           OCT      00004                                 #  (COME TO KILLGRP4 VIA RTB, RET TO CALLER)
034984,000452: 
034985,000453: 26,2510           06030                           TC       DANZIG                                #  ... AND CONTINUE AT PREDICT3 ...
034986,000454: 
034987,000455: 26,2511           01502        V06N66             VN       0666                                  
034988,000456: 
034989,000457: 26,2512                                           BANK     26                                    
034990,000458: 26,2000                                           SETLOC   P60S2                                 
034991,000459: 26,2000                                           BANK                                           
034992,000460: 
034993,000461: 26,2512           32543        P67.1              CA       V16N67                                #  RTOGO         LAT             LONG
034994,000462:                                                                                                  #  XXXX.X NM     XXX.XX DEG      XXX.XX DEG
034995,000463: 26,2513           04662                           TC       BANKCALL                              
034996,000464: 26,2514           20720                           CADR     GOFLASH                               
034997,000465: 26,2515           02520                           TC       +3                                    #  EFFECTIVE GOTOPOOH
034998,000466: 26,2516           02520                           TC       +2                                    
034999,000467: 26,2517           02512                           TC       P67.1                                 #  REDO
035000,000468: 
035001,000469: 26,2520           46214                           CS       THREE                                 #  TURN OFF ENTRY DAP
035002,000470: 26,2521           00004                           INHINT                                         
035003,000471: 26,2522           70102                           MASK     CM/FLAGS                              #  CM/DSTBY, GAMDIFSW
035004,000472: 26,2523           54102                           TS       CM/FLAGS                              
035005,000473: 26,2524           00003                           RELINT                                         
035006,000474: 26,2525           00006                           EXTEND                                         
035007,000475: 26,2526           32643                           DCA      SERVCAD2                              
035008,000476: 

Page 801

035010,000478: 26,2527           53223                           DXCH     AVEGEXIT                              
035011,000479: 
035012,000480: 26,2530           14106                           TCF      GOTOPOOH                              
035013,000481: 

Page 802

035015,000483: 26,2531           43175        P67.2              VLOAD    CLEAR                                 #  CALC PRESENT LAT, LONG, ALT.
035016,000484: 26,2532           01171                                    RN                                    
035017,000485: 26,2533           00662                                    ERADFLAG                              #  USE PAD RAD FOR ALT. (NOT SEEN ANYWAY)
035018,000486: 26,2534           16152                           STODL    ALPHAV                                
035019,000487: 26,2535           01205                                    PIPTIME                               #  USE TIME OF RN
035020,000488: 26,2536           45014                           CLEAR    CALL                                  
035021,000489: 26,2537           01663                                    LUNAFLAG                              
035022,000490: 26,2540           26370                                    LAT-LONG                              
035023,000491: 26,2541           77634        P67.3              RTB                                            #  ENTRY EXIT THAT OMITS DISPLAY.
035024,000492: 26,2542           53611                                    SERVNOUT                              
035025,000493: 
035026,000494: 26,2543           04103        V16N67             VN       1667                                  
035027,000495: 26,2544     4270               OCT41              =        33DEC                                 
035028,000496: 26,2544  26,2642               SERVCAD2           =        SERVCAD1                              
035029,000497: 

Page 803

035031,000499:                                                                                                  #  SUBROUTINE NAME:      S61.1   
035032,000500:                                                                                                  #  MOD NO:       0                                       DATE:           21 FEB 67
035033,000501:                                                                                                  #  MOD BY:       RR BAIRNSFATHER                         LOG SECTION:    P61-P67
035034,000502:                                                                                                  #  MOD NO:       1       MOD BY: RR BAIRNSFATHER         DATE:           22 JUN 67       RESTARTS.
035035,000503: 
035036,000504:                                                                                                  #  FUNCTIONAL DESCRIPTION:       CALLED BY BOTH P61 AND P62
035037,000505:                                                                                                  #        FIRST, TEST TO SEE IF  AVERAGEG  IS ON.  IF NOT, UPDATE THE STATE VECTOR TO PRESENT TIME + TOLERANCE
035038,000506:                                                                                                  #        AND TURN ON  AVERAGEG  AT THAT TIME, AND CONTINUE.  OTHERWISE CONTINUE:  SEE IF IMU Y AXIS IS
035039,000507:                                                                                                  #        WITHIN 30 DEG OF V*R.  IF YES, EXIT SUBROUTINE S61.1.  IF NO, SEE IF -Y AXIS OF IMU IS WITHIN
035040,000508:                                                                                                  #        30 DEG OF V*R.  IF YES, DISPLAY ALARM:  01427   IMU REVERSED.
035041,000509:                                                                                                  #                        IF NO, DISPLAY ALARM:   01426   IMU UNSATISFACTORY.
035042,000510:                                                                                                  #        IN EITHER OF THESE LAST 2 CASES, WAIT 10 SEC AND THEN EXIT SUBROUTINE S61.1.
035043,000511: 
035044,000512:                                                                                                  #  REMARK:       THERE WILL BE A SHORT 10 SEC DELAY IF AN ALARM EXIT IS TAKEN.  THE DELAY FOR INTEGRATION IS
035045,000513:                                                                                                  #                AS SHORT AS CAN BE MADE, BUT IS ARBITRARY SINCE IT DEPENDS ON THE AGE OF THE STATE VECTOR.
035046,000514: 
035047,000515:                                                                                                  #  CALLING SEQUENCE:     CALL
035048,000516:                                                                                                  #                                S61.1
035049,000517: 
035050,000518:                                                                                                  #                        C(MPAC) UNSPECIFIED
035051,000519:                                                                                                  #                        PUSHLOC UNSPECIFIED
035052,000520: 
035053,000521:                                                                                                  #  SUBROUTINES CALLED:   LOADTIME, CSMPREC, TPAGREE,
035054,000522:                                                                                                  #                        WAITLIST, JOBSLEEP, JOBWAKE, PREREAD, ALARM, GODSPR, BANKCALL, DELAYJOB
035055,000523: 
035056,000524:                                                                                                  #  NORMAL EXIT MODES:    RVQ
035057,000525: 
035058,000526:                                                                                                  #  ALARMS:       01426   IMU UNSATISFACTORY
035059,000527:                                                                                                  #                01427   IMU REVERSED
035060,000528: 
035061,000529:                                                                                                  #  OUTPUT:       POSSIBLE ALARMS
035062,000530:                                                                                                  #                POSSIBLY TDEC1, RATT, VATT, RN, VN
035063,000531: 
035064,000532:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
035065,000533:                                                                                                  #        AVEGFLAG                AVERAGEG ON OR OFF                              LEFT BY SERVICER
035066,000534:                                                                                                  #        PIPTIME   (-28) CS      TIME OF PIPA UPDATE                             LEFT BY READACCS
035067,000535:                                                                                                  #        RN        (-29) M       STATE VECTOR                                    LEFT BY AVERAGEG
035068,000536:                                                                                                  #        VN        (-7) M/CS     STATE VECTOR                                    LEFT BY AVERAGEG
035069,000537:                                                                                                  #        REFSMMAT  (-1)          .5 REF TO SM MATRIX                             LEFT BY LAST IMU ALIGNMENT
035070,000538: 
035071,000539:                                                                                                  #  DEBRIS:       QPRET
035072,000540:                                                                                                  #                POSSIBLY PIPTIME1, RATT, VATT, TDEC1, RN1, VN1, QTEMP, X1       IF UPDATED
035073,000541:                                                                                                  #                PUSH LIST LOCS USED BY CSMPREC
035074,000542: 
035075,000543: 26,2544  E6,1661                                  EBANK=   AOG                                   #  FOR 60GENRET, S61DT
035076,000544: 26,2544                                           BANK     26                                    
035077,000545: 26,2000                                           SETLOC   P60S3                                 
035078,000546: 26,2000                                           BANK                                           
035079,000547: 
035080,000548: 26,2544                                           COUNT*   $$/S61.1                              
035081,000549: 
035082,000550: 26,2544           00006        S61.1              EXTEND                                         
035083,000551: 26,2545           23773                           QXCH     60GENRET                              #  SAVE RET ADDR IN EB 6
035084,000552: 26,2546           04662                           TC       BANKCALL                              
035085,000553: 26,2547           17653                           CADR     R02BOTH                               
035086,000554: 26,2550           06006                           TC       INTPRET                               

Page 804

035088,000556: 26,2551           45014                           BON      CALRB                                 
035089,000557: 26,2552           00716                                    AVEGFLAG                              #  IS AVERAGEG ON
035090,000558: 26,2553           54604                                    S61.1A                                #  YES
035091,000559: 26,2554           27543                                    MIDTOAV2                              #  GET FUTURE STATE VECTOR SOON AS CAN
035092,000560: 
035093,000561: 26,2555           30155                           CA       MPAC       +1                         #  RETURN INHINTED ***
035094,000562: 26,2556           55774                           TS       S61DT                                 #  FOR RESTART.
035095,000563: 26,2557           05245                           TC       WAITLIST                              
035096,000564: 26,2560  E7,1431                                  EBANK=   DVCNTR                                
035097,000565: 26,2560           02565 54067                     2CADR    S61.1C                                
035098,000566: 
035099,000567: 26,2562           05412                           TC       PHASCHNG                              
035100,000568: 26,2563           40434                           OCT      40434                                 
035101,000569: 26,2564           05217                           TC       ENDOFJOB                              
035102,000570: 
035103,000571: 26,2565           35065        S61.1C             CA       PRIO13                                
035104,000572: 26,2566           05147                           TC       FINDVAC                               
035105,000573: 26,2567  E6,1661                                  EBANK=   AOG                                   
035106,000574: 26,2567           02603 54066                     2CADR    S61.1A     -1                         
035107,000575: 
035108,000576: 26,2571           00006                           EXTEND                                         
035109,000577: 26,2572           32643                           DCA      SERVCAD1                              #  HE WHO STARTS AVERAGEG MUST SERVICE
035110,000578: 26,2573           53223                           DXCH     AVEGEXIT                              #  THE EXIT.
035111,000579: 
035112,000580: 26,2574           05372                           TC       2PHSCHNG                              
035113,000581: 26,2575           00454                           OCT      00454                                 
035114,000582: 26,2576           00415                           OCT      00415                                 
035115,000583: 
035116,000584: 26,2577           35060                           CA       EBENTRY                               #  SET EB= 7 FOR PREREAD.
035117,000585: 26,2600           54003                           TS       EBANK                                 
035118,000586: 
035119,000587: 26,2601           04701                           TC       POSTJUMP                              
035120,000588: 26,2602           76700                           CADR     PREREAD                               #  PREREAD DOES TC TASKOVER.
035121,000589: 
035122,000590: 26,2603           06006                           TC       INTPRET                               
035123,000591: 26,2604           77204        S61.1A             BOVB     VLOAD                                 
035124,000592: 26,2605           57352                                    TCDANZIG                              #  TURN OFF OVFIND, IF ON
035125,000593: 26,2606           01177                                    VN                                    #  VN    (-7) M/CS
035126,000594: 26,2607           64235                           VXV      MXV                                   
035127,000595: 26,2610           01171                                    RN                                    #  RN    (-29) M
035128,000596: 26,2611           01736                                    REFSMMAT                              #  .5 UNIT MATRIX
035129,000597: 26,2612           71256                           UNIT     DLOAD                                 
035130,000598: 26,2613           00160                                    MPAC       +3                         #  GET COS(THETA)/2
035131,000599: 26,2614           43240                           BMN      DAD                                   
035132,000600: 26,2615           54622                                    S61.1B                                #  DO TEST ON -YSM
035133,000601: 26,2616           14645                                    C(30)LIM                              #  = 1.0 -.5 COS(30)
035134,000602: 26,2617           47004                           BOVB     RTB                                   
035135,000603: 26,2620           54641                                    RETRN1                                
035136,000604: 26,2621           54626                                    RETRN3                                

Page 805

035138,000606: 26,2622           43276        S61.1B             DCOMP    DAD                                   
035139,000607: 26,2623           14645                                    C(30)LIM                              #  = 1.0 - .5 COS(30)
035140,000608: 26,2624           77404                           BOVB     EXIT                                  
035141,000609: 26,2625           54631                                    RETRN2                                
035142,000610: 
035143,000611: 26,2626           05650        RETRN3             TC       ALARM                                 
035144,000612: 26,2627           01426                           OCT      01426                                 #  IMU UNSATISFACTORY
035145,000613: 26,2630           02633                           TC       RETRN2     +2                         
035146,000614: 
035147,000615: 26,2631           05650        RETRN2             TC       ALARM                                 
035148,000616: 26,2632           01427                           OCT      01427                                 #  IMU REVERSED
035149,000617: 
035150,000618: 26,2633           35050                 +2        CAF      V05N09                                
035151,000619: 26,2634           04662                           TC       BANKCALL                              
035152,000620: 26,2635           20676                           CADR     GODSPR                                #  DO DISPLAY
035153,000621: 26,2636           32646                           CA       10SECS                                
035154,000622: 26,2637           04662                           TC       BANKCALL                              
035155,000623: 26,2640           01732                           CADR     DELAYJOB                              
035156,000624: 
035157,000625: 26,2641           01773        RETRN1             TC       60GENRET                              
035158,000626: 
035159,000627: 26,2642  E7,1431                                  EBANK=   DVCNTR                                
035160,000628: 26,2642           03226 76067  SERVCAD1           2CADR    SERVEXIT                              
035161,000629: 
035162,000630: 26,2644           22111 17335  C(30)LIM           2DEC     .566985                               #  = 1.0 - .5 COS(30)
035163,000631: 
035164,000632: 26,2646           01750        10SECS             DEC      1000       B-14                       #  1000 CS
035165,000633: 26,2647           00000 13560  60SECDP            2DEC     6000       B-28                       #  6000 CS
035166,000634: 

Page 806

035168,000636:                                                                                                  #  PROGRAM NAME:         S61.2                   DATE:           14 FEB 67
035169,000637:                                                                                                  #  MOD NO:       1                               LOG SECTION:    P61-P67
035170,000638:                                                                                                  #  MOD BY:       MORTH / BAIRNSFATHER
035171,000639:                                                                                                  #  MOD NO: 2     MOD BY: MORTH/BAIRNSFATHER      DATE: 11 MAY 67         ADD 2ND ITER FOR ERAD AT 400K FT.
035172,000640:                                                                                                  #  MOD NO: 3     MOD BY: RR BAIRNSFATHER         DATE: 21 NOV 67         VARIABLE MU ADDED.
035173,000641:                                                                                                  #  MOD NO: 4     MOD BY: RR BAIRNSFATHER         DATE: 21 MAR 68         DIFFERENT EARTH/MOON SCALES IN TFF'S
035174,000642: 
035175,000643:                                                                                                  #  FUNCTIONAL DESCRIPTION:  CALLED BY P61.  PROVIDES DISPLAYS FOR NOUNS  N60  AND  N63 .
035176,000644:                                                                                                  #        PROGRAM CALCULATES ENTRY DISPLAY OF MAXIMUM ACCELERATION EXPECTED  (GMAX)  AND ALSO THE EXPECTED
035177,000645:                                                                                                  #        INERTIAL VELOCITY (VPRED) AND ENTRY ANGLE  (GAMMAEI)  THAT WILL OBTAIN AT 400K FT ABOVE THE FISCHER
035178,000646:                                                                                                  #        ELLIPSOID.  PROGRAM ALSO CALCULATES A SECOND DISPLAY RELATIVE TO THE  EMSALT  ABOVE FISCHER ELLIPSOID
035179,000647:                                                                                                  #        AND CONSISTS OF RANGE TO SPLASH FROM NOW  (RTGO) , PREDICTED INERTIAL VELOCITY  (VIO) , AND THE TIME TO
035180,000648:                                                                                                  #        GO FROM NOW  (TTE) .
035181,000649: 
035182,000650:                                                                                                  #  CALLING SEQUENCE:     CALL
035183,000651:                                                                                                  #                                S61.2
035184,000652:                                                                                                  #                        C(MPAC) UNSPECIFIED
035185,000653:                                                                                                  #                        PUSHLOC WILL BE SET TO ZERO.
035186,000654: 
035187,000655:                                                                                                  #  SUBROUTINES CALLED:   TFFCONIC, CALCTFF, TFF/TRIG, FISHCALC, GETERAD, VGAMCALC
035188,000656: 
035189,000657:                                                                                                  #  NORMAL EXIT MODES:    RTB   P61.1
035190,000658: 
035191,000659:                                                                                                  #  ALARMS:       NONE
035192,000660: 
035193,000661:                                                                                                  #  OUTPUT:       THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
035194,000662:                                                                                                  #                GMAX    100 GMAX (-14) G,S      MAXIMUM ACCELERATION
035195,000663:                                                                                                  #                VPRED   (-7) M/CS               PREDICTED VELOCITY AT 400K FT
035196,000664:                                                                                                  #                GAMMAEI GAMMA/360               PREDICTED GAMMA    AT 400K FT
035197,000665:                                                                                                  #                                                FOR TM, DP(GAMMAEI) = (GAMMAEI, RTGO) / 360
035198,000666:                                                                                                  #                RTGO    THETAH/360              RANGE ANGLE TO SPLASH FROM EMSALT       EMSALT IS PAD LOADED
035199,000667:                                                                                                  #                VIO     (-7) M/CS               INERTIAL VELOCITY AT      EMSALT        EMSALT IS PAD LOADED
035200,000668:                                                                                                  #                TTE     (-28) CS                TIME TO                    EMSALT       EMSALT IS PAD LOADED
035201,000669:                                                                                                  #                PUSHLOC = 0
035202,000670:                                                                                                  #                CONIC PARAMETERS STORED IN VAC AREA (SEE TFF SUBROUTINES)
035203,000671: 
035204,000672:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
035205,000673:                                                                                                  #                RONE    (-29) M                 STATE VECTOR                            LEFT BY USER
035206,000674:                                                                                                  #                VONE    (-7) M/CS               STATE VECTOR                            LEFT BY USER
035207,000675:                                                                                                  #                URONE   UR/2                                                            LEFT BY USER
035208,000676:                                                                                                  #                UNI     (-1)                    UNIT NORMAL V*R                         LEFT BY ENTRY / P61
035209,000677:                                                                                                  #                THETAH  THETAH/360              RANGE ANGLE                             LEFT BY ENTRY / P61
035210,000678:                                                                                                  #                UNITW   (0)                     UNIT POLAR VECTOR                       LEFT BY PAD LOAD
035211,000679:                                                                                                  #                EMSALT  (-29) M                 EMS INTERFACE ALTITUDE                  LEFT BY PAD LOAD
035212,000680:                                                                                                  #                                                ORBITAL REENTRY: 284643 FT, LUNAR REENTRY: 297431 FT.
035213,000681: 
035214,000682:                                                                                                  #  DEBRIS:       QPRET,
035215,000683:                                                                                                  #                ALL PDL LOCATIONS ABOVE 12D, INCLUDING X1,X2,S1,S2
035216,000684:                                                                                                  #                ALSO PDL+0 ... PDL+5, WHERE INITIAL PUSHLOC = PDL
035217,000685: 

Page 807

035219,000687:                                                                                                  #  THE FOLLOWING PUSH LIST LOCATIONS HAVE BEEN RESERVED FOR TFF ROUTINES AND ARE REPEATED HERE FOR CONVENIENCE.
035220,000688:                                                                                                  #  OF COURSE FOR S61.2 USAGE, EARTH ORIGIN SCALING IS USED.
035221,000689: 
035222,000690:                                                                                                  #                                BELOW   E:  IS USED FOR EARTH ORIGIN SCALE
035223,000691:                                                                                                  #                                        M:  IS USED FOR MOON ORIGIN SCALE
035224,000692: 
035225,000693:                                                                                                  #        RTERM   =       18D             TERMINAL RADIUS M       E:  (-29)       M:  (-27)
035226,000694:                                                                                                  #        NRTERM  =       16D             TERMINAL RADIUS M       E:  (-29+NR)
035227,000695:                                                                                                  #                                                                M:  (-27+NR)
035228,000696:                                                                                                  #        RMAG1   =       12D             PRESENT RADIUS M        E:  (-29)       M:  (-27)
035229,000697:                                                                                                  #        NRMAG   =       32D             PRESENT RADIUS M        E:  (-29+NR)
035230,000698:                                                                                                  #                                                                M:  (-27+NR)
035231,000699:                                                                                                  #        SDELF/2                         SIN(THETA) / 2
035232,000700:                                                                                                  #        CDELF/2 =       14D             COS(THETA) / 2
035233,000701:                                                                                                  #        TFFX    =       34D             X, ARGUMENT OF SERIES T(X).
035234,000702:                                                                                                  #        TFFTEM  =       36D             ARG FOR TRANSFER ANGLE CALCULATION.
035235,000703:                                                                                                  #        TFFNP   =       28D             LC P M                  E:  (-38+2NR)   M:  (-36+2NR)
035236,000704:                                                                                                  #        TFF/RTMU=       30D             1/SQRT(MU)              E:  (17)        M:  (14)
035237,000705:                                                                                                  #        TFFVSQ  =       20D             -(VN.VN/MU)     1/M     E:  (20)        M:  (18)
035238,000706: 

Page 808

035240,000708: 34,3763                                           BANK     34                                    
035241,000709: 26,2000                                           SETLOC   P60S2                                 
035242,000710: 26,2000                                           BANK                                           
035243,000711: 
035244,000712: 26,2651                                           COUNT*   $$/S61.2                              
035245,000713:                                                                                                  #  PDL LEFT AT ZERO BY TARGETNG
035246,000714: 
035247,000715: 26,2651           45345        S61.2              DLOAD    DSU                                   
035248,000716: 26,2652           02020                                    EMSALT                                
035249,000717: 26,2653           15001                                    290KFT                                
035250,000718: 26,2654           71244                           BPL      DLOAD                                 
035251,000719: 26,2655           54775                                    LUNENT                                
035252,000720: 26,2656           17354                                    1/RTMU                                #  ESTABLISH MU FOR ORBITAL ENTRIES
035253,000721: 26,2657           77624        CALLCON            CALL                                           
035254,000722: 26,2660           56757                                    TFFCONIC                              #  FILL VAC AREA WITH CONIC PARAMETERS
035255,000723: 
035256,000724: 26,2661           45145                           DLOAD    CALL                                  
035257,000725: 26,2662           15021                                    RTRIAL                                #  1ST GUESS AT TERMINAL RADIUS  (-29)
035258,000726: 26,2663           57067                                    CALCTFF                               #  SAVES MPAC IN RTERM           (18D)
035259,000727: 
035260,000728: 26,2664           77624                           CALL                                           #  CALC SDELF/2, CDELF/2
035261,000729: 26,2665           56631                                    TFF/TRIG                              #  RETURN WITH S(THETA) IN MPAC
035262,000730: 
035263,000731: 26,2666           77624                           CALL                                           #  GET FISCHER RADIUS            (-29) M
035264,000732: 26,2667           55030                                    FISHCALC                              #  ANS IN MPAC AND IN ERADM.
035265,000733: 
035266,000734: 26,2670           45015                           DAD      CALL                                  
035267,000735: 26,2671           02020                                    EMSALT                                
035268,000736: 26,2672           57067                                    CALCTFF                               #  SAVES MPAC IN RTERM           (18D)
035269,000737: 
035270,000738: 26,2673           77676                           DCOMP                                          #  NEGATIVE AS IN COUNTDOWN.
035271,000739: 26,2674           03733                           STORE    TTE1                                  #  DECR TTE FROM BASE TTE1.  (RESTART)
035272,000740:                                                                                                  #  DNLIST AND DSKY WILL USE TTE.
035273,000741: 26,2675           37727                           STCALL   TTE                                   #  LET MISS CONTRL DECR BY ELAPSED TIME
035274,000742:                                                                                                  #  TTE= TIME FROM NOW TO EMSALT +FISCHER
035275,000743: 
035276,000744: 26,2676           56631                                    TFF/TRIG                              #  S(THETA) IN MPAC ON RETURNING
035277,000745:                                                                                                  #  AND THETA= RANGE FROM NOW TO EMSALT
035278,000746: 
035279,000747: 26,2677           77624                           CALL                                           
035280,000748: 26,2700           55030                                    FISHCALC                              
035281,000749: 26,2701           77624                           CALL                                           
035282,000750: 26,2702           56664                                    VRCALC                                
035283,000751: 26,2703           77624                           CALL                                           
035284,000752: 26,2704           56651                                    DISPTARG                              
035285,000753: 26,2705           77624                           CALL                                           
035286,000754: 26,2706           56651                                    DISPTARG                              
035287,000755: 26,2707           37714                           STCALL   RTGO                                  

Page 809

035289,000757: 26,2710           55051                                    VGAMCALC                              
035290,000758: 
035291,000759: 26,2711           77605                           DMP                                            #  MPAC = GAMMA
035292,000760:                                                                                                  #  PDL0 HAS VGAM.
035293,000761: 26,2712           43265                           BDDV     DAD                                   
035294,000762: 26,2713           15027                                    VEMSCON                               #  -HS D 180/PI (-14)
035295,000763: 26,2714           00001                                    0                                     #  VGAM FROM PDL0.
035296,000764: 26,2715           17725                           STODL    VIO                                   #  PREDICTED VELOCITY AT EMSALT.
035297,000765: 
035298,000766:                                                                                                  #  GAMMA AND VGAM AT 300K FT ARE REQUIRED BY GMAX
035299,000767:                                                                                                  #  ALGORITHM.
035300,000768: 
035301,000769: 26,2716           02241                                    ERADM                                 #  EARTH RADIUS FROM GETERAD (-29) M
035302,000770:                                                                                                  #  = FISCHER RADIUS (-29)
035303,000771: 
035304,000772: 26,2717           77615                           DAD                                            
035305,000773: 26,2720           06462                                    300KFT                                #  M (-29)
035306,000774: 26,2721           34023                           STCALL   RTERM                                 #  TERMINAL RADIUS M (-29)
035307,000775: 
035308,000776: 26,2722           55046                                    PREVGAM                               #  VGAMCALC WITH NEW RTERM
035309,000777: 
035310,000778:                                                                                                  #  VBAR = (V(FPS) - 36KF/S) / 20KF/S
035311,000779:                                                                                                  #  GMAX = (4/(1 + 4.8 VBARSQ))(GAM - 6.05 - 2.4 VBARSQ) - 10(L/D - .3) + 10      ASSUME L/D = 0.3, BANK =0.
035312,000780: 
035313,000781:                                                                                                  #  GMAXCALC
035314,000782: 26,2723           45325                           PDDL     DSU                                   #  GAM TO PDL2
035315,000783: 26,2724           00001                                    0                                     #  VGAM IS IN PDL0 (-7)
035316,000784: 26,2725           15005                                    36KFT/S                               #  (-7) M/CS
035317,000785: 26,2726           63471                           DDV      DSQ                                   
035318,000786: 26,2727           15007                                    20KFT/S                               #  (-6) M/CS
035319,000787: 26,2730           00001                           STORE    0                                     #  VBARSQ (-2) TO PDL0
035320,000788: 
035321,000789: 26,2731           43205                           DMP      DAD                                   
035322,000790: 26,2732           15011                                    KR1                                   
035323,000791:                                                                                                  #  GAM, POS DOWN, FROM PDL2
035324,000792: 26,2733           41215                           DAD      DMP                                   
035325,000793: 26,2734           15013                                    -6.05DEG                              
035326,000794: 26,2735           15015                                    KR2                                   
035327,000795: 26,2736           77725                           PDDL                                           #  XCH PDL+0 FOR VBARSQ (-2)
035328,000796: 26,2737           43271                           DDV      DAD                                   
035329,000797: 26,2740           15025                                    KR4                                   
035330,000798: 26,2741           17366                                    DP2(-4)                               
035331,000799: 26,2742           77665                           BDDV                                           
035332,000800:                                                                                                  #  NUM FROM PDL+0
035333,000801: 26,2743           51015                           DAD      BPL                                   
035334,000802: 26,2744           15017                                    KR3                                   
035335,000803: 26,2745           54750                                    +3                                    
035336,000804: 26,2746           77745                           DLOAD                                          
035337,000805: 26,2747           15335                                    HI6ZEROS                              
035338,000806: 26,2750           17722                           STODL    GMAX                                  #  100 GMAX (-14)

Page 810

035340,000808:                                                                                                  #  DISPLAY USES GMAX AS SP, SO LO WORD IS WRITTEN OVER BY VPRED.
035341,000809: 26,2751           02241                                    ERADM                                 #  = FISCHER RADIUS (-29) M
035342,000810: 26,2752           45015                           DAD      CALL                                  #  2 ND ITERATION FOR FISCHER RADIUS
035343,000811: 26,2753           15023                                    400KFT                                
035344,000812: 26,2754           57067                                    CALCTFF                               #  ESTABLISH TRANSFER ANGLE DATA.
035345,000813: 26,2755           77624                           CALL                                           
035346,000814: 26,2756           56631                                    TFF/TRIG                              #  GET SIN, COS DELF
035347,000815: 26,2757           77624                           CALL                                           
035348,000816: 26,2760           55030                                    FISHCALC                              #  GET CORRESPONDING FISCHER RADIUS.
035349,000817: 
035350,000818: 26,2761           73015                           DAD      LXA,2                                 #  SAVE HI-WORD FOR DOWNLIST.
035351,000819: 26,2762           15023                                    400KFT                                #  M (-29)
035352,000820: 26,2763           03713                                    RTGO                                  #  (RANGE ANGLE FROM EMSALT) / 360
035353,000821: 26,2764           34023                           STCALL   RTERM                                 
035354,000822: 26,2765           55046                                    PREVGAM                               #  VGAMCALC WITH NEW RTERM
035355,000823: 
035356,000824: 26,2766           67076                           DCOMP    SXA,2                                 #  HI-WORD OF EACH ON DOWNLIST.
035357,000825: 26,2767           00155                                    MPAC       +1                         
035358,000826: 26,2770           17771                           STODL    GAMMAEI                               #  CONIC GAMMA/360 AT 400K FT.   (HI-WORD)
035359,000827:                                                                                                  #  CONIC RTGO/360 FROM EMSALT   (LOW-WORD)
035360,000828:                                                                                                  #  FOR TM, DP(GAMMAEI) = (GAMMA, RTGO) / 360
035361,000829: 
035362,000830:                                                                                                  #  VGAM FROM PDL+0 (-7)
035363,000831: 26,2771           77626                           STADR                                          
035364,000832: 26,2772           74010                           STORE    VPRED                                 #  CONIC VELOCITY AT 400K FT
035365,000833: 
035366,000834: 26,2773           77634                           RTB                                            
035367,000835: 26,2774           54267                                    P61.1                                 
035368,000836:                                                                                                  #  PDL BACK TO ZERO.
035369,000837: 
035370,000838: 26,2775           52145        LUNENT             DLOAD    GOTO                                  
035371,000839: 26,2776           06456                                    1/RTMUE                               #  ESTABLISH MU FOR LUNAR TYPE ENTRIES
035372,000840: 26,2777           54657                                    CALLCON                               
035373,000841: 26,3000           00002 26244  290KFT             2DEC     88392.0    B-29                       
035374,000842: 
035375,000843: 26,3002           00052 05716  KTETA1             2DEC*    .421844723 E2         B-14*           #  1100 2PI/16384(163.84)
035376,000844: 
035377,000845: 26,3004           33335 05707  36KFT/S            2DEC     109.728    B-7                        #  (-7) M/CS = 36 KFT/S (-7)
035378,000846: 
035379,000847: 26,3006           36365 30244  20KFT/S            2DEC     121.92     B-7                        #  (-6) M/CS = 2 20KFT/S (-7)
035380,000848: 
035381,000849: 26,3010           77113 42770  KR1                2DEC     -.026666667                            #  = -2.4 4 / 360
035382,000850: 
035383,000851: 26,3012           77354 65030  -6.05DEG           2DEC     -.016805556                            #  = -6.05 / 360
035384,000852: 
035385,000853: 26,3014           21450 00001  KR2                2DEC     .54931641                             #  = (360/4) 100 (-14) = 9000 B-14
035386,000854: 
035387,000855: 26,3016           01750 00000  KR3                2DEC     1000       B-14                       #  = 100 (10.0) (-14) G,S

Page 811

035389,000857:                                                                                                  #  ASSUMES L/D = 0.3, BANK =0.
035390,000858: 26,3020           00305 04541  RTRIAL             2DEC     6460097.18 B-29                       #  RPAD +284643 FT =21 194 545 FT
035391,000859:                                                                                                  #  RPAD DEFINED AS 20 909 901.57 FT =6 373 338 M
035392,000860: 26,3022           00003 27040  400KFT             2DEC     121920     B-29                       #  METERS
035393,000861: 
035394,000862:                                                                                                  #  300KFT        2DEC    91440 B-29      (-29) M
035395,000863: 
035396,000864:                                                                                                  #  EMSALT        2DEC    86759.2 B-29    284643 FT (-29) M       (ORBITAL REENTRY)
035397,000865: 
035398,000866:                                                                                                  #  EMSALT        2DEC    90657 B-29      297431 FT (-29) M       (LUNAR REENTRY)
035399,000867: 
035400,000868: 26,3024           32525 12525  KR4                2DEC     .833333333                            
035401,000869: 
035402,000870: 26,3026  23,2461               300KFT             EQUALS   MINPERE                               
035403,000871: 26,3026           77777 76601  VEMSCON            2DEC     -.0389676  B-14                       #  = -HS D / 2 PI (-14)  M SQ / CS SQ
035404,000872: 
035405,000873:                                                                                                  #  = -16369      .05G    32.2    .3048   .3048/2 PI      (-14)
035406,000874: 

Page 812

035408,000876:                                                                                                  #  SUBROUTINE NAME:  FISHCALC    (USED BY S61.2)         DATE:           01.21.67
035409,000877:                                                                                                  #  MOD NO: 0                                             LOG SECTION:    P61-P67
035410,000878:                                                                                                  #  MOD BY: MORTH / BAIRNSFATHER
035411,000879:                                                                                                  #  MOD NO: 1     MOD BY: RR BAIRNSFATHER                 DATE:           11 MAY 67       INCLUDE GETERAD CALL
035412,000880: 
035413,000881:                                                                                                  #  FUNCTIONAL DESCRIPTION:  GIVEN THE PRESENT POSITION, UNITR, CALCULATE A NEW UNITR THAT IS ROTATED THROUGH
035414,000882:                                                                                                  #        TRANSFER ANGLE, THETA, ALONG TRAJECTORY.  THEN CALCULATE SIN(LAT) AND USE TO OBTAIN FISCHER RADIUS.
035415,000883: 
035416,000884:                                                                                                  #        SINCE FISHCALC USES UNI (LEFT BY ENTRY) EARTH SCALING IS ASSUMED.  (WILL IMPROVE FOR SUITABLE TENNANT)
035417,000885: 
035418,000886:                                                                                                  #  CALLING SEQUENCE:     CALL
035419,000887:                                                                                                  #                                FISHCALC
035420,000888:                                                                                                  #        ENTER WITH .5 SIN(THETA) IN MPAC.
035421,000889:                                                                                                  #        PUSHLOC IS AT PDL+0, AN ARBITRARY BASE VALUE IF LEQ 8D
035422,000890: 
035423,000891:                                                                                                  #  SUBROUTINES CALLED:  GET ERAD
035424,000892: 
035425,000893:                                                                                                  #  NORMAL EXIT MODE:  RVQ
035426,000894: 
035427,000895:                                                                                                  #  EXIT MODES:   NONE
035428,000896: 
035429,000897:                                                                                                  #  OUTPUT:       ERADM (-29) M IN MPAC ON RETURNING
035430,000898:                                                                                                  #                NEW UNIT VECTOR NOT SAVED.
035431,000899:                                                                                                  #                SIN(LAT) NOT SAVED.
035432,000900:                                                                                                  #                PUSHLOC AT PDL+0
035433,000901: 
035434,000902:                                                                                                  #  ERASEABLE INITIALIZATION REQUIRED:
035435,000903:                                                                                                  #                SDELF/2         =SIN(THETA) / 2, IN MPAC                LEFT BY TFF/TRIG
035436,000904:                                                                                                  #                CDELF/2         =COS(THETA) / 2, STORED IN PDL 14D      LEFT BY TFF/TRIG
035437,000905:                                                                                                  #                RONE            (-29) M                                 LEFT BY USER
035438,000906:                                                                                                  #                VONE            (-7) M/CS                               LEFT BY USER
035439,000907:                                                                                                  #                URONE           UR/2                                    LEFT BY USER
035440,000908:                                                                                                  #                UNI             .5 UNIT(V*R)                            LEFT BY ENTRY / P61
035441,000909:                                                                                                  #                UNITW           UNIT NORTH POLE                         LEFT BY PAD LOAD
035442,000910: 
035443,000911:                                                                                                  #  DEBRIS:       QPRET, PDL+0 ... PDL+5
035444,000912:                                                                                                  #  -      -          -
035445,000913: 26,3030           47315        FISHCALC           PDVL     VXV                                   #  URPR = UR CDELF + UHOR SDELF
035446,000914: 26,3031           02343                                    URONE                                 
035447,000915: 26,3032           03502                                    UNI                                   
035448,000916: 26,3033           76561                           VXSC     VSL1                                  
035449,000917:                                                                                                  #  SIN(THETA) / 2 FROM PDL+0
035450,000918: 26,3034           74315                           PDVL     VXSC                                  #  TO PDL+0, +5
035451,000919: 26,3035           02343                                    URONE                                 
035452,000920: 26,3036           00017                                    CDELF/2                               #  COS(THETA) / 2
035453,000921: 26,3037           45455                           VAD      STADR                                 
035454,000922: 26,3040           74235                           STORE    URH                                   #  FOR USE IN RTGO FROM EMS DISPLAY
035455,000923: 26,3041           72441                           DOT      SL1                                   
035456,000924: 26,3042           01714                                    UNITW                                 #  FULL UNIT VECTOR      UNIT NORTH
035457,000925: 26,3043           02156                           STORE    ALPHAV     +4                         #  = .5 SIN(LAT)
035458,000926: 26,3044           77650        DUMPFISH           GOTO                                           
035459,000927: 26,3045           26505                                    GETERAD                               #  SAVES FISCHER RAD (-29) M IN ERADM AND
035460,000928:                                                                                                  #  IN MPAC.  RETURNS TO CALLER VIQ QPRET.
035461,000929: 

Page 813

035463,000931:                                                                                                  #  SUBROUTINE NAME:  VGAMCALC    (USED BY S61.2)                         DATE:           01.21.67
035464,000932:                                                                                                  #  MOD NO: 0                                                             LOG SECTION:    P61-P67
035465,000933:                                                                                                  #  MOD BY: MORTH / BAIRNSFATHER
035466,000934:                                                                                                  #  MOD NO: 1     MOD BY: RR BAIRNSFATHER         DATE: 11 APR 67
035467,000935:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 21 NOV 67         VARIABLE MU ADDED.
035468,000936:                                                                                                  #  MOD NO: 3     MOD BY: RR BAIRNSFATHER         DATE: 21 MAR 68         ACCEPT DIFFERENT EARTH/MOON SCALE
035469,000937: 
035470,000938:                                                                                                  #  FUNCTIONAL DESCRIPTION:  EARTH CENTERED VIS VIVA CALCULATION OF TERMINAL VELOCITY AND GAMMA (REL TO
035471,000939:                                                                                                  #        HORIZONTAL) GIVEN THE SCALAR QUANTITIES:  PRESENT RADIUS AND VELOCITY AND THE TERMINAL RADIUS.
035472,000940:                                                                                                  #        THE USER MUST APPEND PROPER SIGN TO GAMMA, SINCE IT IS CALCULATED AS A POSITIVE NUMBER.
035473,000941:                                                                                                  #        THE EQUATIONS ARE
035474,000942: 
035475,000943:                                                                                                  #                VGAM = SQRT(VN VN/MU + 2(RN-RTERM)/(RN RTERM) ) RTMU
035476,000944: 
035477,000945:                                                                                                  #                COSGAM = H / RTERM VGAM = SQRT (LCP) / (RTERM VGAM/RTMU)
035478,000946: 
035479,000947:                                                                                                  #        VGAMCALC ASSUMES THAT THE TERMINAL RADIUS IS LESS THAN THE PRESENT RADIUS.  BOTH CALCTFF AND CALCTPER
035480,000948:                                                                                                  #        MAKE THIS ASSUMPTION.
035481,000949: 
035482,000950:                                                                                                  #  CALLING SEQUENCE:     CALL                    STCALL  RTERM
035483,000951:                                                                                                  #                                VGAMCALC                PREVGAM
035484,000952:                                                                                                  #        PUSHLOC AT PDL+0, ARBITRARY IF LEQ 12D
035485,000953:                                                                                                  #        C(MPAC) UNSPECIFIED                     C(MPAC)=NEW RTERM
035486,000954: 
035487,000955:                                                                                                  #  SUBROUTINES CALLED:  NONE
035488,000956: 
035489,000957:                                                                                                  #  NORMAL EXIT MODE:  RVQ
035490,000958: 
035491,000959:                                                                                                  #  ALARMS:       NONE
035492,000960:                                                                                                  #  
035493,000961:                                                                                                  #  OUTPUT:       GAMMA / 360 IN MPAC, POSITIVE NUMBER
035494,000962:                                                                                                  #                VGAM    E: (-7)   M: (-5)       M/CS IN PDL+0
035495,000963:                                                                                                  #                PUSHLOC AT PDL+2
035496,000964: 
035497,000965:                                                                                                  #  ERASABLE INITIALIZATION REQD:
035498,000966:                                                                                                  #        TFF/RTMU  E: (17)   M: (14)     1/SQRT(MU)                              LEFT BY TFFCONIC.
035499,000967:                                                                                                  #        RMAG1     E: (-29)  M: (-27)    M  PRESENT RADIUS LENGTH                LEFT BY TFFCONIC
035500,000968:                                                                                                  #        NRMAG     E: (-29+NR)           M  NORM LENGTH OF PRESENT POSITION      LEFT BY TFFCONIC
035501,000969:                                                                                                  #                  M: (-27+NR)
035502,000970:                                                                                                  #        RTERM     E: (-29)  M: (-27)    M  TERMINAL RADIUS LENGTH               LEFT BY CALCTFF
035503,000971:                                                                                                  #        NRTERM    E: (-29+NR)           M  NORM LENGTH OF TERMINAL RADIUS       LEFT BY CALCTFF
035504,000972:                                                                                                  #                  M: (-27+NR)
035505,000973:                                                                                                  #        TFFVSQ    E: (20)   M: (18)   1/M  -(V SQ/MU): PRESENT VELOCITY, NORM   LEFT BY TFFCONIC
035506,000974:                                                                                                  #        TFFNP     E: (-38+2NR)          M  LCP, SEMI-LATUS RECTUM, WEIGHT NR    LEFT BY TFFCONIC
035507,000975:                                                                                                  #                  M: (-36+2NR)
035508,000976: 
035509,000977:                                                                                                  #  DEBRIS:       QPRET, PDL+0 ... PDL+3
035510,000978:                                                                                                  #                RTERM, NRTERM IF PREVGAM ENTERED.

Page 814

035512,000980: 
035513,000981: 26,3046           77657        PREVGAM            SL*                                            #  ENTER WITH NEW RTERM IN MPAC
035514,000982:                                                                                                  #  E: (-29)  M: (-27)
035515,000983: 26,3047           20201                                    0,1                                   #  X1 = -NR
035516,000984: 26,3050           00021                           STORE    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
035517,000985: 
035518,000986: 26,3051           41345        VGAMCALC           DLOAD    DMP                                   
035519,000987: 26,3052           00041                                    NRMAG                                 #  RMAG M                E: (-29+NR)     M: (-27+NR)
035520,000988: 26,3053           00021                                    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
035521,000989: 26,3054           45325                           PDDL     DSU                                   #  RMAG RTERM M          E: (-58+2NR)    M: (-54+2NR)
035522,000990: 26,3055           00041                                    NRMAG                                 #  RMAG M                E: (-29+NR)     M: (-27+NR)
035523,000991: 26,3056           00021                                    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
035524,000992: 26,3057           56257                           SL*      DDV                                   #  2(RN-RTERM)           E: (-30+NR)     M: (-28+NR)
035525,000993: 26,3060           20171                                    0          -8D,1                      #  (-8+NR)
035526,000994:                                                                                                  #  PUSH UP PRODUCT.                                      
035527,000995: 26,3061           77625                           DSU                                            
035528,000996: 26,3062           00025                                    TFFVSQ                                #  -(V SQ/MU)            E: (20)         M: (18)
035529,000997: 26,3063           41566                           SQRT     PUSH                                  #  SAVE VGAM/RT(MU) FOR NOW.     E: (10) M: (9)
035530,000998: 26,3064           65271                           DDV      PDDL                                  #  XCH PDL+0, LEAVING VGAM FOR OUTPUT.
035531,000999:                                                                                                  #  VGAM TO PDL M/CS      E: (-7)         M: (-2)
035532,001000: 26,3065           00037                                    TFF/RTMU                              #                        E: (17)         M: (14)
035533,001001: 26,3066           65205                           DMP      PDDL                                  #  RTERM VGAM/RTMU       E: (-19+NR)     M: (-18+NR)
035534,001002: 26,3067           00021                                    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
035535,001003: 26,3070           00035                                    TFFNP                                 #  LC P =H.H/MU M        E: (-38+2NR)    M: (-36+2NR)
035536,001004: 26,3071           56366                           SQRT     DDV                                   #                        E: (-19+NR)     M: (-18+NR)
035537,001005:                                                                                                  #  PUSH UP DEN           E: (-19+NR)     M: (-18+NR)
035538,001006:                                                                                                  #  USE DDV OVFL AS LIMITER (|COS| <1.0)
035539,001007: 26,3072           65542                           SR1      ACOS                                  
035540,001008: 26,3073           77616        DUMPVGAM           RVQ                                            
035541,001009:                                                                                                  #  CALLER MUST SUPPLY OWN SIGN ...
035542,001010:                                                                                                  #                        22W     27MS
035543,001011: 

Page 815

035545,001013:                                                                                                  #  SUBROUTINE NAME:      TFF/TRIG        (USED BY S61.2)         DATE            01.17.67
035546,001014:                                                                                                  #  MOD NO: 0                                                     LOG SECTION:    P61-P67
035547,001015:                                                                                                  #  MOD BY: RR BAIRNSFATHER
035548,001016:                                                                                                  #  MOD NO: 1     MOD BY: RR BAIRNSFATHER         DATE: 14 APR 67
035549,001017:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 21 MAR 68         ACCEPT DIFFERENT EARTH/MOON SCALE
035550,001018: 
035551,001019:                                                                                                  #  FUNCTIONAL DESCRIPTION:  USED BY ENTRY DISPLAY TO CALCULATE SIN(THETA), COS(THETA) FROM DATA LEFT IN
035552,001020:                                                                                                  #        PDL BY TFF SUBROUTINES.  THE EQNS ARE
035553,001021: 
035554,001022:                                                                                                  #                COS(THETA) = 1-2 ABS(ARG) / (RN RTERM (1+X) )
035555,001023:                                                                                                  #                                                2
035556,001024:                                                                                                  #                SIN(THETA) = SGN(ARG) SQRT(1-COS (THETA) )
035557,001025: 
035558,001026:                                                                                                  #        WHERE THETA = TRANSFER ANGLE
035559,001027:                                                                                                  #        AND     ARG = P Z ABS(Z)                        IF ALFA ZZ LEQ 1
035560,001028:                                                                                                  #                ARG = (P / ALFA) SGN(Q1 + R 1/Z)        IF ALFA Z Z G 1
035561,001029:                                                                                                  #        AND  ARG  HAS BEEN AFFIXED WITH THE SIGN OF SIN(THETA).
035562,001030: 
035563,001031:                                                                                                  #  CALLING SEQUENCE:     CALL
035564,001032:                                                                                                  #                                TFF/TRIG
035565,001033:                                                                                                  #                PUSHLOC AT PDL+0, ARBITRARY IF NOT EQ 14D
035566,001034:                                                                                                  #                C(MPAC) UNSPECIFIED
035567,001035: 
035568,001036:                                                                                                  #  SUBROUTINES CALLED:  NONE
035569,001037: 
035570,001038:                                                                                                  #  NORMAL EXIT MODES:  RVQ
035571,001039: 
035572,001040:                                                                                                  #  ALARMS:       NONE
035573,001041: 
035574,001042:                                                                                                  #  OUTPUT:       C(MPAC) = .5 SIN(THETA)
035575,001043:                                                                                                  #                CDELF/2 = .5 COS(THETA)         (IN PDL 14D)
035576,001044:                                                                                                  #                PUSHLOC AT PDL+0
035577,001045: 
035578,001046:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
035579,001047:                                                                                                  #                TFFX                    X                                       LEFT BY CALCTFF OR CALCTPER
035580,001048:                                                                                                  #                TFFTEM  E: (-59+2NR)    ARG                                     LEFT BY CALCTFF OR CALCTPER
035581,001049:                                                                                                  #                        M: (-55+2NR)    WHERE ARG = LCP ZZ SGN(DELF) OR ARG = LCP/ALFA SGN(DELF)
035582,001050:                                                                                                  #                NRTERM  E: (-29+NR)     M  NORM LENGTH OF TERMINAL RADIUS       LEFT BY CALCTFF OR CALCTPER
035583,001051:                                                                                                  #                        M: (-27+NR)     
035584,001052:                                                                                                  #                NRMAG   E: (-29+NR)     M  NORM LENGTH OF PRESENT POSITION      LEFT BY TFFCONIC
035585,001053:                                                                                                  #                        M: (-27+NR)
035586,001054: 
035587,001055:                                                                                                  #  DEBRIS:       QPRET, CDELF/2
035588,001056: 
035589,001057: 27,2631                                           BANK     27                                    
035590,001058: 27,2000                                           SETLOC   P60S5                                 
035591,001059: 27,2000                                           BANK                                           
035592,001060: 27,2631           70545        TFF/TRIG           DLOAD    SR1                                   
035593,001061: 27,2632           00043                                    TFFX                                  
035594,001062: 27,2633           41215                           DAD      DMP                                   
035595,001063: 27,2634           15333                                    HIDPHALF                              
035596,001064: 27,2635           00041                                    NRMAG                                 #  RMAG M                E: (-29+NR)     M: (-27+NR)
035597,001065: 27,2636           55205                           DMP      BDDV                                  
035598,001066: 27,2637           00021                                    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
035599,001067: 27,2640           00045                                    TFFTEM                                #  P ZSQ OR P/ALFA       E: (-59+2NR)    M: (-55+2NR)
035600,001068: 27,2641           44246                           ABS      BDSU                                  #  THE SIGN IS FOR SDELF.
035601,001069: 27,2642           15333                                    HIDPHALF                              
035602,001070: 27,2643           00017                           STORE    CDELF/2                               #  .5 COS(THETA)
035603,001071: 27,2644           57516                           DSQ      DCOMP                                 #  KEEP HONEST FOR SQRT.

Page 816

035605,001073: 27,2645           75415                           DAD      SQRT                                  
035606,001074: 27,2646           15325                                    HIDP1/4                               
035607,001075: 27,2647           43565        DUMPTRIG           SIGN     RVQ                                   
035608,001076: 27,2650           00045                                    TFFTEM                                #  AFFIX SIGN(DELE/2)
035609,001077:                                                                                                  #  RETURN WITH .5 SIN(THETA) IN MPAC
035610,001078: 
035611,001079:                                                                                                  #                        16W     15MS
035612,001080: 
035613,001081: 27,2651           77620        DISPTARG           STQ                                            #  C(MPAC) = TRGO ESTIMATE
035614,001082: 27,2652           03373                                    60GENRET                              
035615,001083: 27,2653           45205                           DMP      DSU                                   
035616,001084: 27,2654           15003                                    KTETA1                                
035617,001085: 27,2655           03733                                    TTE1                                  
035618,001086: 27,2656           37606                           STCALL   DTEAROT                               
035619,001087: 27,2657           46225                                    EARROT2                               
035620,001088: 27,2660           77624                           CALL                                           
035621,001089: 27,2661           56664                                    VRCALC                                
035622,001090: 27,2662           77650                           GOTO                                           
035623,001091: 27,2663           03373                                    60GENRET                              
035624,001092: 27,2664           50375        VRCALC             VLOAD    DOT                                   
035625,001093: 27,2665           03542                                    URH                                   
035626,001094: 27,2666           03474                                    RT                                    
035627,001095: 27,2667           65512                           SL2      ACOS                                  
035628,001096: 27,2670           77616                           RVQ                                            
035629,001097: 
035630,001098:                                                                                                  #  END OF PROGRAM S61.2
035631,001099: 

Page 817

035633,001101:                                                                                                  #  PROGRAM DESCRIPTION S62.3     DATE 10JAN67
035634,001102:                                                                                                  #  MOD NO 1                      LOG SECTION P60-P67
035635,001103:                                                                                                  #  MOD BY ZELDIN
035636,001104:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 15 MAY 67         CHANGED TO REF COORDS.
035637,001105:                                                                                                  #  MOD NO: 3     MOD BY: RR BAIRNSFATHER         DATE: 17 JAN 68         ALFAPAD CHANGES MADE.
035638,001106: 
035639,001107:                                                                                                  #  FUNCTIONAL DESCRIPTION
035640,001108: 
035641,001109:                                                                                                  #        COMPUTE DESIRED GIMBOL ANGLES FOR ENTRY ATTITUDE
035642,001110:                                                                                                  #        THE FOLLOWING TRAJECTORY TRIAD IS AVAILABLE IN MEMORY AND IS COMPUTED EACH 2 SECONDS BY CM/POSE IN
035643,001111:                                                                                                  #        REFERENCE COORDINATES (V = VELOCITY RELATIVE TO EARTH) :
035644,001112: 
035645,001113:                                                                                                  #                UXA = -UNIT(V)
035646,001114:                                                                                                  #                UYA =  UNIT(V*R)
035647,001115:                                                                                                  #                UZA =  UXA*UYA
035648,001116: 
035649,001117:                                                                                                  #        GENERATE A DESIRED BODY TRIAD FOR TRIMMED FLIGHT WITH RESPECT TO THE RELATIVE VELOCITY VECTOR, USING
035650,001118:                                                                                                  #        ROLL COMMAND AND TRIM ANGLE OF ATTACK:
035651,001119: 
035652,001120:                                                                                                  #                UXD = UNIT(UYD*UXA) SIN(ALFATRIM) + UXA COS(ALFATRIM)
035653,001121:                                                                                                  #                UYD = UYA COS(ROLLC) + UZA SIN(ROLLC)
035654,001122:                                                                                                  #                UZD = UXD * UYD
035655,001123: 
035656,001124:                                                                                                  #        USE THE DESIRED SET (IN REFERENCE COORDS) AND REFSMMAT TO CALL  CALCGA  AND OBTAIN GIMBAL ANGLES
035657,001125:                                                                                                  #        IN 2S, C IN MPAC, +2 AND THETAD, +2.
035658,001126: 
035659,001127:                                                                                                  #  CALLING SEQUENCE
035660,001128: 
035661,001129:                                                                                                  #        L       CALL
035662,001130:                                                                                                  #        L+1             S62.3
035663,001131: 
035664,001132:                                                                                                  #  NORMAL EXIT MODE
035665,001133: 
035666,001134:                                                                                                  #        RETURN VIA QPRET DIRECTLY FROM CALCGA.
035667,001135: 
035668,001136:                                                                                                  #  SUBROUTINES CALLED
035669,001137: 
035670,001138:                                                                                                  #        CALCGA
035671,001139: 
035672,001140:                                                                                                  #  ALARM OR ABORT MODES
035673,001141: 
035674,001142:                                                                                                  #        NONE
035675,001143: 
035676,001144:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED
035677,001145: 
035678,001146:                                                                                                  #        ROLLC   ROLL COMMAND            DP 1:S COMP AT 1REV
035679,001147:                                                                                                  #        ALFAPAD SP 1S,C / 180           LEFT BY PAD LOAD        ALFATRIM IS NEGATIVE.
035680,001148:                                                                                                  #        UXA/2   REF COORDS              LEFT BY CM/POSE
035681,001149:                                                                                                  #        UYA/2   REF COORDS              LEFT BY CM/POSE
035682,001150:                                                                                                  #        UZA/2   REF COORDS              LEFT BY CM/POSE
035683,001151: 
035684,001152:                                                                                                  #  OUTPUT
035685,001153:                                                                                                  #        
035686,001154:                                                                                                  #        CPHI    GIMBAL ANGLES (O,I,M) 2:S COMP TP (O,I,M)/180
035687,001155: 
035688,001156:                                                                                                  #  DEBRIS
035689,001157: 
035690,001158:                                                                                                  #        QTEMP, QPRET, PUSHLIST
035691,001159: 
035692,001160: 10,2376                                           BANK     10                                    
035693,001161: 10,2000                                           SETLOC   P60S4                                 
035694,001162: 10,2000                                           BANK                                           

Page 818

035696,001164: 10,2376                                           COUNT*   $$/S62.3                              
035697,001165: 
035698,001166: 10,2376           67201        S62.3              SETPD    SLOAD                                 
035699,001167: 10,2377           00001                                    0                                     
035700,001168: 10,2400           03012                                    ALFAPAD                               #  ALFATRIM / 180, ALFA IS NEG.
035701,001169: 10,2401           41542                           SR1      PUSH                                  
035702,001170: 10,2402           65346                           COS      PDDL                                  #  XCH PDL, COS TO PDL0
035703,001171: 10,2403           65356                           SIN      PDDL                                  #  SIN TO PDL2
035704,001172: 10,2404           03316                                    ROLLC                                 
035705,001173: 10,2405           74346                           COS      VXSC                                  
035706,001174: 10,2406           03550                                    UYA/2                                 #                                REF COORDS
035707,001175: 10,2407           73525                           PDDL     SIN                                   #  PUSH VECTOR INTO PDL4,.9
035708,001176: 10,2410           03316                                    ROLLC                                 
035709,001177: 10,2411           53361                           VXSC     VAD                                   
035710,001178: 10,2412           03556                                    UZA/2                                 #                                REF COORDS
035711,001179:                                                                                                  #  VECTOR FROM PDL4, 9
035712,001180: 10,2413           77772                           VSL1                                           
035713,001181: 10,2414           02722                           STORE    YNB                                   #  = UYD                         REF COORDS
035714,001182: 
035715,001183: 10,2415           76435                           VXV      VSL1                                  
035716,001184: 10,2416           03542                                    UXA/2                                 #                                REF COORDS
035717,001185: 10,2417           65361                           VXSC     PDDL                                  
035718,001186:                                                                                                  #  SIN TRIM FROM PDL2
035719,001187:                                                                                                  #  XCH PDL0 FOR COS TRIM
035720,001188: 10,2420           53361                           VXSC     VAD                                   
035721,001189: 10,2421           03542                                    UXA/2                                 #                                REF COORDS
035722,001190:                                                                                                  #  FROM PDL0
035723,001191: 10,2422           77772                           VSL1                                           
035724,001192: 10,2423           02714                           STORE    XNB                                   #  X SC AXIS (.5 UNIT)           REF COORDS
035725,001193: 
035726,001194: 10,2424           76435                           VXV      VSL1                                  
035727,001195: 10,2425           02722                                    YNB                                   
035728,001196: 10,2426           26730                           STOVL    ZNB                                   #  Z SC IN REF COOR. SCALED AT 2
035729,001197: 10,2427           01736                                    REFSMMAT                              
035730,001198: 10,2430           26672                           STOVL    XSM                                   
035731,001199: 10,2431           01744                                    REFSMMAT   +6                         
035732,001200: 10,2432           26700                           STOVL    YSM                                   
035733,001201: 10,2433           01752                                    REFSMMAT   +12D                       
035734,001202: 10,2434           02706                           STORE    ZSM                                   
035735,001203: 
035736,001204: 10,2435           52014                           CLEAR    GOTO                                  
035737,001205: 10,2436           00260                                    CPHIFLAG                              #  CAUSE CALCGA TO STORE ANS IN TP CPHI
035738,001206: 10,2437           47311                                    CALCGA                                
035739,001207:                                                                                                  #  CALCGA WILL RETURN TO ORIGINAL CALLER
035740,001208:                                                                                                  #  VIA QPRET WITH 2,S COMP. ANGLES IN CPHI
035741,001209: 
035742,001210: 
035743,001211: 

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