Source Code

This is an attempt to recreate Luminary 99 Rev 2, otherwise known as LUM99R2, from Luminary 99 Rev 1 and ephemeris data from Luminary 116. The differences are confined to the last 10-12 lines of the CONTROLLED CONSTANTS. Luminary 99 Rev 1 source-code was transcribed from a printout in the MIT Museum, while Luminary 116 source code was transcribed from a printout belonging to Don Eyles. AGC developer James Kernan, the "rope mother" for the Apollo 11 Lunar Module's AGC, explains as follows: "At the last minute, Dan Lickly, our chief engineer, appeared with ephemerides updates and it took two tries to get it right. The result was that we created Lum99 Revision 1 and Lum99 Revision 2." It is suspected that the former is what's in the MIT Museum, and the latter is what we are trying to recreate here. As for which revision actually flew in Apollo 11, all of the other available surviving evidence points to Rev 1 rather than to Rev 2, so we're just not sure!

054482,000002:                                                                                                  ## Copyright:   Public domain.
054483,000003:                                                                                                  ## Filename:    PHASE_TABLE_MAINTENANCE.agc
054484,000004:                                                                                                  ## Purpose:     Part of the source code for Luminary 1A build 099.
054485,000005:                                                                                                  ##              It is part of the source code for the Lunar Module's (LM)
054486,000006:                                                                                                  ##              Apollo Guidance Computer (AGC), for Apollo 11.
054487,000007:                                                                                                  ## Assembler:   yaYUL
054488,000008:                                                                                                  ## Contact:     Onno Hommes <ohommes@cmu.edu>.
054489,000009:                                                                                                  ## Website:     www.ibiblio.org/apollo.
054490,000010:                                                                                                  ## Pages:       1294-1302
054491,000011:                                                                                                  ## Mod history: 2009-05-26 OH   Transcribed from page images.
054492,000012:                                                                                                  ##              2009-06-05 RSB  A few lines at the bottom of page image
054493,000013:                                                                                                  ##                              1294 were truncated.  I've fixed the page
054494,000014:                                                                                                  ##                              image and added those missing lines here.
054495,000015:                                                                                                  ##              2011-05-07 JL   Flagged SBANK= workaround for future 
054496,000016:                                                                                                  ##                              removal.
054497,000017:                                                                                                  ##              2016-12-17 RSB  Proofed text comments with octopus/ProoferComments
054498,000018:                                                                                                  ##                              and corrected the errors found.
054499,000019:                                                                                                  ##              2017-01-28 RSB  Back-ported a comment-text fix from Luminary 69.
054500,000020:                                                                                                  ##              2017-03-03 RSB  Snapshot of Luminary 99 Rev 1. 
054501,000021:                                                                                                  ##              2017-03-14 RSB  Comment-text fixes noted in proofing Luminary 116.
054502,000022:                                                                                                  ##              2017-03-16 RSB  Comment-text fixes identified in 5-way
054503,000023:                                                                                                  ##                              side-by-side diff of Luminary 69/99/116/131/210.
054504,000024:                                                                                                  ##              2017-06-17 MAS  Globally removed all SBANK= workarounds.
054505,000025: 

Page 1294

054507,000027:                                                                                                  #  SUBROUTINE TO UPDATE THE PROGRAM NUMBER DISPLAY ON THE DSKY.
054508,000028: 
054509,000029: 43,3724                                           COUNT*   $$/PHASE                              
054510,000030:    5311                                           BLOCK    02                                    
054511,000031:    4000                                           SETLOC   FFTAG1                                
054512,000032:    4000                                           BANK                                           
054513,000033: 
054514,000034:    5311           50002        NEWMODEX           INDEX    Q                                     #  UPDATE MODREG.  ENTRY FOR MODE IN FIXED.
054515,000035:    5312           30000                           CAF      0                                     
054516,000036:    5313           24002                           INCR     Q                                     
054517,000037: 
054518,000038:    5314           55011        NEWMODEA           TS       MODREG                                #  ENTRY FOR MODE IN A.
054519,000039:    5315           35320        MMDSPLAY           CAF      +3                                    #  DISPLAY MAJOR MODE.
054520,000040:    5316           22006        PREBJUMP           LXCH     BBANK                                 #  PUTS BBANK IN L
054521,000041:    5317           14640                           TCF      BANKJUMP                              #  PUTS Q INTO A
054522,000042:    5320           20213                           CADR     SETUPDSP                              
054523,000043: 
054524,000044:                                                                                                  #  RETURN TO CALLER +3 IF MODE = THAT AT CALLER +1.  OTHERWISE RETURN TO CALLER +2.
054525,000045: 
054526,000046:    5321           50002        CHECKMM            INDEX    Q                                     
054527,000047:    5322           40000                           CS       0                                     
054528,000048:    5323           61011                           AD       MODREG                                
054529,000049:    5324           00006                           EXTEND                                         
054530,000050:    5325           16741                           BZF      Q+2                                   
054531,000051:    5326           16737                           TCF      Q+1                                   #  NO MATCH
054532,000052: 
054533,000053:    5327     6742               TCQ                =        Q+2        +1                         
054534,000054: 
054535,000055: 14,3774                                           BANK     14                                    
054536,000056: 10,2000                                           SETLOC   PHASETAB                              
054537,000057: 10,2000                                           BANK                                           
054538,000058: 
054539,000059: 10,2213                                           COUNT*   $$/PHASE                              
054540,000060: 10,2213           00004        SETUPDSP           INHINT                                         
054541,000061: 10,2214           52071                           DXCH     RUPTREG1                              #  SAVE CALLER-S RETURN 2CADR
054542,000062: 10,2215           34355                           CAF      PRIO30                                #        EITHER A TASK OR JOB CAN COME TO
054543,000063: 10,2216           05072                           TC       NOVAC                                 #        NEWMODE X
054544,000064: 10,2217     1011                                  EBANK=   MODREG                                
054545,000065: 10,2217           03534 60102                     2CADR    DSPMMJOB                              
054546,000066: 
054547,000067: 10,2221           52071                           DXCH     RUPTREG1                              
054548,000068: 10,2222           00003                           RELINT                                         
054549,000069: 10,2223           52006                           DXCH     Z                                     #  RETURN
054550,000070: 
054551,000071: 10,2224  40,3534               DSPMMJOB           EQUALS   DSPMMJB                               
054552,000072: 
054553,000073:    5327                                           BLOCK    02                                    
054554,000074:    4000                                           SETLOC   FFTAG1                                
054555,000075:    4000                                           BANK                                           
054556,000076: 

Page 1295

054558,000078:                                                                                                  #  PHASCHNG IS THE MAIN WAY OF MAKING PHASE CHANGES FOR RESTARTS.  THERE ARE THREE FORMS OF PHASCHNG, KNOWN AS TYPE
054559,000079:                                                                                                  #  A, TYPE B, AND TYPE C.  THEY ARE ALL CALLED AS FOLLOWS, WHERE OCT XXXXX CONTAINS THE PHASE INFORMATION,
054560,000080:                                                                                                  #                TC      PHASCHNG
054561,000081:                                                                                                  #                OCT     XXXXX
054562,000082:                                                                                                  #  TYPE A IS CONCERNED WITH FIXED PHASE CHANGES, THAT IS, PHASE INFORMATION THAT IS STORED PERMANENTLY.  THESE
054563,000083:                                                                                                  #  OPTIONS ARE, WHERE G STANDS FOR A GROUP AND .X FOR THE PHASE,
054564,000084:                                                                                                  #        G.0             INACTIVE, WILL NOT PERMIT A GROUP G RESTART
054565,000085:                                                                                                  #        G.1             WILL CAUSE THE LAST DISPLAY TO BE REACTIVATED, USED MAINLY IN MANNED FLIGHTS
054566,000086:                                                                                                  #        G.EVEN          A DOUBLE TABLE RESTART, CAN CAUSE ANY COMBINATION OF TWO JOBS, TASKS, AND/OR
054567,000087:                                                                                                  #                        LONGCALL TO BE RESTARTED.
054568,000088:                                                                                                  #        G.ODD NOT .1    A SINGLE TABLE RESTART, CAN CAUSE EITHER A JOB, TASK, OR LONGCALL RESTART
054569,000089: 
054570,000090:                                                                                                  #  THIS INFORMATION IS PUT INTO THE OCTAL WORD AFTER TC PHASCHNG AS FOLLOWS
054571,000091:                                                                                                  #        TL0 00P PPP PPP GGG                                               ,
054572,000092:                                                                                                  #  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,
054573,000093:                                                                                                  #  OCTAL 0 - 127.  0:S MUST BE 0.  IF ONE WISHES TO HAVE THE TBASE OF GROUP G TO BE SET AT THIS TIME,
054574,000094:                                                                                                  #  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
054575,000095:                                                                                                  #  IT IS SET TO 0.  SOME EXAMPLES,
054576,000096:                                                                                                  #                TC      PHASCHNG        THIS WILL CAUSE GROUP 3 TO BE SET TO 0,
054577,000097:                                                                                                  #                OCT     00003           MAKING GROUP 3 INACTIVE
054578,000098: 
054579,000099:                                                                                                  #                TC      PHASCHNG        IF A RESTART OCCURS THIS WOULD CAUSE
054580,000100:                                                                                                  #                OCT     00012           GROUP 2 TO RESTART THE LAST DISPLAY
054581,000101: 
054582,000102:                                                                                                  #                TC      PHASCHNG        THIS SETS THE TBASE OF GROUP 4 AND IN
054583,000103:                                                                                                  #                OCT     40064           CASE OF A RESTART WOULD START UP THE TWO
054584,000104:                                                                                                  #                                        THINGS LOCATED IN THE DOUBLE 4.6 RESTART
054585,000105:                                                                                                  #                                        LOCATION
054586,000106: 
054587,000107:                                                                                                  #                TC      PHASCHNG        THIS SETS LONGBASE AND UPON A RESTART
054588,000108:                                                                                                  #                OCT     20135           CAUSES 5.13 TO BE RESTARTED (SINCE
054589,000109:                                                                                                  #                                        LONGBASE WAS SET THIS SINGLE ENTRY
054590,000110:                                                                                                  #                                        SHOULD BE A LONGCALL)
054591,000111: 
054592,000112:                                                                                                  #                TC      PHASCHNG        SINCE BOTH TBASE4 AND LONGBASE ARE SET,
054593,000113:                                                                                                  #                OCT     60124           4.12 SHOULD CONTAIN BOTH A TASK AND A
054594,000114:                                                                                                  #                                        LONGCALL TO BE RESTARTED
054595,000115: 
054596,000116:                                                                                                  #  TYPE C PHASCHNG CONTAINS THE VARIABLE TYPE OF PHASCHNG INFORMATION.  INSTEAD OF THE INFORMATION BEING IN A
054597,000117:                                                                                                  #  PERMANENT FORM, ONE STORES THE DESIRED RESTART INFORMATION IN A VARIABKE LOCATION.  THE BITS ARE AS FOLLOWS,
054598,000118:                                                                                                  #        TL0 1AD XXX CJW GGG
054599,000119:                                                                                                  #  WHERE EACH LETTER OR NUMBER STANDS FOR A BIT.  THE G:S STAND FOR THE GROUP, OCTAL 1 - 7.  IF THE RESTART IS TO
054600,000120:                                                                                                  #  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
054601,000121:                                                                                                  #  THESE THREE BITS MAY BE SET.  X:S ARE IGNORED  1 MUST BE 1, AND 0 MUST BE 0.  AGAIN T STANDS FOR THE TBASE,

Page 1296

054603,000123:                                                                                                  #  AND L FOR LONGBASE.  THE BITS A AND D ARE CONCERNED WITH THE VARIABLE INFORMATION.  IF D IS SET TO 1, A PRIORITY
054604,000124:                                                                                                  #  OR DELTA TIME WILL BE READ FROM THE NEXT LOCATION AFTER THE OCTAL INFORMATION, IF THIS IS TO BE INDIRECT, THAT
054605,000125:                                                                                                  #  IS, THE NAME OF A LOCATION COMT+INING THE INFORMATION (DELTA TIME ONLY), THEN THIS IS GIVEN AS THE -GENADR OF
054606,000126:                                                                                                  #  THAT LOCATION WHICH CONTAINS THE DELTA TIME.  IF THE OLD PRIORITY OR DELTA TIME IS TO BE USED, THAT WHICH IS
054607,000127:                                                                                                  #  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
054608,000128:                                                                                                  #  THAT WOULD BE RESTARTED DURING A RESTART IS THE NEXT LOCATION AFTER THE PHASE INFORMATION, THAT IS, EITHER
054609,000129:                                                                                                  #  (TC PHASCHNG) +2 OR +3, DEPENDING ON WHETHER D HAD BEEN SET OR NOT.  IF A IS SET TO 1, THEN THE ADDRESS THAT
054610,000130:                                                                                                  #  WOULD BE RESTARTED IS THE 2CADR THAT IS READ FROM THE NEXT TWO LOCATIONS.  EXAMPLES,
054611,000131:                                                                                                  #        AD      TC      PHASCHNG        THIS WOULD CAUSE LOCATION AD +3 TO BE
054612,000132:                                                                                                  #        AD+1    OCT     05023           RESTARTED BY GROUP THREE WITH A PRIORITY
054613,000133:                                                                                                  #        AD+2    OCT     23000           OF 23.  NOTE UPON RETURNING IT WOULD
054614,000134:                                                                                                  #        AD+3                            ALSO GO TO AD+3
054615,000135: 
054616,000136:                                                                                                  #        AD      TC      PHASCHNG        GROUP 1 WOULD CAUSE CAUSE CALLCALL TO
054617,000137:                                                                                                  #        AD+1    OCT     27441           BE STARTED AS A LONGCALL FROM THE TIME
054618,000138:                                                                                                  #        AD+2    -GENADR DELTIME         STORED IN LONGBASE (LONGBASE WAS SET) BY
054619,000139:                                                                                                  #        AD+3    2CADR   CALLCALL        A DELTA TIME STORED IN DELTIME.  THE
054620,000140:                                                                                                  #        AD+4                            BBCON OF THE 2CADR SHOULD CONTAIN THE E
054621,000141:                                                                                                  #        AD+5                            BANK OF DELTIME.  PHASCHNG RETURNS TO
054622,000142:                                                                                                  #                                        LOCATION AD+5
054623,000143: 
054624,000144:                                                                                                  #  NOTE THAT IF A VARIABLE PRIORITY IS GIVEN FOR A JOB, THE JOB WILL BE RESTARTED AS A NOVAC IF THE PRIORITY IS
054625,000145:                                                                                                  #  NEGATIVE, AS A FINDVAC IF THE PRIORITY IS POSITIVE.
054626,000146: 
054627,000147:                                                                                                  #  TYPE B PHASCHNG IS A COMBINATION OF VARIABLE AND FIXED PHASE CHANGES.  IT WILL START UP A JOB AS INDICATED
054628,000148:                                                                                                  #  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
054629,000149:                                                                                                  #  DOUBLE ENTRY.  THE BIT INFORMATION IS AS FOLLOWS,
054630,000150:                                                                                                  #        TL1 DAP PPP PPP GGG
054631,000151:                                                                                                  #  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
054632,000152:                                                                                                  #  PHASE INFORMATION, OCTAL 0 - 127.  1 MUST BE 1.  AND AGAIN T STANDS FOR THE TBASE AND L FOR LONGBASE.  D THIS
054633,000153:                                                                                                  #  TIME STANDS ONLY FOR PRIORITY SINCE THIS WILL BE CONSIDERED A JOB, AND IT MUST BE GIVEN DIRECTLY IF GIVEN.
054634,000154:                                                                                                  #  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
054635,000155:                                                                                                  #  THE NEXT LOCATION.  (THE RETURN LOCATION OF PHASCHNG) EXAMPLES,
054636,000156:                                                                                                  #        AD      TC      PHASCHNG        TBASE IS SET AND A RESTART CAUSE GROUP 3
054637,000157:                                                                                                  #        AD+1    OCT     56043           TO START THE JOB AJOBAJOB WITH PRIORITY
054638,000158:                                                                                                  #        AD+2    OCT     31000           31 AND THE FIRST ENTRY OF 3.4SPOT (WE CAN
054639,000159:                                                                                                  #        AD+3    2CADR   AJOBAJOB        ASSUME IT IS A TASK SINCE WE SET TBASE3)
054640,000160:                                                                                                  #        AD+4                            UPON RETURN FROM PHASCHNG CONTROL WOULD
054641,000161:                                                                                                  #        AD+5                            GO TO AD+5
054642,000162: 
054643,000163:                                                                                                  #        AD      TC      PHASCHNG        UPON A RESTART THE LAST DISPLAY WOULD BE
054644,000164:                                                                                                  #        AD+1    OCT     10015           RESTARTED AND A JOB WITH THE PREVIOUSLY
054645,000165:                                                                                                  #        AD+2                            STORED PRIORITY WOULD BE BEGUN AT AD+2
054646,000166:                                                                                                  #                                        BY MEANS OF GROUP 5

Page 1297

054648,000168:                                                                                                  #  THE NOVAC-FINDVAC CHOICE FOR JOBS HOLDS HERE ALSO - NEGATIVE PRIORITY CAUSES A NOVAC CALL, POSITIVE A FINDVAC.
054649,000169: 
054650,000170:                                                                                                  #  SUMMARY OF BITS
054651,000171:                                                                                                  #        TYPE A          TL0 00P PPP PPP GGG
054652,000172:                                                                                                  #        TYPE B          TL1 DAP PPP PPP GGG
054653,000173:                                                                                                  #        TYPE C          TL0 1AD XXX CJW GGG
054654,000174: 

Page 1298

054656,000176:                                                                                                  #  2PHSCHNG IS USED WHEN ONE WISHES TO START UP A GROUP OR CHANGE A GROUP WHILE UNDER THE CONTROL OF A DIFFERENT
054657,000177:                                                                                                  #  GROUP.  FOR EXAMPLE, CHANGE THE PHASE OF GROUP 3 WHILE THE PORTION OF THE PROGRAM IS UNDER GROUP 5.  ALL 2PHSCHNG
054658,000178:                                                                                                  #  CALLS ARE MADE IN THE FOLLOWING MANNER,
054659,000179:                                                                                                  #                TC      2PHSCHNG
054660,000180:                                                                                                  #                OCT     XXXXX
054661,000181:                                                                                                  #                OCT     YYYYY
054662,000182:                                                                                                  #  WHERE OCT XXXXX MUST BE OF TYPE A AND OCT YYYYY MAY BE OF EITHER TYPE A OR TYPE B OR TYPE C.  THERE IS ONE
054663,000183:                                                                                                  #  DIFFERENCE --- NOTE- IF LONGBASE IS TO BE SET THIS INFORMATION IS GIVEN IN THE OCT YYYYY INFORMATION, IT WILL
054664,000184:                                                                                                  #  BE DISREGARDED IF GIVEN WITH THE OCT XXXXX INFORMATION.  A COUPLE OF EXAMPLES MAY HELP,
054665,000185:                                                                                                  #        AD      TC      2PHSCHNG        SET TBASE3 AND IF A RESTART OCCURS START
054666,000186:                                                                                                  #        AD+1    OCT     40083           THE TWO ENTRIES IN 3.8 TABLE LOCATION
054667,000187:                                                                                                  #        AD+2    OCT     05025           THIS IS OF TYPE C, SET THE JOB TO BE
054668,000188:                                                                                                  #        AD+3    OCT     18000           TO BE LOCATION AD+4, WITH A PRIORITY 18,
054669,000189:                                                                                                  #        AD+4                            FOR GROUP 5 PHASE INFORMATION
054670,000190: 
054671,000191:    5327                                           COUNT*   $$/PHASE                              
054672,000192:    5327           00004        2PHSCHNG           INHINT                                         #  THE ENTRY FOR A DOUBLE PHASE CHANGE
054673,000193:    5330           50002                           NDX      Q                                     
054674,000194:    5331           30000                           CA       0                                     
054675,000195:    5332           24002                           INCR     Q                                     
054676,000196:    5333           54072                           TS       TEMPP2                                
054677,000197: 
054678,000198:    5334           74757                           MASK     OCT7                                  
054679,000199:    5335           60000                           DOUBLE                                         
054680,000200:    5336           54071                           TS       TEMPG2                                
054681,000201: 
054682,000202:    5337           30072                           CA       TEMPP2                                
054683,000203:    5340           75030                           MASK     OCT17770                              #  NEED ONLY 1770, BUT WHY GET A NEW CONST.
054684,000204:    5341           00006                           EXTEND                                         
054685,000205:    5342           74740                           MP       BIT12                                 
054686,000206:    5343           56072                           XCH      TEMPP2                                
054687,000207: 
054688,000208:    5344           74735                           MASK     BIT15                                 
054689,000209:    5345           54066                           TS       TEMPSW2                               #  INDICATES WHETHER TO SET TBASE OR NOT
054690,000210: 
054691,000211:    5346           50002                           INDEX    Q                                     
054692,000212:    5347           30000                           CA       0                                     
054693,000213:    5350           24002                           INCR     Q                                     
054694,000214:    5351           54065                           TS       TEMPSW                                
054695,000215: 
054696,000216:    5352           15363                           TCF      PHASJUMP                              
054697,000217: 
054698,000218:    5353           00004        PHASCHNG           INHINT                                         #  NORMAL PHASCHNG ENTRY POINT.
054699,000219:    5354           50002                           INDEX    Q                                     
054700,000220:    5355           30000                           CA       0                                     
054701,000221:    5356           24002                           INCR     Q                                     
054702,000222:    5357           00004        PHSCHNGA           INHINT                                         #  FIRST OCTAL PARAMETER IN A.

Page 1299

054704,000224:    5360           54065                           TS       TEMPSW                                
054705,000225:    5361           34753                           CA       ONE                                   
054706,000226:    5362           54066                           TS       TEMPSW2                               
054707,000227:    5363           00006        PHASJUMP           EXTEND                                         
054708,000228:    5364           35367                           DCA      ADRPCHN2                              #  OFF TO SWITCHED BANK
054709,000229:    5365           52006                           DTCB                                           
054710,000230: 
054711,000231:    5366  E3,1400                                  EBANK=   LST1                                  
054712,000232:    5366           02224 20103  ADRPCHN2           2CADR    PHSCHNG2                              
054713,000233: 
054714,000234:    5370           22073        ONEORTWO           LXCH     TEMPBBCN                              
054715,000235:    5371           22006                           LXCH     BBANK                                 
054716,000236:    5372           22073                           LXCH     TEMPBBCN                              
054717,000237: 
054718,000238:    5373           75024                           MASK     OCT14000                              #  SEE WHAT KIND OF PHASE CHANGE IT IS
054719,000239:    5374           10000                           CCS      A                                     
054720,000240:    5375           17750                           TCF      CHECKB                                #  IT IS OF TYPE :B:
054721,000241: 
054722,000242:    5376           30062                           CA       TEMPP                                 
054723,000243:    5377           74745                           MASK     BIT7                                  
054724,000244:    5400           10000                           CCS      A                                     #  SHALL WE USE THE OLD PRIORITY
054725,000245:    5401           15423                           TCF      GETPRIO                               #  NO GET A NEW PRIORITY (OR DELTA T)
054726,000246: 
054727,000247:    5402           50061        OLDPRIO            NDX      TEMPG                                 #  USE THE OLD PRIORITY (OR DELTA T)
054728,000248:    5403           31052                           CA       PHSPRDT1   -2                         
054729,000249:    5404           54070                           TS       TEMPPR                                
054730,000250: 
054731,000251:    5405           30062        CON1               CA       TEMPP                                 #  SEE IF A 2CADR IS GIVEN
054732,000252:    5406           74744                           MASK     BIT8                                  
054733,000253:    5407           10000                           CCS      A                                     
054734,000254:    5410           15427                           TCF      GETNEWNM                              
054735,000255: 
054736,000256:    5411           30002                           CA       Q                                     
054737,000257:    5412           54063                           TS       TEMPNM                                
054738,000258:    5413           30006                           CA       BB                                    
054739,000259:    5414           00006                           EXTEND                                         #  PICK UP USERS SUPERBANK
054740,000260:    5415           04007                           ROR      SUPERBNK                              
054741,000261:    5416           54064                           TS       TEMPBB                                
054742,000262: 
054743,000263:    5417           35422        TOCON2             CA       CON2ADR                               #  BACK TO SWITCHED BANK
054744,000264:    5420           22073                           LXCH     TEMPBBCN                              
054745,000265:    5421           52006                           DTCB                                           
054746,000266: 
054747,000267:    5422           02312        CON2ADR            GENADR   CON2                                  
054748,000268: 
054749,000269:    5423           50002        GETPRIO            NDX      Q                                     #  DON:T CARE IF DIRECT OR INDIRECT
054750,000270:    5424           30000                           CA       0                                     #  LEAVE THAT DECISION TO RESTARTS
054751,000271:    5425           24002                           INCR     Q                                     #  OBTAIN RETURN ADDRESS

Page 1300

054753,000273:    5426           15404                           TCF      CON1       -1                         
054754,000274: 
054755,000275:    5427           00006        GETNEWNM           EXTEND                                         
054756,000276:    5430           50002                           INDEX    Q                                     
054757,000277:    5431           30001                           DCA      0                                     
054758,000278:    5432           52064                           DXCH     TEMPNM                                
054759,000279:    5433           34752                           CA       TWO                                   
054760,000280:    5434           26002                           ADS      Q                                     #  OBTAIN RETURN ADDRESS
054761,000281: 
054762,000282:    5435           15417                           TCF      TOCON2                                
054763,000283: 
054764,000284:    5436     5024               OCT14000           EQUALS   PRIO14                                
054765,000285:    5436     0061               TEMPG              EQUALS   ITEMP1                                
054766,000286:    5436     0062               TEMPP              EQUALS   ITEMP2                                
054767,000287:    5436     0063               TEMPNM             EQUALS   ITEMP3                                
054768,000288:    5436     0064               TEMPBB             EQUALS   ITEMP4                                
054769,000289:    5436     0065               TEMPSW             EQUALS   ITEMP5                                
054770,000290:    5436     0066               TEMPSW2            EQUALS   ITEMP6                                
054771,000291:    5436     0070               TEMPPR             EQUALS   RUPTREG1                              
054772,000292:    5436     0071               TEMPG2             EQUALS   RUPTREG2                              
054773,000293:    5436     0072               TEMPP2             EQUALS   RUPTREG3                              
054774,000294: 
054775,000295:    5436     0073               TEMPBBCN           EQUALS   RUPTREG4                              
054776,000296:    5436  0000006               BB                 EQUALS   BBANK                                 
054777,000297: 
054778,000298: 14,3774                                           BANK     14                                    
054779,000299: 10,2000                                           SETLOC   PHASETAB                              
054780,000300: 10,2000                                           BANK                                           
054781,000301: 
054782,000302: 10,2224  E3,1436                                  EBANK=   PHSNAME1                              
054783,000303: 10,2224                                           COUNT*   $$/PHASE                              
054784,000304: 10,2224           22073        PHSCHNG2           LXCH     TEMPBBCN                              
054785,000305: 10,2225           30065                           CA       TEMPSW                                
054786,000306: 10,2226           74757                           MASK     OCT7                                  
054787,000307: 10,2227           60000                           DOUBLE                                         
054788,000308: 10,2230           54061                           TS       TEMPG                                 
054789,000309: 
054790,000310: 10,2231           30065                           CA       TEMPSW                                
054791,000311: 10,2232           75030                           MASK     OCT17770                              
054792,000312: 10,2233           00006                           EXTEND                                         
054793,000313: 10,2234           74740                           MP       BIT12                                 
054794,000314: 10,2235           54062                           TS       TEMPP                                 
054795,000315: 
054796,000316: 10,2236           30065                           CA       TEMPSW                                
054797,000317: 10,2237           74101                           MASK     OCT60000                              
054798,000318: 10,2240           56065                           XCH      TEMPSW                                
054799,000319: 10,2241           75024                           MASK     OCT14000                              
054800,000320: 10,2242           10000                           CCS      A                                     

Page 1301

054802,000322: 10,2243           15370                           TCF      ONEORTWO                              
054803,000323: 
054804,000324: 10,2244           30062                           CA       TEMPP                                 #  START STORING THE PHASE INFORMATION
054805,000325: 10,2245           50061                           NDX      TEMPG                                 
054806,000326: 10,2246           54751                           TS       PHASE1     -2                         
054807,000327: 
054808,000328: 10,2247           10066        BELOW1             CCS      TEMPSW2                               #  IS IT A PHASCHNG OR A 2PHSCHNG
054809,000329: 10,2250           12264                           TCF      BELOW2                                #  IT:S A PHASCHNG
054810,000330: 
054811,000331: 10,2251           12252                           TCF      +1                                    #  IT:S A 2PHSCHNG
054812,000332: 10,2252           40072                           CS       TEMPP2                                
054813,000333: 10,2253           22072                           LXCH     TEMPP2                                
054814,000334: 10,2254           50071                           NDX      TEMPG2                                
054815,000335: 10,2255           52751                           DXCH     -PHASE1    -2                         
054816,000336: 
054817,000337: 10,2256           10066                           CCS      TEMPSW2                               
054818,000338: 10,2257           12260                           NOOP                                           #  CAN:T GET HERE
054819,000339: 10,2260           12264                           TCF      BELOW2                                
054820,000340: 
054821,000341: 10,2261           40025                           CS       TIME1                                 
054822,000342: 10,2262           50071                           NDX      TEMPG2                                
054823,000343: 10,2263           55051                           TS       TBASE1     -2                         
054824,000344: 
054825,000345: 10,2264           10065        BELOW2             CCS      TEMPSW                                #  SEE IF WE SHOULD SET TBASE OR LONGBASE
054826,000346: 10,2265           12300                           TCF      BELOW3                                #  SET LONGBASE ONLY
054827,000347: 10,2266           12303                           TCF      BELOW4                                #  SET NEITHER
054828,000348: 
054829,000349: 10,2267           40025                           CS       TIME1                                 #  SET TBASE TO BEGIN WITH
054830,000350: 10,2270           50061                           NDX      TEMPG                                 
054831,000351: 10,2271           55051                           TS       TBASE1     -2                         
054832,000352: 
054833,000353: 10,2272           30065                           CA       TEMPSW                                #  SHALL WE NOW SET LONGBASE
054834,000354: 10,2273           62276                           AD       BIT14COM                              
054835,000355: 10,2274           10000                           CCS      A                                     
054836,000356: 10,2275           12276                           NOOP                                           #  ***** CANT GET HERE *****
054837,000357: 10,2276           17777        BIT14COM           OCT      17777                                 #  ***** CANT GET HERE *****
054838,000358: 10,2277           12303                           TCF      BELOW4                                #  NO WE NEED ONLY SET TBASE
054839,000359: 
054840,000360: 10,2300           00006        BELOW3             EXTEND                                         #  SET LONGBASE
054841,000361: 10,2301           30025                           DCA      TIME2                                 
054842,000362: 10,2302           53152                           DXCH     LONGBASE                              
054843,000363: 
054844,000364: 10,2303           40062        BELOW4             CS       TEMPP                                 #  AND STORE THE FINAL PART OF THE PHASE
054845,000365: 10,2304           50061                           NDX      TEMPG                                 
054846,000366: 10,2305           54750                           TS       -PHASE1    -2                         
054847,000367: 
054848,000368: 10,2306           30002                           CA       Q                                     
054849,000369: 10,2307           22073                           LXCH     TEMPBBCN                              
054850,000370: 10,2310           00003                           RELINT                                         
054851,000371: 10,2311           52006                           DTCB                                           

Page 1302

054853,000373: 10,2312           22073        CON2               LXCH     TEMPBBCN                              
054854,000374: 
054855,000375: 10,2313           30062                           CA       TEMPP                                 
054856,000376: 10,2314           50061                           NDX      TEMPG                                 
054857,000377: 10,2315           54751                           TS       PHASE1     -2                         
054858,000378: 
054859,000379: 10,2316           30070                           CA       TEMPPR                                
054860,000380: 10,2317           50061                           NDX      TEMPG                                 
054861,000381: 10,2320           55052                           TS       PHSPRDT1   -2                         
054862,000382: 
054863,000383: 10,2321           00006                           EXTEND                                         
054864,000384: 10,2322           30064                           DCA      TEMPNM                                
054865,000385: 10,2323           50061                           NDX      TEMPG                                 
054866,000386: 10,2324           53435                           DXCH     PHSNAME1   -2                         
054867,000387: 
054868,000388: 10,2325           12247                           TCF      BELOW1                                
054869,000389: 
054870,000390:    7750                                           BLOCK    03                                    
054871,000391:    6000                                           SETLOC   FFTAG6                                
054872,000392:    6000                                           BANK                                           
054873,000393: 
054874,000394:    7750                                           COUNT*   $$/PHASE                              
054875,000395:    7750           74740        CHECKB             MASK     BIT12                                 #  SINCE THIS IS OF TYPE B, THIS BIT SHOULD
054876,000396:    7751           10000                           CCS      A                                     #  BE HERE IF WE ARE TO GET A NEW PRIORITY
054877,000397:    7752           15423                           TCF      GETPRIO                               #  IT IS, SO GET NEW PRIORITY
054878,000398: 
054879,000399:    7753           15402                           TCF      OLDPRIO                               #  IT ISN:T, USE THE OLD PRIORITY
054880,000400: 
054881,000401: 

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