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.

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

Page 1368

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

Page 1369

058220,000070:    4000                                           SETLOC   FFTAG1                                
058221,000071:    4000                                           BANK                                           
058222,000072: 

Page 1370

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

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

Page 1372

058326,000176:                                                                                                  #  THE NOVAC-FINDVAC CHOICE FOR JOBS HOLDS HERE ALSO - NEGATIVE PRIORITY CAUSES A NOVAC CALL, POSITIVE A FINDVAC.
058327,000177: 
058328,000178:                                                                                                  #  SUMMARY OF BITS
058329,000179: 
058330,000180:                                                                                                  #  TYPE A          TL0 00P PPP PPP GGG
058331,000181: 
058332,000182:                                                                                                  #  TYPE B          TL1 DAP PPP PPP GGG
058333,000183: 
058334,000184:                                                                                                  #  TYPE C          TL0 1AD XXX CJW GGG
058335,000185: 

Page 1373

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

Page 1374

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

Page 1375

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

Page 1376

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

Page 1377

058539,000389: 10,2444           30062                           CA       TEMPP                                 
058540,000390: 10,2445           50061                           NDX      TEMPG                                 
058541,000391: 10,2446           54751                           TS       PHASE1     -2                         
058542,000392: 
058543,000393: 10,2447           30070                           CA       TEMPPR                                
058544,000394: 10,2450           50061                           NDX      TEMPG                                 
058545,000395: 10,2451           55052                           TS       PHSPRDT1   -2                         
058546,000396: 
058547,000397: 10,2452           00006                           EXTEND                                         
058548,000398: 10,2453           30064                           DCA      TEMPNM                                
058549,000399: 10,2454           50061                           NDX      TEMPG                                 
058550,000400: 10,2455           53435                           DXCH     PHSNAME1   -2                         
058551,000401: 
058552,000402: 10,2456           12400                           TCF      BELOW1                                
058553,000403: 
058554,000404:    5363                                           BLOCK    02                                    
058555,000405:    4000                                           SETLOC   FFTAG1                                
058556,000406:    4000                                           BANK                                           
058557,000407: 
058558,000408:    5363                                           COUNT    02/PHASE                              
058559,000409: 
058560,000410:    5363           74677        CHECKB             MASK     BIT12                                 #  SINCE THIS IS OF TYPE B, THIS BIT SHOULD
058561,000411:    5364           10000                           CCS      A                                     #   BE HERE IF WE ARE TO GET A NEW PRIORITY
058562,000412:    5365           15350                           TCF      GETPRIO                               #  IT IS, SO GET NEW PRIORITY
058563,000413: 
058564,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