Source Code

These source-code files were derived from scans of the Colossus 237 (Apollo 8 Command Module) program listing from the private collection of original AGC developer Fred Martin. Scanning was by Ron Burkey. Pre-existing Colossus 249 (Apollo 9 CM) source files were used as a template, and changes between Colossus 249 and Colossus 237 were manually transcribed by a team of volunteers. Note that the page images presented online are of reduced quality, and that additional images are available. Report any conversion errors or legibility problems in page images to info@sandroid.org. Notations on the program listing read, in part:

	GAP: ASSEMBLE REVISION 237 OF AGC PROGRAM COLOSSUS 
	BY NASA 2021111-031  1:17 AUG. 24, 1968
Note that the date is the date of the printout, not the date of the program revision.

058162,000002:                                                                                                  ## Copyright:   Public domain.
058163,000003:                                                                                                  ## Filename:    PHASE_TABLE_MAINTENANCE.agc
058164,000004:                                                                                                  ## Purpose:     Part of the source code for Colossus build 237.
058165,000005:                                                                                                  ##              This is for the Command Module's (CM) Apollo Guidance
058166,000006:                                                                                                  ##              Computer (AGC), for Apollo 8.
058167,000007:                                                                                                  ## Assembler:   yaYUL
058168,000008:                                                                                                  ## Contact:     Jim Lawton <jim DOT lawton AT gmail DOT com>
058169,000009:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
058170,000010:                                                                                                  ## Page Scans:  www.ibiblio.org/apollo/ScansForConversion/Colossus237/
058171,000011:                                                                                                  ## Mod history: 2011-04-17 JL   Adapted from corresponding Colossus 249 file.
058172,000012:                                                                                                  ##              2016-08-14 RSB  Added SBANK to handle addressing discrepancies.
058173,000013:                                                                                                  ##              2017-01-01 RSB  Proofed comment text using octopus/ProoferComments,
058174,000014:                                                                                                  ##                              and fixed errors found.
058175,000015:                                                                                                  ##              2017-01-18 RSB  Fixed comment-text errors noted while diff'ing
058176,000016:                                                                                                  ##                              vs Colossus 249.
058177,000017:                                                                                                  ##              2017-06-17 MAS  Globally removed all SBANK= workarounds.
058178,000018: 

Page 1368

058180,000020:                                                                                                  #           SUBROUTINE TO UPDATE THE PROGRAM NUMBER DISPLAY ON THE DSKY.
058181,000021: 
058182,000022: 43,3721                                           COUNT    02/PHASE                              
058183,000023: 
058184,000024:    5243                                           BLOCK    02                                    
058185,000025:    4000                                           SETLOC   FFTAG1                                
058186,000026:    4000                                           BANK                                           
058187,000027: 
058188,000028:    5243           50002        NEWMODEX           INDEX    Q                                     #  UPDATE MODREG. ENTRY FOR MODE IN FIXED.
058189,000029:    5244           30000                           CAF      0                                     
058190,000030:    5245           24002                           INCR     Q                                     
058191,000031: 
058192,000032:    5246           55011        NEWMODEA           TS       MODREG                                #  ENTRY FOR MODE IN A.
058193,000033:    5247           35252        MMDSPLAY           CAF      +3                                    #  DISPLAY MAJOR MODE.
058194,000034:    5250           22006        PREBJUMP           LXCH     BBANK                                 #  PUTS BBANK IN L
058195,000035:    5251           14577                           TCF      BANKJUMP                              #  PUTS Q INTO A
058196,000036:    5252           20344                           CADR     SETUPDSP                              
058197,000037: 
058198,000038:                                                                                                  #           RETURN TO CALLER +3 IF MODE = THAT AT CALLER +1. OTHERWISE RETURN TO CALLER +2.
058199,000039: 
058200,000040:    5253           50002        CHECKMM            INDEX    Q                                     
058201,000041:    5254           40000                           CS       0                                     
058202,000042:    5255           61011                           AD       MODREG                                
058203,000043:    5256           00006                           EXTEND                                         
058204,000044:    5257           16710                           BZF      Q+2                                   
058205,000045:    5260           16706                           TCF      Q+1                                   #  NO MATCH
058206,000046: 
058207,000047:    5261     6711               TCQ                =        Q+2        +1                         
058208,000048: 
058209,000049: 14,3751                                           BANK     14                                    
058210,000050: 10,2000                                           SETLOC   PHASETAB                              
058211,000051: 10,2000                                           BANK                                           
058212,000052: 
058213,000053: 10,2344                                           COUNT    10/PHASE                              
058214,000054: 
058215,000055: 10,2344           00004        SETUPDSP           INHINT                                         
058216,000056: 10,2345           52071                           DXCH     RUPTREG1                              #  SAVE CALLER-S RETURN 2CADR
058217,000057: 10,2346           34371                           CAF      PRIO30                                #    EITHER A TASK OR JOB CAN COME TO
058218,000058: 10,2347           05027                           TC       NOVAC                                 #    NEWMODEX
058219,000059: 10,2350     1011                                  EBANK=   MODREG                                
058220,000060: 10,2350           03435 60102                     2CADR    DSPMMJOB                              
058221,000061: 10,2352           52071                           DXCH     RUPTREG1                              
058222,000062: 10,2353           00003                           RELINT                                         
058223,000063: 10,2354           52006                           DXCH     Z                                     #  RETURN
058224,000064: 
058225,000065: 10,2355  40,3435               DSPMMJOB           EQUALS   DSPMMJB                               
058226,000066: 
058227,000067: 
058228,000068:    5261                                           BLOCK    02                                    

Page 1369

058230,000070:    4000                                           SETLOC   FFTAG1                                
058231,000071:    4000                                           BANK                                           
058232,000072: 

Page 1370

058234,000074:                                                                                                  #  PHASCHNG IS THE MAIN WAY OF MAKING PHASE CHANGES FOR RESTARTS.  THERE ARE THREE FORMS OF PHASCHNG, KNOWN AS TYPE
058235,000075:                                                                                                  #  A, TYPE B, AND TYPE C. THEY ARE ALL CALLED AS FOLLOWS, WHERE OCT XXXXX   CONTAINS THE PHASE INFORMATION,
058236,000076: 
058237,000077:                                                                                                  #                                                   TC     PHASCHNG
058238,000078:                                                                                                  #                                                   OCT    XXXXX
058239,000079: 
058240,000080:                                                                                                  #  TYPE A IS CONCERNED WITH FIXED PHASE CHANGES, THAT IS, PHASE INFORMATIONTHAT IS STORED PERMANENTLY.  THESE
058241,000081:                                                                                                  #  OPTIONS ARE, WHERE G STANDS FOR A GROUP AND .X FOR THE PHASE,
058242,000082: 
058243,000083:                                                                                                  #                  G.0             INACTIVE, WILL NOT PERMIT A GROUP G RESTART
058244,000084:                                                                                                  #                  G.1             WILL CAUSE THE LAST DISPLAY TO BE REACTIVATED, USED MAINLY IN MANNED FLIGHTS
058245,000085:                                                                                                  #                  G.EVEN          A DOUBLE TABLE RESTART, CAN CAUSE ANY COMBINATION OF TWO JOBS, TASKS, AND/OR
058246,000086:                                                                                                  #                                  LONGCALL TO BE RESTARTED.
058247,000087:                                                                                                  #                  G.ODD NOT .1    A SINGLE TABLE RESTART, CAN CAUSE EITHER A JOB, TASK, OR LONGCALL RESTART
058248,000088: 
058249,000089:                                                                                                  #  THIS INFORMATION IS PUT INTO THE OCTAL WORD AFTER TC PHASCHNG AS FOLLOWS
058250,000090: 
058251,000091:                                                                                                  #                  TL0 00P PPP PPP GGG                                     ,
058252,000092: 
058253,000093:                                                                                                  #  WHERE EACH LETTER OR NUMBER STANDS FOR A BIT.  THE G:S STAND FOR THE GROUP, OCTAL 1 - 7, THE P:S FOR THE PHASE,
058254,000094:                                                                                                  #  OCTAL 0 - 127.  0:S MUST BE 0.              IF ONE WISHES TO HAVE THE TBASE OF GROUP G TO BE SET AT THIS TIME,
058255,000095:                                                                                                  #  T IS SET TO 1, OTHERWISE IT IS SET TO 0.  SIMIARLY IF ONE WISHES TO SET LONGBASE, THEN L IS SET TO 1, OTHERWISE
058256,000096:                                                                                                  #  IT IS SET TO 0.  SOME EXAMPLES,
058257,000097: 
058258,000098:                                                                                                  #                                                   TC     PHASCHNG        THIS WILL CAUSE GROUP 3 TOBE SET TO 0,
058259,000099:                                                                                                  #                                                   OCT    00003           MAKING GROUP 3 INACTIVE
058260,000100: 
058261,000101:                                                                                                  #                                                   TC     PHASCHNG        IF A RESTART OCCURS THIS WOULD CAUSE
058262,000102:                                                                                                  #                                                   OCT    00012           GROUP 2 TO RESTART THE LAST DISPLAY
058263,000103: 
058264,000104:                                                                                                  #                                                   TC     PHASCHNG        THIS SETS THE TBASE OF GROUP 4 AND IN
058265,000105:                                                                                                  #                                                   OCT    40064           CASE OF A RESTART WOULD START UP THE TWO
058266,000106:                                                                                                  #                                                                          THINGS LOCATED IN THE DOUBLE 4.6 RESTART
058267,000107:                                                                                                  #                                                                          LOCATION
058268,000108:                                                                                                  #                                                   TC     PHASCHNG        THIS SETS LONGBASE AND UPON A RESTART
058269,000109:                                                                                                  #                                                   OCT    20135           CAUSES 5.13 TO BE RESTARTED (SINCE
058270,000110:                                                                                                  #                                                                          LONGBASE WAS SET THIS SINGLE ENTRY
058271,000111:                                                                                                  #                                                                          SHOULD BE A LONGCALL)
058272,000112:                                                                                                  #                                                   TC     PHASCHNG        SINCE BOTH TBASE4 AND LONGBASE ARE SET,
058273,000113:                                                                                                  #                                                   OCT    60124           4.12 SHOULD CONTAIN BOTH A TASK AND A
058274,000114:                                                                                                  #                                                                          LONGCALL TO BE RESTARTED
058275,000115: 
058276,000116:                                                                                                  #  TYPE C PHASCHNG CONTAINS THE VARIABLE TYPE OF PHASCHNG INFORMATION. INSTEAD OF THE INFORMATION BEING IN A
058277,000117:                                                                                                  #  PERMANENT FORM, ONE STORES THE DESIRED RESTART INFORMATION IN A VARIABKE LOCATION. THE BITS ARE AS FOLLOWS,
058278,000118: 
058279,000119:                                                                                                  #                  TL0 1AD XXX CJW GGG
058280,000120: 
058281,000121:                                                                                                  #  WHERE EACH LETTER OR NUMBER STANDS FOR A BIT.  THE G:S STAND FOR THE GROUP, OCTAL 1 - 7.  IF THE RESTART IS TO
058282,000122:                                                                                                  #  BE BY WAITLIST, W IS SET TO 1, IF IT IS A JOB, J IS SET TO 1, IF IT IS A LONGCALL, C IS SET TO 1. ONLY ONE OF
058283,000123:                                                                                                  #  THESE THREE BIT S MAY BE SET.  X:S ARE IGNORED  1 MUST BE 1, AND 0 MUST  BE 0.  AGAIN T STANDS FOR THE TBASE,

Page 1371

058285,000125:                                                                                                  #  AND L FOR LONGBASE.  THE BITS A AND D ARE CONCERNED WITH THE VARIABLE INFORMATION. IF D IS SET TO 1, A PRIORITY
058286,000126:                                                                                                  #  OR DELTA TIME WILL BE READ FROM THE NEXT LOCATION AFTER THE OCTAL INFORMATION, IF THIS IS TO BE INDIRECT, THAT
058287,000127:                                                                                                  #  IS, THE NAME OF A LOCATION COMT+INING THE INFORMATION (DELTA TIME ONLY), THEN THIS IS GIVEN AS THE -GENADR OF
058288,000128:                                                                                                  #  THAT LOCATION WHICH CONTAINS THE DELTA TIME.  IF THE OLD PRIORITY OR DELTA TIME IS TO BE USED, THAT WHICH IS
058289,000129:                                                                                                  #  ALREADY IN THE VARIABLE STORAGE, THEN D IS SET TO 0. NEXT THE A BIT IS USED.  IF IT IS SET TO 0, THE ADDRESS
058290,000130:                                                                                                  #  THAT WOULD BE RESTARTED DURING A RESTART IS THE NEXT LOCATION AFTER THE  PHASE INFORMATION, THAT IS, EITHER
058291,000131:                                                                                                  #  (TC PHASCHNG) +2 OR +3, DEPENDING ON WHETHER D HAD BEEN SET OR NOT.  IF A IS SET TO 1, THEN THE ADDRESS THAT
058292,000132:                                                                                                  #  WOULD BE RESTARTED IS THE 2CADR THAT IS READ FROM THE NEXT TWO LOCATIONS.  EXAMPLES,
058293,000133: 
058294,000134:                                                                                                  #                                          AD       TC     PHASCHNG        THIS WOULD CAUSE LOCATION AD +3 TO BE
058295,000135:                                                                                                  #                                          AD+1     OCT    05023           RESTARTED BY GROUP THREE WITHA PRIORITY
058296,000136:                                                                                                  #                                          AD+2     OCT    23000           OF 23.  NOTE UPON RETURNING IT WOULD
058297,000137:                                                                                                  #                                          AD+3                            ALSO GO TO AD+3
058298,000138: 
058299,000139:                                                                                                  #                                          AD       TC     PHASCHNG        GROUP  1 WOULD CAUSE CAUSE CALLCALL TO
058300,000140:                                                                                                  #                                          AD+1     OCT    27441           BE STARTED AS A LONGCALL FROM THE TIME
058301,000141:                                                                                                  #                                          AD+2    -GENADR DELTIME         STORED IN LONGBASE (LONGBASE WAS SET) BY
058302,000142:                                                                                                  #                                          AD+3     2CADR  CALLCALL        A DELTATIME STORED IN DELTIME.  THE
058303,000143:                                                                                                  #                                          AD+4                            BBCON OF THE 2CADR SHOULD CONTAIN THE E
058304,000144:                                                                                                  #                                          AD+5                            BANK OF DELTIME. PHASCHNG RETURNS TO
058305,000145:                                                                                                  #                                                                          LOCATION AD+5
058306,000146: 
058307,000147:                                                                                                  #  NOTE THAT IF A VARIABLE PRIORITY IS GIVEN FOR A JOB, THE JOB WILL BE RESTARTED AS A NOVAC IF THE PRIORITY IS
058308,000148:                                                                                                  #  NEGATIVE, AS A FINDVAC IF THE PRIORITY IS POSITIVE.
058309,000149: 
058310,000150: 
058311,000151:                                                                                                  #  TYPE B PHASCHNG IS A COMBINATION OF VARIABLE AND FIXED PHASE CHANGES. IT WILL START UP A JOB AS INDICATED
058312,000152:                                                                                                  #  BELOW AND ALSO START UP ONE FIXED RESTART, THAT IS EITHER AN G.1 OR  A G.ODD OR THE FIRST ENTRY OF G.EVEN
058313,000153:                                                                                                  #  DOUBLE ENTRY.  THE BIT INFORMATION IS AS FOLLOWS,
058314,000154: 
058315,000155:                                                                                                  #                  TL1 DAP PPP PPP GGG
058316,000156: 
058317,000157:                                                                                                  #  WHERE EACH LETTER OR NUMBER STANDS FOR A BIT.  THE G:S STAND FOR THE GROUP, OCTAL 1 - 7. THE P:S FOR THE FIXED
058318,000158:                                                                                                  #  PHASE INFORMATION, OCTAL 0 - 127. 1 MUST BE 1.  AND AGAIN T STANDS FOR THE TBASE AND L FOR LONGBASE. D THIS
058319,000159:                                                                                                  #  TIME STANDS ONLY FOR PRIORITY SINCE THIS WILL BE CONSIDERED A JOB, AND IT MUST BE GIVEN DIRECTLY IF GIVEN.
058320,000160:                                                                                                  #  AGAIN A STANDS FOR THE ADDRESS OF THE LOCATION TO BE RESTARTED, 1 IF THE 2CADR IS GIVEN , OR 0 IF IT IS TO BE
058321,000161:                                                                                                  #  THE NEXT LOCATION.(THE RETURN LOCATION OF PHASCHNG) EXAMPLES,
058322,000162: 
058323,000163:                                                                                                  #                                          AD       TC     PHASCHNG        TBASE IS SET AND ARESTART CAUSE GROUP 3
058324,000164:                                                                                                  #                                          AD+1     OCT    56043           TO START THE JOB AJOBAJOB WITH PRIORITY
058325,000165:                                                                                                  #                                          AD+2     OCT    31000           31 AND THE FIRST ENTRY OF 3.4SPOT(WE CAN
058326,000166:                                                                                                  #                                          AD+3     2CADR  AJOBAJOB        ASSUME IT IS A TASK SINCE WE SET TBASE3)
058327,000167:                                                                                                  #                                          AD+4                            UPON RETURN FROM PHASCHNG CONTROL WOULD
058328,000168:                                                                                                  #                                          AD+5                            GO TO AD+5
058329,000169: 
058330,000170:                                                                                                  #                                          AD       TC     PHASCHNG        UPON A RESTART THE LAST DISPLAY WOULD BE
058331,000171:                                                                                                  #                                          AD+1     OCT    10015           RESTARTED AND A JOB WITH THE PREVIOUSLY
058332,000172:                                                                                                  #                                          AD+2                            STORED PRIORITY WOULD BE BEGUN AT AD+2
058333,000173:                                                                                                  #                                                                          BY MEANS OF GROUP 5
058334,000174: 

Page 1372

058336,000176:                                                                                                  #  THE NOVAC-FINDVAC CHOICE FOR JOBS HOLDS HERE ALSO - NEGATIVE PRIORITY CAUSES A NOVAC CALL, POSITIVE A FINDVAC.
058337,000177: 
058338,000178:                                                                                                  #  SUMMARY OF BITS
058339,000179: 
058340,000180:                                                                                                  #  TYPE A          TL0 00P PPP PPP GGG
058341,000181: 
058342,000182:                                                                                                  #  TYPE B          TL1 DAP PPP PPP GGG
058343,000183: 
058344,000184:                                                                                                  #  TYPE C          TL0 1AD XXX CJW GGG
058345,000185: 

Page 1373

058347,000187:                                                                                                  #  2PHSCHNG IS USED WHEN ONE WISHES TO START UP A GROUP OR CHANGE A GROUP WHILE UNDER THE CONTROL OF A DIFFERENT
058348,000188:                                                                                                  #  GROUP. FOR EXAMPLE, CHANGE THE PHASE OF GROUP 3 WHILE THE PORTION OF THE PROGRAM IS UNDER GROUP 5. ALL 2PHSCHNG
058349,000189:                                                                                                  #  CALLS ARE MADE IN THE FOLLOWING MANNER,
058350,000190: 
058351,000191:                                                                                                  #                                                   TC     2PHSCHNG
058352,000192:                                                                                                  #                                                   OCT    XXXXX
058353,000193:                                                                                                  #                                                   OCT    YYYYY
058354,000194: 
058355,000195:                                                                                                  #  WHERE OCT XXXXX MUST BE OF TYPE A AND OCT YYYYY MAY BE OF EITHER TYPE A OR TYPE B OR TYPEC.  THERE IS ONE
058356,000196:                                                                                                  #  DIFFERENCE --- NOTE- IF LONGBASE IS TO BE SET THIS INFORMATION IS GIVEN IN THE OCT YYYYY INFORMATION, IT WILL
058357,000197:                                                                                                  #  BE DISREGARDED IF GIVEN WITH THE OCT XXXXX INFORMATION. A COUPLE OF EXAMPLES MAY HELP,
058358,000198: 
058359,000199:                                                                                                  #                                          AD       TC     2PHSCHNG        SET TBASE3 AND IF A RESTART OCCURS START
058360,000200:                                                                                                  #                                          AD+1     OCT    40083           THE TWO ENTRIES IN 3.8 TABLE LOCATION
058361,000201:                                                                                                  #                                          AD+2     OCT    05025           THIS IS OF TYPE C, SET THE JOB TO BE
058362,000202:                                                                                                  #                                          AD+3     OCT    18000           TO BE LOCATION AD+4, WITH A PRIORITY 18,
058363,000203:                                                                                                  #                                          AD+4                            FOR GROUP 5 PHASE INFORMATION
058364,000204: 
058365,000205:    5261                                           COUNT    02/PHASE                              
058366,000206: 
058367,000207:    5261           00004        2PHSCHNG           INHINT                                         #  THE ENTRY FOR A DOUBLE PHASE CHANGE
058368,000208:    5262           50002                           NDX      Q                                     
058369,000209:    5263           30000                           CA       0                                     
058370,000210:    5264           24002                           INCR     Q                                     
058371,000211:    5265           54072                           TS       TEMPP2                                
058372,000212: 
058373,000213:    5266           74716                           MASK     OCT7                                  
058374,000214:    5267           60000                           DOUBLE                                         
058375,000215:    5270           54071                           TS       TEMPG2                                
058376,000216: 
058377,000217:    5271           30072                           CA       TEMPP2                                
058378,000218:    5272           74765                           MASK     OCT17770                              #  NEED ONLY 1770, BUT WHY GET A NEW CONST.
058379,000219:    5273           00006                           EXTEND                                         
058380,000220:    5274           74677                           MP       BIT12                                 
058381,000221:    5275           56072                           XCH      TEMPP2                                
058382,000222: 
058383,000223:    5276           74674                           MASK     BIT15                                 
058384,000224:    5277           54066                           TS       TEMPSW2                               #  INDICATES WHETHER TO SET TBASE OR NOT
058385,000225: 
058386,000226:    5300           15304                           TCF      PHASCHNG   +3                         
058387,000227: 
058388,000228: 
058389,000229:    5301           00004        PHASCHNG           INHINT                                         
058390,000230:    5302           34712                           CA       ONE                                   #  INDICATESWE CAME FROM A PHASCHNG ENTRY
058391,000231:    5303           54066                           TS       TEMPSW2                               
058392,000232: 
058393,000233:    5304           50002                           NDX      Q                                     
058394,000234:    5305           30000                           CA       0                                     
058395,000235:    5306           24002                           INCR     Q                                     
058396,000236:    5307           54065                           TS       TEMPSW                                

Page 1374

058398,000238:    5310           00006                           EXTEND                                         
058399,000239:    5311           35314                           DCA      ADRPCHN2                              #  OFF TO SWITCHED BANK
058400,000240:    5312           52006                           DTCB                                           
058401,000241: 
058402,000242:    5313  E3,1400                                  EBANK=   LST1                                  
058403,000243:    5313           02355 20103  ADRPCHN2           2CADR    PHSCHNG2                              
058404,000244: 
058405,000245: 
058406,000246:    5315           22073        ONEORTWO           LXCH     TEMPBBCN                              
058407,000247:    5316           22006                           LXCH     BBANK                                 
058408,000248:    5317           22073                           LXCH     TEMPBBCN                              
058409,000249: 
058410,000250:    5320           74761                           MASK     OCT14000                              #  SEE WHAT KIND OF PHASE CHANGE IT IS
058411,000251:    5321           10000                           CCS      A                                     
058412,000252:    5322           15363                           TCF      CHECKB                                #   IT IS OF TYPE :B:
058413,000253: 
058414,000254:    5323           30062                           CA       TEMPP                                 
058415,000255:    5324           74704                           MASK     BIT7                                  
058416,000256:    5325           10000                           CCS      A                                     #   SHALL WE USE THE OLD PRIORITY
058417,000257:    5326           15350                           TCF      GETPRIO                               #   NO GET A NEW PRIORITY (OR DELTA T)
058418,000258: 
058419,000259:    5327           50061        OLDPRIO            NDX      TEMPG                                 #   USE THE OLD PRIORITY (OR DELTA T)
058420,000260:    5330           31052                           CA       PHSPRDT1   -2                         
058421,000261:    5331           54070                           TS       TEMPPR                                
058422,000262: 
058423,000263:    5332           30062        CON1               CA       TEMPP                                 #  SEE IF A 2CADR IS GIVEN
058424,000264:    5333           74703                           MASK     BIT8                                  
058425,000265:    5334           10000                           CCS      A                                     
058426,000266:    5335           15354                           TCF      GETNEWNM                              
058427,000267: 
058428,000268:    5336           30002                           CA       Q                                     
058429,000269:    5337           54063                           TS       TEMPNM                                
058430,000270:    5340           30006                           CA       BB                                    
058431,000271:    5341           00006                           EXTEND                                         #  PICK UP USERS SUPERBANK
058432,000272:    5342           04007                           ROR      SUPERBNK                              
058433,000273:    5343           54064                           TS       TEMPBB                                
058434,000274: 
058435,000275:    5344           35347        TOCON2             CA       CON2ADR                               #  BACK TO SWITCHED BANK
058436,000276:    5345           22073                           LXCH     TEMPBBCN                              
058437,000277:    5346           52006                           DTCB                                           
058438,000278: 
058439,000279:    5347           02443        CON2ADR            GENADR   CON2                                  
058440,000280: 
058441,000281:    5350           50002        GETPRIO            NDX      Q                                     #  DON:T CARE IF DIRECT OR INDIRECT
058442,000282:    5351           30000                           CA       0                                     #  LEAVE THAT DECISION TO RESTARTS
058443,000283:    5352           24002                           INCR     Q                                     #  OBTAIN RETURN ADDRESS
058444,000284:    5353           15331                           TCF      CON1       -1                         
058445,000285: 
058446,000286:    5354           00006        GETNEWNM           EXTEND                                         

Page 1375

058448,000288:    5355           50002                           INDEX    Q                                     
058449,000289:    5356           30001                           DCA      0                                     
058450,000290:    5357           52064                           DXCH     TEMPNM                                
058451,000291:    5360           34711                           CA       TWO                                   
058452,000292:    5361           26002                           ADS      Q                                     #  OBTAIN RETURN ADDRESS
058453,000293: 
058454,000294:    5362           15344                           TCF      TOCON2                                
058455,000295: 
058456,000296:    5363     4761               OCT14000           EQUALS   PRIO14                                
058457,000297:    5363     0061               TEMPG              EQUALS   ITEMP1                                
058458,000298:    5363     0062               TEMPP              EQUALS   ITEMP2                                
058459,000299:    5363     0063               TEMPNM             EQUALS   ITEMP3                                
058460,000300:    5363     0064               TEMPBB             EQUALS   ITEMP4                                
058461,000301:    5363     0065               TEMPSW             EQUALS   ITEMP5                                
058462,000302:    5363     0066               TEMPSW2            EQUALS   ITEMP6                                
058463,000303:    5363     0070               TEMPPR             EQUALS   RUPTREG1                              
058464,000304:    5363     0071               TEMPG2             EQUALS   RUPTREG2                              
058465,000305:    5363     0072               TEMPP2             EQUALS   RUPTREG3                              
058466,000306: 
058467,000307:    5363     0073               TEMPBBCN           EQUALS   RUPTREG4                              
058468,000308:    5363  0000006               BB                 EQUALS   BBANK                                 
058469,000309: 
058470,000310: 
058471,000311: 14,3751                                           BANK     14                                    
058472,000312: 10,2000                                           SETLOC   PHASETAB                              
058473,000313: 10,2000                                           BANK                                           
058474,000314: 
058475,000315: 10,2355  E3,1436                                  EBANK=   PHSNAME1                              
058476,000316: 10,2355                                           COUNT    10/PHASE                              
058477,000317: 
058478,000318: 10,2355           22073        PHSCHNG2           LXCH     TEMPBBCN                              
058479,000319: 10,2356           30065                           CA       TEMPSW                                
058480,000320: 10,2357           74716                           MASK     OCT7                                  
058481,000321: 10,2360           60000                           DOUBLE                                         
058482,000322: 10,2361           54061                           TS       TEMPG                                 
058483,000323: 
058484,000324: 10,2362           30065                           CA       TEMPSW                                
058485,000325: 10,2363           74765                           MASK     OCT17770                              
058486,000326: 10,2364           00006                           EXTEND                                         
058487,000327: 10,2365           74677                           MP       BIT12                                 
058488,000328: 10,2366           54062                           TS       TEMPP                                 
058489,000329: 
058490,000330: 10,2367           30065                           CA       TEMPSW                                
058491,000331: 10,2370           74105                           MASK     OCT60000                              
058492,000332: 10,2371           56065                           XCH      TEMPSW                                
058493,000333: 10,2372           74761                           MASK     OCT14000                              
058494,000334: 10,2373           10000                           CCS      A                                     
058495,000335: 10,2374           15315                           TCF      ONEORTWO                              
058496,000336: 

Page 1376

058498,000338: 10,2375           30062                           CA       TEMPP                                 #  START STORING THE PHASE INFORMATION
058499,000339: 10,2376           50061                           NDX      TEMPG                                 
058500,000340: 10,2377           54751                           TS       PHASE1     -2                         
058501,000341: 
058502,000342: 10,2400           10066        BELOW1             CCS      TEMPSW2                               #  IS IT A PHASCHNG OR A 2PHSCHNG
058503,000343: 10,2401           12415                           TCF      BELOW2                                #  IT:S A PHASCHNG
058504,000344: 
058505,000345: 10,2402           12403                           TCF      +1                                    #  IT:S A 2PHSCHNG
058506,000346: 10,2403           40072                           CS       TEMPP2                                
058507,000347: 10,2404           22072                           LXCH     TEMPP2                                
058508,000348: 10,2405           50071                           NDX      TEMPG2                                
058509,000349: 10,2406           52751                           DXCH     -PHASE1    -2                         
058510,000350: 
058511,000351: 10,2407           10066                           CCS      TEMPSW2                               
058512,000352: 10,2410           12411                           NOOP                                           #  CAN:T GET HERE
058513,000353: 10,2411           12415                           TCF      BELOW2                                
058514,000354: 
058515,000355: 10,2412           40025                           CS       TIME1                                 
058516,000356: 10,2413           50071                           NDX      TEMPG2                                
058517,000357: 10,2414           55051                           TS       TBASE1     -2                         
058518,000358: 
058519,000359: 10,2415           10065        BELOW2             CCS      TEMPSW                                #  SEE IF WE SHOULD SET TBASE OR LONGBASE
058520,000360: 10,2416           12431                           TCF      BELOW3                                #  SET LONGBASE ONLY
058521,000361: 10,2417           12434                           TCF      BELOW4                                #  SET NEITHER
058522,000362: 
058523,000363: 10,2420           40025                           CS       TIME1                                 #  SET TBASE TO BEGIN WITH
058524,000364: 10,2421           50061                           NDX      TEMPG                                 
058525,000365: 10,2422           55051                           TS       TBASE1     -2                         
058526,000366: 
058527,000367: 10,2423           30065                           CA       TEMPSW                                #   SHALL WE NOW SET LONGBASE
058528,000368: 10,2424           62427                           AD       BIT14COM                              
058529,000369: 10,2425           10000                           CCS      A                                     
058530,000370: 10,2426           12427                           NOOP                                           #  ***** CANT GET HERE *****
058531,000371: 10,2427           17777        BIT14COM           OCT      17777                                 #  ***** CANT GET HERE *****
058532,000372: 10,2430           12434                           TCF      BELOW4                                #  NO WE NEED ONLY SET TBASE
058533,000373: 
058534,000374: 10,2431           00006        BELOW3             EXTEND                                         #  SET LONGBASE
058535,000375: 10,2432           30025                           DCA      TIME2                                 
058536,000376: 10,2433           53136                           DXCH     LONGBASE                              
058537,000377: 
058538,000378: 10,2434           40062        BELOW4             CS       TEMPP                                 #  AND STORE THE FINAL PART OF THE PHASE
058539,000379: 10,2435           50061                           NDX      TEMPG                                 
058540,000380: 10,2436           54750                           TS       -PHASE1    -2                         
058541,000381: 
058542,000382: 10,2437           30002                           CA       Q                                     
058543,000383: 10,2440           22073                           LXCH     TEMPBBCN                              
058544,000384: 10,2441           00003                           RELINT                                         
058545,000385: 10,2442           52006                           DTCB                                           
058546,000386: 10,2443           22073        CON2               LXCH     TEMPBBCN                              
058547,000387: 

Page 1377

058549,000389: 10,2444           30062                           CA       TEMPP                                 
058550,000390: 10,2445           50061                           NDX      TEMPG                                 
058551,000391: 10,2446           54751                           TS       PHASE1     -2                         
058552,000392: 
058553,000393: 10,2447           30070                           CA       TEMPPR                                
058554,000394: 10,2450           50061                           NDX      TEMPG                                 
058555,000395: 10,2451           55052                           TS       PHSPRDT1   -2                         
058556,000396: 
058557,000397: 10,2452           00006                           EXTEND                                         
058558,000398: 10,2453           30064                           DCA      TEMPNM                                
058559,000399: 10,2454           50061                           NDX      TEMPG                                 
058560,000400: 10,2455           53435                           DXCH     PHSNAME1   -2                         
058561,000401: 
058562,000402: 10,2456           12400                           TCF      BELOW1                                
058563,000403: 
058564,000404:    5363                                           BLOCK    02                                    
058565,000405:    4000                                           SETLOC   FFTAG1                                
058566,000406:    4000                                           BANK                                           
058567,000407: 
058568,000408:    5363                                           COUNT    02/PHASE                              
058569,000409: 
058570,000410:    5363           74677        CHECKB             MASK     BIT12                                 #  SINCE THIS IS OF TYPE B, THIS BIT SHOULD
058571,000411:    5364           10000                           CCS      A                                     #   BE HERE IF WE ARE TO GET A NEW PRIORITY
058572,000412:    5365           15350                           TCF      GETPRIO                               #  IT IS, SO GET NEW PRIORITY
058573,000413: 
058574,000414:    5366           15327                           TCF      OLDPRIO                               #  IT ISN:T, USE THE OLD PRIORITY

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