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.

039920,000002:                                                                                                  ## Copyright:   Public domain.
039921,000003:                                                                                                  ## Filename:    TVCINITIALIZE.agc
039922,000004:                                                                                                  ## Purpose:     A section of Comanche revision 067.
039923,000005:                                                                                                  ##              It is part of the reconstructed source code for the flight
039924,000006:                                                                                                  ##              software for the Command Module's (CM) Apollo Guidance Computer
039925,000007:                                                                                                  ##              (AGC) for Apollo 12. No original listings of this program are
039926,000008:                                                                                                  ##              available; instead, this file was created via dissassembly of
039927,000009:                                                                                                  ##              dumps of Comanche 067 core rope modules and comparison with
039928,000010:                                                                                                  ##              other AGC programs.
039929,000011:                                                                                                  ## Assembler:   yaYUL
039930,000012:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
039931,000013:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
039932,000014:                                                                                                  ## Mod history: 2023-08-16 MAS  Created from Comanche 055.
039933,000015: 
039934,000016:                                                                                                  #  NAME          TVCDAPON (TVC DAP INITIALIZATION AND STARTUP CALL)
039935,000017:                                                                                                  #  LOG SECTION...TVCINITIALIZE                   SUBROUTINE...DAPCSM
039936,000018:                                                                                                  #  MODIFIED BY SCHLUNDT                          21 OCTOBER 1968
039937,000019:                                                                                                  #  FUNCTIONAL DESCRIPTION
039938,000020:                                                                                                  #        PERFORMS TVCDAP INITIALIZATION (GAINS, TIMING PARAMETERS, FILTER VARIABLES, ETC.)
039939,000021:                                                                                                  #        COMPUTES STEERING (S40.8) GAIN KPRIMEDT, AND ZEROES PASTDELV,+1 VARIABLE
039940,000022:                                                                                                  #        MAKES INITIALIZATION CALL TO ..NEEDLER.. FOR TVC DAP NEEDLES-SETUP
039941,000023:                                                                                                  #        PERFORMS INITIALIZATION FOR ROLL DAP
039942,000024:                                                                                                  #        CALLS TVCEXECUTIVE AT TVCEXEC, VIA WAITLIST
039943,000025:                                                                                                  #        CALLS TVCDAP CDU-RATE INITIALIZATION PKG AT DAPINIT  VIA T5
039944,000026:                                                                                                  #        PROVIDES FOR LOADING OF LOW-BANDWIDTH COEFFS AND GAINS AT SWICHOVR
039945,000027:                                                                                                  #  CALLING SEQUENCE - T5LOC=2CADR(TVCDAPON,EBANK=BZERO), T5=.6SECT5
039946,000028:                                                                                                  #        IN PARTICULAR, CALLED BY ..DOTVCON.. IN P40
039947,000029:                                                                                                  #        MRCLEAN AND TVCINIT4 ARE POSSIBLE RESTART ENTRY POINTS
039948,000030:                                                                                                  #  NORMAL EXIT MODE
039949,000031:                                                                                                  #        TCF RESUME
039950,000032:                                                                                                  #  SUBROUTINES CALLED
039951,000033:                                                                                                  #        NEEDLER, MASSPROP
039952,000034:                                                                                                  #  ALARM OR ABORT EXIT MODES
039953,000035:                                                                                                  #        NONE
039954,000036:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED
039955,000037:                                                                                                  #        CSMMASS, LEMMASS, DAPDATR1 (FOR MASSPROP SUBROUTINE)
039956,000038:                                                                                                  #        TVC PAD LOADS (SEE EBANK6 IN ERASABLE ASSIGNMENTS)
039957,000039:                                                                                                  #        PACTOFF, YACTOFF, CDUX
039958,000040:                                                                                                  #        TVCPHASE AND THE T5 BITS OF FLAGWRD6 (SET AT DOTVCON IN P40)
039959,000041:                                                                                                  #  OUTPUT
039960,000042:                                                                                                  #        ALL TVC AND ROLL DAP ERASABLES, FLAGWRD6 (BITS 13,14), T5, WAITLIST
039961,000043:                                                                                                  #  DEBRIS
039962,000044:                                                                                                  #        NONE
039963,000045: 
039964,000046: 42,3770                                           COUNT*   $$/INIT                               
039965,000047: 17,2205                                           BANK     17                                    
039966,000048: 17,2000                                           SETLOC   DAPS7                                 
039967,000049: 17,2000                                           BANK                                           
039968,000050: 
039969,000051: 17,2205  E6,1704                                  EBANK=   BZERO                                 
039970,000052: 
039971,000053: 17,2205           22016        TVCDAPON           LXCH     BANKRUPT                              #  T5 RUPT ARRIVAL (CALL BY DOTVCON - P40)
039972,000054: 17,2206           00006                           EXTEND                                         #  SAVE Q REQUIRED IN RESTARTS (MRCLEAN AND
039973,000055: 17,2207           22012                           QXCH     QRUPT                                 #        TVCINIT4 ARE ENTRIES)
039974,000056: 17,2210           32572        MRCLEAN            CAF      NZERO                                 #  NUMBER TO ZERO, LESS ONE  (MUST BE ODD)
039975,000057:                                                                                                  #        TVC RESTARTS ENTER HERE  (NEW BANK)
039976,000058: 17,2211           10000                 +1        CCS      A                                     
039977,000059: 17,2212           55447                           TS       CNTR                                  
039978,000060: 17,2213           35035                           CAF      ZERO                                  
039979,000061: 17,2214           54001                           TS       L                                     
039980,000062: 17,2215           51447                           INDEX    CNTR                                  
039981,000063: 17,2216           53530                           DXCH     OMEGAYC                               #  FIRST (LAST) TWO LOCATIONS
039982,000064: 17,2217           11447                           CCS      CNTR                                  
039983,000065: 17,2220           12211                           TCF      MRCLEAN    +1                         
039984,000066: 17,2221           00006                           EXTEND                                         #  SET UP ANOTHER T5 RUPT TO CONTINUE
039985,000067: 17,2222           32607                           DCA      INITLOC2                              #        INITIALIZATION AT TVCINIT1
039986,000068: 17,2223           53313                           DXCH     T5LOC                                 #  THE PHSCHK2 ENTRY (REDOTVC) AT TVCDAPON
039987,000069: 17,2224           35013                           CAF      POSMAX                                #        +3 IS IN ANOTHER BANK.  MUST RESET
039988,000070: 17,2225           54030                           TS       TIME5                                 #        BBCON TOO (FULL 2CADR), FOR THAT
039989,000071: 17,2226           15347        ENDMRC             TCF      RESUME                                #        ENTRY.
039990,000072: 
039991,000073: 17,2227           22016        TVCINIT1           LXCH     BANKRUPT                              
039992,000074: 17,2230           00006                           EXTEND                                         
039993,000075: 17,2231           22012                           QXCH     QRUPT                                 
039994,000076: 
039995,000077: 17,2232           04754                           TC       IBNKCALL                              #  UPDATE IXX, IAVG/TLX FOR DAP GAINS (R03
039996,000078: 17,2233           13370                           CADR     MASSPROP                              #        OR NOUNS 46 AND 47 MUST BE CORRECT)
039997,000079: 
039998,000080: 17,2234           30110                           CAE      EMDOT                                 #  SPS FLOW RATE, SCALED B+3 KG/CS
039999,000081: 17,2235           00006                           EXTEND                                         
040000,000082: 17,2236           72603                           MP       ONETHOU                               
040001,000083: 17,2237           55637                           TS       TENMDOT                               #  10-SEC MASS LOSS B+16 KG
040002,000084: 17,2240           40000                           COM                                            
040003,000085: 17,2241           61474                           AD       CSMMASS                               
040004,000086: 17,2242           55654                           TS       MASSTMP                               #  DECREMENT FOR FIRST 10 SEC OF BURN
040005,000087: 
040006,000088: 17,2243           31466                           CAE      DAPDATR1                              #  CHECK LEM-ON/OFF
040007,000089: 17,2244           75016                           MASK     BIT14                                 
040008,000090: 17,2245           10000                           CCS      A                                     
040009,000091: 17,2246           35033                           CAF      BIT1                                  #  LEM-ON (BIT1)
040010,000092: 17,2247           55447                           TS       CNTR                                  #  LEM-OFF (ZERO)
040011,000093: 
040012,000094: 17,2250           51447                           INDEX    CNTR                                  #  LOAD THE FILTER COEFFICIENTS
040013,000095: 17,2251           32567                           CAF      CSMCFADR                              
040014,000096: 17,2252           55724                           TS       COEFFADR                              
040015,000097: 17,2253           02460                           TC       LOADCOEF                              
040016,000098: 
040017,000099: 17,2254           51447                           INDEX    CNTR                                  #  PICK UP LM-OFF,-ON KTLX/I
040018,000100: 17,2255           31416                           CAE      EKTLX/I                               #  SCALED AT 1/(8 ASCREV) OF ACTUAL VALUE
040019,000101: 17,2256           55636                           TS       KTLX/I                                
040020,000102: 
040021,000103: 17,2257           02520                           TCR      S40.15                                #  COMPUTE 1/CONACC, VARK
040022,000104: 
040023,000105: 17,2260           41447        TVCINIT2           CS       CNTR                                  #  PICK LM-OFF,-ON VALUE FOR FILTER PERIOD
040024,000106: 17,2261           50000                           INDEX    A                                     #  DETERMINATION:
040025,000107: 17,2262           35032                           CAF      BIT2                                  #        BIT2 FOR CSM ONLY 40MS FILTER
040026,000108: 17,2263           55634                           TS       KPRIMEDT                              #        BIT3 FOR CSM/LM 80MS FILTER
040027,000109: 
040028,000110: 17,2264           40000                           COM                                            #  PREPARE T5TVCDT
040029,000111: 17,2265           65013                           AD       POSMAX                                
040030,000112: 17,2266           65033                           AD       BIT1                                  
040031,000113: 17,2267           55625                           TS       T5TVCDT                               
040032,000114: 
040033,000115: 17,2270           45015                           CS       BIT15                                 #  RESET SWTOVER FLAG
040034,000116: 17,2271           70105                           MASK     FLAGWRD9                              
040035,000117: 17,2272           54105                           TS       FLAGWRD9                              
040036,000118: 
040037,000119: 17,2273           51447                           INDEX    CNTR                                  #  PICK UP LEM-OFF,-ON KPRIME
040038,000120: 17,2274           31414                           CAE      EKPRIME                               #        SCALED (100 PI)/16
040039,000121: 17,2275           00006                           EXTEND                                         
040040,000122: 17,2276           71634                           MP       KPRIMEDT                              #  (TVCDT/2, SC.AT B+14 CS)
040041,000123: 17,2277           22000                           LXCH     A                                     #        SC.AT PI/8      (DIMENSIONLESS)
040042,000124: 17,2300           53635                           DXCH     KPRIMEDT                              
040043,000125: 
040044,000126: 17,2301           51447                           INDEX    CNTR                                  #  PICK UP LEM-OFF,-ON REPFRAC
040045,000127: 17,2302           31421                           CAE      EREPFRAC                              
040046,000128: 17,2303           55642                           TS       REPFRAC                               
040047,000129: 
040048,000130: 17,2304           51447                           INDEX    CNTR                                  #  PICK UP ONE-SHOT CORRECTION TIME
040049,000131: 17,2305           32576                           CAF      TCORR                                 
040050,000132: 17,2306           55447                           TS       CNTR                                  
040051,000133: 
040052,000134: 17,2307           37716                           CAF      NEGONE                                #  PREVENT STROKE TEST UNTIL CALLED
040053,000135: 17,2310           55656                           TS       STRKTIME                              
040054,000136: 
040055,000137: 17,2311           34374                           CAF      NINETEEN                              #  SET VCNTR FOR VARIABLE-GAIN UPDATES IN
040056,000138: 17,2312           55643                           TS       VCNTR                                 #        10 SECONDS (TVCEXEC 1/2 SEC RATE)
040057,000139: 17,2313           55444                           TS       V97VCNTR                              #  FOR ENGFAIL (R41) LOGIC
040058,000140: 
040059,000141: 17,2314           31423        TVCINIT3           CAE      PACTOFF                               #  TRIM VALUES TO TRIM-TRACKERS, OUTPUT
040060,000142: 17,2315           55605                           TS       PDELOFF                               #        TRACKERS, OFFSET-UPDATES, AND
040061,000143: 17,2316           55623                           TS       PCMD                                  #        OFFSET-TRACKER FILTERS
040062,000144: 17,2317           55601                           TS       DELPBAR                               #        NOTE, LO-ORDER DELOFF,DELBAR ZEROED
040063,000145: 
040064,000146: 17,2320           31424                           CAE      YACTOFF                               
040065,000147: 17,2321           55607                           TS       YDELOFF                               
040066,000148: 17,2322           55624                           TS       YCMD                                  
040067,000149: 17,2323           55603                           TS       DELYBAR                               
040068,000150: 
040069,000151: 17,2324           31466        ATTINIT            CAE      DAPDATR1                              #  ATTITUDE-ERROR INITIALIZATION LOGIC
040070,000152: 17,2325           75017                           MASK     BIT13                                 #        TEST FOR CSM OR CSM/LM
040071,000153: 17,2326           00006                           EXTEND                                         
040072,000154: 17,2327           12355                           BZF      NEEDLEIN                              #        BYPASS INITIALIZATION FOR CSM/LM
040073,000155: 
040074,000156: 17,2330           35033                           CAF      BIT1                                  #        SET UP TEMPORARY COUNTER
040075,000157: 17,2331           55611                 +5        TS       TTMP1                                 
040076,000158: 
040077,000159: 17,2332           51611                           INDEX    TTMP1                                 
040078,000160: 17,2333           31704                           CA       ERRBTMP                               #  ERRBTMP CONTAINS RCS ATTITUDE ERRORS
040079,000161: 17,2334           00006                           EXTEND                                         #        ERRORY & ERRORZ (P40 AT DOTVCON)
040080,000162: 17,2335           72575                           MP       1/ATTLIM                              #  .007325(ERROR) = 0 IF ERROR < 1.5 DEG
040081,000163: 17,2336           00006                           EXTEND                                         
040082,000164: 17,2337           12347                           BZF      +8D                                   #        |ERROR| LESS THAN 1.5 DEG
040083,000165: 17,2340           00006                           EXTEND                                         
040084,000166: 17,2341           62344                           BZMF     +3                                    #        |ERROR| > 1.5 DEG, AND NEG
040085,000167: 17,2342           32574                           CA       ATTLIM                                #        |ERROR| > 1.5 DEG, AND POS
040086,000168: 17,2343           12345                           TCF      +2                                    
040087,000169: 17,2344           42574                 +3        CS       ATTLIM                                
040088,000170: 17,2345           51611                 +2        INDEX    TTMP1                                 
040089,000171: 17,2346           55704                           TS       ERRBTMP                               
040090,000172: 17,2347           11611                 +8        CCS      TTMP1                                 #        TEST TEMPORARY COUNTER
040091,000173: 17,2350           12331                           TCF      ATTINIT    +5                         #        BACK TO REPEAT FOR PITCH ERROR
040092,000174: 
040093,000175: 17,2351           31704                           CA       ERRBTMP                               #  ERRORS ESTABLISHED AND LIMITED
040094,000176: 17,2352           55575                           TS       PERRB                                 
040095,000177: 17,2353           31705                           CA       ERRBTMP    +1                         
040096,000178: 17,2354           55577                           TS       YERRB                                 
040097,000179: 
040098,000180: 17,2355           41501        NEEDLEIN           CS       RCSFLAGS                              #  SET BIT 3 FOR INITIALIZATION PASS AND GO
040099,000181: 17,2356           75031                           MASK     BIT3                                  #        TO NEEDLER.  WILL CLEAR FOR TVC DAP
040100,000182: 17,2357           27501                           ADS      RCSFLAGS                              #        (RETURNS AFTER CADR)
040101,000183: 17,2360           04754                           TC       IBNKCALL                              
040102,000184: 17,2361           42432                           CADR     NEEDLER                               
040103,000185: 
040104,000186: 17,2362           35035        TVCINIT4           CAF      ZERO                                  #  SET TVCPHASE TO INDICATE TVCDAPON-THRU-
040105,000187: 17,2363           55644                           TS       TVCPHASE                              #        NEEDLEIN INITIALIZATION FINISHED.
040106,000188:                                                                                                  #        (POSSIBLE TVC-RESTART ENTRY)
040107,000189: 
040108,000190: 17,2364           30032                           CAE      CDUX                                  #  PREPARE ROLL DAP
040109,000191: 17,2365           55664                           TS       OGANOW                                
040110,000192: 
040111,000193: 17,2366           35017                           CAF      BIT13                                 #  IF ENGINE IS ALREADY OFF, ENGINOFF HAS
040112,000194: 17,2367           00006                           EXTEND                                         #        ALREADY ESTABLISHED THE POST-BURN
040113,000195: 17,2370           02011                           RAND     DSALMOUT                              #        CSMMASS (MASSBACK DOES IT).  DONT
040114,000196: 17,2371           00006                           EXTEND                                         #        TOUCH CSMMASS.  IF ENGINE IS ON,
040115,000197: 17,2372           12375                           BZF      +3                                    #        THEN ITS OK TO DO THE COPYCYCLE
040116,000198:                                                                                                  #        EVEN BURNS LESS THAN 0.4 SEC ARE AOK
040117,000199: 
040118,000200: 17,2373           31654                           CAE      MASSTMP                               #  COPYCYCLE
040119,000201: 17,2374           55474                           TS       CSMMASS                               
040120,000202: 
040121,000203: 17,2375           35052                 +3        CAF      .5SEC                                 #  CALL TVCEXECUTIVE (ROLLDAP CALL, ETC)
040122,000204: 17,2376           05261                           TC       WAITLIST                              
040123,000205: 17,2377  E6,1704                                  EBANK=   BZERO                                 
040124,000206: 17,2377           02772 34066                     2CADR    TVCEXEC                               
040125,000207: 
040126,000208: 17,2401           00006                           EXTEND                                         #  CALL FOR DAPINIT
040127,000209: 17,2402           32605                           DCA      DAPINIT5                              
040128,000210: 17,2403           53313                           DXCH     T5LOC                                 
040129,000211: 17,2404           31625                           CAE      T5TVCDT                               #  (ALLOW TIME FOR RESTART COMPUTATIONS)
040130,000212: 17,2405           54030                           TS       TIME5                                 
040131,000213: 17,2406           15347        ENDTVCIN           TCF      RESUME                                
040132,000214: 
040133,000215: 17,2407           02412        PRESWTCH           TCR      SWICHOVR                              #  ENTRY FROM V46
040134,000216: 
040135,000217: 17,2410           04715                           TC       POSTJUMP                              #  THIS PROVIDES AN EXIT FROM SWITCH-OVER
040136,000218: 17,2411           21272                           CADR     PINBRNCH                              #        (PINBRNCH DOES A RELINT)
040137,000219: 
040138,000220: 17,2412           00004        SWICHOVR           INHINT                                         
040139,000221: 17,2413           31644                           CA       TVCPHASE                              #  SAVE TVCPHASE
040140,000222: 17,2414           55611                           TS       PHASETMP                              
040141,000223: 17,2415           45032                           CS       BIT2                                  #  SET TVCPHASE = -2 (INDICATES SWITCH-OVER
040142,000224: 17,2416           55644                           TS       TVCPHASE                              #        TO RESTART LOGIC)
040143,000225: 
040144,000226: 17,2417           00006                 +5        EXTEND                                         #  SAVE Q FOR RETURN (RESTART ENTRY POINT,
040145,000227: 17,2420           23613                           QXCH     RTRNLOC                               #        TVCPHASE AND PHASETMP ALREADY SET)
040146,000228: 
040147,000229: 17,2421           32573                           CAF      NZEROJR                               #  ZEROING LOOP FOR FILTER STORAGE LOCS
040148,000230: 17,2422           55700                 +8        TS       CNTRTMP                               
040149,000231: 
040150,000232: 17,2423           35035        MCLEANJR           CA       ZERO                                  
040151,000233: 17,2424           54001                           TS       L                                     
040152,000234: 17,2425           51700                           INDEX    CNTRTMP                               
040153,000235: 17,2426           53541                           DXCH     PTMP1      -1                         
040154,000236: 17,2427           11700                           CCS      CNTRTMP                               
040155,000237: 17,2430           10000                           CCS      A                                     
040156,000238: 17,2431           12422                           TCF      SWICHOVR   +8D                        
040157,000239: 
040158,000240: 17,2432           40105                           CS       FLAGWRD9                              #  SET SWITCHOVER FLAG FOR DOWNLINK
040159,000241: 17,2433           75015                           MASK     BIT15                                 
040160,000242: 17,2434           26105                           ADS      FLAGWRD9                              
040161,000243: 
040162,000244: 17,2435           31420                           CAE      EKTLX/I    +2                         #  LOW BANDWIDTH GAINS   - DAP
040163,000245: 17,2436           55636                           TS       KTLX/I                                
040164,000246: 17,2437           02527                           TCR      S40.15     +7                         
040165,000247: 
040166,000248: 17,2440           32600                           CAF      FKPRIMDT                              #                        - STEERING
040167,000249: 17,2441           55634                           TS       KPRIMEDT                              
040168,000250: 
040169,000251: 17,2442           32601                           CAF      FREPFRAC                              #                        - TMC LOOP
040170,000252: 17,2443           55642                           TS       REPFRAC                               
040171,000253: 
040172,000254: 17,2444           00006                           EXTEND                                         #  UPDATE TRIM ESTIMATES
040173,000255: 17,2445           31602                           DCA      DELPBAR                               
040174,000256: 17,2446           53606                           DXCH     PDELOFF                               
040175,000257: 17,2447           00006                           EXTEND                                         
040176,000258: 17,2450           31604                           DCA      DELYBAR                               
040177,000259: 17,2451           53610                           DXCH     YDELOFF                               
040178,000260: 
040179,000261: 17,2452           32571                           CA       LBCFADR                               
040180,000262: 17,2453           55724                           TS       COEFFADR                              
040181,000263: 17,2454           02460                           TC       LOADCOEF                              
040182,000264: 
040183,000265: 17,2455           31611                           CAE      PHASETMP                              #  RESTORE TVCPHASE
040184,000266: 17,2456           55644                           TS       TVCPHASE                              
040185,000267: 
040186,000268: 17,2457           01613                           TC       RTRNLOC                               #  BACK TO PRESWTCH OR TVCRESTARTS
040187,000269: 
040188,000270: 17,2460           00006        LOADCOEF           EXTEND                                         #  LOAD DAP FILTER COEFFICIENTS
040189,000271: 17,2461           51724                           INDEX    COEFFADR                              #    FROM: ERASABLE FOR CSM/LM HB
040190,000272: 17,2462           30001                           DCA      0                                     #          FIXED    FOR CSM/LM LB
040191,000273: 17,2463           53726                           DXCH     N10                                   #          FIXED    FOR CSM
040192,000274: 
040193,000275: 17,2464           00006                           EXTEND                                         #  NOTE: FOR CSM/LM, NORMAL COEFFICIENT
040194,000276: 17,2465           51724                           INDEX    COEFFADR                              #  LOAD WILL BE HIGH BANDWIDTH PAD LOAD
040195,000277: 17,2466           30003                           DCA      2                                     #  ERASABLES. DURING CSM/LM SWITCHOVER, 
040196,000278: 17,2467           53730                           DXCH     N10        +2                         #  THIS LOGIC IS USED TO LOAD LOW BANDWIDTH
040197,000279:                                                                                                  #  COEFFICIENTS FROM FIXED MEMORY.
040198,000280: 
040199,000281: 17,2470           00006                           EXTEND                                         
040200,000282: 17,2471           51724                           INDEX    COEFFADR                              
040201,000283: 17,2472           30005                           DCA      4                                     
040202,000284: 17,2473           53732                           DXCH     N10        +4                         
040203,000285: 
040204,000286: 17,2474           00006                           EXTEND                                         
040205,000287: 17,2475           51724                           INDEX    COEFFADR                              
040206,000288: 17,2476           30007                           DCA      6                                     
040207,000289: 17,2477           53734                           DXCH     N10        +6                         
040208,000290: 
040209,000291: 17,2500           00006                           EXTEND                                         
040210,000292: 17,2501           51724                           INDEX    COEFFADR                              
040211,000293: 17,2502           30011                           DCA      8D                                    
040212,000294: 17,2503           53736                           DXCH     N10        +8D                        
040213,000295: 
040214,000296: 17,2504           00006                           EXTEND                                         
040215,000297: 17,2505           51724                           INDEX    COEFFADR                              
040216,000298: 17,2506           30013                           DCA      10D                                   
040217,000299: 17,2507           53740                           DXCH     N10        +10D                       
040218,000300: 
040219,000301: 17,2510           00006                           EXTEND                                         
040220,000302: 17,2511           51724                           INDEX    COEFFADR                              
040221,000303: 17,2512           30015                           DCA      12D                                   
040222,000304: 17,2513           53742                           DXCH     N10        +12D                       
040223,000305: 
040224,000306: 17,2514           51724                           INDEX    COEFFADR                              
040225,000307: 17,2515           30016                           CA       14D                                   
040226,000308: 17,2516           55743                           TS       N10        +14D                       
040227,000309: 
040228,000310: 17,2517           00002                           TC       Q                                     
040229,000311: 17,2520           31470        S40.15             CAE      IXX                                   #  GAIN COMPUTATIONS (1/CONACC, VARK)
040230,000312: 17,2521           00006                           EXTEND                                         #  ENTERED FROM TVCINITIALIZE AND TVCEXEC
040231,000313: 17,2522           72602                           MP       2PI/M                                 #        2PI/M SCALED 1/(B+8 N M)
040232,000314: 17,2523           20001                           DDOUBL                                         #        IXX   SCALED B+20 KG-MSQ
040233,000315: 17,2524           20001                           DDOUBL                                         
040234,000316: 17,2525           20001                           DDOUBL                                         
040235,000317: 17,2526           55640                           TS       1/CONACC                              #              SCALED B+9 SEC-SQ/REV
040236,000318: 
040237,000319: 17,2527           31636                 +7        CAE      KTLX/I                                #  ENTRY FROM CSM/LM V46 SWITCH-OVER
040238,000320: 17,2530           00006                           EXTEND                                         #             SCALED (B+3 ASCREV)  1/SECSQ
040239,000321: 17,2531           71472                           MP       IAVG/TLX                              #             SCALED B+2 SECSQ
040240,000322: 17,2532           20001                           DDOUBL                                         
040241,000323: 17,2533           20001                           DDOUBL                                         
040242,000324: 17,2534           55641                           TS       VARK                                  #             SCALED (B+3 ASCREV)
040243,000325: 17,2535           00002                           TC       Q                                     
040244,000326: 
040245,000327: 17,2536           37777        CSMN10             DEC      .99999                                #  N10   CSM ONLY FILTER COEFFICIENTS
040246,000328: 17,2537           67657                           DEC      -.2549                                #  N11/2
040247,000329: 17,2540           01703                           DEC      .0588                                 #  N12
040248,000330: 17,2541           47472                           DEC      -.7620                                #  D11/2
040249,000331: 17,2542           27656                           DEC      .7450                                 #  D12
040250,000332: 
040251,000333: 17,2543           37777                           DEC      .99999                                #  N20
040252,000334: 17,2544           60361                           DEC      -.4852                                #  N21/2
040253,000335: 17,2545           00000                           DEC      0          B-14                       #  N22
040254,000336: 17,2546           67304                           DEC      -.2692                                #  D22/2
040255,000337: 17,2547           00000                           DEC      0          B-14                       #  D22
040256,000338: 
040257,000339: 17,2550           37777        LBN10              DEC      +.99999                               #  N10   LOW BANDWIDTH FILTER COEFFICIENTS
040258,000340: 17,2551           65371                           DEC      -.3285                                #  N11/2
040259,000341: 17,2552           65337                           DEC      -.3301                                # N12
040260,000342: 17,2553           42700                           DEC      -.9101                                # D11/2
040261,000343: 17,2554           33045                           DEC      +.8460                                # D12
040262,000344: 
040263,000345: 17,2555           01000                           DEC      +.03125                               # N20
040264,000346: 17,2556           00000                           DEC      0          B-14                       # N21/2
040265,000347: 17,2557           00000                           DEC      0          B-14                       # N22
040266,000348: 17,2560           42700                           DEC      -.9101                                # D21/2
040267,000349: 17,2561           33045                           DEC      +.8460                                # D22
040268,000350: 
040269,000351: 17,2562           20000                           DEC      +.50000                               # N30
040270,000352: 17,2563           60730                           DEC      -.47115                               # N31/2
040271,000353: 17,2564           17145                           DEC      +.4749                                # N32
040272,000354: 17,2565           41323                           DEC      -.9558                                # D31/2
040273,000355: 17,2566           35773                           DEC      +.9372                                # D32
040274,000356: 
040275,000357: 17,2567           02536        CSMCFADR           GENADR   CSMN10                                #  CSM ONLY COEFFICIENTS ADDRESS
040276,000358: 17,2570           01425        HBCFADR            GENADR   HBN10                                 #  HIGH BANDWIDTH COEFFICIENTS ADDRESS
040277,000359: 17,2571           02550        LBCFADR            GENADR   LBN10                                 #  LOW BANDWIDTH COEFFICIENTS ADDRESS
040278,000360: 
040279,000361: 17,2572           00063        NZERO              DEC      51         B-14                       #  MUST BE ODD FOR MRCLEAN
040280,000362: 17,2573           00027        NZEROJR            DEC      23         B-14                       #  MUST BE ODD FOR MCLEANJR
040281,000363: 
040282,000364: 17,2574           00210        ATTLIM             DEC      0.00833                               #  INITIAL ATTITUDE ERROR LIMIT (1.5 DEG)
040283,000365: 17,2575           00170        1/ATTLIM           DEC      0.007325                              #  .007325(ERROR) = 0 IF ERROR < 1.5 DEG
040284,000366: 
040285,000367: 17,2576           00005        TCORR              OCT      00005                                 #  CSM
040286,000368: 17,2577           00000                 +1        OCT      00000                                 #  CSM/LM (HB,LB)
040287,000369: 
040288,000370: 17,2600           00247        FKPRIMDT           DEC      .0102                                 #  CSM/LM (LB), (.05 X .08) SCALED AT PI/8
040289,000371: 17,2601           00232        FREPFRAC           DEC      .0375      B-2                        #  CSM/LM (LB), 0.0375 SCALED AT B+2
040290,000372: 
040291,000373: 17,2602     4374               NINETEEN           =        VD1                                   
040292,000374: 17,2602           33074        2PI/M              DEC      .00331017  B+8                        #  2PI/M, SCALED AT 1/(B+8 N-M)
040293,000375: 
040294,000376: 17,2603           03720        ONETHOU            DEC      1000       B-13                       #  KG/CS B3 TO KG/10SEC B16 CONVERSION
040295,000377: 
040296,000378: 17,2604  E6,1704                                  EBANK=   BZERO                                 
040297,000379: 17,2604           03142 40066  DAPINIT5           2CADR    DAPINIT                               
040298,000380: 
040299,000381: 17,2606  E6,1704                                  EBANK=   BZERO                                 
040300,000382: 17,2606           02227 36066  INITLOC2           2CADR    TVCINIT1                              

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