Source Code

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

The starting point was the source code of Comanche 51 (separately previously reconstructed from an Apollo-era listing of Comanche 55, flown on Apollo 11). Comanche 51 source code was then modified by undoing changes known to have been made between revisions 44 and 51. The now-reconstructed Comanche 44 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 match those on the Comanche 55 printout, although the source code would likely have different page numbers in a contemporary Comanche 44 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 51. Here's a guide to the Apollo documentation referenced in those annotations:
In most cases, only the titles (rather than the full texts) of PCRs are known. In addition to the explanatory annotations, there is also a step-by-step 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.

034986,000002:                                                                                                  ## Copyright:   Public domain.
034987,000003:                                                                                                  ## Filename:    P61-P67.agc
034988,000004:                                                                                                  ## Purpose:     A section of Comanche revision 044.
034989,000005:                                                                                                  ##              It is part of the reconstructed source code for the
034990,000006:                                                                                                  ##              original release of the flight software for the Command
034991,000007:                                                                                                  ##              Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
034992,000008:                                                                                                  ##              The code has been recreated from a copy of Comanche 055. It
034993,000009:                                                                                                  ##              has been adapted such that the resulting bugger words
034994,000010:                                                                                                  ##              exactly match those specified for Comanche 44 in NASA drawing
034995,000011:                                                                                                  ##              2021153D, which gives relatively high confidence that the
034996,000012:                                                                                                  ##              reconstruction is correct.
034997,000013:                                                                                                  ## Assembler:   yaYUL
034998,000014:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
034999,000015:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
035000,000016:                                                                                                  ## Mod history: 2020-12-03 MAS  Created from Comanche 51.
035001,000017:                                                                                                  ##              2020-12-12 RSB  Added justifying annotations for Mike's 
035002,000018:                                                                                                  ##                              reconstruction steps.
035003,000019: 

Page 789

035005,000021:                                                                                                  #  PROGRAM:      P61
035006,000022:                                                                                                  #  MOD NO.:      0       MAR. 13, 1967
035007,000023:                                                                                                  #  MOD BY:       R. HIRSCHKOP
035008,000024:                                                                                                  #  MOD NO: 1     MOD BY:  RR BAIRNSFATHER        DATE: 22 JUN 67         RESTARTS.
035009,000025:                                                                                                  #  MOD NO: 2     MOD BY:  RR BAIRNSFATHER        DATE: 17 JAN 68         COLOSSUS GSOP CHANGES.
035010,000026:                                                                                                  #  MOD NO: 3     MOD BY:  RR BAIRNSFATHER        DATE:  8 MAY 68         DELETE CMSM MANEUVER (PCR 50)
035011,000027:                                                                                                  #  FUNCTION:     TO CALCULATE AND DISPLAY EMS INITIALIZATION DATA
035012,000028:                                                                                                  #  CALLING SEQUENCE-  BY V37
035013,000029:                                                                                                  #  EXIT-         TO P62
035014,000030:                                                                                                  #  SUBROUTINE CALLS-  S61.1, S61.3, GOFLASH, FLAGUP, R02BOTH
035015,000031:                                                                                                  #  ERASABLE INITIALIZATION:
035016,000032:                                                                                                  #        EMSALT (-29) M          .05G ALTITUDE ABOVE FISCHER ELLIPSOID   PAD LOADED.
035017,000033:                                                                                                  #        ALFAPAD /180            HYPERSONIC CM TRIM ANGLE OF ATTACK      PAD LOADED
035018,000034:                                                                                                  #  OUTPUT:       THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
035019,000035:                                                                                                  #                GMAX    100 GMAX (-14) G,S      MAXIMUM ACCELERATION
035020,000036:                                                                                                  #                VPRED   (-7) M/CS               PREDICTED VELOCITY AT 400K FT
035021,000037:                                                                                                  #                GAMMAEI GAMMA/360               PREDICTED GAMMA    AT 400K FT
035022,000038:                                                                                                  #                RTGO    THETAH/360              RANGE ANGLE TO SPLASH FROM EMSALT       EMSALT IS PAD LOADED
035023,000039:                                                                                                  #                VIO     (-7) M/CS               INERTIAL VELOCITY AT       EMSALT       EMSALT IS PAD LOADED
035024,000040:                                                                                                  #                TTE     (-28) CS                TIME TO                    EMSALT       EMSALT IS PAD LOADED
035025,000041:                                                                                                  #                LAT(SPL) /360                   TARGET LOCATION                         LEFT BY DSKY
035026,000042:                                                                                                  #                LNG(SPL) /360                   TARGET LOCATION                         LEFT BY DSKY
035027,000043:                                                                                                  #                HEADSUP (0)                     +1 = LIFT DOWN, -1 = LIFT UP            LEFT BY DSKY
035028,000044:                                                                                                  #  DEBRIS:       SEE SUBROUTINES.
035029,000045: 
035030,000046: 26,2217                                           BANK     26                                    
035031,000047: 26,2000                                           SETLOC   P60S                                  
035032,000048: 26,2000                                           BANK                                           
035033,000049: 
035034,000050: 26,2217  E6,1661                                  EBANK=   AOG                                   
035035,000051: 
035036,000052: 26,2217                                           COUNT*   $$/P61                                
035037,000053: 
035038,000054: 26,2217           35002        P61                CA       BIT14                                 #  EXTENDED VERB SHOULD BE FREE THIS CLOSE
035039,000055: 26,2220           55044                           TS       EXTVBACT                              #  TO V37
035040,000056:                                                                                                  #  LOCK OUT EXTENDED VERBS SO CAN USE TFF
035041,000057:                                                                                                  #  ROUTINES.  EXT VERB ERASE IS USED
035042,000058: 
035043,000059: 26,2221           45017                           CS       ONE                                   #  REMOVE IF HEADSUP EVER ON UPLINK DATA
035044,000060: 26,2222           55726                           TS       HEADSUP                               #  PRELOAD
035045,000061: 
035046,000062: 26,2223           02544                           TC       S61.1                                 #  CHECK STATE VECTOR AND IMU ORIENTATION
035047,000063:                                                                                                  #  RV 60GENRET. DOES PHASCHNG, GROUP 4.
035048,000064: 
035049,000065: 26,2224           32425                           CA       V06N61                                #  LAT(SPL)      LNG(SPL)        HEADSUP
035050,000066:                                                                                                  #  XXX.XX DEG    XXX.XX DEG      XXXXX.
035051,000067: 26,2225           04662                           TC       BANKCALL                              
035052,000068: 26,2226           21057                           CADR     GOFLASHR                              
035053,000069: 26,2227           04106                           TC       GOTOPOOH                              

Page 790

035055,000071: 26,2230           02235                           TC       P61.4                                 
035056,000072: 26,2231           02224                           TC       -5                                    
035057,000073: 
035058,000074: 26,2232           05412        P61.3              TC       PHASCHNG                              
035059,000075: 26,2233           00014                           OCT      00014                                 
035060,000076: 
035061,000077: 26,2234           05217                           TC       ENDOFJOB                              
035062,000078: 
035063,000079: 26,2235           22007        P61.4              ZL                                             
035064,000080: 26,2236           11726                           CCS      HEADSUP                               #  C(HEADSUP)= +1/-1
035065,000081: 26,2237           35002                           CA       BIT14                                 #  IF HEADSUP POS,ROLLC =180 DEG.(LIFT DWN)
035066,000082: 26,2240           12241                           NOOP                                           #  IF HEADSUP NEG,ROLLC =0 (LIFT UP)
035067,000083: 26,2241           53716                           DXCH     ROLLC                                 #  ROLLC IS USED BY S62.3: GIM ANG AT .05G
035068,000084: 
035069,000085: 26,2242           06006                           TC       INTPRET                               
035070,000086: 26,2243           77745        NEWRNVN            DLOAD                                          
035071,000087: 26,2244           01205                                    PIPTIME                               #  SAVE TIME OF RN,VN TO DETERMINE IF AN
035072,000088: 26,2245           37651                           STCALL   MM                                    #  UPDATE HAS OCCURRED
035073,000089: 26,2246           52063                                    STARTEN1                              #  INITIALIZE
035074,000090: 26,2247           77775                           VLOAD                                          
035075,000091: 26,2250           01171                                    RN                                    
035076,000092: 26,2251           02327                           STORE    RONE                                  
035077,000093: 26,2252           77656                           UNIT                                           
035078,000094: 26,2253           26343                           STOVL    URONE                                 
035079,000095: 26,2254           01177                                    VN                                    
035080,000096: 26,2255           02335                           STORE    VONE                                  
035081,000097: 26,2256           53435                           VXV      UNIT                                  
035082,000098: 26,2257           02343                                    URONE                                 
035083,000099: 26,2260           03502                           STORE    UNI                                   
035084,000100: 26,2261           45345        DUMPP61            DLOAD    DSU                                   
035085,000101: 26,2262           03651                                    MM                                    #  INITIAL VALUE OF PIPTIME
035086,000102: 26,2263           01205                                    PIPTIME                               
035087,000103: 26,2264           45040                           BMN      CALRB                                 
035088,000104: 26,2265           54243                                    NEWRNVN                               #  UPDATED... GO TRY AGAIN
035089,000105: 26,2266           54651                                    S61.2                                 #  GET DISPLAY DATA FOR N60 AND N63
035090,000106:                                                                                                  #  AND RETURN IN BASIC, BELOW.
035091,000107: 26,2267           05536        P61.1              TC       CLEARMRK                              
035092,000108: 26,2270           32424                           CA       V06N60                                #  GMAX          VPRED           GAMMAEI
035093,000109:                                                                                                  #  XXX.XX G      XXXXX. FPS      XXX.XX DEG
035094,000110: 26,2271           04662                           TC       BANKCALL                              
035095,000111: 26,2272           20720                           CADR     GOFLASH                               
035096,000112: 
035097,000113: 26,2273           04106                           TC       GOTOPOOH                              
035098,000114: 26,2274           02276                           TC       P61.2                                 #  PROCEED
035099,000115: 26,2275           02270                           TC       -5                                    
035100,000116: 
035101,000117: 26,2276           06006        P61.2              TC       INTPRET                               #  CORRECT TTE FOR TIME LAPSE DURING
035102,000118:                                                                                                  #  ABOVE DISPLAY.
035103,000119: 26,2277           45234                           RTB      DSU                                   
035104,000120: 26,2300           45510                                    LOADTIME                              #  CURRENT TIME.

Page 791

035106,000122: 26,2301           03651                                    MM                                    #  PIPTIME FOR RONE & VONE.
035107,000123: 26,2302           77615                           DAD                                            
035108,000124: 26,2303           03733                                    TTE1                                  #  NEGATIVE OF FREE FALL TIME.
035109,000125: 26,2304           03727                           STORE    TTE                                   #  DECREMENTED
035110,000126: 
035111,000127: 26,2305           77776                           EXIT                                           
035112,000128: 
035113,000129: 26,2306           32426                           CA       V06N63                                #  RTGO          VIO             TTE
035114,000130:                                                                                                  #  XXXX.X NM     XXXXX. FPS      XXBXX M,S
035115,000131: 26,2307           04662                           TC       BANKCALL                              
035116,000132: 26,2310           20720                           CADR     GOFLASH                               
035117,000133: 26,2311           04106                           TC       GOTOPOOH                              
035118,000134: 26,2312           02314                           TC       +2                                    
035119,000135: 26,2313           02276                           TC       P61.2                                 #  REDO
035120,000136: 
035121,000137:                                                                                                  #                .... THEN FALL INTO P62

Page 792

035123,000139: 
035124,000140:                                                                                                  #  PROGRAM-      P62
035125,000141:                                                                                                  #  MOD NO.-      0       MAR. 13, 1967
035126,000142:                                                                                                  #  MOD BY-       R. HIRSCHKOP
035127,000143:                                                                                                  #  MOD NO:  1    MOD BY:  RR BAIRNSFATHER        DATE: 21 MAR 67
035128,000144:                                                                                                  #  MOD NO:  2    MOD BY:  RR BAIRNSFATHER        DATE: 22 JUN 67         RESTARTS.
035129,000145:                                                                                                  #  MOD NO:  3    MOD BY:  RR BAIRNSFATHER        DATE: 17 JAN 68         COLOSSUS GSOP CHANGES.
035130,000146:                                                                                                  #  MOD NO:  4    MOD BY:  RR BAIRNSFATHER        DATE:  8 MAY 68         MOVE START OF DESIRED GIMBAL CALC.
035131,000147:                                                                                                  #  FUNCTION-     1) TO NOTIFY CREW WHEN GNC SYSTEM IS PREPARED FOR CM/SM SEPARATION
035132,000148:                                                                                                  #                2) TO ORIENT THE CM TO THE CORRECT ATTITUDE FOR ATMOSPHERIC ENTRY
035133,000149:                                                                                                  #  CALLING SEQUENCE-  BY V37 OR DIRECTLY FROM P61
035134,000150:                                                                                                  #  EXIT-         TO P63
035135,000151:                                                                                                  #  ERASABLE INITIALIZATION:      
035136,000152:                                                                                                  #        ALFAPAD                                         LEFT BY PAD LOAD
035137,000153:                                                                                                  #        LADPAD                                          LEFT BY PAD LOAD
035138,000154:                                                                                                  #        LODPAD                                          LEFT BY PAD LOAD
035139,000155:                                                                                                  #        LAT(SPL)        (MAY BE CHANGED BELOW)          LEFT BY DSKY, VIA P61
035140,000156:                                                                                                  #        LNG(SPL)        (MAY BE CHANGED BELOW)          LEFT BY DSKY, VIA P61
035141,000157:                                                                                                  #        HEADSUP         (MAY BE CHANGED BELOW)          LEFT BY DSKY, VIA P61
035142,000158:                                                                                                  #  SUBROUTINE CALLS:  NEWMODEX, S61.1, CM/DAPIC, CM/DAPON, R02BOTH, GOPERF1, GOFLASH, GODSPR
035143,000159: 
035144,000160: 26,2314                                           COUNT*   $$/P62                                
035145,000161: 
035146,000162: 26,2314           05354                           TC       NEWMODEX                              #  MODE CHANGE IF CAME FROM P61.
035147,000163: 26,2315           00076                           MM       62         B-14                       #  MODE CHANGE AUTOMATIC VIA V 37.
035148,000164: 26,2316           35017                           CA       ONE                                   
035149,000165: 26,2317           54332                           TS       DNLSTCOD                              
035150,000166: 
035151,000167: 26,2320           02544        P62                TC       S61.1                                 #  CHECK STATE VECTOR AND IMU ORIENTATION.
035152,000168: 
035153,000169: 26,2321           06006                           TC       INTPRET                               
035154,000170: 26,2322           47131                           SSP      RTB                                   
035155,000171: 26,2323           03325                                    POSEXIT                               
035156,000172: 26,2324           54401                                    P62.3                                 #  CALCULATE DESIRED .05G GIMBAL ANGLES,
035157,000173:                                                                                                  #  WITHOUT DISPLAY.
035158,000174: 26,2325           41672                                    CM/DAPIC                              #  START CM/POSE AND BODY RATE CALC
035159,000175: 
035160,000176:                                                                                                  #  DOES 2PHSCHNG, OCT 40116, OCT 05024, OCT 13000.
035161,000177:                                                                                                  #  CM/DAPIC SETS EBANK = EBAOG
035162,000178:                                                                                                  #  AND RETURNS IN BASIC TO P62.2.                                
035163,000179: 26,2326           00006        P62.2              EXTEND                                         
035164,000180: 26,2327           32432                           DCA      POSECADR                              #  CONTINUE WITH CM/POSE AFTER AV G.
035165,000181: 26,2330           53223                           DXCH     AVEGEXIT                              
035166,000182: 
035167,000183: 26,2331           34270                           CAF      OCT41                                 #  REQUEST SEPARATION
035168,000184: 26,2332           04662                           TC       BANKCALL                              
035169,000185: 26,2333           21125                           CADR     GOPERF1R                              
035170,000186: 26,2334           04106                           TC       GOTOPOOH                              
035171,000187: 26,2335           02340                           TC       +3                                    #  PROCEED

Page 793

035173,000189:                                                                                                  #  NOTE:  NODOFLAG WILL BE SET IN CM/DAPON. <<<
035174,000190: 26,2336           02331                           TC       -5                                    #  ENTER
035175,000191: 26,2337           02232                           TC       P61.3                                 #  FOR PHASCHNG AND ENDOFJOB.
035176,000192: 
035177,000193: 26,2340           04701                 +3        TC       POSTJUMP                              
035178,000194: 26,2341           41612                           CADR     CM/DAPON                              #  DISABLE RCS DAP, ENABLE ENTRY DAP AND
035179,000195:                                                                                                  #  DO ATTITUDE HOLD.
035180,000196: 
035181,000197:                                                                                                  #  WILL IDLE UNTIL CM/POSE DOES ONE UPDATE.
035182,000198:                                                                                                  #  CM/DAPON DOES NO PHASCHNG.
035183,000199: 
035184,000200: 26,2342           32425        P62.1              CA       V06N61                                #  LAT(SPL)      LNG(SPL)        HEADSUP
035185,000201:                                                                                                  #  XXX.XX DEG    XXX.XX DEG      0000X.
035186,000202: 
035187,000203:                                                                                                  #  TERMINATE ATTITUDE HOLD.  SET UP COMMANDS:
035188,000204:                                                                                                  #  ROLLC, ALFACOM, BETACOM.  BEGIN MANUVER TO
035189,000205:                                                                                                  #  ENTRY ATTITUDE.
035190,000206: 
035191,000207: 26,2343           04662                           TC       BANKCALL                              
035192,000208: 26,2344           20720                           CADR     GOFLASH                               
035193,000209: 26,2345           02342                           TC       -3                                    
035194,000210: 26,2346           02350                           TC       +2                                    
035195,000211: 26,2347           02342                           TC       -5                                    
035196,000212: 
035197,000213: 26,2350           05412                           TC       PHASCHNG                              
035198,000214: 26,2351           04024                           OCT      04024                                 #  USE ENTRYVN FOR DISPLAY BELOW.
035199,000215:                                                                                                  #  EBANK WAS SET IN CM/DAPON TO EBAOG
035200,000216: 
035201,000217: 26,2352           11726                           CCS      HEADSUP                               #  C(HEADSUP) = +/- 1
035202,000218: 26,2353           35002                           CA       BIT14                                 #  IF HEADSUP POS, ROLLC=180 DEG (LIFT DWN)
035203,000219: 26,2354           12355                           NOOP                                           #  IF HEADSUP NEG, ROLLC=0 DEG (LIFT UP)
035204,000220: 26,2355           55715                           TS       ROLLC                                 
035205,000221: 26,2356           31411                           CA       ALFAPAD                               #  NOMINAL ALFATRIM PAD LOADED, NEG. NO.
035206,000222: 26,2357           22007                           ZL                                             
035207,000223: 26,2360           53604                           DXCH     ALFACOM                               #  SET ALFACOM = ALFA TRIM, BETACOM=0
035208,000224: 
035209,000225: 26,2361           35017                           CA       ONE                                   #  PERMITS EXDAP2 TO CHANGE FLAG TO +0
035210,000226: 26,2362           55727                           TS       P63FLAG                               #  AS INDICATOR.  STARTS UP P63.
035211,000227: 
035212,000228: 26,2363           35052                           CA       V06N22                                #  SET UP DISPLAY FOR CDU DESIRED VALUES
035213,000229: 26,2364           55263                           TS       ENTRYVN                               #  FROM ENTRY ATTITUDE CALC, THAT IS
035214,000230:                                                                                                  #  ALREADY GOING.
035215,000231: 26,2365           05546                           TC       UPFLAG                                #  TURN ON ENTRY DISPLAY
035216,000232: 26,2366           00134                           ADRES    ENTRYDSP                              #  ENTRYDSP = 92D BIT 13 FLAG 6
035217,000233:                                                                                                  #  SKIP

Page 794

035219,000235: 26,2367           41700                           CS       CMDAPMOD                              #  GO DIRECTLY TO P63 IF BODY ATTITUDE
035220,000236: 26,2370           75017                           MASK     ONE                                   #  IS SUCH THAT THE DELAY TASK: WAKEP62
035221,000237: 26,2371           00006                           EXTEND                                         #  WILL BE OMITTED.
035222,000238: 26,2372           12421                           BZF      P63.1                                 #  DISABLE GRP 4, GO TO ENDOFJOB.
035223,000239:                                                                                                  #  (IE, CONTINUE IF CMDAPMOD = -1, OR +0)
035224,000240: 26,2373           02405                           TC       P63                                   
035225,000241: 
035226,000242:                                                                                                  #  PUT JOB TO SLEEP UNTIL VEHICLE MANUVER HAS
035227,000243:                                                                                                  #  REDUCED ALFA TO +/-45 DEG. CONSIDER REMAINING
035228,000244:                                                                                                  #  65 DEG (25 DEG IF ALFA NEG) TO ALFA TRIM TO
035229,000245:                                                                                                  #  OCCUR AT 3 DEG/SEC, AND TERMINATE P62 AT THAT
035230,000246:                                                                                                  #  TIME.
035231,000247: 
035232,000248:                                                                                                  #  TASK WAKEP62 IS CALLED FROM ENTRY DAP.
035233,000249: 26,2374           35065        WAKEP62            CA       PRIO13                                
035234,000250: 26,2375           05134                           TC       NOVAC                                 
035235,000251: 26,2376  E6,1661                                  EBANK=   AOG                                   
035236,000252: 26,2376           02405 54066                     2CADR    P63                                   
035237,000253: 
035238,000254: 26,2400           05324                           TC       TASKOVER                              
035239,000255: 
035240,000256:                                                                                                  #  EACH 2 SEC, CALCULATE GIMBAL ANGLES FOR ENTRY CON-
035241,000257:                                                                                                  #  DITIONS THAT WILL HOLD IF REORIENTATION WERE MADE
035242,000258:                                                                                                  #  AT PRESENT RN, VN.  COME HERE FROM CM/POSE AND ALSO
035243,000259:                                                                                                  #  IN KEPLER PHASE OF ENTRY.
035244,000260: 
035245,000261: 26,2401           52131        P62.3              SSP      GOTO                                  #  SET RETURN ADDRESS SO THAT ROUTINE
035246,000262: 26,2402           00053                                    QPRET                                 #  GOES DIRECTLY TO ENTRY GUIDANCE EXIT
035247,000263: 26,2403           53576                                    ENDEXIT                               #  THAT DOES ENTRY DISPLAY, GRP 5.
035248,000264: 26,2404           20376                                    S62.3                                 #  PUT DESIRED CDU VALUES IN CPHI'S FOR
035249,000265:                                                                                                  #  N22 DISPLAY.
035250,000266: 

Page 795

035252,000268:                                                                                                  #        P63
035253,000269:                                                                                                  #  PROGRAM-      P63
035254,000270:                                                                                                  #  MOD NO.-      0       MAR. 13, 1967
035255,000271:                                                                                                  #  MOD BY-       R. HIRSCHKOP
035256,000272:                                                                                                  #  MOD NO: 1     MOD BY: RR BAIRNSFATHER         DATE: 22 JIN 67         RESTARTS.
035257,000273:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 14 JUL 67         REVISED RESTARTS
035258,000274:                                                                                                  #  FUNCTION-     1) TO INITIALIZE THE ENTRY EQUATIONS
035259,000275:                                                                                                  #                2) TO CONTINUE TO HOLD THE CM TO THE CORRECT ATTITUDE WITH RESPECT TO THE ATMOSPHERE FOR
035260,000276:                                                                                                  #                   THE ONSET OF ENTRY DECELERATION.  ROLL ANGLE IS LIFT UP/DOWN AS SPECIFIED BY HEADSUP.
035261,000277:                                                                                                  #                3) TO SENSE .05 G
035262,000278:                                                                                                  #  CALLING SEQUENCE-  DIRECTLY FROM P62
035263,000279:                                                                                                  #  EXIT-         TO ENDOFJOB
035264,000280:                                                                                                  #  SUBROUTINE CALLS-  NEWMODEX, GODSPR
035265,000281: 
035266,000282: 26,2405                                           COUNT*   $$/P63                                
035267,000283: 
035268,000284: 26,2405           05354        P63                TC       NEWMODEX                              
035269,000285: 26,2406           00077                           MM       63         B-14                       
035270,000286: 
035271,000287:                                                                                                  #  ARRIVE WITH EBANK = AOG.
035272,000288: 
035273,000289: 26,2407           32430                           CA       ENTCADR                               #  CONTINUE AT STARTENT AFTER CM/POSE.
035274,000290: 
035275,000291:                                                                                                  #  AT END OF STARTENT, CHANGE ADDRESS IN GOTOADDR
035276,000292:                                                                                                  #  TO CONTINUE AT SCALEPOP THEREAFTER.
035277,000293: 
035278,000294: 26,2410           55724                           TS       POSEXIT                               
035279,000295: 
035280,000296: 26,2411           32427                           CA       V06N64                                #  G             VI              R TO SPLSH
035281,000297:                                                                                                  #  XXX.XX G      XXXXX. FPS      XXXX.X NM
035282,000298: 26,2412           55263                           TS       ENTRYVN                               #  FOR DISPLAY CALL IN OVERNOUT.
035283,000299: 
035284,000300: 26,2413           45017                           CS       ONE                                   #  IN CASE FLAG IS LEFT AT +1 BY DAP.  THE
035285,000301: 26,2414           55727                           TS       P63FLAG                               #  -1 ASSURES THAT EXO-ATM DAP WILL NOT
035286,000302:                                                                                                  #  CALL P63 OUT OF SEQUENCE IN P66.
035287,000303: 
035288,000304: 26,2415           05412                           TC       PHASCHNG                              #  THIS IS REQUIRED TO PRESERVE CLEANDSP
035289,000305: 26,2416           00004                           OCT      00004                                 #  RETURN IN EVENT OF AN EXTENDED VERB..
035290,000306: 
035291,000307: 26,2417           04662                           TC       BANKCALL                              #  FLUSH 'N22' DISPLAY, IF ON. (OMIT
035292,000308: 26,2420           20703                           CADR     CLEANDSP                              #  DISPLAY DURING 'STARTENT' PASS.)
035293,000309: 
035294,000310: 26,2421           05412        P63.1              TC       PHASCHNG                              
035295,000311: 26,2422           00004                           OCT      00004                                 #  DISABLE.  DISPLAY RESTARTED VIA ENTRY.
035296,000312: 
035297,000313: 26,2423           05217                           TC       ENDOFJOB                              
035298,000314: 
035299,000315: 26,2424           01474        V06N60             VN       0660                                  
035300,000316: 26,2425           01475        V06N61             VN       0661                                  
035301,000317: 26,2426           01477        V06N63             VN       0663                                  

Page 796

035303,000319: 26,2427           01500        V06N64             VN       0664                                  
035304,000320: 26,2430           52000        ENTCADR            CADR     STARTENT                              
035305,000321: 
035306,000322: 26,2431  E7,1451                                  EBANK=   RTINIT                                #  TO CARY OVER INTO ENTRY STEERING.
035307,000323: 26,2431           03467 76067  POSECADR           2CADR    CM/POSE                               
035308,000324: 

Page 797

035310,000326:                                                                                                  #  PROGRAM-      P64
035311,000327:                                                                                                  #  MOD NO.-      1       SEPT. 19, 1967
035312,000328:                                                                                                  #  MOD BY-       R. HIRSCHKOP
035313,000329:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 8 MAY 68          REVISED COMMENTS FOR COLOSSUS

Reconstruction: At this point, a comment from Comanche 51 has been removed from Comanche 44, concerning work on NOUN 74. For various reasons, such as Programmed Guidance Equations for COLOSSUS 2, p. NNDF-28, we know that NOUN 74 had not yet been introduced in Comanche 44. The comment must therefore pertain to later software revisions.

035320,000336:                                                                                                  #  FUNCTION-     1.  TO START ENTRY GUIDANCE AT .05G SELECTING ROLL ATTITUDE, CONSTANT DRAG LEVEL, AND
035321,000337:                                                                                                  #                    DRAG THRESHOLD, KA, WHICH ARE KEYED TO THE .05G POINT.
035322,000338:                                                                                                  #                2.  SELECT FINAL PHASE P67 IF V < 27000 FPS WHEN .2G OCCURS.
035323,000339:                                                                                                  #                3.  ITERATE FOR UP-CONTROL SOLUTION P65 IF V > 27000 FPS AND IF ALTITUDE RATE AND DRAG
035324,000340:                                                                                                  #                    LEVEL CONDITIONS ARE SATISFIED.  ENTER P65 WHEN CONSTANT DRAG CONTROLLER HAS BROUGHT RANGE
035325,000341:                                                                                                  #                    AS PREDICTED TO WITHIN 25 NM OF DESIRED RANGE.
035326,000342:                                                                                                  #                4.  SELECT FINAL PHASE  P67  IF NO UP-CONTROL SOLUTION EXISTS WITH VL > 18000 FPS.
035327,000343:                                                                                                  #  CALLING SEQUENCE-  BY RTB FROM REENTRY CONTROL
035328,000344:                                                                                                  #  EXIT-         BACK TO REENTRY CONTROL
035329,000345:                                                                                                  #  SUBROUTINE CALLS-  NEWMODEX
035330,000346: 
035331,000347: 25,2000                                           BANK     25                                    
035332,000348: 26,2000                                           SETLOC   P60S1                                 
035333,000349: 26,2000                                           BANK                                           
035334,000350: 
035335,000351:                                                                                                  #  THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING.  RESTART PROTECTION IS VIA STEERING.
035336,000352: 
035337,000353: 26,2433                                           COUNT*   $$/P64                                
035338,000354: 
035339,000355: 26,2433           05354        P64                TC       NEWMODEX                              #  ENTER VIA RTB WHEN .05G IS EXCEEDED.
035340,000356: 26,2434           00100                           MM       64         B-14                       

Reconstruction: As explained in the preceding annotation, NOUN 74 (which is referenced in the following instruction in Comanche 51) was not used in Comanche 44. The following instruction is rolled back to Colossus 249 (Apollo 9), which used NOUN 68 rather than 74.

035345,000361: 26,2435           32440                           CA       V06N68                                #  ROLLC         VI              HDOT
035346,000362:                                                                                                  #  XXX.XX DEG    XXXXX. FPS      XXXXX. FPS
035347,000363: 26,2436           55263                           TS       ENTRYVN                               #  DISPLAY VIA OVERNOUT.
035348,000364: 
035349,000365: 26,2437           06030                           TC       DANZIG                                #  ... AND CONTINUE IN INITROLL ...

Reconstruction: Same as the preceding annotation.

035351,000367: 26,2440           01504        V06N68             VN       0668                                  
035352,000368: 

Page 798

035354,000370:                                                                                                  #  PROGRAM:      P65
035355,000371:                                                                                                  #  MOD NO:  0    MOD BY:  RR BAIRNSFATHER        DATE:  17 JAN 68        COLOSSUS GSOP ADDITION.
035356,000372:                                                                                                  #  FUNCTION:     TO CONTINUE ENTRY GUIDANCE, USING THE UP-CONTROL PHASE TO STEER TO A CONTROLLED EXIT
035357,000373:                                                                                                  #                CONDITION.  THIS PHASE TERMINATES  A) IF D < Q7 FPSS, GO TO P66   ,
035358,000374:                                                                                                  #                                                   B) IF RDOT NEG, AND IF V < VL +500 FPS, GO TO P67.
035359,000375:                                                                                                  #  CALLING SEQUENCE:  BY RTB FROM REENTRY CONTROL
035360,000376:                                                                                                  #  EXIT:         BACK TO REENTRY CONTROL, OR TO ENDOFJOB.
035361,000377:                                                                                                  #  SUBROUTINE CALLS:  NEWMODEX
035362,000378: 
035363,000379: 26,2441                                           COUNT*   $$/P65                                
035364,000380: 
035365,000381: 26,2441           05354        P65                TC       NEWMODEX                              #  ENTER VIA RTB WHEN RANGE < 25 N M OF
035366,000382: 26,2442           00101                           MM       65         B-14                       #  TARGET.
035367,000383: 
035368,000384: 26,2443           35065                           CA       PRIO13                                
035369,000385: 26,2444           05134                           TC       NOVAC                                 
035370,000386: 26,2445     1263                                  EBANK=   ENTRYVN                               
035371,000387: 26,2445           02457 54062                     2CADR    P65.1                                 
035372,000388: 
035373,000389: 26,2447           05372                           TC       2PHSCHNG                              #  2 PHASE CHG REQUIRED TO PREVENT RE-
035374,000390: 26,2450           00554                           OCT      00554                                 #  STARTING FLASHING DISPLAY TWICE.
035375,000391: 26,2451           10035                           OCT      10035                                 #  4.55 SPOT AND SERVICER, HERE.
035376,000392: 26,2452           06006                           TC       INTPRET                               
035377,000393: 26,2453           47131                           SSP      RTB                                   
035378,000394: 26,2454           03646                                    GOTOADDR                              #  CHANGE ENTRY MODE TO UPCONTRL.
035379,000395: 26,2455           53035                                    UPCONTRL                              
035380,000396: 26,2456           52120                                    REFAZE10                              #  GO HERE TO REESTABLISH ENTRY SEQUENCER.
035381,000397:                                                                                                  #  AND CONTINUE AT UPCONTRL...
035382,000398: 
035383,000399: 26,2457           05560        P65.1              TC       DOWNFLAG                              
035384,000400: 26,2460           00134                           ADRES    ENTRYDSP                              #  ENTRYDSP = 92D BIT 13 FLAG 6
035385,000401: 
035386,000402: 26,2461           32473                           CA       V16N69                                #  ROLLC         DL (Q7)         VL
035387,000403: 26,2462           04662                           TC       BANKCALL                              #  XXX.XX DEG    XXX.XX G        XXXXX. FPS
035388,000404: 26,2463           21057                           CADR     GOFLASHR                              
035389,000405: 26,2464           02461                           TC       -3                                    #  NODOFLAG IS SET..
035390,000406: 26,2465           02470                           TC       +3                                    
035391,000407: 26,2466           02461                           TC       -5                                    
035392,000408: 26,2467           02232                           TC       P61.3                                 #  EST. GRP 4 FOR DSPLAY AND DO ENDOFJOB
035393,000409:                                                                                                  #  IF PROCEED, CONTINUE.
035394,000410: 26,2470           05546                           TC       UPFLAG                                
035395,000411: 26,2471           00134                           ADRES    ENTRYDSP                              #  ENTRYDSP = 92D BIT 13 FLAG 6
035396,000412: 
035397,000413: 26,2472           02421                           TC       P63.1                                 #  DISABLE GRP 4,START UP ENTRY DISPLAY
035398,000414:                                                                                                  #  N06V68 VIA OVERNOUT, AS USED IN P64.
035399,000415: 26,2473           04105        V16N69             VN       1669                                  
035400,000416: 

Page 799

035402,000418:                                                                                                  #  PROGRAM:      P66
035403,000419:                                                                                                  #  MOD NO: 0     MOD BY: RR BAIRNSFATHER         DATE: 17 JAN 68         COLOSSUS GSOP ADDITIONS.
035404,000420:                                                                                                  #  FUNCTION:     KEEP CM ATTITUDE IN TRIM TO THE RELATIVE VELOCITY VECTOR.  ENTRY GUIDANCE STOPS GENERATING
035405,000421:                                                                                                  #                ROLL COMMANDS UNTIL DRAG BUILDS UP TO Q7+0.5 FPSS.
035406,000422:                                                                                                  #  CALLING SEQUENCE:  VIA RTB FROM REENTRY CONTROL.
035407,000423:                                                                                                  #  EXIT:         BACK TO REENTRY CONTROL.
035408,000424:                                                                                                  #  SUBROUTINE CALLS:  NEWMODEX
035409,000425: 
035410,000426: 26,2474                                           COUNT*   $$/P66                                
035411,000427: 
035412,000428: 26,2474           05354        P66                TC       NEWMODEX                              #  ENTER VIA RTB WHEN D < Q7 FPSS
035413,000429: 26,2475           00102                           MM       66         B-14                       
035414,000430: 
035415,000431: 26,2476           35052                           CA       V06N22                                #  OGA           IGA             MGA
035416,000432:                                                                                                  #  XXX.XX DEG    XXX.XX DEG      XXX.XX DEG
035417,000433: 26,2477           02503                           TC       P66END                                #  IN CASE CAME FROM P65, GO DISABLE GRP4,
035418,000434:                                                                                                  #  AND SET ENTRYDSP TO DO DISPLAY VIA
035419,000435:                                                                                                  #  OVERNOUT.
035420,000436: 
035421,000437:                                                                                                  #  ... AND CONTINUE AT KEP2 
035422,000438: 

Page 800

035424,000440:                                                                                                  #  P67
035425,000441: 
035426,000442:                                                                                                  #  PROGRAM-      P67
035427,000443:                                                                                                  #  MOD NO.-      0       MAR. 16, 1967
035428,000444:                                                                                                  #  MOD BY-       R. HIRSCHKOP
035429,000445:                                                                                                  #  FUNCTION-     TO TERMINATE STEERING WHEN THE CM VELOCITY WRT EARTH = 1000 FT/SEC
035430,000446:                                                                                                  #  CALLING SEQUENCE-
035431,000447:                                                                                                  #  EXIT-         TO POOH
035432,000448:                                                                                                  #  SUBROUTINE CALLS-  GOFLASH
035433,000449: 
035434,000450:                                                                                                  #  THIS DISPLAY IS CALLED EACH PASS THROUGH STEERING.  RESTART PROTECTION IS VIA STEERING.
035435,000451: 
035436,000452: 26,2500                                           COUNT*   $$/P67                                
035437,000453: 
035438,000454: 26,2500           05354        P67                TC       NEWMODEX                              #  ENTER VIA RTB
035439,000455: 26,2501           00103                           MM       67         B-14                       
035440,000456: 26,2502           32511                           CA       V06N66                                #  ROLLC         XRNGERR         DNRNGERR
035441,000457:                                                                                                  #  XXX.XX DEG    XXXX.X NM       XXXX.X NM
035442,000458: 26,2503           55263        P66END             TS       ENTRYVN                               #  DISPLAY VIA OVERNOUT.
035443,000459: 
035444,000460: 26,2504           05546                           TC       UPFLAG                                #  (IN CASE CAME FROM P65.  ENTRY DISPLAY
035445,000461: 26,2505           00134                           ADRES    ENTRYDSP                              #  WILL FLUSH FLASHING DISP.  IF STILL ON)
035446,000462:                                                                                                  #  BIT 13 FLAG 6
035447,000463: 26,2506           05412        KILLGRP4           TC       PHASCHNG                              #  DISABLE GRP4, IN CASE CAME FROM HUNTEST.
035448,000464: 26,2507           00004                           OCT      00004                                 #  (COME TO KILLGRP4 VIA RTB, RET TO CALLER)
035449,000465: 
035450,000466: 26,2510           06030                           TC       DANZIG                                #  ... AND CONTINUE AT PREDICT3 ...
035451,000467: 
035452,000468: 26,2511           01502        V06N66             VN       0666                                  
035453,000469: 
035454,000470: 26,2512                                           BANK     26                                    
035455,000471: 26,2000                                           SETLOC   P60S2                                 
035456,000472: 26,2000                                           BANK                                           
035457,000473: 
035458,000474: 26,2512           32543        P67.1              CA       V16N67                                #  RTOGO         LAT             LONG
035459,000475:                                                                                                  #  XXXX.X NM     XXX.XX DEG      XXX.XX DEG
035460,000476: 26,2513           04662                           TC       BANKCALL                              
035461,000477: 26,2514           20720                           CADR     GOFLASH                               
035462,000478: 26,2515           02520                           TC       +3                                    #  EFFECTIVE GOTOPOOH
035463,000479: 26,2516           02520                           TC       +2                                    
035464,000480: 26,2517           02512                           TC       P67.1                                 #  REDO
035465,000481: 
035466,000482: 26,2520           46214                           CS       THREE                                 #  TURN OFF ENTRY DAP
035467,000483: 26,2521           00004                           INHINT                                         
035468,000484: 26,2522           70102                           MASK     CM/FLAGS                              #  CM/DSTBY, GAMDIFSW
035469,000485: 26,2523           54102                           TS       CM/FLAGS                              
035470,000486: 26,2524           00003                           RELINT                                         
035471,000487: 26,2525           00006                           EXTEND                                         
035472,000488: 26,2526           32643                           DCA      SERVCAD2                              
035473,000489: 

Page 801

035475,000491: 26,2527           53223                           DXCH     AVEGEXIT                              
035476,000492: 
035477,000493: 26,2530           14106                           TCF      GOTOPOOH                              
035478,000494: 

Page 802

035480,000496: 26,2531           43175        P67.2              VLOAD    CLEAR                                 #  CALC PRESENT LAT, LONG, ALT.
035481,000497: 26,2532           01171                                    RN                                    
035482,000498: 26,2533           00662                                    ERADFLAG                              #  USE PAD RAD FOR ALT. (NOT SEEN ANYWAY)
035483,000499: 26,2534           16152                           STODL    ALPHAV                                
035484,000500: 26,2535           01205                                    PIPTIME                               #  USE TIME OF RN
035485,000501: 26,2536           45014                           CLEAR    CALL                                  
035486,000502: 26,2537           01663                                    LUNAFLAG                              
035487,000503: 26,2540           26370                                    LAT-LONG                              
035488,000504: 26,2541           77634        P67.3              RTB                                            #  ENTRY EXIT THAT OMITS DISPLAY.
035489,000505: 26,2542           53611                                    SERVNOUT                              
035490,000506: 
035491,000507: 26,2543           04103        V16N67             VN       1667                                  
035492,000508: 26,2544     4270               OCT41              =        33DEC                                 
035493,000509: 26,2544  26,2642               SERVCAD2           =        SERVCAD1                              
035494,000510: 

Page 803

035496,000512:                                                                                                  #  SUBROUTINE NAME:      S61.1   
035497,000513:                                                                                                  #  MOD NO:       0                                       DATE:           21 FEB 67
035498,000514:                                                                                                  #  MOD BY:       RR BAIRNSFATHER                         LOG SECTION:    P61-P67
035499,000515:                                                                                                  #  MOD NO:       1       MOD BY: RR BAIRNSFATHER         DATE:           22 JUN 67       RESTARTS.
035500,000516: 
035501,000517:                                                                                                  #  FUNCTIONAL DESCRIPTION:       CALLED BY BOTH P61 AND P62
035502,000518:                                                                                                  #        FIRST, TEST TO SEE IF  AVERAGEG  IS ON.  IF NOT, UPDATE THE STATE VECTOR TO PRESENT TIME + TOLERANCE
035503,000519:                                                                                                  #        AND TURN ON  AVERAGEG  AT THAT TIME, AND CONTINUE.  OTHERWISE CONTINUE:  SEE IF IMU Y AXIS IS
035504,000520:                                                                                                  #        WITHIN 30 DEG OF V*R.  IF YES, EXIT SUBROUTINE S61.1.  IF NO, SEE IF -Y AXIS OF IMU IS WITHIN
035505,000521:                                                                                                  #        30 DEG OF V*R.  IF YES, DISPLAY ALARM:  01427   IMU REVERSED.
035506,000522:                                                                                                  #                        IF NO, DISPLAY ALARM:   01426   IMU UNSATISFACTORY.
035507,000523:                                                                                                  #        IN EITHER OF THESE LAST 2 CASES, WAIT 10 SEC AND THEN EXIT SUBROUTINE S61.1.
035508,000524: 
035509,000525:                                                                                                  #  REMARK:       THERE WILL BE A SHORT 10 SEC DELAY IF AN ALARM EXIT IS TAKEN.  THE DELAY FOR INTEGRATION IS
035510,000526:                                                                                                  #                AS SHORT AS CAN BE MADE, BUT IS ARBITRARY SINCE IT DEPENDS ON THE AGE OF THE STATE VECTOR.
035511,000527: 
035512,000528:                                                                                                  #  CALLING SEQUENCE:     CALL
035513,000529:                                                                                                  #                                S61.1
035514,000530: 
035515,000531:                                                                                                  #                        C(MPAC) UNSPECIFIED
035516,000532:                                                                                                  #                        PUSHLOC UNSPECIFIED
035517,000533: 
035518,000534:                                                                                                  #  SUBROUTINES CALLED:   LOADTIME, CSMPREC, TPAGREE,
035519,000535:                                                                                                  #                        WAITLIST, JOBSLEEP, JOBWAKE, PREREAD, ALARM, GODSPR, BANKCALL, DELAYJOB
035520,000536: 
035521,000537:                                                                                                  #  NORMAL EXIT MODES:    RVQ
035522,000538: 
035523,000539:                                                                                                  #  ALARMS:       01426   IMU UNSATISFACTORY
035524,000540:                                                                                                  #                01427   IMU REVERSED
035525,000541: 
035526,000542:                                                                                                  #  OUTPUT:       POSSIBLE ALARMS
035527,000543:                                                                                                  #                POSSIBLY TDEC1, RATT, VATT, RN, VN
035528,000544: 
035529,000545:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
035530,000546:                                                                                                  #        AVEGFLAG                AVERAGEG ON OR OFF                              LEFT BY SERVICER
035531,000547:                                                                                                  #        PIPTIME   (-28) CS      TIME OF PIPA UPDATE                             LEFT BY READACCS
035532,000548:                                                                                                  #        RN        (-29) M       STATE VECTOR                                    LEFT BY AVERAGEG
035533,000549:                                                                                                  #        VN        (-7) M/CS     STATE VECTOR                                    LEFT BY AVERAGEG
035534,000550:                                                                                                  #        REFSMMAT  (-1)          .5 REF TO SM MATRIX                             LEFT BY LAST IMU ALIGNMENT
035535,000551: 
035536,000552:                                                                                                  #  DEBRIS:       QPRET
035537,000553:                                                                                                  #                POSSIBLY PIPTIME1, RATT, VATT, TDEC1, RN1, VN1, QTEMP, X1       IF UPDATED
035538,000554:                                                                                                  #                PUSH LIST LOCS USED BY CSMPREC
035539,000555: 
035540,000556: 26,2544  E6,1661                                  EBANK=   AOG                                   #  FOR 60GENRET, S61DT
035541,000557: 26,2544                                           BANK     26                                    
035542,000558: 26,2000                                           SETLOC   P60S3                                 
035543,000559: 26,2000                                           BANK                                           
035544,000560: 
035545,000561: 26,2544                                           COUNT*   $$/S61.1                              
035546,000562: 
035547,000563: 26,2544           00006        S61.1              EXTEND                                         
035548,000564: 26,2545           23773                           QXCH     60GENRET                              #  SAVE RET ADDR IN EB 6
035549,000565: 26,2546           04662                           TC       BANKCALL                              
035550,000566: 26,2547           17653                           CADR     R02BOTH                               
035551,000567: 26,2550           06006                           TC       INTPRET                               

Page 804

035553,000569: 26,2551           45014                           BON      CALRB                                 
035554,000570: 26,2552           00716                                    AVEGFLAG                              #  IS AVERAGEG ON
035555,000571: 26,2553           54604                                    S61.1A                                #  YES
035556,000572: 26,2554           27543                                    MIDTOAV2                              #  GET FUTURE STATE VECTOR SOON AS CAN
035557,000573: 
035558,000574: 26,2555           30155                           CA       MPAC       +1                         #  RETURN INHINTED ***
035559,000575: 26,2556           55774                           TS       S61DT                                 #  FOR RESTART.
035560,000576: 26,2557           05245                           TC       WAITLIST                              
035561,000577: 26,2560  E7,1431                                  EBANK=   DVCNTR                                
035562,000578: 26,2560           02565 54067                     2CADR    S61.1C                                
035563,000579: 
035564,000580: 26,2562           05412                           TC       PHASCHNG                              
035565,000581: 26,2563           40434                           OCT      40434                                 
035566,000582: 26,2564           05217                           TC       ENDOFJOB                              
035567,000583: 
035568,000584: 26,2565           35065        S61.1C             CA       PRIO13                                
035569,000585: 26,2566           05147                           TC       FINDVAC                               
035570,000586: 26,2567  E6,1661                                  EBANK=   AOG                                   
035571,000587: 26,2567           02603 54066                     2CADR    S61.1A     -1                         
035572,000588: 
035573,000589: 26,2571           00006                           EXTEND                                         
035574,000590: 26,2572           32643                           DCA      SERVCAD1                              #  HE WHO STARTS AVERAGEG MUST SERVICE
035575,000591: 26,2573           53223                           DXCH     AVEGEXIT                              #  THE EXIT.
035576,000592: 
035577,000593: 26,2574           05372                           TC       2PHSCHNG                              
035578,000594: 26,2575           00454                           OCT      00454                                 
035579,000595: 26,2576           00415                           OCT      00415                                 
035580,000596: 
035581,000597: 26,2577           35060                           CA       EBENTRY                               #  SET EB= 7 FOR PREREAD.
035582,000598: 26,2600           54003                           TS       EBANK                                 
035583,000599: 
035584,000600: 26,2601           04701                           TC       POSTJUMP                              
035585,000601: 26,2602           76700                           CADR     PREREAD                               #  PREREAD DOES TC TASKOVER.
035586,000602: 
035587,000603: 26,2603           06006                           TC       INTPRET                               
035588,000604: 26,2604           77204        S61.1A             BOVB     VLOAD                                 
035589,000605: 26,2605           57352                                    TCDANZIG                              #  TURN OFF OVFIND, IF ON
035590,000606: 26,2606           01177                                    VN                                    #  VN    (-7) M/CS
035591,000607: 26,2607           64235                           VXV      MXV                                   
035592,000608: 26,2610           01171                                    RN                                    #  RN    (-29) M
035593,000609: 26,2611           01736                                    REFSMMAT                              #  .5 UNIT MATRIX
035594,000610: 26,2612           71256                           UNIT     DLOAD                                 
035595,000611: 26,2613           00160                                    MPAC       +3                         #  GET COS(THETA)/2
035596,000612: 26,2614           43240                           BMN      DAD                                   
035597,000613: 26,2615           54622                                    S61.1B                                #  DO TEST ON -YSM
035598,000614: 26,2616           14645                                    C(30)LIM                              #  = 1.0 -.5 COS(30)
035599,000615: 26,2617           47004                           BOVB     RTB                                   
035600,000616: 26,2620           54641                                    RETRN1                                
035601,000617: 26,2621           54626                                    RETRN3                                

Page 805

035603,000619: 26,2622           43276        S61.1B             DCOMP    DAD                                   
035604,000620: 26,2623           14645                                    C(30)LIM                              #  = 1.0 - .5 COS(30)
035605,000621: 26,2624           77404                           BOVB     EXIT                                  
035606,000622: 26,2625           54631                                    RETRN2                                
035607,000623: 
035608,000624: 26,2626           05650        RETRN3             TC       ALARM                                 
035609,000625: 26,2627           01426                           OCT      01426                                 #  IMU UNSATISFACTORY
035610,000626: 26,2630           02633                           TC       RETRN2     +2                         
035611,000627: 
035612,000628: 26,2631           05650        RETRN2             TC       ALARM                                 
035613,000629: 26,2632           01427                           OCT      01427                                 #  IMU REVERSED
035614,000630: 
035615,000631: 26,2633           35050                 +2        CAF      V05N09                                
035616,000632: 26,2634           04662                           TC       BANKCALL                              
035617,000633: 26,2635           20676                           CADR     GODSPR                                #  DO DISPLAY
035618,000634: 26,2636           32646                           CA       10SECS                                
035619,000635: 26,2637           04662                           TC       BANKCALL                              
035620,000636: 26,2640           01732                           CADR     DELAYJOB                              
035621,000637: 
035622,000638: 26,2641           01773        RETRN1             TC       60GENRET                              
035623,000639: 
035624,000640: 26,2642  E7,1431                                  EBANK=   DVCNTR                                
035625,000641: 26,2642           03226 76067  SERVCAD1           2CADR    SERVEXIT                              
035626,000642: 
035627,000643: 26,2644           22111 17335  C(30)LIM           2DEC     .566985                               #  = 1.0 - .5 COS(30)
035628,000644: 
035629,000645: 26,2646           01750        10SECS             DEC      1000       B-14                       #  1000 CS
035630,000646: 26,2647           00000 13560  60SECDP            2DEC     6000       B-28                       #  6000 CS
035631,000647: 

Page 806

035633,000649:                                                                                                  #  PROGRAM NAME:         S61.2                   DATE:           14 FEB 67
035634,000650:                                                                                                  #  MOD NO:       1                               LOG SECTION:    P61-P67
035635,000651:                                                                                                  #  MOD BY:       MORTH / BAIRNSFATHER
035636,000652:                                                                                                  #  MOD NO: 2     MOD BY: MORTH/BAIRNSFATHER      DATE: 11 MAY 67         ADD 2ND ITER FOR ERAD AT 400K FT.
035637,000653:                                                                                                  #  MOD NO: 3     MOD BY: RR BAIRNSFATHER         DATE: 21 NOV 67         VARIABLE MU ADDED.
035638,000654:                                                                                                  #  MOD NO: 4     MOD BY: RR BAIRNSFATHER         DATE: 21 MAR 68         DIFFERENT EARTH/MOON SCALES IN TFF'S
035639,000655: 
035640,000656:                                                                                                  #  FUNCTIONAL DESCRIPTION:  CALLED BY P61.  PROVIDES DISPLAYS FOR NOUNS  N60  AND  N63 .
035641,000657:                                                                                                  #        PROGRAM CALCULATES ENTRY DISPLAY OF MAXIMUM ACCELERATION EXPECTED  (GMAX)  AND ALSO THE EXPECTED
035642,000658:                                                                                                  #        INERTIAL VELOCITY (VPRED) AND ENTRY ANGLE  (GAMMAEI)  THAT WILL OBTAIN AT 400K FT ABOVE THE FISCHER
035643,000659:                                                                                                  #        ELLIPSOID.  PROGRAM ALSO CALCULATES A SECOND DISPLAY RELATIVE TO THE  EMSALT  ABOVE FISCHER ELLIPSOID
035644,000660:                                                                                                  #        AND CONSISTS OF RANGE TO SPLASH FROM NOW  (RTGO) , PREDICTED INERTIAL VELOCITY  (VIO) , AND THE TIME TO
035645,000661:                                                                                                  #        GO FROM NOW  (TTE) .
035646,000662: 
035647,000663:                                                                                                  #  CALLING SEQUENCE:     CALL
035648,000664:                                                                                                  #                                S61.2
035649,000665:                                                                                                  #                        C(MPAC) UNSPECIFIED
035650,000666:                                                                                                  #                        PUSHLOC WILL BE SET TO ZERO.
035651,000667: 
035652,000668:                                                                                                  #  SUBROUTINES CALLED:   TFFCONIC, CALCTFF, TFF/TRIG, FISHCALC, GETERAD, VGAMCALC
035653,000669: 
035654,000670:                                                                                                  #  NORMAL EXIT MODES:    RTB   P61.1
035655,000671: 
035656,000672:                                                                                                  #  ALARMS:       NONE
035657,000673: 
035658,000674:                                                                                                  #  OUTPUT:       THE FOLLOWING REGISTERS ARE WRITTEN IN FOR USE BY DISPLAYS
035659,000675:                                                                                                  #                GMAX    100 GMAX (-14) G,S      MAXIMUM ACCELERATION
035660,000676:                                                                                                  #                VPRED   (-7) M/CS               PREDICTED VELOCITY AT 400K FT
035661,000677:                                                                                                  #                GAMMAEI GAMMA/360               PREDICTED GAMMA    AT 400K FT
035662,000678:                                                                                                  #                                                FOR TM, DP(GAMMAEI) = (GAMMAEI, RTGO) / 360
035663,000679:                                                                                                  #                RTGO    THETAH/360              RANGE ANGLE TO SPLASH FROM EMSALT       EMSALT IS PAD LOADED
035664,000680:                                                                                                  #                VIO     (-7) M/CS               INERTIAL VELOCITY AT      EMSALT        EMSALT IS PAD LOADED
035665,000681:                                                                                                  #                TTE     (-28) CS                TIME TO                    EMSALT       EMSALT IS PAD LOADED
035666,000682:                                                                                                  #                PUSHLOC = 0
035667,000683:                                                                                                  #                CONIC PARAMETERS STORED IN VAC AREA (SEE TFF SUBROUTINES)
035668,000684: 
035669,000685:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
035670,000686:                                                                                                  #                RONE    (-29) M                 STATE VECTOR                            LEFT BY USER
035671,000687:                                                                                                  #                VONE    (-7) M/CS               STATE VECTOR                            LEFT BY USER
035672,000688:                                                                                                  #                URONE   UR/2                                                            LEFT BY USER
035673,000689:                                                                                                  #                UNI     (-1)                    UNIT NORMAL V*R                         LEFT BY ENTRY / P61
035674,000690:                                                                                                  #                THETAH  THETAH/360              RANGE ANGLE                             LEFT BY ENTRY / P61
035675,000691:                                                                                                  #                UNITW   (0)                     UNIT POLAR VECTOR                       LEFT BY PAD LOAD
035676,000692:                                                                                                  #                EMSALT  (-29) M                 EMS INTERFACE ALTITUDE                  LEFT BY PAD LOAD
035677,000693:                                                                                                  #                                                ORBITAL REENTRY: 284643 FT, LUNAR REENTRY: 297431 FT.
035678,000694: 
035679,000695:                                                                                                  #  DEBRIS:       QPRET,
035680,000696:                                                                                                  #                ALL PDL LOCATIONS ABOVE 12D, INCLUDING X1,X2,S1,S2
035681,000697:                                                                                                  #                ALSO PDL+0 ... PDL+5, WHERE INITIAL PUSHLOC = PDL
035682,000698: 

Page 807

035684,000700:                                                                                                  #  THE FOLLOWING PUSH LIST LOCATIONS HAVE BEEN RESERVED FOR TFF ROUTINES AND ARE REPEATED HERE FOR CONVENIENCE.
035685,000701:                                                                                                  #  OF COURSE FOR S61.2 USAGE, EARTH ORIGIN SCALING IS USED.
035686,000702: 
035687,000703:                                                                                                  #                                BELOW   E:  IS USED FOR EARTH ORIGIN SCALE
035688,000704:                                                                                                  #                                        M:  IS USED FOR MOON ORIGIN SCALE
035689,000705: 
035690,000706:                                                                                                  #        RTERM   =       18D             TERMINAL RADIUS M       E:  (-29)       M:  (-27)
035691,000707:                                                                                                  #        NRTERM  =       16D             TERMINAL RADIUS M       E:  (-29+NR)
035692,000708:                                                                                                  #                                                                M:  (-27+NR)
035693,000709:                                                                                                  #        RMAG1   =       12D             PRESENT RADIUS M        E:  (-29)       M:  (-27)
035694,000710:                                                                                                  #        NRMAG   =       32D             PRESENT RADIUS M        E:  (-29+NR)
035695,000711:                                                                                                  #                                                                M:  (-27+NR)
035696,000712:                                                                                                  #        SDELF/2                         SIN(THETA) / 2
035697,000713:                                                                                                  #        CDELF/2 =       14D             COS(THETA) / 2
035698,000714:                                                                                                  #        TFFX    =       34D             X, ARGUMENT OF SERIES T(X).
035699,000715:                                                                                                  #        TFFTEM  =       36D             ARG FOR TRANSFER ANGLE CALCULATION.
035700,000716:                                                                                                  #        TFFNP   =       28D             LC P M                  E:  (-38+2NR)   M:  (-36+2NR)
035701,000717:                                                                                                  #        TFF/RTMU=       30D             1/SQRT(MU)              E:  (17)        M:  (14)
035702,000718:                                                                                                  #        TFFVSQ  =       20D             -(VN.VN/MU)     1/M     E:  (20)        M:  (18)
035703,000719: 

Page 808

035705,000721: 34,3763                                           BANK     34                                    
035706,000722: 26,2000                                           SETLOC   P60S2                                 
035707,000723: 26,2000                                           BANK                                           
035708,000724: 
035709,000725: 26,2651                                           COUNT*   $$/S61.2                              
035710,000726:                                                                                                  #  PDL LEFT AT ZERO BY TARGETNG
035711,000727: 
035712,000728: 26,2651           45345        S61.2              DLOAD    DSU                                   
035713,000729: 26,2652           02020                                    EMSALT                                
035714,000730: 26,2653           15001                                    290KFT                                
035715,000731: 26,2654           71244                           BPL      DLOAD                                 
035716,000732: 26,2655           54775                                    LUNENT                                
035717,000733: 26,2656           17354                                    1/RTMU                                #  ESTABLISH MU FOR ORBITAL ENTRIES
035718,000734: 26,2657           77624        CALLCON            CALL                                           
035719,000735: 26,2660           56757                                    TFFCONIC                              #  FILL VAC AREA WITH CONIC PARAMETERS
035720,000736: 
035721,000737: 26,2661           45145                           DLOAD    CALL                                  
035722,000738: 26,2662           15021                                    RTRIAL                                #  1ST GUESS AT TERMINAL RADIUS  (-29)
035723,000739: 26,2663           57067                                    CALCTFF                               #  SAVES MPAC IN RTERM           (18D)
035724,000740: 
035725,000741: 26,2664           77624                           CALL                                           #  CALC SDELF/2, CDELF/2
035726,000742: 26,2665           56631                                    TFF/TRIG                              #  RETURN WITH S(THETA) IN MPAC
035727,000743: 
035728,000744: 26,2666           77624                           CALL                                           #  GET FISCHER RADIUS            (-29) M
035729,000745: 26,2667           55030                                    FISHCALC                              #  ANS IN MPAC AND IN ERADM.
035730,000746: 
035731,000747: 26,2670           45015                           DAD      CALL                                  
035732,000748: 26,2671           02020                                    EMSALT                                
035733,000749: 26,2672           57067                                    CALCTFF                               #  SAVES MPAC IN RTERM           (18D)
035734,000750: 
035735,000751: 26,2673           77676                           DCOMP                                          #  NEGATIVE AS IN COUNTDOWN.
035736,000752: 26,2674           03733                           STORE    TTE1                                  #  DECR TTE FROM BASE TTE1.  (RESTART)
035737,000753:                                                                                                  #  DNLIST AND DSKY WILL USE TTE.
035738,000754: 26,2675           37727                           STCALL   TTE                                   #  LET MISS CONTRL DECR BY ELAPSED TIME
035739,000755:                                                                                                  #  TTE= TIME FROM NOW TO EMSALT +FISCHER
035740,000756: 
035741,000757: 26,2676           56631                                    TFF/TRIG                              #  S(THETA) IN MPAC ON RETURNING
035742,000758:                                                                                                  #  AND THETA= RANGE FROM NOW TO EMSALT
035743,000759: 
035744,000760: 26,2677           77624                           CALL                                           
035745,000761: 26,2700           55030                                    FISHCALC                              
035746,000762: 26,2701           77624                           CALL                                           
035747,000763: 26,2702           56664                                    VRCALC                                
035748,000764: 26,2703           77624                           CALL                                           
035749,000765: 26,2704           56651                                    DISPTARG                              
035750,000766: 26,2705           77624                           CALL                                           
035751,000767: 26,2706           56651                                    DISPTARG                              
035752,000768: 26,2707           37714                           STCALL   RTGO                                  

Page 809

035754,000770: 26,2710           55051                                    VGAMCALC                              
035755,000771: 
035756,000772: 26,2711           77605                           DMP                                            #  MPAC = GAMMA
035757,000773:                                                                                                  #  PDL0 HAS VGAM.
035758,000774: 26,2712           43265                           BDDV     DAD                                   
035759,000775: 26,2713           15027                                    VEMSCON                               #  -HS D 180/PI (-14)
035760,000776: 26,2714           00001                                    0                                     #  VGAM FROM PDL0.
035761,000777: 26,2715           17725                           STODL    VIO                                   #  PREDICTED VELOCITY AT EMSALT.
035762,000778: 
035763,000779:                                                                                                  #  GAMMA AND VGAM AT 300K FT ARE REQUIRED BY GMAX
035764,000780:                                                                                                  #  ALGORITHM.
035765,000781: 
035766,000782: 26,2716           02241                                    ERADM                                 #  EARTH RADIUS FROM GETERAD (-29) M
035767,000783:                                                                                                  #  = FISCHER RADIUS (-29)
035768,000784: 
035769,000785: 26,2717           77615                           DAD                                            
035770,000786: 26,2720           06462                                    300KFT                                #  M (-29)
035771,000787: 26,2721           34023                           STCALL   RTERM                                 #  TERMINAL RADIUS M (-29)
035772,000788: 
035773,000789: 26,2722           55046                                    PREVGAM                               #  VGAMCALC WITH NEW RTERM
035774,000790: 
035775,000791:                                                                                                  #  VBAR = (V(FPS) - 36KF/S) / 20KF/S
035776,000792:                                                                                                  #  GMAX = (4/(1 + 4.8 VBARSQ))(GAM - 6.05 - 2.4 VBARSQ) - 10(L/D - .3) + 10      ASSUME L/D = 0.3, BANK =0.
035777,000793: 
035778,000794:                                                                                                  #  GMAXCALC
035779,000795: 26,2723           45325                           PDDL     DSU                                   #  GAM TO PDL2
035780,000796: 26,2724           00001                                    0                                     #  VGAM IS IN PDL0 (-7)
035781,000797: 26,2725           15005                                    36KFT/S                               #  (-7) M/CS
035782,000798: 26,2726           63471                           DDV      DSQ                                   
035783,000799: 26,2727           15007                                    20KFT/S                               #  (-6) M/CS
035784,000800: 26,2730           00001                           STORE    0                                     #  VBARSQ (-2) TO PDL0
035785,000801: 
035786,000802: 26,2731           43205                           DMP      DAD                                   
035787,000803: 26,2732           15011                                    KR1                                   
035788,000804:                                                                                                  #  GAM, POS DOWN, FROM PDL2
035789,000805: 26,2733           41215                           DAD      DMP                                   
035790,000806: 26,2734           15013                                    -6.05DEG                              
035791,000807: 26,2735           15015                                    KR2                                   
035792,000808: 26,2736           77725                           PDDL                                           #  XCH PDL+0 FOR VBARSQ (-2)
035793,000809: 26,2737           43271                           DDV      DAD                                   
035794,000810: 26,2740           15025                                    KR4                                   
035795,000811: 26,2741           17366                                    DP2(-4)                               
035796,000812: 26,2742           77665                           BDDV                                           
035797,000813:                                                                                                  #  NUM FROM PDL+0
035798,000814: 26,2743           51015                           DAD      BPL                                   
035799,000815: 26,2744           15017                                    KR3                                   
035800,000816: 26,2745           54750                                    +3                                    
035801,000817: 26,2746           77745                           DLOAD                                          
035802,000818: 26,2747           15335                                    HI6ZEROS                              
035803,000819: 26,2750           17722                           STODL    GMAX                                  #  100 GMAX (-14)

Page 810

035805,000821:                                                                                                  #  DISPLAY USES GMAX AS SP, SO LO WORD IS WRITTEN OVER BY VPRED.
035806,000822: 26,2751           02241                                    ERADM                                 #  = FISCHER RADIUS (-29) M
035807,000823: 26,2752           45015                           DAD      CALL                                  #  2 ND ITERATION FOR FISCHER RADIUS
035808,000824: 26,2753           15023                                    400KFT                                
035809,000825: 26,2754           57067                                    CALCTFF                               #  ESTABLISH TRANSFER ANGLE DATA.
035810,000826: 26,2755           77624                           CALL                                           
035811,000827: 26,2756           56631                                    TFF/TRIG                              #  GET SIN, COS DELF
035812,000828: 26,2757           77624                           CALL                                           
035813,000829: 26,2760           55030                                    FISHCALC                              #  GET CORRESPONDING FISCHER RADIUS.
035814,000830: 
035815,000831: 26,2761           73015                           DAD      LXA,2                                 #  SAVE HI-WORD FOR DOWNLIST.
035816,000832: 26,2762           15023                                    400KFT                                #  M (-29)
035817,000833: 26,2763           03713                                    RTGO                                  #  (RANGE ANGLE FROM EMSALT) / 360
035818,000834: 26,2764           34023                           STCALL   RTERM                                 
035819,000835: 26,2765           55046                                    PREVGAM                               #  VGAMCALC WITH NEW RTERM
035820,000836: 
035821,000837: 26,2766           67076                           DCOMP    SXA,2                                 #  HI-WORD OF EACH ON DOWNLIST.
035822,000838: 26,2767           00155                                    MPAC       +1                         
035823,000839: 26,2770           17771                           STODL    GAMMAEI                               #  CONIC GAMMA/360 AT 400K FT.   (HI-WORD)
035824,000840:                                                                                                  #  CONIC RTGO/360 FROM EMSALT   (LOW-WORD)
035825,000841:                                                                                                  #  FOR TM, DP(GAMMAEI) = (GAMMA, RTGO) / 360
035826,000842: 
035827,000843:                                                                                                  #  VGAM FROM PDL+0 (-7)
035828,000844: 26,2771           77626                           STADR                                          
035829,000845: 26,2772           74010                           STORE    VPRED                                 #  CONIC VELOCITY AT 400K FT
035830,000846: 
035831,000847: 26,2773           77634                           RTB                                            
035832,000848: 26,2774           54267                                    P61.1                                 
035833,000849:                                                                                                  #  PDL BACK TO ZERO.
035834,000850: 
035835,000851: 26,2775           52145        LUNENT             DLOAD    GOTO                                  
035836,000852: 26,2776           06456                                    1/RTMUE                               #  ESTABLISH MU FOR LUNAR TYPE ENTRIES
035837,000853: 26,2777           54657                                    CALLCON                               
035838,000854: 26,3000           00002 26244  290KFT             2DEC     88392.0    B-29                       
035839,000855: 
035840,000856: 26,3002           00052 05716  KTETA1             2DEC*    .421844723 E2         B-14*           #  1100 2PI/16384(163.84)
035841,000857: 
035842,000858: 26,3004           33335 05707  36KFT/S            2DEC     109.728    B-7                        #  (-7) M/CS = 36 KFT/S (-7)
035843,000859: 
035844,000860: 26,3006           36365 30244  20KFT/S            2DEC     121.92     B-7                        #  (-6) M/CS = 2 20KFT/S (-7)
035845,000861: 
035846,000862: 26,3010           77113 42770  KR1                2DEC     -.026666667                            #  = -2.4 4 / 360
035847,000863: 
035848,000864: 26,3012           77354 65030  -6.05DEG           2DEC     -.016805556                            #  = -6.05 / 360
035849,000865: 
035850,000866: 26,3014           21450 00001  KR2                2DEC     .54931641                             #  = (360/4) 100 (-14) = 9000 B-14
035851,000867: 
035852,000868: 26,3016           01750 00000  KR3                2DEC     1000       B-14                       #  = 100 (10.0) (-14) G,S

Page 811

035854,000870:                                                                                                  #  ASSUMES L/D = 0.3, BANK =0.
035855,000871: 26,3020           00305 04541  RTRIAL             2DEC     6460097.18 B-29                       #  RPAD +284643 FT =21 194 545 FT
035856,000872:                                                                                                  #  RPAD DEFINED AS 20 909 901.57 FT =6 373 338 M
035857,000873: 26,3022           00003 27040  400KFT             2DEC     121920     B-29                       #  METERS
035858,000874: 
035859,000875:                                                                                                  #  300KFT        2DEC    91440 B-29      (-29) M
035860,000876: 
035861,000877:                                                                                                  #  EMSALT        2DEC    86759.2 B-29    284643 FT (-29) M       (ORBITAL REENTRY)
035862,000878: 
035863,000879:                                                                                                  #  EMSALT        2DEC    90657 B-29      297431 FT (-29) M       (LUNAR REENTRY)
035864,000880: 
035865,000881: 26,3024           32525 12525  KR4                2DEC     .833333333                            
035866,000882: 
035867,000883: 26,3026  23,2461               300KFT             EQUALS   MINPERE                               
035868,000884: 26,3026           77777 76601  VEMSCON            2DEC     -.0389676  B-14                       #  = -HS D / 2 PI (-14)  M SQ / CS SQ
035869,000885: 
035870,000886:                                                                                                  #  = -16369      .05G    32.2    .3048   .3048/2 PI      (-14)
035871,000887: 

Page 812

035873,000889:                                                                                                  #  SUBROUTINE NAME:  FISHCALC    (USED BY S61.2)         DATE:           01.21.67
035874,000890:                                                                                                  #  MOD NO: 0                                             LOG SECTION:    P61-P67
035875,000891:                                                                                                  #  MOD BY: MORTH / BAIRNSFATHER
035876,000892:                                                                                                  #  MOD NO: 1     MOD BY: RR BAIRNSFATHER                 DATE:           11 MAY 67       INCLUDE GETERAD CALL
035877,000893: 
035878,000894:                                                                                                  #  FUNCTIONAL DESCRIPTION:  GIVEN THE PRESENT POSITION, UNITR, CALCULATE A NEW UNITR THAT IS ROTATED THROUGH
035879,000895:                                                                                                  #        TRANSFER ANGLE, THETA, ALONG TRAJECTORY.  THEN CALCULATE SIN(LAT) AND USE TO OBTAIN FISCHER RADIUS.
035880,000896: 
035881,000897:                                                                                                  #        SINCE FISHCALC USES UNI (LEFT BY ENTRY) EARTH SCALING IS ASSUMED.  (WILL IMPROVE FOR SUITABLE TENNANT)
035882,000898: 
035883,000899:                                                                                                  #  CALLING SEQUENCE:     CALL
035884,000900:                                                                                                  #                                FISHCALC
035885,000901:                                                                                                  #        ENTER WITH .5 SIN(THETA) IN MPAC.
035886,000902:                                                                                                  #        PUSHLOC IS AT PDL+0, AN ARBITRARY BASE VALUE IF LEQ 8D
035887,000903: 
035888,000904:                                                                                                  #  SUBROUTINES CALLED:  GET ERAD
035889,000905: 
035890,000906:                                                                                                  #  NORMAL EXIT MODE:  RVQ
035891,000907: 
035892,000908:                                                                                                  #  EXIT MODES:   NONE
035893,000909: 
035894,000910:                                                                                                  #  OUTPUT:       ERADM (-29) M IN MPAC ON RETURNING
035895,000911:                                                                                                  #                NEW UNIT VECTOR NOT SAVED.
035896,000912:                                                                                                  #                SIN(LAT) NOT SAVED.
035897,000913:                                                                                                  #                PUSHLOC AT PDL+0
035898,000914: 
035899,000915:                                                                                                  #  ERASEABLE INITIALIZATION REQUIRED:
035900,000916:                                                                                                  #                SDELF/2         =SIN(THETA) / 2, IN MPAC                LEFT BY TFF/TRIG
035901,000917:                                                                                                  #                CDELF/2         =COS(THETA) / 2, STORED IN PDL 14D      LEFT BY TFF/TRIG
035902,000918:                                                                                                  #                RONE            (-29) M                                 LEFT BY USER
035903,000919:                                                                                                  #                VONE            (-7) M/CS                               LEFT BY USER
035904,000920:                                                                                                  #                URONE           UR/2                                    LEFT BY USER
035905,000921:                                                                                                  #                UNI             .5 UNIT(V*R)                            LEFT BY ENTRY / P61
035906,000922:                                                                                                  #                UNITW           UNIT NORTH POLE                         LEFT BY PAD LOAD
035907,000923: 
035908,000924:                                                                                                  #  DEBRIS:       QPRET, PDL+0 ... PDL+5
035909,000925:                                                                                                  #  -      -          -
035910,000926: 26,3030           47315        FISHCALC           PDVL     VXV                                   #  URPR = UR CDELF + UHOR SDELF
035911,000927: 26,3031           02343                                    URONE                                 
035912,000928: 26,3032           03502                                    UNI                                   
035913,000929: 26,3033           76561                           VXSC     VSL1                                  
035914,000930:                                                                                                  #  SIN(THETA) / 2 FROM PDL+0
035915,000931: 26,3034           74315                           PDVL     VXSC                                  #  TO PDL+0, +5
035916,000932: 26,3035           02343                                    URONE                                 
035917,000933: 26,3036           00017                                    CDELF/2                               #  COS(THETA) / 2
035918,000934: 26,3037           45455                           VAD      STADR                                 
035919,000935: 26,3040           74235                           STORE    URH                                   #  FOR USE IN RTGO FROM EMS DISPLAY
035920,000936: 26,3041           72441                           DOT      SL1                                   
035921,000937: 26,3042           01714                                    UNITW                                 #  FULL UNIT VECTOR      UNIT NORTH
035922,000938: 26,3043           02156                           STORE    ALPHAV     +4                         #  = .5 SIN(LAT)
035923,000939: 26,3044           77650        DUMPFISH           GOTO                                           
035924,000940: 26,3045           26505                                    GETERAD                               #  SAVES FISCHER RAD (-29) M IN ERADM AND
035925,000941:                                                                                                  #  IN MPAC.  RETURNS TO CALLER VIQ QPRET.
035926,000942: 

Page 813

035928,000944:                                                                                                  #  SUBROUTINE NAME:  VGAMCALC    (USED BY S61.2)                         DATE:           01.21.67
035929,000945:                                                                                                  #  MOD NO: 0                                                             LOG SECTION:    P61-P67
035930,000946:                                                                                                  #  MOD BY: MORTH / BAIRNSFATHER
035931,000947:                                                                                                  #  MOD NO: 1     MOD BY: RR BAIRNSFATHER         DATE: 11 APR 67
035932,000948:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 21 NOV 67         VARIABLE MU ADDED.
035933,000949:                                                                                                  #  MOD NO: 3     MOD BY: RR BAIRNSFATHER         DATE: 21 MAR 68         ACCEPT DIFFERENT EARTH/MOON SCALE
035934,000950: 
035935,000951:                                                                                                  #  FUNCTIONAL DESCRIPTION:  EARTH CENTERED VIS VIVA CALCULATION OF TERMINAL VELOCITY AND GAMMA (REL TO
035936,000952:                                                                                                  #        HORIZONTAL) GIVEN THE SCALAR QUANTITIES:  PRESENT RADIUS AND VELOCITY AND THE TERMINAL RADIUS.
035937,000953:                                                                                                  #        THE USER MUST APPEND PROPER SIGN TO GAMMA, SINCE IT IS CALCULATED AS A POSITIVE NUMBER.
035938,000954:                                                                                                  #        THE EQUATIONS ARE
035939,000955: 
035940,000956:                                                                                                  #                VGAM = SQRT(VN VN/MU + 2(RN-RTERM)/(RN RTERM) ) RTMU
035941,000957: 
035942,000958:                                                                                                  #                COSGAM = H / RTERM VGAM = SQRT (LCP) / (RTERM VGAM/RTMU)
035943,000959: 
035944,000960:                                                                                                  #        VGAMCALC ASSUMES THAT THE TERMINAL RADIUS IS LESS THAN THE PRESENT RADIUS.  BOTH CALCTFF AND CALCTPER
035945,000961:                                                                                                  #        MAKE THIS ASSUMPTION.
035946,000962: 
035947,000963:                                                                                                  #  CALLING SEQUENCE:     CALL                    STCALL  RTERM
035948,000964:                                                                                                  #                                VGAMCALC                PREVGAM
035949,000965:                                                                                                  #        PUSHLOC AT PDL+0, ARBITRARY IF LEQ 12D
035950,000966:                                                                                                  #        C(MPAC) UNSPECIFIED                     C(MPAC)=NEW RTERM
035951,000967: 
035952,000968:                                                                                                  #  SUBROUTINES CALLED:  NONE
035953,000969: 
035954,000970:                                                                                                  #  NORMAL EXIT MODE:  RVQ
035955,000971: 
035956,000972:                                                                                                  #  ALARMS:       NONE
035957,000973:                                                                                                  #  
035958,000974:                                                                                                  #  OUTPUT:       GAMMA / 360 IN MPAC, POSITIVE NUMBER
035959,000975:                                                                                                  #                VGAM    E: (-7)   M: (-5)       M/CS IN PDL+0
035960,000976:                                                                                                  #                PUSHLOC AT PDL+2
035961,000977: 
035962,000978:                                                                                                  #  ERASABLE INITIALIZATION REQD:
035963,000979:                                                                                                  #        TFF/RTMU  E: (17)   M: (14)     1/SQRT(MU)                              LEFT BY TFFCONIC.
035964,000980:                                                                                                  #        RMAG1     E: (-29)  M: (-27)    M  PRESENT RADIUS LENGTH                LEFT BY TFFCONIC
035965,000981:                                                                                                  #        NRMAG     E: (-29+NR)           M  NORM LENGTH OF PRESENT POSITION      LEFT BY TFFCONIC
035966,000982:                                                                                                  #                  M: (-27+NR)
035967,000983:                                                                                                  #        RTERM     E: (-29)  M: (-27)    M  TERMINAL RADIUS LENGTH               LEFT BY CALCTFF
035968,000984:                                                                                                  #        NRTERM    E: (-29+NR)           M  NORM LENGTH OF TERMINAL RADIUS       LEFT BY CALCTFF
035969,000985:                                                                                                  #                  M: (-27+NR)
035970,000986:                                                                                                  #        TFFVSQ    E: (20)   M: (18)   1/M  -(V SQ/MU): PRESENT VELOCITY, NORM   LEFT BY TFFCONIC
035971,000987:                                                                                                  #        TFFNP     E: (-38+2NR)          M  LCP, SEMI-LATUS RECTUM, WEIGHT NR    LEFT BY TFFCONIC
035972,000988:                                                                                                  #                  M: (-36+2NR)
035973,000989: 
035974,000990:                                                                                                  #  DEBRIS:       QPRET, PDL+0 ... PDL+3
035975,000991:                                                                                                  #                RTERM, NRTERM IF PREVGAM ENTERED.

Page 814

035977,000993: 
035978,000994: 26,3046           77657        PREVGAM            SL*                                            #  ENTER WITH NEW RTERM IN MPAC
035979,000995:                                                                                                  #  E: (-29)  M: (-27)
035980,000996: 26,3047           20201                                    0,1                                   #  X1 = -NR
035981,000997: 26,3050           00021                           STORE    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
035982,000998: 
035983,000999: 26,3051           41345        VGAMCALC           DLOAD    DMP                                   
035984,001000: 26,3052           00041                                    NRMAG                                 #  RMAG M                E: (-29+NR)     M: (-27+NR)
035985,001001: 26,3053           00021                                    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
035986,001002: 26,3054           45325                           PDDL     DSU                                   #  RMAG RTERM M          E: (-58+2NR)    M: (-54+2NR)
035987,001003: 26,3055           00041                                    NRMAG                                 #  RMAG M                E: (-29+NR)     M: (-27+NR)
035988,001004: 26,3056           00021                                    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
035989,001005: 26,3057           56257                           SL*      DDV                                   #  2(RN-RTERM)           E: (-30+NR)     M: (-28+NR)
035990,001006: 26,3060           20171                                    0          -8D,1                      #  (-8+NR)
035991,001007:                                                                                                  #  PUSH UP PRODUCT.                                      
035992,001008: 26,3061           77625                           DSU                                            
035993,001009: 26,3062           00025                                    TFFVSQ                                #  -(V SQ/MU)            E: (20)         M: (18)
035994,001010: 26,3063           41566                           SQRT     PUSH                                  #  SAVE VGAM/RT(MU) FOR NOW.     E: (10) M: (9)
035995,001011: 26,3064           65271                           DDV      PDDL                                  #  XCH PDL+0, LEAVING VGAM FOR OUTPUT.
035996,001012:                                                                                                  #  VGAM TO PDL M/CS      E: (-7)         M: (-2)
035997,001013: 26,3065           00037                                    TFF/RTMU                              #                        E: (17)         M: (14)
035998,001014: 26,3066           65205                           DMP      PDDL                                  #  RTERM VGAM/RTMU       E: (-19+NR)     M: (-18+NR)
035999,001015: 26,3067           00021                                    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
036000,001016: 26,3070           00035                                    TFFNP                                 #  LC P =H.H/MU M        E: (-38+2NR)    M: (-36+2NR)
036001,001017: 26,3071           56366                           SQRT     DDV                                   #                        E: (-19+NR)     M: (-18+NR)
036002,001018:                                                                                                  #  PUSH UP DEN           E: (-19+NR)     M: (-18+NR)
036003,001019:                                                                                                  #  USE DDV OVFL AS LIMITER (|COS| <1.0)
036004,001020: 26,3072           65542                           SR1      ACOS                                  
036005,001021: 26,3073           77616        DUMPVGAM           RVQ                                            
036006,001022:                                                                                                  #  CALLER MUST SUPPLY OWN SIGN ...
036007,001023:                                                                                                  #                        22W     27MS
036008,001024: 

Page 815

036010,001026:                                                                                                  #  SUBROUTINE NAME:      TFF/TRIG        (USED BY S61.2)         DATE            01.17.67
036011,001027:                                                                                                  #  MOD NO: 0                                                     LOG SECTION:    P61-P67
036012,001028:                                                                                                  #  MOD BY: RR BAIRNSFATHER
036013,001029:                                                                                                  #  MOD NO: 1     MOD BY: RR BAIRNSFATHER         DATE: 14 APR 67
036014,001030:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 21 MAR 68         ACCEPT DIFFERENT EARTH/MOON SCALE
036015,001031: 
036016,001032:                                                                                                  #  FUNCTIONAL DESCRIPTION:  USED BY ENTRY DISPLAY TO CALCULATE SIN(THETA), COS(THETA) FROM DATA LEFT IN
036017,001033:                                                                                                  #        PDL BY TFF SUBROUTINES.  THE EQNS ARE
036018,001034: 
036019,001035:                                                                                                  #                COS(THETA) = 1-2 ABS(ARG) / (RN RTERM (1+X) )
036020,001036:                                                                                                  #                                                2
036021,001037:                                                                                                  #                SIN(THETA) = SGN(ARG) SQRT(1-COS (THETA) )
036022,001038: 
036023,001039:                                                                                                  #        WHERE THETA = TRANSFER ANGLE
036024,001040:                                                                                                  #        AND     ARG = P Z ABS(Z)                        IF ALFA ZZ LEQ 1
036025,001041:                                                                                                  #                ARG = (P / ALFA) SGN(Q1 + R 1/Z)        IF ALFA Z Z G 1
036026,001042:                                                                                                  #        AND  ARG  HAS BEEN AFFIXED WITH THE SIGN OF SIN(THETA).
036027,001043: 
036028,001044:                                                                                                  #  CALLING SEQUENCE:     CALL
036029,001045:                                                                                                  #                                TFF/TRIG
036030,001046:                                                                                                  #                PUSHLOC AT PDL+0, ARBITRARY IF NOT EQ 14D
036031,001047:                                                                                                  #                C(MPAC) UNSPECIFIED
036032,001048: 
036033,001049:                                                                                                  #  SUBROUTINES CALLED:  NONE
036034,001050: 
036035,001051:                                                                                                  #  NORMAL EXIT MODES:  RVQ
036036,001052: 
036037,001053:                                                                                                  #  ALARMS:       NONE
036038,001054: 
036039,001055:                                                                                                  #  OUTPUT:       C(MPAC) = .5 SIN(THETA)
036040,001056:                                                                                                  #                CDELF/2 = .5 COS(THETA)         (IN PDL 14D)
036041,001057:                                                                                                  #                PUSHLOC AT PDL+0
036042,001058: 
036043,001059:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
036044,001060:                                                                                                  #                TFFX                    X                                       LEFT BY CALCTFF OR CALCTPER
036045,001061:                                                                                                  #                TFFTEM  E: (-59+2NR)    ARG                                     LEFT BY CALCTFF OR CALCTPER
036046,001062:                                                                                                  #                        M: (-55+2NR)    WHERE ARG = LCP ZZ SGN(DELF) OR ARG = LCP/ALFA SGN(DELF)
036047,001063:                                                                                                  #                NRTERM  E: (-29+NR)     M  NORM LENGTH OF TERMINAL RADIUS       LEFT BY CALCTFF OR CALCTPER
036048,001064:                                                                                                  #                        M: (-27+NR)     
036049,001065:                                                                                                  #                NRMAG   E: (-29+NR)     M  NORM LENGTH OF PRESENT POSITION      LEFT BY TFFCONIC
036050,001066:                                                                                                  #                        M: (-27+NR)
036051,001067: 
036052,001068:                                                                                                  #  DEBRIS:       QPRET, CDELF/2
036053,001069: 
036054,001070: 27,2631                                           BANK     27                                    
036055,001071: 27,2000                                           SETLOC   P60S5                                 
036056,001072: 27,2000                                           BANK                                           
036057,001073: 27,2631           70545        TFF/TRIG           DLOAD    SR1                                   
036058,001074: 27,2632           00043                                    TFFX                                  
036059,001075: 27,2633           41215                           DAD      DMP                                   
036060,001076: 27,2634           15333                                    HIDPHALF                              
036061,001077: 27,2635           00041                                    NRMAG                                 #  RMAG M                E: (-29+NR)     M: (-27+NR)
036062,001078: 27,2636           55205                           DMP      BDDV                                  
036063,001079: 27,2637           00021                                    NRTERM                                #  RTERM M               E: (-29+NR)     M: (-27+NR)
036064,001080: 27,2640           00045                                    TFFTEM                                #  P ZSQ OR P/ALFA       E: (-59+2NR)    M: (-55+2NR)
036065,001081: 27,2641           44246                           ABS      BDSU                                  #  THE SIGN IS FOR SDELF.
036066,001082: 27,2642           15333                                    HIDPHALF                              
036067,001083: 27,2643           00017                           STORE    CDELF/2                               #  .5 COS(THETA)
036068,001084: 27,2644           57516                           DSQ      DCOMP                                 #  KEEP HONEST FOR SQRT.

Page 816

036070,001086: 27,2645           75415                           DAD      SQRT                                  
036071,001087: 27,2646           15325                                    HIDP1/4                               
036072,001088: 27,2647           43565        DUMPTRIG           SIGN     RVQ                                   
036073,001089: 27,2650           00045                                    TFFTEM                                #  AFFIX SIGN(DELE/2)
036074,001090:                                                                                                  #  RETURN WITH .5 SIN(THETA) IN MPAC
036075,001091: 
036076,001092:                                                                                                  #                        16W     15MS
036077,001093: 
036078,001094: 27,2651           77620        DISPTARG           STQ                                            #  C(MPAC) = TRGO ESTIMATE
036079,001095: 27,2652           03373                                    60GENRET                              
036080,001096: 27,2653           45205                           DMP      DSU                                   
036081,001097: 27,2654           15003                                    KTETA1                                
036082,001098: 27,2655           03733                                    TTE1                                  
036083,001099: 27,2656           37606                           STCALL   DTEAROT                               
036084,001100: 27,2657           46225                                    EARROT2                               
036085,001101: 27,2660           77624                           CALL                                           
036086,001102: 27,2661           56664                                    VRCALC                                
036087,001103: 27,2662           77650                           GOTO                                           
036088,001104: 27,2663           03373                                    60GENRET                              
036089,001105: 27,2664           50375        VRCALC             VLOAD    DOT                                   
036090,001106: 27,2665           03542                                    URH                                   
036091,001107: 27,2666           03474                                    RT                                    
036092,001108: 27,2667           65512                           SL2      ACOS                                  
036093,001109: 27,2670           77616                           RVQ                                            
036094,001110: 
036095,001111:                                                                                                  #  END OF PROGRAM S61.2
036096,001112: 

Page 817

036098,001114:                                                                                                  #  PROGRAM DESCRIPTION S62.3     DATE 10JAN67
036099,001115:                                                                                                  #  MOD NO 1                      LOG SECTION P60-P67
036100,001116:                                                                                                  #  MOD BY ZELDIN
036101,001117:                                                                                                  #  MOD NO: 2     MOD BY: RR BAIRNSFATHER         DATE: 15 MAY 67         CHANGED TO REF COORDS.
036102,001118:                                                                                                  #  MOD NO: 3     MOD BY: RR BAIRNSFATHER         DATE: 17 JAN 68         ALFAPAD CHANGES MADE.
036103,001119: 
036104,001120:                                                                                                  #  FUNCTIONAL DESCRIPTION
036105,001121: 
036106,001122:                                                                                                  #        COMPUTE DESIRED GIMBOL ANGLES FOR ENTRY ATTITUDE
036107,001123:                                                                                                  #        THE FOLLOWING TRAJECTORY TRIAD IS AVAILABLE IN MEMORY AND IS COMPUTED EACH 2 SECONDS BY CM/POSE IN
036108,001124:                                                                                                  #        REFERENCE COORDINATES (V = VELOCITY RELATIVE TO EARTH) :
036109,001125: 
036110,001126:                                                                                                  #                UXA = -UNIT(V)
036111,001127:                                                                                                  #                UYA =  UNIT(V*R)
036112,001128:                                                                                                  #                UZA =  UXA*UYA
036113,001129: 
036114,001130:                                                                                                  #        GENERATE A DESIRED BODY TRIAD FOR TRIMMED FLIGHT WITH RESPECT TO THE RELATIVE VELOCITY VECTOR, USING
036115,001131:                                                                                                  #        ROLL COMMAND AND TRIM ANGLE OF ATTACK:
036116,001132: 
036117,001133:                                                                                                  #                UXD = UNIT(UYD*UXA) SIN(ALFATRIM) + UXA COS(ALFATRIM)
036118,001134:                                                                                                  #                UYD = UYA COS(ROLLC) + UZA SIN(ROLLC)
036119,001135:                                                                                                  #                UZD = UXD * UYD
036120,001136: 
036121,001137:                                                                                                  #        USE THE DESIRED SET (IN REFERENCE COORDS) AND REFSMMAT TO CALL  CALCGA  AND OBTAIN GIMBAL ANGLES
036122,001138:                                                                                                  #        IN 2S, C IN MPAC, +2 AND THETAD, +2.
036123,001139: 
036124,001140:                                                                                                  #  CALLING SEQUENCE
036125,001141: 
036126,001142:                                                                                                  #        L       CALL
036127,001143:                                                                                                  #        L+1             S62.3
036128,001144: 
036129,001145:                                                                                                  #  NORMAL EXIT MODE
036130,001146: 
036131,001147:                                                                                                  #        RETURN VIA QPRET DIRECTLY FROM CALCGA.
036132,001148: 
036133,001149:                                                                                                  #  SUBROUTINES CALLED
036134,001150: 
036135,001151:                                                                                                  #        CALCGA
036136,001152: 
036137,001153:                                                                                                  #  ALARM OR ABORT MODES
036138,001154: 
036139,001155:                                                                                                  #        NONE
036140,001156: 
036141,001157:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED
036142,001158: 
036143,001159:                                                                                                  #        ROLLC   ROLL COMMAND            DP 1:S COMP AT 1REV
036144,001160:                                                                                                  #        ALFAPAD SP 1S,C / 180           LEFT BY PAD LOAD        ALFATRIM IS NEGATIVE.
036145,001161:                                                                                                  #        UXA/2   REF COORDS              LEFT BY CM/POSE
036146,001162:                                                                                                  #        UYA/2   REF COORDS              LEFT BY CM/POSE
036147,001163:                                                                                                  #        UZA/2   REF COORDS              LEFT BY CM/POSE
036148,001164: 
036149,001165:                                                                                                  #  OUTPUT
036150,001166:                                                                                                  #        
036151,001167:                                                                                                  #        CPHI    GIMBAL ANGLES (O,I,M) 2:S COMP TP (O,I,M)/180
036152,001168: 
036153,001169:                                                                                                  #  DEBRIS
036154,001170: 
036155,001171:                                                                                                  #        QTEMP, QPRET, PUSHLIST
036156,001172: 
036157,001173: 10,2376                                           BANK     10                                    
036158,001174: 10,2000                                           SETLOC   P60S4                                 
036159,001175: 10,2000                                           BANK                                           

Page 818

036161,001177: 10,2376                                           COUNT*   $$/S62.3                              
036162,001178: 
036163,001179: 10,2376           67201        S62.3              SETPD    SLOAD                                 
036164,001180: 10,2377           00001                                    0                                     
036165,001181: 10,2400           03012                                    ALFAPAD                               #  ALFATRIM / 180, ALFA IS NEG.
036166,001182: 10,2401           41542                           SR1      PUSH                                  
036167,001183: 10,2402           65346                           COS      PDDL                                  #  XCH PDL, COS TO PDL0
036168,001184: 10,2403           65356                           SIN      PDDL                                  #  SIN TO PDL2
036169,001185: 10,2404           03316                                    ROLLC                                 
036170,001186: 10,2405           74346                           COS      VXSC                                  
036171,001187: 10,2406           03550                                    UYA/2                                 #                                REF COORDS
036172,001188: 10,2407           73525                           PDDL     SIN                                   #  PUSH VECTOR INTO PDL4,.9
036173,001189: 10,2410           03316                                    ROLLC                                 
036174,001190: 10,2411           53361                           VXSC     VAD                                   
036175,001191: 10,2412           03556                                    UZA/2                                 #                                REF COORDS
036176,001192:                                                                                                  #  VECTOR FROM PDL4, 9
036177,001193: 10,2413           77772                           VSL1                                           
036178,001194: 10,2414           02722                           STORE    YNB                                   #  = UYD                         REF COORDS
036179,001195: 
036180,001196: 10,2415           76435                           VXV      VSL1                                  
036181,001197: 10,2416           03542                                    UXA/2                                 #                                REF COORDS
036182,001198: 10,2417           65361                           VXSC     PDDL                                  
036183,001199:                                                                                                  #  SIN TRIM FROM PDL2
036184,001200:                                                                                                  #  XCH PDL0 FOR COS TRIM
036185,001201: 10,2420           53361                           VXSC     VAD                                   
036186,001202: 10,2421           03542                                    UXA/2                                 #                                REF COORDS
036187,001203:                                                                                                  #  FROM PDL0
036188,001204: 10,2422           77772                           VSL1                                           
036189,001205: 10,2423           02714                           STORE    XNB                                   #  X SC AXIS (.5 UNIT)           REF COORDS
036190,001206: 
036191,001207: 10,2424           76435                           VXV      VSL1                                  
036192,001208: 10,2425           02722                                    YNB                                   
036193,001209: 10,2426           26730                           STOVL    ZNB                                   #  Z SC IN REF COOR. SCALED AT 2
036194,001210: 10,2427           01736                                    REFSMMAT                              
036195,001211: 10,2430           26672                           STOVL    XSM                                   
036196,001212: 10,2431           01744                                    REFSMMAT   +6                         
036197,001213: 10,2432           26700                           STOVL    YSM                                   
036198,001214: 10,2433           01752                                    REFSMMAT   +12D                       
036199,001215: 10,2434           02706                           STORE    ZSM                                   
036200,001216: 
036201,001217: 10,2435           52014                           CLEAR    GOTO                                  
036202,001218: 10,2436           00260                                    CPHIFLAG                              #  CAUSE CALCGA TO STORE ANS IN TP CPHI
036203,001219: 10,2437           47311                                    CALCGA                                
036204,001220:                                                                                                  #  CALCGA WILL RETURN TO ORIGINAL CALLER
036205,001221:                                                                                                  #  VIA QPRET WITH 2,S COMP. ANGLES IN CPHI
036206,001222: 
036207,001223: 
036208,001224: 

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