Source Code

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

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

Annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change relative to Comanche 44. Here's a guide to the Apollo documentation referenced in those annotations:
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.

040809,000002:                                                                                                  ## Copyright:   Public domain.
040810,000003:                                                                                                  ## Filename:    TVCINITIALIZE.agc
040811,000004:                                                                                                  ## Purpose:     A section of Manche45 revision 2.
040812,000005:                                                                                                  ##              It is part of the reconstructed source code for the
040813,000006:                                                                                                  ##              final, flown release of the flight software for the Command
040814,000007:                                                                                                  ##              Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
040815,000008:                                                                                                  ##              The code has been recreated from a copy of Comanche 055. It
040816,000009:                                                                                                  ##              has been adapted such that the resulting bugger words
040817,000010:                                                                                                  ##              exactly match those specified for Manche 45/2 in NASA drawing
040818,000011:                                                                                                  ##              2021153D, which gives relatively high confidence that the
040819,000012:                                                                                                  ##              reconstruction is correct.
040820,000013:                                                                                                  ## Assembler:   yaYUL
040821,000014:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
040822,000015:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
040823,000016:                                                                                                  ## Mod history: 2020-12-24 MAS  Created from Comanche 45.
040824,000017: 

Page 937

040826,000019:                                                                                                  #  NAME          TVCDAPON (TVC DAP INITIALIZATION AND STARTUP CALL)
040827,000020:                                                                                                  #  LOG SECTION...TVCINITIALIZE                   SUBROUTINE...DAPCSM
040828,000021:                                                                                                  #  MODIFIED BY SCHLUNDT                          21 OCTOBER 1968
040829,000022:                                                                                                  #  FUNCTIONAL DESCRIPTION
040830,000023:                                                                                                  #        PERFORMS TVCDAP INITIALIZATION (GAINS, TIMING PARAMETERS, FILTER VARIABLES, ETC.)
040831,000024:                                                                                                  #        COMPUTES STEERING (S40.8) GAIN KPRIMEDT, AND ZEROES PASTDELV,+1 VARIABLE
040832,000025:                                                                                                  #        MAKES INITIALIZATION CALL TO ..NEEDLER.. FOR TVC DAP NEEDLES-SETUP
040833,000026:                                                                                                  #        PERFORMS INITIALIZATION FOR ROLL DAP
040834,000027:                                                                                                  #        CALLS TVCEXECUTIVE AT TVCEXEC, VIA WAITLIST
040835,000028:                                                                                                  #        CALLS TVCDAP CDU-RATE INITIALIZATION PKG AT DAPINIT  VIA T5
040836,000029:                                                                                                  #        PROVIDES FOR LOADING OF LOW-BANDWIDTH COEFFS AND GAINS AT SWICHOVR
040837,000030:                                                                                                  #  CALLING SEQUENCE - T5LOC=2CADR(TVCDAPON,EBANK=BZERO), T5=.6SECT5
040838,000031:                                                                                                  #        IN PARTICULAR, CALLED BY ..DOTVCON.. IN P40
040839,000032:                                                                                                  #        MRCLEAN AND TVCINIT4 ARE POSSIBLE RESTART ENTRY POINTS
040840,000033:                                                                                                  #  NORMAL EXIT MODE
040841,000034:                                                                                                  #        TCF RESUME
040842,000035:                                                                                                  #  SUBROUTINES CALLED
040843,000036:                                                                                                  #        NEEDLER, MASSPROP
040844,000037:                                                                                                  #  ALARM OR ABORT EXIT MODES
040845,000038:                                                                                                  #        NONE
040846,000039:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED
040847,000040:                                                                                                  #        CSMMASS, LEMMASS, DAPDATR1 (FOR MASSPROP SUBROUTINE)
040848,000041:                                                                                                  #        TVC PAD LOADS (SEE EBANK6 IN ERASABLE ASSIGNMENTS)
040849,000042:                                                                                                  #        PACTOFF, YACTOFF, CDUX
040850,000043:                                                                                                  #        TVCPHASE AND THE T5 BITS OF FLAGWRD6 (SET AT DOTVCON IN P40)
040851,000044:                                                                                                  #  OUTPUT
040852,000045:                                                                                                  #        ALL TVC AND ROLL DAP ERASABLES, FLAGWRD6 (BITS 13,14), T5, WAITLIST
040853,000046:                                                                                                  #  DEBRIS
040854,000047:                                                                                                  #        NONE
040855,000048: 
040856,000049: 42,3772                                           COUNT*   $$/INIT                               
040857,000050: 17,2153                                           BANK     17                                    
040858,000051: 17,2000                                           SETLOC   DAPS7                                 
040859,000052: 17,2000                                           BANK                                           
040860,000053: 
040861,000054: 17,2153  E6,1702                                  EBANK=   BZERO                                 
040862,000055: 
040863,000056: 17,2153           22016        TVCDAPON           LXCH     BANKRUPT                              #  T5 RUPT ARRIVAL (CALL BY DOTVCON - P40)
040864,000057: 17,2154           00006                           EXTEND                                         #  SAVE Q REQUIRED IN RESTARTS (MRCLEAN AND
040865,000058: 17,2155           22012                           QXCH     QRUPT                                 #        TVCINIT4 ARE ENTRIES)
040866,000059: 17,2156           32534        MRCLEAN            CAF      NZERO                                 #  NUMBER TO ZERO, LESS ONE  (MUST BE ODD)
040867,000060:                                                                                                  #        TVC RESTARTS ENTER HERE  (NEW BANK)
040868,000061: 17,2157           10000                 +1        CCS      A                                     
040869,000062: 17,2160           55447                           TS       CNTR                                  
040870,000063: 17,2161           35021                           CAF      ZERO                                  
040871,000064: 17,2162           54001                           TS       L                                     
040872,000065: 17,2163           51447                           INDEX    CNTR                                  
040873,000066: 17,2164           53530                           DXCH     OMEGAYC                               #  FIRST (LAST) TWO LOCATIONS
040874,000067: 17,2165           11447                           CCS      CNTR                                  
040875,000068: 17,2166           12157                           TCF      MRCLEAN    +1                         

Page 938

040877,000070: 17,2167           00006                           EXTEND                                         #  SET UP ANOTHER T5 RUPT TO CONTINUE
040878,000071: 17,2170           32551                           DCA      INITLOC2                              #        INITIALIZATION AT TVCINIT1
040879,000072: 17,2171           53313                           DXCH     T5LOC                                 #  THE PHSCHK2 ENTRY (REDOTVC) AT TVCDAPON
040880,000073: 17,2172           34777                           CAF      POSMAX                                #        +3 IS IN ANOTHER BANK.  MUST RESET
040881,000074: 17,2173           54030                           TS       TIME5                                 #        BBCON TOO (FULL 2CADR), FOR THAT
040882,000075: 17,2174           15333        ENDMRC             TCF      RESUME                                #        ENTRY.
040883,000076: 
040884,000077: 17,2175           22016        TVCINIT1           LXCH     BANKRUPT                              
040885,000078: 17,2176           00006                           EXTEND                                         
040886,000079: 17,2177           22012                           QXCH     QRUPT                                 
040887,000080: 
040888,000081: 17,2200           04740                           TC       IBNKCALL                              #  UPDATE IXX, IAVG/TLX FOR DAP GAINS (R03
040889,000082: 17,2201           13366                           CADR     MASSPROP                              #        OR NOUNS 46 AND 47 MUST BE CORRECT)
040890,000083: 
040891,000084: 17,2202           30110                           CAE      EMDOT                                 #  SPS FLOW RATE, SCALED B+3 KG/CS
040892,000085: 17,2203           00006                           EXTEND                                         
040893,000086: 17,2204           72545                           MP       ONETHOU                               
040894,000087: 17,2205           55637                           TS       TENMDOT                               #  10-SEC MASS LOSS B+16 KG
040895,000088: 17,2206           40000                           COM                                            
040896,000089: 17,2207           61474                           AD       CSMMASS                               
040897,000090: 17,2210           55652                           TS       MASSTMP                               #  DECREMENT FOR FIRST 10 SEC OF BURN
040898,000091: 
040899,000092: 17,2211           31466                           CAE      DAPDATR1                              #  CHECK LEM-ON/OFF
040900,000093: 17,2212           75002                           MASK     BIT14                                 
040901,000094: 17,2213           10000                           CCS      A                                     
040902,000095: 17,2214           35017                           CAF      BIT1                                  #  LEM-ON (BIT1)
040903,000096: 17,2215           55447                           TS       CNTR                                  #  LEM-OFF (ZERO)
040904,000097: 
040905,000098: 17,2216           51447                           INDEX    CNTR                                  #  LOAD THE FILTER COEFFICIENTS
040906,000099: 17,2217           32531                           CAF      CSMCFADR                              
040907,000100: 17,2220           55722                           TS       COEFFADR                              
040908,000101: 17,2221           02422                           TC       LOADCOEF                              
040909,000102: 
040910,000103: 17,2222           51447                           INDEX    CNTR                                  #  PICK UP LM-OFF,-ON KTLX/I
040911,000104: 17,2223           31416                           CAE      EKTLX/I                               #  SCALED AT 1/(8 ASCREV) OF ACTUAL VALUE
040912,000105: 17,2224           55636                           TS       KTLX/I                                
040913,000106: 
040914,000107: 17,2225           02462                           TCR      S40.15                                #  COMPUTE 1/CONACC, VARK
040915,000108: 
040916,000109: 17,2226           41447        TVCINIT2           CS       CNTR                                  #  PICK LM-OFF,-ON VALUE FOR FILTER PERIOD
040917,000110: 17,2227           50000                           INDEX    A                                     #  DETERMINATION:
040918,000111: 17,2230           35016                           CAF      BIT2                                  #        BIT2 FOR CSM ONLY 40MS FILTER
040919,000112: 17,2231           55634                           TS       KPRIMEDT                              #        BIT3 FOR CSM/LM 80MS FILTER
040920,000113: 
040921,000114: 17,2232           40000                           COM                                            #  PREPARE T5TVCDT
040922,000115: 17,2233           64777                           AD       POSMAX                                
040923,000116: 17,2234           65017                           AD       BIT1                                  
040924,000117: 17,2235           55625                           TS       T5TVCDT                               
040925,000118: 
040926,000119: 17,2236           45001                           CS       BIT15                                 #  RESET SWTOVER FLAG

Page 939

040928,000121: 17,2237           70105                           MASK     FLAGWRD9                              
040929,000122: 17,2240           54105                           TS       FLAGWRD9                              
040930,000123: 
040931,000124: 17,2241           51447                           INDEX    CNTR                                  #  PICK UP LEM-OFF,-ON KPRIME
040932,000125: 17,2242           31414                           CAE      EKPRIME                               #        SCALED (100 PI)/16
040933,000126: 17,2243           00006                           EXTEND                                         
040934,000127: 17,2244           71634                           MP       KPRIMEDT                              #  (TVCDT/2, SC.AT B+14 CS)
040935,000128: 17,2245           22000                           LXCH     A                                     #        SC.AT PI/8      (DIMENSIONLESS)
040936,000129: 17,2246           53635                           DXCH     KPRIMEDT                              
040937,000130: 
040938,000131: 17,2247           51447                           INDEX    CNTR                                  #  PICK UP LEM-OFF,-ON REPFRAC
040939,000132: 17,2250           31421                           CAE      EREPFRAC                              
040940,000133: 17,2251           55642                           TS       REPFRAC                               
040941,000134: 
040942,000135: 17,2252           51447                           INDEX    CNTR                                  #  PICK UP ONE-SHOT CORRECTION TIME
040943,000136: 17,2253           32540                           CAF      TCORR                                 
040944,000137: 17,2254           55447                           TS       CNTR                                  
040945,000138: 
040946,000139: 17,2255           37716                           CAF      NEGONE                                #  PREVENT STROKE TEST UNTIL CALLED
040947,000140: 17,2256           55654                           TS       STRKTIME                              
040948,000141: 
040949,000142: 17,2257           34374                           CAF      NINETEEN                              #  SET VCNTR FOR VARIABLE-GAIN UPDATES IN
040950,000143: 17,2260           55643                           TS       VCNTR                                 #        10 SECONDS (TVCEXEC 1/2 SEC RATE)
040951,000144: 17,2261           55444                           TS       V97VCNTR                              #  FOR ENGFAIL (R41) LOGIC
040952,000145: 
040953,000146: 17,2262           31423        TVCINIT3           CAE      PACTOFF                               #  TRIM VALUES TO TRIM-TRACKERS, OUTPUT
040954,000147: 17,2263           55605                           TS       PDELOFF                               #        TRACKERS, OFFSET-UPDATES, AND
040955,000148: 17,2264           55623                           TS       PCMD                                  #        OFFSET-TRACKER FILTERS
040956,000149: 17,2265           55601                           TS       DELPBAR                               #        NOTE, LO-ORDER DELOFF,DELBAR ZEROED
040957,000150: 
040958,000151: 17,2266           31424                           CAE      YACTOFF                               
040959,000152: 17,2267           55607                           TS       YDELOFF                               
040960,000153: 17,2270           55624                           TS       YCMD                                  
040961,000154: 17,2271           55603                           TS       DELYBAR                               
040962,000155: 
040963,000156: 17,2272           12317        ATTINIT            TCF      NEEDLEIN                              
040964,000157: 17,2273           55611                 +1        TS       TTMP1                                 
040965,000158: 
040966,000159: 17,2274           51611                           INDEX    TTMP1                                 
040967,000160: 17,2275           31702                           CA       ERRBTMP                               #  ERRBTMP CONTAINS RCS ATTITUDE ERRORS
040968,000161: 17,2276           00006                           EXTEND                                         #        ERRORY & ERRORZ (P40 AT DOTVCON)
040969,000162: 17,2277           72537                           MP       1/ATTLIM                              #  .007325(ERROR) = 0 IF ERROR < 1.5 DEG
040970,000163: 17,2300           00006                           EXTEND                                         
040971,000164: 17,2301           12311                           BZF      +8D                                   #        |ERROR| LESS THAN 1.5 DEG
040972,000165: 17,2302           00006                           EXTEND                                         

Page 940

040974,000167: 17,2303           62306                           BZMF     +3                                    #        |ERROR| > 1.5 DEG, AND NEG
040975,000168: 17,2304           32536                           CA       ATTLIM                                #        |ERROR| > 1.5 DEG, AND POS
040976,000169: 17,2305           12307                           TCF      +2                                    
040977,000170: 17,2306           42536                 +3        CS       ATTLIM                                
040978,000171: 17,2307           51611                 +2        INDEX    TTMP1                                 
040979,000172: 17,2310           55702                           TS       ERRBTMP                               
040980,000173: 17,2311           11611                 +8        CCS      TTMP1                                 #        TEST TEMPORARY COUNTER
040981,000174: 17,2312           12273                           TCF      ATTINIT    +1                         #        BACK TO REPEAT FOR PITCH ERROR
040982,000175: 
040983,000176: 17,2313           31702                           CA       ERRBTMP                               #  ERRORS ESTABLISHED AND LIMITED
040984,000177: 17,2314           55575                           TS       PERRB                                 
040985,000178: 17,2315           31703                           CA       ERRBTMP    +1                         
040986,000179: 17,2316           55577                           TS       YERRB                                 
040987,000180: 
040988,000181: 17,2317           41501        NEEDLEIN           CS       RCSFLAGS                              #  SET BIT 3 FOR INITIALIZATION PASS AND GO
040989,000182: 17,2320           75015                           MASK     BIT3                                  #        TO NEEDLER.  WILL CLEAR FOR TVC DAP
040990,000183: 17,2321           27501                           ADS      RCSFLAGS                              #        (RETURNS AFTER CADR)
040991,000184: 17,2322           04740                           TC       IBNKCALL                              
040992,000185: 17,2323           42420                           CADR     NEEDLER                               
040993,000186: 
040994,000187: 17,2324           35021        TVCINIT4           CAF      ZERO                                  #  SET TVCPHASE TO INDICATE TVCDAPON-THRU-
040995,000188: 17,2325           55644                           TS       TVCPHASE                              #        NEEDLEIN INITIALIZATION FINISHED.
040996,000189:                                                                                                  #        (POSSIBLE TVC-RESTART ENTRY)
040997,000190: 
040998,000191: 17,2326           30032                           CAE      CDUX                                  #  PREPARE ROLL DAP
040999,000192: 17,2327           55662                           TS       OGANOW                                
041000,000193: 
041001,000194: 17,2330           35003                           CAF      BIT13                                 #  IF ENGINE IS ALREADY OFF, ENGINOFF HAS
041002,000195: 17,2331           00006                           EXTEND                                         #        ALREADY ESTABLISHED THE POST-BURN
041003,000196: 17,2332           02011                           RAND     DSALMOUT                              #        CSMMASS (MASSBACK DOES IT).  DONT
041004,000197: 17,2333           00006                           EXTEND                                         #        TOUCH CSMMASS.  IF ENGINE IS ON,
041005,000198: 17,2334           12337                           BZF      +3                                    #        THEN ITS OK TO DO THE COPYCYCLE
041006,000199:                                                                                                  #        EVEN BURNS LESS THAN 0.4 SEC ARE AOK
041007,000200: 
041008,000201: 17,2335           31652                           CAE      MASSTMP                               #  COPYCYCLE
041009,000202: 17,2336           55474                           TS       CSMMASS                               
041010,000203: 
041011,000204: 17,2337           35036                 +3        CAF      .5SEC                                 #  CALL TVCEXECUTIVE (ROLLDAP CALL, ETC)
041012,000205: 17,2340           05245                           TC       WAITLIST                              
041013,000206: 17,2341  E6,1702                                  EBANK=   BZERO                                 
041014,000207: 17,2341           02715 34066                     2CADR    TVCEXEC                               
041015,000208: 
041016,000209: 17,2343           00006                           EXTEND                                         #  CALL FOR DAPINIT
041017,000210: 17,2344           32547                           DCA      DAPINIT5                              
041018,000211: 17,2345           53313                           DXCH     T5LOC                                 
041019,000212: 17,2346           31625                           CAE      T5TVCDT                               #  (ALLOW TIME FOR RESTART COMPUTATIONS)
041020,000213: 17,2347           54030                           TS       TIME5                                 

Page 941

041022,000215: 17,2350           15333        ENDTVCIN           TCF      RESUME                                
041023,000216: 
041024,000217: 17,2351           02354        PRESWTCH           TCR      SWICHOVR                              #  ENTRY FROM V46
041025,000218: 
041026,000219: 17,2352           04701                           TC       POSTJUMP                              #  THIS PROVIDES AN EXIT FROM SWITCH-OVER
041027,000220: 17,2353           21272                           CADR     PINBRNCH                              #        (PINBRNCH DOES A RELINT)
041028,000221: 
041029,000222: 17,2354           00004        SWICHOVR           INHINT                                         
041030,000223: 17,2355           31644                           CA       TVCPHASE                              #  SAVE TVCPHASE
041031,000224: 17,2356           55611                           TS       PHASETMP                              
041032,000225: 17,2357           45016                           CS       BIT2                                  #  SET TVCPHASE = -2 (INDICATES SWITCH-OVER
041033,000226: 17,2360           55644                           TS       TVCPHASE                              #        TO RESTART LOGIC)
041034,000227: 
041035,000228: 17,2361           00006                 +5        EXTEND                                         #  SAVE Q FOR RETURN (RESTART ENTRY POINT,
041036,000229: 17,2362           23613                           QXCH     RTRNLOC                               #        TVCPHASE AND PHASETMP ALREADY SET)
041037,000230: 
041038,000231: 17,2363           32535                           CAF      NZEROJR                               #  ZEROING LOOP FOR FILTER STORAGE LOCS
041039,000232: 17,2364           55676                 +8        TS       CNTRTMP                               
041040,000233: 
041041,000234: 17,2365           35021        MCLEANJR           CA       ZERO                                  
041042,000235: 17,2366           54001                           TS       L                                     
041043,000236: 17,2367           51676                           INDEX    CNTRTMP                               
041044,000237: 17,2370           53541                           DXCH     PTMP1      -1                         
041045,000238: 17,2371           11676                           CCS      CNTRTMP                               
041046,000239: 17,2372           10000                           CCS      A                                     
041047,000240: 17,2373           12364                           TCF      SWICHOVR   +8D                        
041048,000241: 
041049,000242: 17,2374           40105                           CS       FLAGWRD9                              #  SET SWITCHOVER FLAG FOR DOWNLINK
041050,000243: 17,2375           75001                           MASK     BIT15                                 
041051,000244: 17,2376           26105                           ADS      FLAGWRD9                              
041052,000245: 
041053,000246: 17,2377           31420                           CAE      EKTLX/I    +2                         #  LOW BANDWIDTH GAINS   - DAP
041054,000247: 17,2400           55636                           TS       KTLX/I                                
041055,000248: 17,2401           02471                           TCR      S40.15     +7                         
041056,000249: 
041057,000250: 17,2402           32542                           CAF      FKPRIMDT                              #                        - STEERING
041058,000251: 17,2403           55634                           TS       KPRIMEDT                              
041059,000252: 
041060,000253: 17,2404           32543                           CAF      FREPFRAC                              #                        - TMC LOOP
041061,000254: 17,2405           55642                           TS       REPFRAC                               
041062,000255: 
041063,000256: 17,2406           00006                           EXTEND                                         #  UPDATE TRIM ESTIMATES
041064,000257: 17,2407           31602                           DCA      DELPBAR                               
041065,000258: 17,2410           53606                           DXCH     PDELOFF                               
041066,000259: 17,2411           00006                           EXTEND                                         
041067,000260: 17,2412           31604                           DCA      DELYBAR                               
041068,000261: 17,2413           53610                           DXCH     YDELOFF                               
041069,000262: 
041070,000263: 17,2414           32533                           CA       LBCFADR                               

Page 942

041072,000265: 17,2415           55722                           TS       COEFFADR                              
041073,000266: 17,2416           02422                           TC       LOADCOEF                              
041074,000267: 
041075,000268: 17,2417           31611                           CAE      PHASETMP                              #  RESTORE TVCPHASE
041076,000269: 17,2420           55644                           TS       TVCPHASE                              
041077,000270: 
041078,000271: 17,2421           01613                           TC       RTRNLOC                               #  BACK TO PRESWTCH OR TVCRESTARTS
041079,000272: 
041080,000273: 17,2422           00006        LOADCOEF           EXTEND                                         #  LOAD DAP FILTER COEFFICIENTS
041081,000274: 17,2423           51722                           INDEX    COEFFADR                              #    FROM: ERASABLE FOR CSM/LM HB
041082,000275: 17,2424           30001                           DCA      0                                     #          FIXED    FOR CSM/LM LB
041083,000276: 17,2425           53724                           DXCH     N10                                   #          FIXED    FOR CSM
041084,000277: 
041085,000278: 17,2426           00006                           EXTEND                                         #  NOTE: FOR CSM/LM, NORMAL COEFFICIENT
041086,000279: 17,2427           51722                           INDEX    COEFFADR                              #  LOAD WILL BE HIGH BANDWIDTH PAD LOAD
041087,000280: 17,2430           30003                           DCA      2                                     #  ERASABLES. DURING CSM/LM SWITCHOVER, 
041088,000281: 17,2431           53726                           DXCH     N10        +2                         #  THIS LOGIC IS USED TO LOAD LOW BANDWIDTH
041089,000282:                                                                                                  #  COEFFICIENTS FROM FIXED MEMORY.
041090,000283: 
041091,000284: 17,2432           00006                           EXTEND                                         
041092,000285: 17,2433           51722                           INDEX    COEFFADR                              
041093,000286: 17,2434           30005                           DCA      4                                     
041094,000287: 17,2435           53730                           DXCH     N10        +4                         
041095,000288: 
041096,000289: 17,2436           00006                           EXTEND                                         
041097,000290: 17,2437           51722                           INDEX    COEFFADR                              
041098,000291: 17,2440           30007                           DCA      6                                     
041099,000292: 17,2441           53732                           DXCH     N10        +6                         
041100,000293: 
041101,000294: 17,2442           00006                           EXTEND                                         
041102,000295: 17,2443           51722                           INDEX    COEFFADR                              
041103,000296: 17,2444           30011                           DCA      8D                                    
041104,000297: 17,2445           53734                           DXCH     N10        +8D                        
041105,000298: 
041106,000299: 17,2446           00006                           EXTEND                                         
041107,000300: 17,2447           51722                           INDEX    COEFFADR                              
041108,000301: 17,2450           30013                           DCA      10D                                   
041109,000302: 17,2451           53736                           DXCH     N10        +10D                       
041110,000303: 
041111,000304: 17,2452           00006                           EXTEND                                         
041112,000305: 17,2453           51722                           INDEX    COEFFADR                              
041113,000306: 17,2454           30015                           DCA      12D                                   
041114,000307: 17,2455           53740                           DXCH     N10        +12D                       
041115,000308: 
041116,000309: 17,2456           51722                           INDEX    COEFFADR                              
041117,000310: 17,2457           30016                           CA       14D                                   
041118,000311: 17,2460           55741                           TS       N10        +14D                       
041119,000312: 
041120,000313: 17,2461           00002                           TC       Q                                     

Page 943

041122,000315: 17,2462           31470        S40.15             CAE      IXX                                   #  GAIN COMPUTATIONS (1/CONACC, VARK)
041123,000316: 17,2463           00006                           EXTEND                                         #  ENTERED FROM TVCINITIALIZE AND TVCEXEC
041124,000317: 17,2464           72544                           MP       2PI/M                                 #        2PI/M SCALED 1/(B+8 N M)
041125,000318: 17,2465           20001                           DDOUBL                                         #        IXX   SCALED B+20 KG-MSQ
041126,000319: 17,2466           20001                           DDOUBL                                         
041127,000320: 17,2467           20001                           DDOUBL                                         
041128,000321: 17,2470           55640                           TS       1/CONACC                              #              SCALED B+9 SEC-SQ/REV
041129,000322: 
041130,000323: 17,2471           31636                 +7        CAE      KTLX/I                                #  ENTRY FROM CSM/LM V46 SWITCH-OVER
041131,000324: 17,2472           00006                           EXTEND                                         #             SCALED (B+3 ASCREV)  1/SECSQ
041132,000325: 17,2473           71472                           MP       IAVG/TLX                              #             SCALED B+2 SECSQ
041133,000326: 17,2474           20001                           DDOUBL                                         
041134,000327: 17,2475           20001                           DDOUBL                                         
041135,000328: 17,2476           55641                           TS       VARK                                  #             SCALED (B+3 ASCREV)
041136,000329: 17,2477           00002                           TC       Q                                     
041137,000330: 
041138,000331: 17,2500           37777        CSMN10             DEC      .99999                                #  N10   CSM ONLY FILTER COEFFICIENTS
041139,000332: 17,2501           67657                           DEC      -.2549                                #  N11/2
041140,000333: 17,2502           01703                           DEC      .0588                                 #  N12
041141,000334: 17,2503           47472                           DEC      -.7620                                #  D11/2
041142,000335: 17,2504           27656                           DEC      .7450                                 #  D12
041143,000336: 
041144,000337: 17,2505           37777                           DEC      .99999                                #  N20
041145,000338: 17,2506           60361                           DEC      -.4852                                #  N21/2
041146,000339: 17,2507           00000                           DEC      0          B-14                       #  N22
041147,000340: 17,2510           67304                           DEC      -.2692                                #  D22/2
041148,000341: 17,2511           00000                           DEC      0          B-14                       #  D22
041149,000342: 
041150,000343: 17,2512           37777        LBN10              DEC      +.99999                               #  N10   LOW BANDWIDTH FILTER COEFFICIENTS
041151,000344: 17,2513           65371                           DEC      -.3285                                #  N11/2
041152,000345: 17,2514           65337                           DEC      -.3301                                # N12
041153,000346: 17,2515           42700                           DEC      -.9101                                # D11/2
041154,000347: 17,2516           33045                           DEC      +.8460                                # D12
041155,000348: 
041156,000349: 17,2517           01000                           DEC      +.03125                               # N20
041157,000350: 17,2520           00000                           DEC      0          B-14                       # N21/2
041158,000351: 17,2521           00000                           DEC      0          B-14                       # N22
041159,000352: 17,2522           42700                           DEC      -.9101                                # D21/2
041160,000353: 17,2523           33045                           DEC      +.8460                                # D22
041161,000354: 
041162,000355: 17,2524           20000                           DEC      +.50000                               # N30
041163,000356: 17,2525           60730                           DEC      -.47115                               # N31/2
041164,000357: 17,2526           17145                           DEC      +.4749                                # N32
041165,000358: 17,2527           41323                           DEC      -.9558                                # D31/2
041166,000359: 17,2530           35773                           DEC      +.9372                                # D32
041167,000360: 
041168,000361: 17,2531           02500        CSMCFADR           GENADR   CSMN10                                #  CSM ONLY COEFFICIENTS ADDRESS
041169,000362: 17,2532           01425        HBCFADR            GENADR   HBN10                                 #  HIGH BANDWIDTH COEFFICIENTS ADDRESS

Page 944

041171,000364: 17,2533           02512        LBCFADR            GENADR   LBN10                                 #  LOW BANDWIDTH COEFFICIENTS ADDRESS
041172,000365: 
041173,000366: 17,2534           00063        NZERO              DEC      51         B-14                       #  MUST BE ODD FOR MRCLEAN
041174,000367: 17,2535           00027        NZEROJR            DEC      23         B-14                       #  MUST BE ODD FOR MCLEANJR
041175,000368: 
041176,000369: 17,2536           00210        ATTLIM             DEC      0.00833                               #  INITIAL ATTITUDE ERROR LIMIT (1.5 DEG)
041177,000370: 17,2537           00170        1/ATTLIM           DEC      0.007325                              #  .007325(ERROR) = 0 IF ERROR < 1.5 DEG
041178,000371: 
041179,000372: 17,2540           00005        TCORR              OCT      00005                                 #  CSM
041180,000373: 17,2541           00000                 +1        OCT      00000                                 #  CSM/LM (HB,LB)
041181,000374: 
041182,000375: 17,2542           00247        FKPRIMDT           DEC      .0102                                 #  CSM/LM (LB), (.05 X .08) SCALED AT PI/8
041183,000376: 17,2543           00232        FREPFRAC           DEC      .0375      B-2                        #  CSM/LM (LB), 0.0375 SCALED AT B+2
041184,000377: 
041185,000378: 17,2544     4374               NINETEEN           =        VD1                                   
041186,000379: 17,2544           33074        2PI/M              DEC      .00331017  B+8                        #  2PI/M, SCALED AT 1/(B+8 N-M)
041187,000380: 
041188,000381: 17,2545           03720        ONETHOU            DEC      1000       B-13                       #  KG/CS B3 TO KG/10SEC B16 CONVERSION
041189,000382: 
041190,000383: 17,2546  E6,1702                                  EBANK=   BZERO                                 
041191,000384: 17,2546           03107 40066  DAPINIT5           2CADR    DAPINIT                               
041192,000385: 
041193,000386: 17,2550  E6,1702                                  EBANK=   BZERO                                 
041194,000387: 17,2550           02175 36066  INITLOC2           2CADR    TVCINIT1                              

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