Source Code
These source-code files are part of a reconstructed copy of Comanche 51, the
initial release (though not the final mission release) of the Apollo 11
Command Module (CM) Apollo Guidance Computer (AGC) software. The flown, final
release was Comanche 55. The reconstruction is believed to be exactly accurate,
but in the absence of an actual Apollo-era listing of Comanche 51, some
explanation of the reconstruction process is needed to insure confidence in
that accuracy.
The starting point was the source code of Comanche 55, whose original source code is available. Comanche 55 source code was then modified by undoing changes known to have been made between revisions 51 and 55. The most-significant steps involved reverting changes related to the R-2 lunar potential model, the details of which were known from the previous, separate, independent reconstruction of the Apollo 10 Lunar Module software Luminary 69/2. The now-reconstructed Comanche 51 source code was verified by assembling it and checking that the assembled code had the expected known-correct memory-bank checksums. Note that page numbers in the reconstructed code match those on the Comanche 55 or Luminary 69 printouts, although the source code would likely have different page numbers in a contemporary Comanche 51 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 55. Here's a guide to some of the Apollo documentation relevant to 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. |
008780,000002: ## Copyright: Public domain.
008781,000003: ## Filename: RESTART_TABLES.agc
008782,000004: ## Purpose: A section of Comanche revision 051.
008783,000005: ## It is part of the reconstructed source code for the
008784,000006: ## original release of the flight software for the Command
008785,000007: ## Module's (CM) Apollo Guidance Computer (AGC) for Apollo 11.
008786,000008: ## The code has been recreated from a copy of Comanche 055. It
008787,000009: ## has been adapted such that the resulting bugger words
008788,000010: ## exactly match those specified for Comanche 51 in NASA drawing
008789,000011: ## 2021153D, which gives relatively high confidence that the
008790,000012: ## reconstruction is correct.
008791,000013: ## Reference: pp. 211-221
008792,000014: ## Assembler: yaYUL
008793,000015: ## Contact: Ron Burkey <info@sandroid.org>.
008794,000016: ## Website: www.ibiblio.org/apollo/index.html
008795,000017: ## Mod history: 2019-07-30 MAS Created from Comanche 55.
008796,000018:
Page 211 |
008798,000020: # RESTART TABLES
008799,000021: # ------------------
008800,000022:
008801,000023: # THERE ARE TWO FORMS OF RESTART TABLES FOR EACH GROUP. THEY ARE KNOWN AS THE EVEN RESTART TABLES AND THE ODD
008802,000024: # RESTART TABLES. THE ODD TABLES HAVE ONLY ONE ENTRY OF THREE LOCATIONS WHILE THE EVEN TABLES HAVE TWO ENTRIES
008803,000025: # EACH USING THREE LOCATIONS. THE INFORMATION AS TO WHETHER IT IS A JOB, WAITLIST, OR A LONGCALL IS GIVEN BY THE
008804,000026: # WAY THINGS ARE PUT IN TO THE TABLES.
008805,000027:
008806,000028: # A JOB HAS ITS PRIORITY STORED IN PRDTTAB OF THE CORRECT PHASE SPOT - A POSITIVE PRIORITY INDICATES A
008807,000029: # FINDVAC JOB, A NEGATIVE PRIORITY A NOVAC. THE 2CADR OF THE JOB IS STORED IN THE CADRTAB.
008808,000030: # FOR EXAMPLE,
008809,000031:
008810,000032: # 5.7SPOT OCT 23000
008811,000033: # 2CADR SOMEJOB
008812,000034:
008813,000035: # A RESTART OF GROUP 5 WITH PHASE SEVEN WOULD THEN CAUSE SOMEJOB TO BE RESTARTED AS A FINDVAC WITH PRIORITY 23.
008814,000036:
008815,000037: # 5.5SPOT OCT -23000
008816,000038: # 2CADR ANYJOB
008817,000039:
008818,000040: # HERE A RESTART OF GROUP 5 WITH PHASE 7 WOULD CAUSE ANYJOB TO BE RESTARTED AS A NOVAC WITH PRIORITY 23.
008819,000041: # A LONGCALL HAS ITS GENADR OF ITS 2CADR STORED NEGATIVELY AND ITS BBCON STORED POSITIVELY. IN ITS PRDTTAB IS
008820,000042: # PLACED THE LOCATION OF A DP REGISTER THAT CONTAINS THE DELTA TIME THAT LONGCALL HAD BEEN ORIGINALLY STARTED
008821,000043: # WITH. EXAMPLE,
008822,000044:
008823,000045: # 3.6SPOT GENADR DELTAT
008824,000046: # -GENADR LONGTASK
008825,000047: # BBCON LONGTASK
008826,000048:
008827,000049: # OCT 31000
008828,000050: # 2CADR JOBAGAIN
008829,000051:
008830,000052: # THIS WOULD START UP LONGTASK AT THE APPROPRIATE TIME, OR IMMEDIATELY IF THE TIME HAD ALREADY PASSED. IT SHOULD
008831,000053: # BE NOTED THAT IF DELTAT IS IN A SWITCHED E BANK, THIS INFORMATOIN SHOULD BE IN THE BBCON OF THE 2CADR OF THE
008832,000054: # TASK. FROM ABOVE, WE SEE THAT THE SECOND PART OF THIS PHASE WOULD BE STARTED AS A JOB WITH A PRIORITY OF 31.
008833,000055:
008834,000056: # WAITLIST CALLS ARE IDENTIFIED BY THE FACT THAT THEIR 2CADR IS STORED NEGATIVELY. IF PRDTTAB OF THE PHASE SPOT
008835,000057: # IS POSITIVE, THEN IT CONTAINS THE DELTA TIME, IF PRDTTAB IS NEGATIVE THEN IT IS THE -GENADR OF AN ERASABLE
008836,000058: # LOCATION CONTAINING THE DELTA TIME, THAT IS, THE TIME IS STORED INDIRECTLY. IT SHOULD BE NOTED AS ABOVE, THAT
008837,000059: # IF THE TIME IS STORED INDIRECTLY, THE BBCON MUST CONTAIN THE NECESSARY E BANK INFORMATION IF APPLICABLE. WITH
008838,000060: # WAITLIST WE HAVE ONE FURTHER OPTION, IF -0 IS STORED IN PRDTTAB, IT WILL CAUSE AN IMMEDIATE RESTART OF THE
008839,000061: # TASK. EXAMPLES,
008840,000062:
008841,000063: # OCT 77777 THIS WILL CAUSE AN IMMEDIATE RESTART
008842,000064: # -2CADR ATASK OF THE TASK :ATASK:
008843,000065:
008844,000066: # DEC 200 IF THE TIME OF THE 2 SECONDS SINCE DUMMY
008845,000067: # -2CADR DUMMY WAS PUT ON WAITLIST IS UP, IT WILL BEGIN
008846,000068: # IN 10 MS, OTHERWISE IT WILL BEGIN WHEN
008847,000069: # IT NORMALLY WOULD HAVE BEGUN.
Page 212 |
008849,000071: # -GENADR DTIME WHERE DTIME CONTAINS THE DELTA TIME
008850,000072: # -2CADR TASKTASK OTHERWISE THIS IS AS ABOVE
008851,000073:
008852,000074: # ***** NOW THE TABLES THEMSELVES *****
008853,000075:
008854,000076: 01,2000 BANK 01
008855,000077: 01,2000 SETLOC RESTART
008856,000078: 01,2000 BANK
008857,000079:
008858,000080: 01,2000 COUNT 01/RSTAB
008859,000081:
008860,000082: 01,2000 PRDTTAB EQUALS 12000 # USED TO FIND THE PRIORITY OR DELTATIME
008861,000083: 01,2000 CADRTAB EQUALS 12001 # THIS AND THE NEXT RELATIVE LOC CONTAIN
008862,000084: # RESTART 2CADR
008863,000085:
008864,000086: 01,2000 00063 SIZETAB TC 1.2SPOT -12006
008865,000087: 01,2001 00010 TC 1.3SPOT -12004
008866,000088: 01,2002 00063 TC 2.2SPOT -12006
008867,000089: 01,2003 00024 TC 2.3SPOT -12004
008868,000090: 01,2004 00063 TC 3.2SPOT -12006
008869,000091: 01,2005 00043 TC 3.3SPOT -12004
008870,000092: 01,2006 00063 TC 4.2SPOT -12006
008871,000093: 01,2007 00107 TC 4.3SPOT -12004
008872,000094: 01,2010 00242 TC 5.2SPOT -12006
008873,000095: 01,2011 00260 TC 5.3SPOT -12004
008874,000096: 01,2012 00336 TC 6.2SPOT -12006
008875,000097: 01,2013 00346 TC 6.3SPOT -12004
008876,000098: 01,2014 01,2071 1.2SPOT EQUALS 3.2SPOT
008877,000099:
008878,000100: # ANY MORE GROUP 1.EVEN RESTART VALUES SHOULD GO HERE
008879,000101:
008880,000102: 01,2014 00170 1.3SPOT DEC 120 B-14 # THIS NUMBER MUST EQUAL C(JTAGTIME)
008881,000103: 01,2015 E6,1661 EBANK= AOG
008882,000104: 01,2015 74570 45711 -2CADR SETJTAG
008883,000105:
008884,000106: 01,2017 10000 1.5SPOT OCT 10000
008885,000107: 01,2020 E6,1466 EBANK= DAPDATR1
008886,000108: 01,2020 02405 34066 2CADR REDO40.9
008887,000109:
008888,000110: 01,2022 10000 1.7SPOT OCT 10000
008889,000111: 01,2023 E6,1413 EBANK= ESTROKER
008890,000112: 01,2023 02074 56066 2CADR RELINUS
008891,000113:
008892,000114: 01,2025 10000 1.11SPOT OCT 10000
008893,000115: 01,2026 E6,1413 EBANK= ESTROKER
008894,000116: 01,2026 02345 76066 2CADR PIKUP20
008895,000117:
008896,000118: # ANY MORE GROUP 1.ODD RESTART VALUES SHOULD GO HERE
008897,000119:
008898,000120: 01,2030 01,2071 2.2SPOT EQUALS 1.2SPOT
008899,000121:
008900,000122: # ANY MORE GROUP 2.EVEN RESTART VALUES SHOULD GO HERE
Page 213 |
008902,000124:
008903,000125: 01,2030 02654 2.3SPOT GENADR 600SECS
008904,000126: 01,2031 75150 -GENADR STATEINT
008905,000127: 01,2032 E3,1554 EBANK= RRECTCSM
008906,000128: 01,2032 26063 BBCON STATEINT
008907,000129:
008908,000130: 01,2033 05000 2.5SPOT OCT 05000
008909,000131: 01,2034 E3,1554 EBANK= RRECTCSM
008910,000132: 01,2034 02636 26063 2CADR STATINT1
008911,000133:
008912,000134: 01,2036 10000 2.7SPOT OCT 10000
008913,000135: 01,2037 E7,1734 EBANK= MRKBUF2
008914,000136: 01,2037 02630 70067 2CADR R22
008915,000137:
008916,000138: 01,2041 14000 2.11SPOT OCT 14000
008917,000139: 01,2042 E5,1751 EBANK= LANDMARK
008918,000140: 01,2042 02576 62065 2CADR V94ENTER
008919,000141:
008920,000142: 01,2044 10000 2.13SPOT OCT 10000
008921,000143: 01,2045 E7,1734 EBANK= MRKBUF2
008922,000144: 01,2045 02377 56067 2CADR REDOR22
008923,000145:
008924,000146: # ANY MORE GROUP 2.ODD RESTART VALUES SHOULD GO HERE
008925,000147:
008926,000148: 01,2047 01,2071 3.2SPOT EQUALS 4.2SPOT
008927,000149:
008928,000150: # ANY MORE GROUP 3.EVEN RESTART VALUES SHOULD GO HERE
008929,000151:
008930,000152: 01,2047 20000 3.3SPOT OCT 20000
008931,000153: 01,2050 E7,1427 EBANK= TGO
008932,000154: 01,2050 02427 34067 2CADR S40.13
008933,000155:
008934,000156: 01,2052 00000 3.5SPOT DEC 0 B-14
008935,000157: 01,2053 00000 DEC 0 B-14
008936,000158: 01,2054 00000 DEC 0 B-14
008937,000159:
008938,000160: 01,2055 22000 3.7SPOT OCT 22000
008939,000161: 01,2056 E3,1706 EBANK= TEPHEM
008940,000162: 01,2056 02117 70063 2CADR MATRXJOB
008941,000163:
008942,000164: 01,2060 22000 3.11SPOT OCT 22000
008943,000165: 01,2061 E3,1706 EBANK= TEPHEM
008944,000166: 01,2061 02253 70063 2CADR REP11
008945,000167:
008946,000168: 01,2063 22000 3.13SPOT OCT 22000
008947,000169: 01,2064 E3,1706 EBANK= TEPHEM
008948,000170: 01,2064 02026 70063 2CADR REP11A
008949,000171:
008950,000172: 01,2066 76347 3.15SPOT -GENADR TGO +1
008951,000173: 01,2067 E7,1427 EBANK= TGO
008952,000174: 01,2067 75011 27710 -2CADR ENGINOFF
008953,000175:
Page 214 |
008955,000177: # ANY MORE GROUP 3.ODD RESTART VALUES SHOULD GO HERE
008956,000178:
008957,000179: 01,2071 77777 4.2SPOT OCT 77777
008958,000180: 01,2072 E7,1412 EBANK= TIG
008959,000181: 01,2072 75207 27710 -2CADR PRECHECK
008960,000182:
008961,000183: 01,2074 30000 OCT 30000
008962,000184: 01,2075 E7,1674 EBANK= DELVIMU
008963,000185: 01,2075 02534 50067 2CADR P47BODY
008964,000186:
008965,000187: 01,2077 77777 4.4SPOT OCT 77777
008966,000188: 01,2100 E7,1412 EBANK= TIG
008967,000189: 01,2100 75207 27710 -2CADR PRECHECK
008968,000190:
008969,000191: 01,2102 05664 DEC 2996 B-14
008970,000192: 01,2103 E6,1466 EBANK= DAPDATR1
008971,000193: 01,2103 75443 27711 -2CADR TTG/0
008972,000194:
008973,000195: 01,2105 77777 4.6SPOT OCT 77777
008974,000196: 01,2106 E7,1412 EBANK= TIG
008975,000197: 01,2106 75207 27710 -2CADR PRECHECK
008976,000198:
008977,000199: 01,2110 04700 DEC 2496 B-14
008978,000200: 01,2111 E7,1412 EBANK= TIG
008979,000201: 01,2111 75203 27710 -2CADR TIG-5
008980,000202:
008981,000203: # ANY MORE GROUP 4.EVEN RESTART VALUES SHOULD GO HERE
008982,000204:
008983,000205: 01,2113 00050 4.3SPOT DEC 40 B-14
008984,000206: 01,2114 E6,1423 EBANK= PACTOFF
008985,000207: 01,2114 75115 27711 -2CADR DOTVCON
008986,000208:
008987,000209: 01,2116 00240 4.5SPOT DEC 160 B-14
008988,000210: 01,2117 E6,1423 EBANK= PACTOFF
008989,000211: 01,2117 75064 27711 -2CADR DOSTRULL
008990,000212:
008991,000213: 01,2121 00764 4.7SPOT DEC 500 B-14
008992,000214: 01,2122 E6,1423 EBANK= PACTOFF
008993,000215: 01,2122 75165 27711 -2CADR TIG-0
008994,000216:
008995,000217: 01,2124 00372 4.11SPOT DEC 250 B-14
008996,000218: 01,2125 E6,1466 EBANK= DAPDATR1
008997,000219: 01,2125 74235 27711 -2CADR V97E40.6
008998,000220:
008999,000221: 01,2127 00310 4.13SPOT DEC 200 B-14
009000,000222: 01,2130 E7,1777 EBANK= WHOCARES
009001,000223: 01,2130 74270 27710 -2CADR R40ENABL
009002,000224:
009003,000225: 01,2132 16000 4.15SPOT OCT 16000 # PRELAUNCH OPTICAL VERIFICATION
009004,000226: 01,2133 E5,1757 EBANK= OGC
Page 215 |
009006,000228: 01,2133 02000 66065 2CADR COMPVER # CALLS FOR OPTICS DATA AGAIN (STD LEADIN)
009007,000229:
009008,000230: 01,2135 16000 4.17SPOT OCT 16000 # PRELAUNCH AZIMUTH CHANGE
009009,000231: 01,2136 E5,1671 EBANK= XSM
009010,000232: 01,2136 03742 66065 2CADR AZMTHCG1
009011,000233:
009012,000234: 01,2140 01672 4.21SPOT GENADR P40TMP # DELTA TIME USED IN SETTING UP
009013,000235: 01,2141 75340 -GENADR TIGBLNK # LONG CALL OF TIGBLNK BY P40,P41
009014,000236: 01,2142 E7,1672 EBANK= P40TMP
009015,000237: 01,2142 50067 BBCON TIGBLNK
009016,000238:
009017,000239: 01,2143 12000 4.23SPOT OCT 12000 # PROTECT P40S/SV BY P40 P41
009018,000240: 01,2144 E7,1412 EBANK= TIG
009019,000241: 01,2144 02204 50067 2CADR P40S/SV
009020,000242:
009021,000243: 01,2146 24000 4.25SPOT OCT 24000
009022,000244: 01,2147 0302 EBANK= BESTI
009023,000245: 01,2147 02000 32060 2CADR PROG52
009024,000246:
009025,000247: 01,2151 00372 4.27SPOT DEC 250 B-14
009026,000248: 01,2152 E6,1423 EBANK= PACTOFF
009027,000249: 01,2152 74775 27711 -2CADR DOTVCRCS
009028,000250:
009029,000251: 01,2154 13000 4.31SPOT OCT 13000
009030,000252: 01,2155 E5,1765 EBANK= STAR
009031,000253: 01,2155 02533 30065 2CADR R51 +1
009032,000254:
009033,000255: 01,2157 04064 4.33SPOT DEC 2100 B-14 # PROTECT CONTINUING JOB TO START P63
009034,000256: 01,2160 E6,1661 EBANK= AOG
009035,000257: 01,2160 75403 23711 -2CADR WAKEP62
009036,000258:
009037,000259: 01,2162 12000 4.35SPOT OCT 12000
009038,000260: 01,2163 E6,1466 EBANK= DAPDATR1
009039,000261: 01,2163 02246 50066 2CADR POSTBURN
009040,000262:
009041,000263: 01,2165 00764 4.37SPOT DEC 500 B-14
009042,000264: 01,2166 E7,1412 EBANK= TIG
009043,000265: 01,2166 75222 27710 -2CADR TIGAVEG
009044,000266:
009045,000267: 01,2170 17000 4.41SPOT OCT 17000 # PROTECT DISPLAY JOB IN P67
009046,000268: 01,2171 E6,1661 EBANK= AOG
009047,000269: 01,2171 02512 54066 2CADR P67.1
009048,000270:
009049,000271: 01,2173 76003 4.43SPOT -GENADR S61DT # PROTECT TASK TO START PREREAD,ENTRY
009050,000272: 01,2174 E6,1774 EBANK= S61DT # S61.1C WILL CHANGE EBANK=EB7 FOR PREREAD
009051,000273: 01,2174 75212 23711 -2CADR S61.1C
009052,000274:
009053,000275: 01,2176 13000 4.45SPOT OCT 13000 # PROTECT CONTINUING JOB S61.1
009054,000276: 01,2177 E6,1661 EBANK= AOG # (ENTRY IMU ALIGNMENT)
Page 216 |
009056,000278: 01,2177 02603 54066 2CADR S61.1A -1
009057,000279:
009058,000280: 01,2201 17000 4.47SPOT OCT 17000 # PROTECT HUNTEST ITERATION.
009059,000281: 01,2202 E6,1661 EBANK= AOG
009060,000282: 01,2202 03014 52066 2CADR PRE-HUNT
009061,000283:
009062,000284: 01,2204 77777 4.51SPOT OCT 77777 # PROTECT FDAI ATTITUDE
009063,000285: 01,2205 E6,1704 EBANK= BODY3 # ERROR DISPLAY IN P11
009064,000286: 01,2205 75457 07711 -2CADR ATERTASK
009065,000287:
009066,000288: 01,2207 77777 4.53SPOT DEC -0 B-14
009067,000289: 01,2210 E7,1777 EBANK= END-E7 # EBANK7 FOR TIG
009068,000290: 01,2210 74254 27710 -2CADR V97ETASK
009069,000291:
009070,000292: 01,2212 13000 4.55SPOT OCT 13000 # PROTECT P65 RESPONSIVE DISPLAY.
009071,000293: 01,2213 E7,1451 EBANK= RTINIT
009072,000294: 01,2213 02457 54067 2CADR P65.1
009073,000295:
009074,000296: 01,2215 76105 4.57SPOT -GENADR P40TMP
009075,000297: 01,2216 E7,1672 EBANK= P40TMP
009076,000298: 01,2216 75277 27710 -2CADR TIGON
009077,000299:
009078,000300: 01,2220 77777 4.61SPOT OCT 77777
009079,000301: 01,2221 E6,1423 EBANK= PACTOFF
009080,000302: 01,2221 75152 27711 -2CADR IGNITION
009081,000303:
009082,000304: 01,2223 77777 4.63SPOT OCT 77777
009083,000305: 01,2224 E6,1423 EBANK= PACTOFF
009084,000306: 01,2224 75003 27711 -2CADR DOSPSOFF
009085,000307:
009086,000308: 01,2226 00012 4.65SPOT DEC 10 B-14
009087,000309: 01,2227 E7,1412 EBANK= TIG
009088,000310: 01,2227 75203 27710 -2CADR TIG-5
009089,000311:
009090,000312: 01,2231 77777 4.67SPOT DEC -0 B-14
009091,000313: 01,2232 E6,1474 EBANK= CSMMASS
009092,000314: 01,2232 74336 27711 -2CADR V97TTASK
009093,000315:
009094,000316: 01,2234 00372 4.71SPOT DEC 250 B-14
009095,000317: 01,2235 E6,1466 EBANK= DAPDATR1 # (FOR RCSDAPON)
009096,000318: 01,2235 74321 27711 -2CADR V97TRCS
009097,000319:
009098,000320: 01,2237 77777 4.73SPOT DEC -0 B-14
009099,000321: 01,2240 E6,1444 EBANK= V97VCNTR
009100,000322: 01,2240 74304 27711 -2CADR V97PTASK
009101,000323:
009102,000324: 01,2242 77777 4.75SPOT DEC -0 B-14
009103,000325: 01,2243 E6,1466 EBANK= DAPDATR1
009104,000326: 01,2243 74242 27711 -2CADR SPSOFF97
009105,000327:
Page 217 |
009107,000329: 01,2245 77777 4.77SPOT DEC -0 B-14
009108,000330: 01,2246 E6,1423 EBANK= PACTOFF
009109,000331: 01,2246 75165 27711 -2CADR TIG-0
009110,000332:
009111,000333: # ANY MORE GROUP 4.ODD RESTART VALUES SHOULD GO HERE
009112,000334:
009113,000335: 01,2250 32000 5.2SPOT OCT 32000
009114,000336: 01,2251 E7,1431 EBANK= DVCNTR
009115,000337: 01,2251 03236 76067 2CADR NORMLIZE
009116,000338:
009117,000339: 01,2253 00310 DEC 200 B-14
009118,000340: 01,2254 E6,1661 EBANK= AOG
009119,000341: 01,2254 74472 01711 -2CADR REREADAC
009120,000342:
009121,000343: 01,2256 20000 5.4SPOT OCT 20000
009122,000344: 01,2257 E7,1431 EBANK= DVCNTR
009123,000345: 01,2257 03104 76067 2CADR SERVICER
009124,000346:
009125,000347: 01,2261 00310 DEC 200 B-14
009126,000348: 01,2262 E6,1661 EBANK= AOG
009127,000349: 01,2262 74472 01711 -2CADR REREADAC
009128,000350:
009129,000351: # ANY MORE GROUP 5.EVEN RESTART VALUES SHOULD GO HERE
009130,000352:
009131,000353: 01,2264 00310 5.3SPOT DEC 200 B-14
009132,000354: 01,2265 E6,1661 EBANK= AOG
009133,000355: 01,2265 74472 01711 -2CADR REREADAC
009134,000356:
009135,000357: 01,2267 77777 5.5SPOT OCT 77777
009136,000358: 01,2270 E6,1661 EBANK= AOG
009137,000359: 01,2270 75026 01711 -2CADR REDO5.5
009138,000360:
009139,000361: 01,2272 20000 5.7SPOT OCT 20000 # USED BY PRELAUNCH
009140,000362: 01,2273 E5,1671 EBANK= XSM
009141,000363: 01,2273 02456 66065 2CADR RSTGTS1
009142,000364:
009143,000365: 01,2275 77777 5.11SPOT OCT 77777
009144,000366: 01,2276 E5,1671 EBANK= XSM
009145,000367: 01,2276 75175 11712 -2CADR ALLOOP1
009146,000368:
009147,000369: 01,2300 20000 5.13SPOT OCT 20000
009148,000370: 01,2301 E5,1671 EBANK= XSM
009149,000371: 01,2301 02527 66065 2CADR WTLISTNT
009150,000372:
009151,000373: 01,2303 20000 5.15SPOT OCT 20000
009152,000374: 01,2304 E5,1671 EBANK= XSM
009153,000375: 01,2304 03324 66065 2CADR RESTEST1
009154,000376:
009155,000377: 01,2306 20000 5.17SPOT OCT 20000
009156,000378: 01,2307 E5,1671 EBANK= XSM
Page 218 |
009158,000380: 01,2307 05217 04065 2CADR GEOSTRT4
009159,000381:
009160,000382: 01,2311 22000 5.21SPOT OCT 22000
009161,000383: 01,2312 E5,1671 EBANK= XSM
009162,000384: 01,2312 02636 66065 2CADR ALFLT1
009163,000385:
009164,000386: 01,2314 77777 5.23SPOT OCT 77777
009165,000387: 01,2315 E5,1671 EBANK= XSM
009166,000388: 01,2315 75152 11712 -2CADR SPECSTS
009167,000389:
009168,000390: 01,2317 20000 5.25SPOT OCT 20000
009169,000391: 01,2320 E5,1671 EBANK= XSM
009170,000392: 01,2320 03335 66065 2CADR RESTEST3
009171,000393:
009172,000394: 01,2322 20000 5.27SPOT OCT 20000
009173,000395: 01,2323 E5,1671 EBANK= XSM
009174,000396: 01,2323 03303 66065 2CADR RESTAIER
009175,000397:
009176,000398: 01,2325 00000 5.31SPOT DEC 0 B-14
009177,000399: 01,2326 00000 DEC 0 B-14
009178,000400: 01,2327 00000 DEC 0 B-14
009179,000401:
009180,000402: 01,2330 20000 5.33SPOT OCT 20000
009181,000403: 01,2331 E5,1671 EBANK= XSM
009182,000404: 01,2331 03360 66065 2CADR RESCHNG
009183,000405:
009184,000406: 01,2333 00000 5.35SPOT DEC 0 B-14
009185,000407: 01,2334 00000 00000 2DEC 0 B-28
009186,000408:
009187,000409: 01,2336 77777 5.37SPOT OCT 77777
009188,000410: 01,2337 E6,1661 EBANK= AOG
009189,000411: 01,2337 74744 01711 -2CADR CHEKAVEG
009190,000412:
009191,000413: 01,2341 77777 5.41SPOT OCT 77777 # TO PROTECT PREREAD AT TIG-30A
009192,000414: 01,2342 E7,1431 EBANK= DVCNTR # TIG-15 T+60
009193,000415: 01,2342 75076 01710 -2CADR PREREAD
009194,000416:
009195,000417: # ANY MORE GROUP 5.ODD RESTART VALUES SHOULD GO HERE
009196,000418:
009197,000419: 01,2344 77777 6.2SPOT OCT 77777 # USED BY P40 AFTER GIMB DR TST TO REPOS'N
009198,000420: 01,2345 E6,1476 EBANK= AK # ENGINE UNTIL TVCDAPON
009199,000421: 01,2345 75536 37711 -2CADR PRE40.6
009200,000422:
009201,000423: 01,2347 00144 DEC 100 B-14
009202,000424: 01,2350 E7,1660 EBANK= TTOGO
009203,000425: 01,2350 74517 27710 -2CADR CLOKTASK
009204,000426:
009205,000427: # ANY MORE 6.ODD RESTART VALUES SHOULD GO HERE
Page 219 |
009207,000429:
009208,000430: 01,2352 00144 6.3SPOT DEC 100 B-14
009209,000431: 01,2353 E7,1412 EBANK= TIG
009210,000432: 01,2353 74517 27710 -2CADR CLOKTASK
009211,000433:
009212,000434: 01,2355 30000 6.5SPOT OCT 30000 # PROTECT INCREMENTING OF TIME2,TIME1 BY
009213,000435: 01,2356 E3,1706 EBANK= TEPHEM # P27NUPDATE PROGRAM)
009214,000436: 01,2356 03573 56063 2CADR TIMEDIDR
009215,000437:
009216,000438: 01,2360 00000 6.7SPOT OCT 0
009217,000439: 01,2361 00000 OCT 0
009218,000440: 01,2362 00000 OCT 0
009219,000441:
009220,000442: 01,2363 76052 6.11SPOT -GENADR CM/GYMDT # PROTECT TASK TO READ CDUS.
009221,000443: 01,2364 E6,1725 EBANK= CM/GYMDT # FOR ENTRY DAP
009222,000444: 01,2364 75343 45711 -2CADR READGYMB
009223,000445:
009224,000446: 01,2366 00000 6.13SPOT DEC 0 B-14
009225,000447: 01,2367 00000 DEC 0 B-14
009226,000448: 01,2370 00000 DEC 0 B-14
009227,000449:
Page 220 |
009229,000451: # PROGRAM DESCRIPTION: NEWPHASE DATE: 11 NOV 1966
009230,000452: # MOD: 1 ASSEMBLY: SUNBURST REV
009231,000453: # MOD BY: COPPS LOG SECTION: PHASE TABLE MAINTENANCE
009232,000454:
009233,000455: # FUNCTIONAL DESCRIPTION:
009234,000456:
009235,000457: # NEWPHASE IS THE QUICK WAY TO MAKE A NON VARIABLE PHASE CHANGE. IT INCLUDES THE OPTION OF SETTING
009236,000458: # TBASE OF THE GROUP. IF TBASE IS TO BE SET, -C(TIME1) IS STORED IN THE TBASE TABLE AS FOLLOWS:
009237,000459:
009238,000460: # (L-1) TBASE0
009239,000461: # (L) TBASE1 (IF GROUP=1)
009240,000462: # (L+1)
009241,000463: # (L+2) TBASE2 (IF GROUP=2)
009242,000464: # -----
009243,000465: # (L+6) TBASE4 (IF GROUP=4)
009244,000466: # (L+7)
009245,000467: # (L+8) TBASE5 (IF GROUP=5)
009246,000468:
009247,000469: # IN ANY CASE, THE NEGATIVE OF THE PHASE, FOLLOWED (IN THE NEXT REGISTER) BY THE PHASE, IS STORED IN THE
009248,000470: # PHASE TABLE AS FOLLOWS:
009249,000471:
009250,000472: # (L) -PHASE1 (IF GROUP=1)
009251,000473: # (L+1) PHASE1
009252,000474: # (L+2) -PHASE2 (IF GROUP=2)
009253,000475: # (L+3) PHASE2
009254,000476: # -----
009255,000477: # (L+7) PHASE4
009256,000478: # (L+8) -PHASE5 (IF GROUP=5)
009257,000479: # (L+9) PHASE5
009258,000480:
009259,000481: # CALLING SEQUENCE:
009260,000482:
009261,000483: # EXAMPLE IS FOR PLACING A PHASE OF FIVE INTO GROUP THREE:
009262,000484:
009263,000485: # 1) IF TBASE IS NOT TO BE SET:
009264,000486: # L-1 CA FIVE
009265,000487: # L TC NEWPHASE
009266,000488: # L+1 OCT 00003
009267,000489:
009268,000490: # 2) IF TBASE IS TO BE SET:
009269,000491: # L-1 CS FIVE
009270,000492: # L TC NEWPHASE
009271,000493: # L+1 OCT 00003
009272,000494:
009273,000495: # SUBROUTINES CALLED: NONE
009274,000496:
009275,000497: # NORMAL EXIT MODE: AT L+2 OF CALLING SEQUENCE
009276,000498:
009277,000499: # ALARM OR ABORT EXITS: NONE
009278,000500:
009279,000501: # OUTPUT: PHASE TABLE AND TBASE TABLE UPDATED
009280,000502:
009281,000503: # ERASABLE INITIALIZATION REQ,D: NONE
Page 221 |
009283,000505: # DEBRIS: A,L,TEMPG
009284,000506:
009285,000507: # *** WARNING *** THIS PROGRAM IS TO BE PLACED IN FIXED-FIXED AND UNSWITCHED ERASABLE.
009286,000508:
009287,000509: 4114 BLOCK 02
009288,000510: 4000 SETLOC FFTAG1
009289,000511: 4000 BANK
009290,000512:
009291,000513: 4114 COUNT* $$/PHASE
009292,000514:
009293,000515: 4114 00004 NEWPHASE INHINT
009294,000516:
009295,000517: 4115 54001 TS L # SAVE FOR FURTHER USE
009296,000518:
009297,000519: 4116 50002 NDX Q # OBTAIN THE GROUP NUMBER
009298,000520: 4117 30000 CA 0
009299,000521: 4120 24002 INCR Q # OBTAIN THE RETURN ADDRESS
009300,000522: 4121 60000 DOUBLE # SAVE THE GROUP IN A FORM USED FOR
009301,000523: 4122 54061 TS TEMPG # INDEXING
009302,000524:
009303,000525: 4123 10001 CCS L # SEE IF WE ARE TO SET TBASE
009304,000526: 4124 14133 TCF +7 # NO, THE DELTA T WAS POSITIVE
009305,000527: 4125 14133 TCF +6
009306,000528:
009307,000529: 4126 24000 NUFAZ+10 INCR A # SET TBASE AND STORE PHASE CORRECTLY
009308,000530: 4127 54001 TS L
009309,000531:
009310,000532: 4130 40025 CS TIME1 # SET TBASE
009311,000533: 4131 50061 NDX TEMPG
009312,000534: 4132 55051 TS TBASE1 -2
009313,000535:
009314,000536: 4133 40001 CS L # NOW PUT THE PHASE IN THE RIGHT TABLE LOC
009315,000537: 4134 50061 NDX TEMPG
009316,000538: 4135 52751 DXCH -PHASE1 -2
009317,000539:
009318,000540: 4136 00003 RELINT
009319,000541: 4137 00002 TC Q # NOW RETURN TO CALLER
009320,000542:
009321,000543:
End of include-file RESTART_TABLES.agc. Parent file is MAIN.agc