Source Code

These source-code files are part of a reconstructed copy of Comanche 72/3 (AKA Manche72 revision 3), the final, flown mission release of the Apollo Guidance Computer (AGC) Command Module (CM) software for Apollo 13.

The starting point was the source code of Comanche 72 (itself previously reconstructed). Comanche 72 source code was then modified by incorporating changes known from contemporary documentation to have been made between revisions 72 and 72/3. The resulting code assembles to have identical memory-bank checksums as those specified in NASA drawing 2021153G; this gives reasonably high confidence that the changes that have been made are correct. In places where ambiguity exists, this ambiguity is discussed in "## Reconstruction:" comments.

Since no contemporary listings of Comanche 72/3 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.

040187,000002:                                                                                                  ## Copyright:   Public domain.
040188,000003:                                                                                                  ## Filename:    TVCINITIALIZE.agc
040189,000004:                                                                                                  ## Purpose:     A section of Manche72 revision 3.
040190,000005:                                                                                                  ##              It is part of the reconstructed source code for the final, flown
040191,000006:                                                                                                  ##              release of the software for the Command Module's (CM) Apollo
040192,000007:                                                                                                  ##              Guidance Computer (AGC) for Apollo 13. No original listings
040193,000008:                                                                                                  ##              of this program are available; instead, this file was recreated
040194,000009:                                                                                                  ##              from a reconstructed copy of Comanche 072. It has been adapted
040195,000010:                                                                                                  ##              such that the resulting bugger words exactly match those
040196,000011:                                                                                                  ##              specified for Manche72 revision 3 in NASA drawing 2021153G,
040197,000012:                                                                                                  ##              which gives relatively high confidence that the reconstruction
040198,000013:                                                                                                  ##              is correct.
040199,000014:                                                                                                  ## Assembler:   yaYUL
040200,000015:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
040201,000016:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
040202,000017:                                                                                                  ## Mod history: 2024-05-19 MAS  Created from Comanche 072.
040203,000018: 
040204,000019:                                                                                                  #  NAME          TVCDAPON (TVC DAP INITIALIZATION AND STARTUP CALL)
040205,000020:                                                                                                  #  LOG SECTION...TVCINITIALIZE                   SUBROUTINE...DAPCSM
040206,000021:                                                                                                  #  MODIFIED BY SCHLUNDT                          21 OCTOBER 1968
040207,000022:                                                                                                  #  FUNCTIONAL DESCRIPTION
040208,000023:                                                                                                  #        PERFORMS TVCDAP INITIALIZATION (GAINS, TIMING PARAMETERS, FILTER VARIABLES, ETC.)
040209,000024:                                                                                                  #        COMPUTES STEERING (S40.8) GAIN KPRIMEDT, AND ZEROES PASTDELV,+1 VARIABLE
040210,000025:                                                                                                  #        MAKES INITIALIZATION CALL TO ..NEEDLER.. FOR TVC DAP NEEDLES-SETUP
040211,000026:                                                                                                  #        PERFORMS INITIALIZATION FOR ROLL DAP
040212,000027:                                                                                                  #        CALLS TVCEXECUTIVE AT TVCEXEC, VIA WAITLIST
040213,000028:                                                                                                  #        CALLS TVCDAP CDU-RATE INITIALIZATION PKG AT DAPINIT  VIA T5
040214,000029:                                                                                                  #        PROVIDES FOR LOADING OF LOW-BANDWIDTH COEFFS AND GAINS AT SWICHOVR
040215,000030:                                                                                                  #  CALLING SEQUENCE - T5LOC=2CADR(TVCDAPON,EBANK=BZERO), T5=.6SECT5
040216,000031:                                                                                                  #        IN PARTICULAR, CALLED BY ..DOTVCON.. IN P40
040217,000032:                                                                                                  #        MRCLEAN AND TVCINIT4 ARE POSSIBLE RESTART ENTRY POINTS
040218,000033:                                                                                                  #  NORMAL EXIT MODE
040219,000034:                                                                                                  #        TCF RESUME
040220,000035:                                                                                                  #  SUBROUTINES CALLED
040221,000036:                                                                                                  #        NEEDLER, MASSPROP
040222,000037:                                                                                                  #  ALARM OR ABORT EXIT MODES
040223,000038:                                                                                                  #        NONE
040224,000039:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED
040225,000040:                                                                                                  #        CSMMASS, LEMMASS, DAPDATR1 (FOR MASSPROP SUBROUTINE)
040226,000041:                                                                                                  #        TVC PAD LOADS (SEE EBANK6 IN ERASABLE ASSIGNMENTS)
040227,000042:                                                                                                  #        PACTOFF, YACTOFF, CDUX
040228,000043:                                                                                                  #        TVCPHASE AND THE T5 BITS OF FLAGWRD6 (SET AT DOTVCON IN P40)
040229,000044:                                                                                                  #  OUTPUT
040230,000045:                                                                                                  #        ALL TVC AND ROLL DAP ERASABLES, FLAGWRD6 (BITS 13,14), T5, WAITLIST
040231,000046:                                                                                                  #  DEBRIS
040232,000047:                                                                                                  #        NONE
040233,000048: 
040234,000049: 42,3767                                           COUNT*   $$/INIT                               
040235,000050: 17,2205                                           BANK     17                                    
040236,000051: 17,2000                                           SETLOC   DAPS7                                 
040237,000052: 17,2000                                           BANK                                           
040238,000053: 
040239,000054: 17,2205  E6,1704                                  EBANK=   BZERO                                 
040240,000055: 
040241,000056: 17,2205           22016        TVCDAPON           LXCH     BANKRUPT                              #  T5 RUPT ARRIVAL (CALL BY DOTVCON - P40)
040242,000057: 17,2206           00006                           EXTEND                                         #  SAVE Q REQUIRED IN RESTARTS (MRCLEAN AND
040243,000058: 17,2207           22012                           QXCH     QRUPT                                 #        TVCINIT4 ARE ENTRIES)
040244,000059: 17,2210           32572        MRCLEAN            CAF      NZERO                                 #  NUMBER TO ZERO, LESS ONE  (MUST BE ODD)
040245,000060:                                                                                                  #        TVC RESTARTS ENTER HERE  (NEW BANK)
040246,000061: 17,2211           10000                 +1        CCS      A                                     
040247,000062: 17,2212           55447                           TS       CNTR                                  
040248,000063: 17,2213           35035                           CAF      ZERO                                  
040249,000064: 17,2214           54001                           TS       L                                     
040250,000065: 17,2215           51447                           INDEX    CNTR                                  
040251,000066: 17,2216           53530                           DXCH     OMEGAYC                               #  FIRST (LAST) TWO LOCATIONS
040252,000067: 17,2217           11447                           CCS      CNTR                                  
040253,000068: 17,2220           12211                           TCF      MRCLEAN    +1                         
040254,000069: 17,2221           00006                           EXTEND                                         #  SET UP ANOTHER T5 RUPT TO CONTINUE
040255,000070: 17,2222           32607                           DCA      INITLOC2                              #        INITIALIZATION AT TVCINIT1
040256,000071: 17,2223           53313                           DXCH     T5LOC                                 #  THE PHSCHK2 ENTRY (REDOTVC) AT TVCDAPON
040257,000072: 17,2224           35013                           CAF      POSMAX                                #        +3 IS IN ANOTHER BANK.  MUST RESET
040258,000073: 17,2225           54030                           TS       TIME5                                 #        BBCON TOO (FULL 2CADR), FOR THAT
040259,000074: 17,2226           15347        ENDMRC             TCF      RESUME                                #        ENTRY.
040260,000075: 
040261,000076: 17,2227           22016        TVCINIT1           LXCH     BANKRUPT                              
040262,000077: 17,2230           00006                           EXTEND                                         
040263,000078: 17,2231           22012                           QXCH     QRUPT                                 
040264,000079: 
040265,000080: 17,2232           04754                           TC       IBNKCALL                              #  UPDATE IXX, IAVG/TLX FOR DAP GAINS (R03
040266,000081: 17,2233           13370                           CADR     MASSPROP                              #        OR NOUNS 46 AND 47 MUST BE CORRECT)
040267,000082: 
040268,000083: 17,2234           30110                           CAE      EMDOT                                 #  SPS FLOW RATE, SCALED B+3 KG/CS
040269,000084: 17,2235           00006                           EXTEND                                         
040270,000085: 17,2236           72603                           MP       ONETHOU                               
040271,000086: 17,2237           55637                           TS       TENMDOT                               #  10-SEC MASS LOSS B+16 KG
040272,000087: 17,2240           40000                           COM                                            
040273,000088: 17,2241           61474                           AD       CSMMASS                               
040274,000089: 17,2242           55654                           TS       MASSTMP                               #  DECREMENT FOR FIRST 10 SEC OF BURN
040275,000090: 
040276,000091: 17,2243           31466                           CAE      DAPDATR1                              #  CHECK LEM-ON/OFF
040277,000092: 17,2244           75016                           MASK     BIT14                                 
040278,000093: 17,2245           10000                           CCS      A                                     
040279,000094: 17,2246           35033                           CAF      BIT1                                  #  LEM-ON (BIT1)
040280,000095: 17,2247           55447                           TS       CNTR                                  #  LEM-OFF (ZERO)
040281,000096: 
040282,000097: 17,2250           51447                           INDEX    CNTR                                  #  LOAD THE FILTER COEFFICIENTS
040283,000098: 17,2251           32567                           CAF      CSMCFADR                              
040284,000099: 17,2252           55724                           TS       COEFFADR                              
040285,000100: 17,2253           02460                           TC       LOADCOEF                              
040286,000101: 
040287,000102: 17,2254           51447                           INDEX    CNTR                                  #  PICK UP LM-OFF,-ON KTLX/I
040288,000103: 17,2255           31416                           CAE      EKTLX/I                               #  SCALED AT 1/(8 ASCREV) OF ACTUAL VALUE
040289,000104: 17,2256           55636                           TS       KTLX/I                                
040290,000105: 
040291,000106: 17,2257           02520                           TCR      S40.15                                #  COMPUTE 1/CONACC, VARK
040292,000107: 
040293,000108: 17,2260           41447        TVCINIT2           CS       CNTR                                  #  PICK LM-OFF,-ON VALUE FOR FILTER PERIOD
040294,000109: 17,2261           50000                           INDEX    A                                     #  DETERMINATION:
040295,000110: 17,2262           35032                           CAF      BIT2                                  #        BIT2 FOR CSM ONLY 40MS FILTER
040296,000111: 17,2263           55634                           TS       KPRIMEDT                              #        BIT3 FOR CSM/LM 80MS FILTER
040297,000112: 
040298,000113: 17,2264           40000                           COM                                            #  PREPARE T5TVCDT
040299,000114: 17,2265           65013                           AD       POSMAX                                
040300,000115: 17,2266           65033                           AD       BIT1                                  
040301,000116: 17,2267           55625                           TS       T5TVCDT                               
040302,000117: 
040303,000118: 17,2270           45015                           CS       BIT15                                 #  RESET SWTOVER FLAG
040304,000119: 17,2271           70105                           MASK     FLAGWRD9                              
040305,000120: 17,2272           54105                           TS       FLAGWRD9                              
040306,000121: 
040307,000122: 17,2273           51447                           INDEX    CNTR                                  #  PICK UP LEM-OFF,-ON KPRIME
040308,000123: 17,2274           31414                           CAE      EKPRIME                               #        SCALED (100 PI)/16
040309,000124: 17,2275           00006                           EXTEND                                         
040310,000125: 17,2276           71634                           MP       KPRIMEDT                              #  (TVCDT/2, SC.AT B+14 CS)
040311,000126: 17,2277           22000                           LXCH     A                                     #        SC.AT PI/8      (DIMENSIONLESS)
040312,000127: 17,2300           53635                           DXCH     KPRIMEDT                              
040313,000128: 
040314,000129: 17,2301           51447                           INDEX    CNTR                                  #  PICK UP LEM-OFF,-ON REPFRAC
040315,000130: 17,2302           31421                           CAE      EREPFRAC                              
040316,000131: 17,2303           55642                           TS       REPFRAC                               
040317,000132: 
040318,000133: 17,2304           51447                           INDEX    CNTR                                  #  PICK UP ONE-SHOT CORRECTION TIME
040319,000134: 17,2305           32576                           CAF      TCORR                                 
040320,000135: 17,2306           55447                           TS       CNTR                                  
040321,000136: 
040322,000137: 17,2307           37716                           CAF      NEGONE                                #  PREVENT STROKE TEST UNTIL CALLED
040323,000138: 17,2310           55656                           TS       STRKTIME                              
040324,000139: 
040325,000140: 17,2311           34374                           CAF      NINETEEN                              #  SET VCNTR FOR VARIABLE-GAIN UPDATES IN
040326,000141: 17,2312           55643                           TS       VCNTR                                 #        10 SECONDS (TVCEXEC 1/2 SEC RATE)
040327,000142: 17,2313           55444                           TS       V97VCNTR                              #  FOR ENGFAIL (R41) LOGIC
040328,000143: 
040329,000144: 17,2314           31423        TVCINIT3           CAE      PACTOFF                               #  TRIM VALUES TO TRIM-TRACKERS, OUTPUT
040330,000145: 17,2315           55605                           TS       PDELOFF                               #        TRACKERS, OFFSET-UPDATES, AND
040331,000146: 17,2316           55623                           TS       PCMD                                  #        OFFSET-TRACKER FILTERS
040332,000147: 17,2317           55601                           TS       DELPBAR                               #        NOTE, LO-ORDER DELOFF,DELBAR ZEROED
040333,000148: 
040334,000149: 17,2320           31424                           CAE      YACTOFF                               
040335,000150: 17,2321           55607                           TS       YDELOFF                               
040336,000151: 17,2322           55624                           TS       YCMD                                  
040337,000152: 17,2323           55603                           TS       DELYBAR                               
040338,000153: 
040339,000154: 17,2324           31466        ATTINIT            CAE      DAPDATR1                              #  ATTITUDE-ERROR INITIALIZATION LOGIC
040340,000155: 17,2325           75017                           MASK     BIT13                                 #        TEST FOR CSM OR CSM/LM
040341,000156: 17,2326           00006                           EXTEND                                         
040342,000157: 17,2327           12355                           BZF      NEEDLEIN                              #        BYPASS INITIALIZATION FOR CSM/LM
040343,000158: 
040344,000159: 17,2330           35033                           CAF      BIT1                                  #        SET UP TEMPORARY COUNTER
040345,000160: 17,2331           55611                 +5        TS       TTMP1                                 
040346,000161: 
040347,000162: 17,2332           51611                           INDEX    TTMP1                                 
040348,000163: 17,2333           31704                           CA       ERRBTMP                               #  ERRBTMP CONTAINS RCS ATTITUDE ERRORS
040349,000164: 17,2334           00006                           EXTEND                                         #        ERRORY & ERRORZ (P40 AT DOTVCON)
040350,000165: 17,2335           72575                           MP       1/ATTLIM                              #  .007325(ERROR) = 0 IF ERROR < 1.5 DEG
040351,000166: 17,2336           00006                           EXTEND                                         
040352,000167: 17,2337           12347                           BZF      +8D                                   #        |ERROR| LESS THAN 1.5 DEG
040353,000168: 17,2340           00006                           EXTEND                                         
040354,000169: 17,2341           62344                           BZMF     +3                                    #        |ERROR| > 1.5 DEG, AND NEG
040355,000170: 17,2342           32574                           CA       ATTLIM                                #        |ERROR| > 1.5 DEG, AND POS
040356,000171: 17,2343           12345                           TCF      +2                                    
040357,000172: 17,2344           42574                 +3        CS       ATTLIM                                
040358,000173: 17,2345           51611                 +2        INDEX    TTMP1                                 
040359,000174: 17,2346           55704                           TS       ERRBTMP                               
040360,000175: 17,2347           11611                 +8        CCS      TTMP1                                 #        TEST TEMPORARY COUNTER
040361,000176: 17,2350           12331                           TCF      ATTINIT    +5                         #        BACK TO REPEAT FOR PITCH ERROR
040362,000177: 
040363,000178: 17,2351           31704                           CA       ERRBTMP                               #  ERRORS ESTABLISHED AND LIMITED
040364,000179: 17,2352           55575                           TS       PERRB                                 
040365,000180: 17,2353           31705                           CA       ERRBTMP    +1                         
040366,000181: 17,2354           55577                           TS       YERRB                                 
040367,000182: 
040368,000183: 17,2355           41501        NEEDLEIN           CS       RCSFLAGS                              #  SET BIT 3 FOR INITIALIZATION PASS AND GO
040369,000184: 17,2356           75031                           MASK     BIT3                                  #        TO NEEDLER.  WILL CLEAR FOR TVC DAP
040370,000185: 17,2357           27501                           ADS      RCSFLAGS                              #        (RETURNS AFTER CADR)
040371,000186: 17,2360           04754                           TC       IBNKCALL                              
040372,000187: 17,2361           42432                           CADR     NEEDLER                               
040373,000188: 
040374,000189: 17,2362           35035        TVCINIT4           CAF      ZERO                                  #  SET TVCPHASE TO INDICATE TVCDAPON-THRU-
040375,000190: 17,2363           55644                           TS       TVCPHASE                              #        NEEDLEIN INITIALIZATION FINISHED.
040376,000191:                                                                                                  #        (POSSIBLE TVC-RESTART ENTRY)
040377,000192: 
040378,000193: 17,2364           30032                           CAE      CDUX                                  #  PREPARE ROLL DAP
040379,000194: 17,2365           55664                           TS       OGANOW                                
040380,000195: 
040381,000196: 17,2366           35017                           CAF      BIT13                                 #  IF ENGINE IS ALREADY OFF, ENGINOFF HAS
040382,000197: 17,2367           00006                           EXTEND                                         #        ALREADY ESTABLISHED THE POST-BURN
040383,000198: 17,2370           02011                           RAND     DSALMOUT                              #        CSMMASS (MASSBACK DOES IT).  DONT
040384,000199: 17,2371           00006                           EXTEND                                         #        TOUCH CSMMASS.  IF ENGINE IS ON,
040385,000200: 17,2372           12375                           BZF      +3                                    #        THEN ITS OK TO DO THE COPYCYCLE
040386,000201:                                                                                                  #        EVEN BURNS LESS THAN 0.4 SEC ARE AOK
040387,000202: 
040388,000203: 17,2373           31654                           CAE      MASSTMP                               #  COPYCYCLE
040389,000204: 17,2374           55474                           TS       CSMMASS                               
040390,000205: 
040391,000206: 17,2375           35052                 +3        CAF      .5SEC                                 #  CALL TVCEXECUTIVE (ROLLDAP CALL, ETC)
040392,000207: 17,2376           05261                           TC       WAITLIST                              
040393,000208: 17,2377  E6,1704                                  EBANK=   BZERO                                 
040394,000209: 17,2377           02772 34066                     2CADR    TVCEXEC                               
040395,000210: 
040396,000211: 17,2401           00006                           EXTEND                                         #  CALL FOR DAPINIT
040397,000212: 17,2402           32605                           DCA      DAPINIT5                              
040398,000213: 17,2403           53313                           DXCH     T5LOC                                 
040399,000214: 17,2404           31625                           CAE      T5TVCDT                               #  (ALLOW TIME FOR RESTART COMPUTATIONS)
040400,000215: 17,2405           54030                           TS       TIME5                                 
040401,000216: 17,2406           15347        ENDTVCIN           TCF      RESUME                                
040402,000217: 
040403,000218: 17,2407           02412        PRESWTCH           TCR      SWICHOVR                              #  ENTRY FROM V46
040404,000219: 
040405,000220: 17,2410           04715                           TC       POSTJUMP                              #  THIS PROVIDES AN EXIT FROM SWITCH-OVER
040406,000221: 17,2411           21272                           CADR     PINBRNCH                              #        (PINBRNCH DOES A RELINT)
040407,000222: 
040408,000223: 17,2412           00004        SWICHOVR           INHINT                                         
040409,000224: 17,2413           31644                           CA       TVCPHASE                              #  SAVE TVCPHASE
040410,000225: 17,2414           55611                           TS       PHASETMP                              
040411,000226: 17,2415           45032                           CS       BIT2                                  #  SET TVCPHASE = -2 (INDICATES SWITCH-OVER
040412,000227: 17,2416           55644                           TS       TVCPHASE                              #        TO RESTART LOGIC)
040413,000228: 
040414,000229: 17,2417           00006                 +5        EXTEND                                         #  SAVE Q FOR RETURN (RESTART ENTRY POINT,
040415,000230: 17,2420           23613                           QXCH     RTRNLOC                               #        TVCPHASE AND PHASETMP ALREADY SET)
040416,000231: 
040417,000232: 17,2421           32573                           CAF      NZEROJR                               #  ZEROING LOOP FOR FILTER STORAGE LOCS
040418,000233: 17,2422           55700                 +8        TS       CNTRTMP                               
040419,000234: 
040420,000235: 17,2423           35035        MCLEANJR           CA       ZERO                                  
040421,000236: 17,2424           54001                           TS       L                                     
040422,000237: 17,2425           51700                           INDEX    CNTRTMP                               
040423,000238: 17,2426           53541                           DXCH     PTMP1      -1                         
040424,000239: 17,2427           11700                           CCS      CNTRTMP                               
040425,000240: 17,2430           10000                           CCS      A                                     
040426,000241: 17,2431           12422                           TCF      SWICHOVR   +8D                        
040427,000242: 
040428,000243: 17,2432           40105                           CS       FLAGWRD9                              #  SET SWITCHOVER FLAG FOR DOWNLINK
040429,000244: 17,2433           75015                           MASK     BIT15                                 
040430,000245: 17,2434           26105                           ADS      FLAGWRD9                              
040431,000246: 
040432,000247: 17,2435           31420                           CAE      EKTLX/I    +2                         #  LOW BANDWIDTH GAINS   - DAP
040433,000248: 17,2436           55636                           TS       KTLX/I                                
040434,000249: 17,2437           02527                           TCR      S40.15     +7                         
040435,000250: 
040436,000251: 17,2440           32600                           CAF      FKPRIMDT                              #                        - STEERING
040437,000252: 17,2441           55634                           TS       KPRIMEDT                              
040438,000253: 
040439,000254: 17,2442           32601                           CAF      FREPFRAC                              #                        - TMC LOOP
040440,000255: 17,2443           55642                           TS       REPFRAC                               
040441,000256: 
040442,000257: 17,2444           00006                           EXTEND                                         #  UPDATE TRIM ESTIMATES
040443,000258: 17,2445           31602                           DCA      DELPBAR                               
040444,000259: 17,2446           53606                           DXCH     PDELOFF                               
040445,000260: 17,2447           00006                           EXTEND                                         
040446,000261: 17,2450           31604                           DCA      DELYBAR                               
040447,000262: 17,2451           53610                           DXCH     YDELOFF                               
040448,000263: 
040449,000264: 17,2452           32571                           CA       LBCFADR                               
040450,000265: 17,2453           55724                           TS       COEFFADR                              
040451,000266: 17,2454           02460                           TC       LOADCOEF                              
040452,000267: 
040453,000268: 17,2455           31611                           CAE      PHASETMP                              #  RESTORE TVCPHASE
040454,000269: 17,2456           55644                           TS       TVCPHASE                              
040455,000270: 
040456,000271: 17,2457           01613                           TC       RTRNLOC                               #  BACK TO PRESWTCH OR TVCRESTARTS
040457,000272: 
040458,000273: 17,2460           00006        LOADCOEF           EXTEND                                         #  LOAD DAP FILTER COEFFICIENTS
040459,000274: 17,2461           51724                           INDEX    COEFFADR                              #    FROM: ERASABLE FOR CSM/LM HB
040460,000275: 17,2462           30001                           DCA      0                                     #          FIXED    FOR CSM/LM LB
040461,000276: 17,2463           53726                           DXCH     N10                                   #          FIXED    FOR CSM
040462,000277: 
040463,000278: 17,2464           00006                           EXTEND                                         #  NOTE: FOR CSM/LM, NORMAL COEFFICIENT
040464,000279: 17,2465           51724                           INDEX    COEFFADR                              #  LOAD WILL BE HIGH BANDWIDTH PAD LOAD
040465,000280: 17,2466           30003                           DCA      2                                     #  ERASABLES. DURING CSM/LM SWITCHOVER, 
040466,000281: 17,2467           53730                           DXCH     N10        +2                         #  THIS LOGIC IS USED TO LOAD LOW BANDWIDTH
040467,000282:                                                                                                  #  COEFFICIENTS FROM FIXED MEMORY.
040468,000283: 
040469,000284: 17,2470           00006                           EXTEND                                         
040470,000285: 17,2471           51724                           INDEX    COEFFADR                              
040471,000286: 17,2472           30005                           DCA      4                                     
040472,000287: 17,2473           53732                           DXCH     N10        +4                         
040473,000288: 
040474,000289: 17,2474           00006                           EXTEND                                         
040475,000290: 17,2475           51724                           INDEX    COEFFADR                              
040476,000291: 17,2476           30007                           DCA      6                                     
040477,000292: 17,2477           53734                           DXCH     N10        +6                         
040478,000293: 
040479,000294: 17,2500           00006                           EXTEND                                         
040480,000295: 17,2501           51724                           INDEX    COEFFADR                              
040481,000296: 17,2502           30011                           DCA      8D                                    
040482,000297: 17,2503           53736                           DXCH     N10        +8D                        
040483,000298: 
040484,000299: 17,2504           00006                           EXTEND                                         
040485,000300: 17,2505           51724                           INDEX    COEFFADR                              
040486,000301: 17,2506           30013                           DCA      10D                                   
040487,000302: 17,2507           53740                           DXCH     N10        +10D                       
040488,000303: 
040489,000304: 17,2510           00006                           EXTEND                                         
040490,000305: 17,2511           51724                           INDEX    COEFFADR                              
040491,000306: 17,2512           30015                           DCA      12D                                   
040492,000307: 17,2513           53742                           DXCH     N10        +12D                       
040493,000308: 
040494,000309: 17,2514           51724                           INDEX    COEFFADR                              
040495,000310: 17,2515           30016                           CA       14D                                   
040496,000311: 17,2516           55743                           TS       N10        +14D                       
040497,000312: 
040498,000313: 17,2517           00002                           TC       Q                                     
040499,000314: 17,2520           31470        S40.15             CAE      IXX                                   #  GAIN COMPUTATIONS (1/CONACC, VARK)
040500,000315: 17,2521           00006                           EXTEND                                         #  ENTERED FROM TVCINITIALIZE AND TVCEXEC
040501,000316: 17,2522           72602                           MP       2PI/M                                 #        2PI/M SCALED 1/(B+8 N M)
040502,000317: 17,2523           20001                           DDOUBL                                         #        IXX   SCALED B+20 KG-MSQ
040503,000318: 17,2524           20001                           DDOUBL                                         
040504,000319: 17,2525           20001                           DDOUBL                                         
040505,000320: 17,2526           55640                           TS       1/CONACC                              #              SCALED B+9 SEC-SQ/REV
040506,000321: 
040507,000322: 17,2527           31636                 +7        CAE      KTLX/I                                #  ENTRY FROM CSM/LM V46 SWITCH-OVER
040508,000323: 17,2530           00006                           EXTEND                                         #             SCALED (B+3 ASCREV)  1/SECSQ
040509,000324: 17,2531           71472                           MP       IAVG/TLX                              #             SCALED B+2 SECSQ
040510,000325: 17,2532           20001                           DDOUBL                                         
040511,000326: 17,2533           20001                           DDOUBL                                         
040512,000327: 17,2534           55641                           TS       VARK                                  #             SCALED (B+3 ASCREV)
040513,000328: 17,2535           00002                           TC       Q                                     
040514,000329: 
040515,000330: 17,2536           37777        CSMN10             DEC      .99999                                #  N10   CSM ONLY FILTER COEFFICIENTS
040516,000331: 17,2537           67657                           DEC      -.2549                                #  N11/2
040517,000332: 17,2540           01703                           DEC      .0588                                 #  N12
040518,000333: 17,2541           47472                           DEC      -.7620                                #  D11/2
040519,000334: 17,2542           27656                           DEC      .7450                                 #  D12
040520,000335: 
040521,000336: 17,2543           37777                           DEC      .99999                                #  N20
040522,000337: 17,2544           60361                           DEC      -.4852                                #  N21/2
040523,000338: 17,2545           00000                           DEC      0          B-14                       #  N22
040524,000339: 17,2546           67304                           DEC      -.2692                                #  D22/2
040525,000340: 17,2547           00000                           DEC      0          B-14                       #  D22
040526,000341: 
040527,000342: 17,2550           37777        LBN10              DEC      +.99999                               #  N10   LOW BANDWIDTH FILTER COEFFICIENTS
040528,000343: 17,2551           65371                           DEC      -.3285                                #  N11/2
040529,000344: 17,2552           65337                           DEC      -.3301                                # N12
040530,000345: 17,2553           42700                           DEC      -.9101                                # D11/2
040531,000346: 17,2554           33045                           DEC      +.8460                                # D12
040532,000347: 
040533,000348: 17,2555           01000                           DEC      +.03125                               # N20
040534,000349: 17,2556           00000                           DEC      0          B-14                       # N21/2
040535,000350: 17,2557           00000                           DEC      0          B-14                       # N22
040536,000351: 17,2560           42700                           DEC      -.9101                                # D21/2
040537,000352: 17,2561           33045                           DEC      +.8460                                # D22
040538,000353: 
040539,000354: 17,2562           20000                           DEC      +.50000                               # N30
040540,000355: 17,2563           60730                           DEC      -.47115                               # N31/2
040541,000356: 17,2564           17145                           DEC      +.4749                                # N32
040542,000357: 17,2565           41323                           DEC      -.9558                                # D31/2
040543,000358: 17,2566           35773                           DEC      +.9372                                # D32
040544,000359: 
040545,000360: 17,2567           02536        CSMCFADR           GENADR   CSMN10                                #  CSM ONLY COEFFICIENTS ADDRESS
040546,000361: 17,2570           01425        HBCFADR            GENADR   HBN10                                 #  HIGH BANDWIDTH COEFFICIENTS ADDRESS
040547,000362: 17,2571           02550        LBCFADR            GENADR   LBN10                                 #  LOW BANDWIDTH COEFFICIENTS ADDRESS
040548,000363: 
040549,000364: 17,2572           00063        NZERO              DEC      51         B-14                       #  MUST BE ODD FOR MRCLEAN
040550,000365: 17,2573           00027        NZEROJR            DEC      23         B-14                       #  MUST BE ODD FOR MCLEANJR
040551,000366: 
040552,000367: 17,2574           00210        ATTLIM             DEC      0.00833                               #  INITIAL ATTITUDE ERROR LIMIT (1.5 DEG)
040553,000368: 17,2575           00170        1/ATTLIM           DEC      0.007325                              #  .007325(ERROR) = 0 IF ERROR < 1.5 DEG
040554,000369: 
040555,000370: 17,2576           00005        TCORR              OCT      00005                                 #  CSM
040556,000371: 17,2577           00000                 +1        OCT      00000                                 #  CSM/LM (HB,LB)
040557,000372: 
040558,000373: 17,2600           00247        FKPRIMDT           DEC      .0102                                 #  CSM/LM (LB), (.05 X .08) SCALED AT PI/8
040559,000374: 17,2601           00232        FREPFRAC           DEC      .0375      B-2                        #  CSM/LM (LB), 0.0375 SCALED AT B+2
040560,000375: 
040561,000376: 17,2602     4374               NINETEEN           =        VD1                                   
040562,000377: 17,2602           33074        2PI/M              DEC      .00331017  B+8                        #  2PI/M, SCALED AT 1/(B+8 N-M)
040563,000378: 
040564,000379: 17,2603           03720        ONETHOU            DEC      1000       B-13                       #  KG/CS B3 TO KG/10SEC B16 CONVERSION
040565,000380: 
040566,000381: 17,2604  E6,1704                                  EBANK=   BZERO                                 
040567,000382: 17,2604           03142 40066  DAPINIT5           2CADR    DAPINIT                               
040568,000383: 
040569,000384: 17,2606  E6,1704                                  EBANK=   BZERO                                 
040570,000385: 17,2606           02227 36066  INITLOC2           2CADR    TVCINIT1                              

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