Source Code

These source-code files are part of a reconstructed copy of Comanche 67, the Apollo Guidance Computer (AGC) Command Module (CM) software for Apollo 12.

They have been adapted from sources files for Comanche 55, and updated via disassembly of binary dumps of original core rope memory modules, part numbers 2003972-1081, 2003972-1091, 2003972-1111, 2003972-1121, 2003972-1131, and 2003972-1141.

Since only binary dumps (rather than listings) of Comanche 67 are available as source material, all comments and labels are approximate. They have been taken from other AGC programs where possible, or, in some places, written from scratch to match what we believe would have been in the original listing.

011887,000002:                                                                                                  ## Copyright:   Public domain.
011888,000003:                                                                                                  ## Filename:    CSM_GEOMETRY.agc
011889,000004:                                                                                                  ## Purpose:     A section of Comanche revision 067.
011890,000005:                                                                                                  ##              It is part of the reconstructed source code for the flight
011891,000006:                                                                                                  ##              software for the Command Module's (CM) Apollo Guidance Computer
011892,000007:                                                                                                  ##              (AGC) for Apollo 12. No original listings of this program are
011893,000008:                                                                                                  ##              available; instead, this file was created via dissassembly of
011894,000009:                                                                                                  ##              dumps of Comanche 067 core rope modules and comparison with
011895,000010:                                                                                                  ##              other AGC programs.
011896,000011:                                                                                                  ## Assembler:   yaYUL
011897,000012:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
011898,000013:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
011899,000014:                                                                                                  ## Mod history: 2023-08-16 MAS  Created from Comanche 055.
011900,000015: 
011901,000016: 22,2000                                           BANK     22                                    
011902,000017: 23,2000                                           SETLOC   COMGEOM1                              
011903,000018: 23,2000                                           BANK                                           
011904,000019: 
011905,000020:                                                                                                  #  THIS ROUTINE TAKES THE SHAFT AND TRUNNION ANGLES AS READ BY THE CM OPTICAL SYSTEM AND CONVERTS THEM INTO A UNIT
011906,000021:                                                                                                  #  VECTOR REFERENCED TO THE NAVIGATION BASE COORDINATE SYSTEM AND COINCIDENT WITH THE SEXTANT LINE OF SIGHT.
011907,000022: 
011908,000023:                                                                                                  #  THE INPUTS ARE  1) THE SEXTANT SHAFT AND TRUNNION ANGLES ARE STORED SP IN LOCATIONS 3 AND 5 RESPECTIVELY OF THE
011909,000024:                                                                                                  #  MARK VAC AREA.  2) THE COMPLEMENT OF THE BASE ADDRESS OF THE MARK VAC AREA IS STORED SP AT LOCATION X1 OF YOUR
011910,000025:                                                                                                  #  JOB VAC AREA.
011911,000026: 
011912,000027:                                                                                                  #  THE OUTPUT IS A HALF-UNIT VECTOR IN NAVIGATION BASE COORDINATES AND STORED AT LOCATION 32D OF THE VAC AREA. THE
011913,000028:                                                                                                  #  OUTPUT IS ALSO AVAILABLE AT MPAC.
011914,000029: 
011915,000030: 23,2000                                           COUNT    23/GEOM                               
011916,000031: 
011917,000032: 23,2000           47133        SXTNB              SLOAD*   RTB                                   #  PUSHDOWN 00,02,04,(17D-19D),32D-36D
011918,000033: 23,2001           00006                                    5,1                                   #  TRUNNION = TA
011919,000034: 23,2002           45513                                    CDULOGIC                              
011920,000035: 23,2003           41434                           RTB      PUSH                                  
011921,000036: 23,2004           46027                                    SXTLOGIC                              
011922,000037: 23,2005           72556                           SIN      SL1                                   
011923,000038: 23,2006           66606                           PUSH     SLOAD*                                #  PD2 = SIN(TA)
011924,000039: 23,2007           00004                                    3,1                                   #  SHAFT = SA
011925,000040: 23,2010           41434                           RTB      PUSH                                  #  PD4 = SA
011926,000041: 23,2011           45513                                    CDULOGIC                              
011927,000042: 
011928,000043: 23,2012           41346                           COS      DMP                                   
011929,000044: 23,2013           00003                                    2                                     
011930,000045: 23,2014           14041                           STODL    STARM                                 #  COS(SA)SIN(TA)
011931,000046: 
011932,000047: 23,2015           41356                           SIN      DMP                                   
011933,000048: 23,2016           77626                           STADR                                          
011934,000049: 23,2017           63734                           STODL    STARM      +2                         #  SIN(SA)SIN(TA)
011935,000050: 
011936,000051: 23,2020           77746                           COS                                            
011937,000052: 23,2021           24045                           STOVL    STARM      +4                         
011938,000053: 23,2022           00041                                    STARM                                 #  STARM = 32D
011939,000054: 23,2023           76521                           MXV      VSL1                                  
011940,000055: 23,2024           06302                                    NB1NB2                                
011941,000056: 23,2025           00041                           STORE    32D                                   
011942,000057: 23,2026           77616                           RVQ                                            
011943,000058: 
011944,000059: 23,2027           32323        SXTLOGIC           CAF      10DEGS-                               #  CORRECT FOR 19.775 DEGREE OFFSET
011945,000060: 23,2030           26154                           ADS      MPAC                                  
011946,000061: 23,2031           35017                           CAF      QUARTER                               
011947,000062: 23,2032           07256                           TC       SHORTMP                               
011948,000063: 23,2033           06030                           TC       DANZIG                                
011949,000064: 
011950,000065:                                                                                                  #  CALCSXA COMPUTES THE SEXTANT SHAFT AND TRUNNION ANGLES REQUIRED TO POSITION THE OPTICS SUCH THAT A STAR LINE-
011951,000066:                                                                                                  #  OF-SIGHT LIES ALONG THE STAR VECTOR.  THE ROUTINE TAKES THE GIVEN STAR VECTOR AND EXPRESSES IT AS A VECTOR REF-
011952,000067:                                                                                                  #  ERENCED TO THE OPTICS COORDINATE SYSTEM.  IN ADDITION IT SETS UP THREE UNIT VECTORS DEFINING THE X, Y, AND Z AXES
011953,000068:                                                                                                  #  REFERENCED TO THE OPTICS COORDINATE SYSTEM.
011954,000069: 
011955,000070:                                                                                                  #  THE INPUTS ARE  1) THE STAR VECTOR REFERRED TO PRESENT STABLE MEMBER COORDINATES STORED AT STAR.  2) SAME ANGLE
011956,000071:                                                                                                  #  INPUT AS *SMNB*, I.E. SINES AND COSINES OF THE CDU ANGLES, IN THE ORDER Y Z X, AT SINCDU AND COSCDU.  A CALL
011957,000072:                                                                                                  #  TO CDUTRIG WILL PROVIDE THIS INPUT.
011958,000073: 
011959,000074:                                                                                                  #  THE OUTPUTS ARE THE SEXTANT SHAFT AND TRUNNION ANGLES STORED DP AT SAC AND PAC RESPECTIVELY.  (LOW ORDER PART
011960,000075:                                                                                                  #  EQUAL TO ZERO).
011961,000076: 
011962,000077: 23,2034           77220        CALCSXA            ITA      VLOAD                                 #  PUSHDOWN 00-26D, 28D, 30D, 32D-36D
011963,000078: 23,2035           00034                                    28D                                   
011964,000079: 23,2036           02766                                    STAR                                  
011965,000080: 23,2037           77624                           CALL                                           
011966,000081: 23,2040           47646                                    *SMNB*                                
011967,000082: 23,2041           76521                           MXV      VSL1                                  
011968,000083: 23,2042           06260                                    NB2NB1                                
011969,000084: 23,2043           26766                           STOVL    STAR                                  
011970,000085: 23,2044           15332                                    HIUNITX                               
011971,000086: 23,2045           26555                           STOVL    XNB1                                  
011972,000087: 23,2046           15330                                    HIUNITY                               
011973,000088: 23,2047           26563                           STOVL    YNB1                                  
011974,000089: 23,2050           15326                                    HIUNITZ                               
011975,000090: 23,2051           36571                           STCALL   ZNB1                                  
011976,000091: 23,2052           46076                                    SXTANG1                               
011977,000092: 
011978,000093:                                                                                                  #  SXTANG COMPUTES THE SEXTANT SHAFT AND TRUNNION ANGLES REQUIRED TO POSITION THE OPTICS SUCH THAT A STAR LINE-OF-
011979,000094:                                                                                                  #  SIGHT LIES ALONG THE STAR VECTOR.
011980,000095: 
011981,000096:                                                                                                  #  THE INPUTS ARE  1) THE STAR VECTOR REFERRED TO ANY COORDINATE SYSTEM STORED AT STAR.  2) THE NAVIGATION BASE
011982,000097:                                                                                                  #  COORDINATES REFERRED TO THE SAME COORDINATE SYSTEM.  THESE THREE HALF-UNIT VECTORS ARE STORED AT XNB, YNB,AND
011983,000098:                                                                                                  #  ZNB.
011984,000099: 
011985,000100:                                                                                                  #  THE OUTPUTS ARE THE SEXTANT SHAFT AND TRUNNION ANGLES STORED DP AT SAC AND PAC RESPECTIVELY.  (LOW ORDER PART
011986,000101:                                                                                                  #  EQUAL TO ZERO).
011987,000102: 
011988,000103: 23,2053           47020        SXTANG             ITA      RTB                                   #  PUSHDOWN 16D,18D,22D-26D,28D
011989,000104: 23,2054           00034                                    28D                                   
011990,000105: 23,2055           45662                                    TRANSP1                               #  EREF WRT NB2
011991,000106: 23,2056           64375                           VLOAD    MXV                                   
011992,000107: 23,2057           02714                                    XNB                                   
011993,000108: 23,2060           06260                                    NB2NB1                                
011994,000109: 23,2061           77772                           VSL1                                           
011995,000110: 23,2062           26555                           STOVL    XNB1                                  
011996,000111: 23,2063           02722                                    YNB                                   
011997,000112: 23,2064           76521                           MXV      VSL1                                  
011998,000113: 23,2065           06260                                    NB2NB1                                
011999,000114: 23,2066           26563                           STOVL    YNB1                                  
012000,000115: 23,2067           02730                                    ZNB                                   
012001,000116: 23,2070           76521                           MXV      VSL1                                  
012002,000117: 23,2071           06260                                    NB2NB1                                
012003,000118: 23,2072           02571                           STORE    ZNB1                                  
012004,000119: 
012005,000120: 23,2073           47034                           RTB      RTB                                   
012006,000121: 23,2074           45662                                    TRANSP1                               
012007,000122: 23,2075           45676                                    TRANSP2                               
012008,000123: 
012009,000124: 23,2076           47375        SXTANG1            VLOAD    VXV                                   
012010,000125: 23,2077           02571                                    ZNB1                                  
012011,000126: 23,2100           02766                                    STAR                                  
012012,000127: 23,2101           77600                           BOV                                            
012013,000128: 23,2102           46103                                    +1                                    
012014,000129: 23,2103           40056                           UNIT     BOV                                   
012015,000130: 23,2104           46145                                    ZNB=S1                                
012016,000131: 23,2105           00027                           STORE    PDA                                   #  PDA = UNIT(ZNB X S)
012017,000132: 
012018,000133: 23,2106           57441                           DOT      DCOMP                                 
012019,000134: 23,2107           02555                                    XNB1                                  
012020,000135: 23,2110           24023                           STOVL    SINTH                                 #  SIN(SA) = PDA . -XNB
012021,000136: 23,2111           00027                                    PDA                                   
012022,000137: 
012023,000138: 23,2112           77641                           DOT                                            
012024,000139: 23,2113           02563                                    YNB1                                  
012025,000140: 23,2114           34021                           STCALL   COSTH                                 #  COS(SA) = PDA . YNB
012026,000141: 23,2115           47260                                    ARCTRIG                               
012027,000142: 23,2116           77634                           RTB                                            
012028,000143: 23,2117           45546                                    1STO2S                                
012029,000144: 23,2120           26774                           STOVL    SAC                                   
012030,000145: 23,2121           02766                                    STAR                                  
012031,000146: 23,2122           77600                           BOV                                            
012032,000147: 23,2123           46124                                    +1                                    
012033,000148: 23,2124           72441                           DOT      SL1                                   
012034,000149: 23,2125           02571                                    ZNB1                                  
012035,000150: 23,2126           77726                           ACOS                                           
012036,000151: 23,2127           62440                           BMN      SL2                                   
012037,000152: 23,2130           46142                                    SXTALARM                              #  TRUNNION ANGLE NEGATIVE
012038,000153: 23,2131           45200                           BOV      DSU                                   
012039,000154: 23,2132           46142                                    SXTALARM                              #  TRUNNION ANGLE GREATER THAN 90 DEGREES
012040,000155: 23,2133           06331                                    20DEG-                                
012041,000156: 23,2134           77634                           RTB                                            
012042,000157: 23,2135           45546                                    1STO2S                                
012043,000158: 23,2136           02776                           STORE    PAC                                   #  FOR FLIGHT USE, CULTFLAG IS ON IF
012044,000159: 23,2137           77614                           CLRGO                                          #  TRUNION IS GREATER THAN 90 DEG
012045,000160: 23,2140           01630                                    CULTFLAG                              
012046,000161: 23,2141           00034                                    28D                                   
012047,000162: 23,2142           77614        SXTALARM           SETGO                                          #  ALARM HAS BEEN REMOVED FROM THIS
012048,000163: 23,2143           01430                                    CULTFLAG                              
012049,000164: 23,2144           00034                                    28D                                   #  SUBROUTINE, ALARM WILL BE SET BY MPI
012050,000165: 23,2145           77745        ZNB=S1             DLOAD                                          
012051,000166: 23,2146           06325                                    270DEG                                
012052,000167: 23,2147           16774                           STODL    SAC                                   
012053,000168: 23,2150           06327                                    20DEGS-                               
012054,000169: 23,2151           02776                           STORE    PAC                                   
012055,000170: 23,2152           77614                           CLRGO                                          
012056,000171: 23,2153           01630                                    CULTFLAG                              
012057,000172: 23,2154           00034                                    28D                                   
012058,000173: 
012059,000174:                                                                                                  #  THESE TWO ROUTINES COMPUTE THE ACTUAL STATE VECTOR FOR LM, CSM BY ADDING
012060,000175:                                                                                                  #  THE CONIC R,V AND THE DEVIATIONS R,V.  THE STATE VECTORS ARE CONVERTED TO
012061,000176:                                                                                                  #  METERS B-29 AND METERS/CSEC B-7 AND STORED APPROPRIATELY IN RN,VN OR
012062,000177:                                                                                                  #  R-OTHER, V-OTHER FOR DOWNLINK.  THE ROUTINES NAMES ARE SWITCHED IN THE
012063,000178:                                                                                                  #  OTHER VEHICLES COMPUTER.
012064,000179: 
012065,000180:                                                                                                  #  INPUT
012066,000181:                                                                                                  #        STATE VECTOR IN TEMPORARY STORAGE AREA
012067,000182:                                                                                                  #        IF STATE VECTOR IS SCALED POS B27 AND VEL B5
012068,000183:                                                                                                  #                SET X2 TO +2
012069,000184:                                                                                                  #        IF STATE VECTOR IS SCALED POS B29 AND VEL B7
012070,000185:                                                                                                  #                SET X2 TO 0
012071,000186: 
012072,000187:                                                                                                  #  OUTPUT
012073,000188:                                                                                                  #        R(T) IN RN, V(T) IN VN, T IN PIPTIME
012074,000189:                                                                                                  #                OR
012075,000190:                                                                                                  #        R(T) IN R-OTHER, V(T) IN V-OTHER        (T IS DEFINED BY T-OTHER)
012076,000191: 
012077,000192: 23,2155                                           BANK     23                                    
012078,000193: 10,2000                                           SETLOC   COMGEOM2                              
012079,000194: 10,2000                                           BANK                                           
012080,000195: 10,2237                                           COUNT    10/GEOM                               
012081,000196: 10,2237           43414        SVDWN1             BOF      RVQ                                   #  SW=1=AVETOMID DOING W-MATRIX INTEG
012082,000197: 10,2240           04756                                    AVEMIDSW                              
012083,000198: 10,2241           20242                                    +1                                    
012084,000199: 10,2242           53775                           VLOAD    VSL*                                  
012085,000200: 10,2243           01521                                    TDELTAV                               
012086,000201: 10,2244           57605                                    0          -7,2                       
012087,000202: 10,2245           53655                           VAD      VSL*                                  
012088,000203: 10,2246           01535                                    RCV                                   
012089,000204: 10,2247           57576                                    0,2                                   
012090,000205: 10,2250           25171                           STOVL    RN                                    
012091,000206: 10,2251           01527                                    TNUV                                  
012092,000207: 10,2252           53257                           VSL*     VAD                                   
012093,000208: 10,2253           57602                                    0          -4,2                       
012094,000209: 10,2254           01543                                    VCV                                   
012095,000210: 10,2255           77657                           VSL*                                           
012096,000211: 10,2256           57576                                    0,2                                   
012097,000212: 10,2257           15177                           STODL    VN                                    
012098,000213: 10,2260           01517                                    TET                                   
012099,000214: 10,2261           01205                           STORE    PIPTIME                               
012100,000215: 10,2262           77616                           RVQ                                            
012101,000216: 
012102,000217: 10,2263           53775        SVDWN2             VLOAD    VSL*                                  
012103,000218: 10,2264           01521                                    TDELTAV                               
012104,000219: 10,2265           57605                                    0          -7,2                       
012105,000220: 10,2266           53655                           VAD      VSL*                                  
012106,000221: 10,2267           01535                                    RCV                                   
012107,000222: 10,2270           57576                                    0,2                                   
012108,000223: 10,2271           25722                           STOVL    R-OTHER                               
012109,000224: 10,2272           01527                                    TNUV                                  
012110,000225: 10,2273           53257                           VSL*     VAD                                   
012111,000226: 10,2274           57602                                    0          -4,2                       
012112,000227: 10,2275           01543                                    VCV                                   
012113,000228: 10,2276           77657                           VSL*                                           
012114,000229: 10,2277           57576                                    0,2                                   
012115,000230: 10,2300           01730                           STORE    V-OTHER                               
012116,000231: 10,2301           77616                           RVQ                                            
012117,000232: 
012118,000233:                                                                                                  #  SUBROUTINE TO COMPUTE THE NATURAL LOG OF C(MPAC, MPAC +1).
012119,000234: 
012120,000235:                                                                                                  #        ENTRY:  CALL
012121,000236:                                                                                                  #                        LOG
012122,000237: 
012123,000238:                                                                                                  #  SUBROUTINE RETURNS WITH -LOG IN DP MPAC.
012124,000239: 
012125,000240:                                                                                                  #  EBANK IS ARBITRARY..
012126,000241: 
012127,000242: 14,2000                                           BANK     14                                    
012128,000243: 23,2000                                           SETLOC   POWFLIT2                              
012129,000244: 23,2000                                           BANK                                           
012130,000245: 23,2155                                           COUNT    23/GEOM                               
012131,000246: 
012132,000247: 23,2155           44301        LOG                NORM     BDSU                                  #  GENERATES LOG BY SHIFTING ARG
012133,000248: 23,2156           00160                                    MPAC       +3                         #  UNTIL IT LIES BETWEEN .5 AND 1.
012134,000249: 23,2157           06212                                    NEARLY1                               #  THE LOG OF THIS PART IS FOUND AND THE
012135,000250: 23,2160           77776                           EXIT                                           #  LOG OF THE SHIFTED PART IS COMPUTED
012136,000251: 23,2161           07171                           TC       POLY                                  #  AND ADDED IN.  SHIFT COUNT STORED
012137,000252: 23,2162           00002                           DEC      2          B-14                       #  (N-1, SUPPLIED BY SMERZH)
012138,000253: 23,2163           00000 00000                     2DEC     0          B-28                       #  IN MPAC +3.
012139,000254: 23,2165           01001 14636                     2DEC     .031335467                            
012140,000255: 23,2167           00325 07310                     2DEC     .0130145859                            
012141,000256: 23,2171           00541 16735                     2DEC     .0215738898                            
012142,000257: 
012143,000258: 23,2173           35035                           CAF      ZERO                                  
012144,000259: 23,2174           54156                           TS       MPAC       +2                         
012145,000260: 23,2175           00006                           EXTEND                                         
012146,000261: 23,2176           32214                           DCA      CLOG2/32                              
012147,000262: 23,2177           52155                           DXCH     MPAC                                  
012148,000263: 23,2200           52160                           DXCH     MPAC       +3                         
012149,000264: 23,2201           40000                           COM                                            #  LOAD POSITIVE SHIFT COUNT IN A.
012150,000265: 23,2202           07256                           TC       SHORTMP                               #  MULTIPLY BY SHIFT COUNT.
012151,000266: 
012152,000267: 23,2203           52156                           DXCH     MPAC       +1                         
012153,000268: 23,2204           52155                           DXCH     MPAC                                  
012154,000269: 23,2205           52160                           DXCH     MPAC       +3                         
012155,000270: 23,2206           20155                           DAS      MPAC                                  
012156,000271: 23,2207           06006                           TC       INTPRET                               #  RESULT IN MPAC, MPAC +1
012157,000272: 
012158,000273: 23,2210           77616                           RVQ                                            
012159,000274: 
012160,000275: 23,2211           37777 37777  NEARLY1            2DEC     .999999999                            
012161,000276: 
012162,000277: 23,2213           00542 34414  CLOG2/32           2DEC     .0216608494                            
012163,000278: 
012164,000279:                                                                                                  #  SUBROUTINE NAME:  EARTH ROTATOR       (EARROT1 OR EARROT2)            DATE:  15 FEB 67
012165,000280:                                                                                                  #  MOD NO:  N +1                                                         LOG SECTION:  POWERED FLIGHT SUBROS
012166,000281:                                                                                                  #  MOD BY:  ENTRY GROUP (BAIRNSFATHER)
012167,000282: 
012168,000283:                                                                                                  #  FUNCTIONAL DESCRIPTION:  THIS ROUTINE PROJECTS THE INITIAL EARTH TARGET VECTOR RTINIT AHEAD THROUGH
012169,000284:                                                                                                  #        THE ESTIMATED TIME OF FLIGHT.  INITIAL CALL RESOLVES THE INITIAL TARGET VECTOR RTINIT INTO EASTERLY
012170,000285:                                                                                                  #        AND NORMAL COMPONENTS RTEAST AND RTNORM.  INITIAL AND SUBSEQUENT CALLS ROTATE THIS VECTOR
012171,000286:                                                                                                  #        ABOUT THE (FULL) UNIT POLAR AXIS UNITW THROUGH THE ANGLE  WIE DTEAROT  TO OBTAIN THE ROTATED
012172,000287:                                                                                                  #        TARGET VECTOR RT.  ALL VECTORS EXCEPT UNITW ARE HALF UNIT.
012173,000288:                                                                                                  #        THE EQUATIONS ARE
012174,000289:                                                                                                  #                -    -        -                      -
012175,000290:                                                                                                  #                RT = RTINIT + RTNORM (COS(WT) - 1) + RTEAST SIN(WT)
012176,000291: 
012177,000292:                                                                                                  #        WHERE   WT = WIE DTEAROT
012178,000293: 
012179,000294:                                                                                                  #                RTINIT = INITIAL TARGET VECTOR
012180,000295:                                                                                                  #                -        -       -
012181,000296:                                                                                                  #                RTEAST = UNITW * RTINIT
012182,000297:                                                                                                  #                -        -        -
012183,000298:                                                                                                  #                RTNORM = RTEAST * UNITW
012184,000299: 
012185,000300:                                                                                                  #        FOR CONTINUOUS UPDATING, ONLY ONE ENTRY TO EARROT1 IS REQUIRED, WITH SUBSEQUENT ENTRIES AT EARROT2.
012186,000301:                                                                                                  #        
012187,000302:                                                                                                  #  CALLING SEQUENCE:     FIRST CALL                      SUBSEQUENT CALL
012188,000303:                                                                                                  #                        STCALL  DTEAROT                 STCALL  DTEAROT
012189,000304:                                                                                                  #                                EARROT1                         EARROT2
012190,000305:                                                                                                  #                        C(MPAC) UNSPECIFIED             C(MPAC) = DTEAROT
012191,000306:                                                                                                  #        PUSHLOC = PDL+0, ARBITRARY.  6 LOCATIONS USED.
012192,000307: 
012193,000308:                                                                                                  #  SUBROUTINES USED:  NONE
012194,000309: 
012195,000310:                                                                                                  #  NORMAL EXIT MODES:  RVQ
012196,000311: 
012197,000312:                                                                                                  #  ALARMS:  NONE
012198,000313: 
012199,000314:                                                                                                  #  OUTPUT:       RTEAST  (-1)            .5 UNIT VECTOR EAST, COMPNT OF RTINIT   LEFT BY FIRST CALL
012200,000315:                                                                                                  #                RTNORM  (-1)            .5 UNIT VECTOR NORML, COMPNT OF RTINIT  LEFT BY FIRST CALL
012201,000316:                                                                                                  #                RT      (-1)            .5 UNIT TARGET VECTOR, ROTATED          LEFT BY ALL CALLS
012202,000317:                                                                                                  #                DTEAROT (-28) CS        MAY BE CHANGED BY EARROT2, IF OVER 1 DAY
012203,000318: 
012204,000319:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED:
012205,000320:                                                                                                  #                UNITW   (0)             UNIT POLAR VECTOR                       PAD LOADED
012206,000321:                                                                                                  #                RTINIT  (-1)            .5 UNIT INITIAL TARGET VECTOR           LEFT BY ENTRY
012207,000322:                                                                                                  #                DTEAROT (-28) CS        TIME OF FLIGHT                          LEFT BY CALLER
012208,000323: 
012209,000324:                                                                                                  #  DEBRIS:  QPRET, PDL+0 ... PDL+5
012210,000325: 23,2215  E7,1451                                  EBANK=   RTINIT                                
012211,000326: 
012212,000327: 23,2215           47375        EARROT1            VLOAD    VXV                                   
012213,000328: 23,2216           01714                                    UNITW                                 #  FULL UNIT VECTOR
012214,000329: 23,2217           03452                                    RTINIT                                #  .5 UNIT
012215,000330: 23,2220           03460                           STORE    RTEAST                                #  .5 UNIT
012216,000331: 
012217,000332: 23,2221           77635                           VXV                                            
012218,000333: 23,2222           01714                                    UNITW                                 #  FULL UNIT
012219,000334: 23,2223           17466                           STODL    RTNORM                                #  .5 UNIT
012220,000335: 23,2224           03606                                    DTEAROT                               #  (-28) CS
012221,000336: 
012222,000337: 23,2225           56204        EARROT2            BOVB     DDV                                   
012223,000338: 23,2226           57353                                    TCDANZIG                              #  RESET OVFIND, IF ON
012224,000339: 23,2227           06256                                    1/WIE                                 
012225,000340: 23,2230           41400                           BOV      PUSH                                  
012226,000341: 23,2231           46245                                    OVERADAY                              
012227,000342: 23,2232           45346                           COS      DSU                                   
012228,000343: 23,2233           15332                                    HIDPHALF                              
012229,000344: 23,2234           65361                           VXSC     PDDL                                  #  XCH W PUSH LIST
012230,000345: 23,2235           03466                                    RTNORM                                #  .5 UNIT
012231,000346: 23,2236           74356                           SIN      VXSC                                  
012232,000347: 23,2237           03460                                    RTEAST                                #  .5 UNIT
012233,000348: 23,2240           76455                           VAD      VSL1                                  
012234,000349: 23,2241           53455                           VAD      UNIT                                  #  INSURE THAT RT IS 'UNIT'.
012235,000350: 23,2242           03452                                    RTINIT                                #  .5 UNIT
012236,000351: 23,2243           03474                           STORE    RT                                    #  .5 UNIT TARGET VECTOR
012237,000352: 
012238,000353: 23,2244           77616                           RVQ                                            
012239,000354: 
012240,000355: 23,2245           75345        OVERADAY           DLOAD    SIGN                                  
012241,000356: 23,2246           06256                                    1/WIE                                 
012242,000357: 23,2247           03606                                    DTEAROT                               
012243,000358: 23,2250           77621                           BDSU                                           
012244,000359: 23,2251           03606                                    DTEAROT                               
012245,000360: 23,2252           03606                           STORE    DTEAROT                               
012246,000361: 
012247,000362: 23,2253           77650                           GOTO                                           
012248,000363: 23,2254           46225                                    EARROT2                               
012249,000364: 
012250,000365:                                                                                                  # WIE            2DEC    .1901487997
012251,000366: 23,2255           01015 34732  1/WIE              2DEC     8616410    B-28                       
012252,000367: 23,2257           15373 11346  NB2NB1             2DEC     +.8431756920 B-1                        
012253,000368: 23,2261           00000 00000                     2DEC     0          B-28                       
012254,000369: 23,2263           67313 65307                     2DEC     -.5376381241 B-1                        
012255,000370: 23,2265           00000 00000  ZERINFLT           2DEC     0          B-28                       
012256,000371: 23,2267           20000 00000  HALFNFLT           2DEC     .5                                    
012257,000372: 23,2271           00000 00000                     2DEC     0          B-28                       
012258,000373: 23,2273           10464 12470                     2DEC     +.5376381241 B-1                        
012259,000374: 23,2275           00000 00000                     2DEC     0          B-28                       
012260,000375: 23,2277           15373 11346                     2DEC     +.8431756920 B-1                        
012261,000376: 23,2301           15373 11346  NB1NB2             2DEC     +.8431756920 B-1                        
012262,000377: 23,2303           00000 00000                     2DEC     0          B-28                       
012263,000378: 23,2305           10464 12470                     2DEC     +.5376381241 B-1                        
012264,000379: 23,2307           00000 00000                     2DEC     0          B-28                       
012265,000380: 23,2311           20000 00000                     2DEC     .5                                    
012266,000381: 23,2313           00000 00000                     2DEC     0          B-28                       
012267,000382: 23,2315           67313 65307                     2DEC     -.5376381241 B-1                        
012268,000383: 23,2317           00000 00000                     2DEC     0          B-28                       
012269,000384: 23,2321           15373 11346                     2DEC     +.8431756920 B-1                        
012270,000385: 23,2323           07020        10DEGS-            DEC      3600       B-14                       
012271,000386: 23,2324           60000        270DEG             OCT      60000                                 #  SHAFT 270 DEGREES     2S COMP.
012272,000387: 23,2325           00000                           OCT      00000                                 
012273,000388: 23,2326           61740        20DEGS-            DEC      -07199     B-14                       
012274,000389: 23,2327           77777                           DEC      -00000     B-14                       
012275,000390: 23,2330           07020        20DEG-             DEC      03600      B-14                       
012276,000391: 23,2331           00000                           DEC      00000      B-14                       
012277,000392: 

End of include-file CSM_GEOMETRY.agc.  Parent file is MAIN.agc