Source Code

These source-code files are part of a reconstructed copy of Luminary 69/2, the flown, final release of the Apollo 10 Lunar Module (LM) Apollo Guidance Computer (AGC) software.

The reconstruction is based on the source code of Luminary 69 — i.e., the initial, unflown version, "revision 0" — of which a contemporary listing was available. The code was then updated by incorporating the differences between Luminary 69 and Luminary 69/2, known from other contemporary documentation. The only such difference is the implementation in Luminary 69/2 of the "R-2 Lunar Potential Model", the source code for which was taken from program Luminary 99/1 (Apollo 11 LM), of which a contemporary listing was also available. Finally, the now-reconstructed Luminary 69/2 was then validated by assembling it to executable form and verifying that its memory banks had the correct checksums, known from still other contemporary documentation.

Note that page numbers in the reconstructed code match those in the original Luminary 69 program listing, or in the ORBITAL INTEGRATION log section, in Luminary 99/1. Page numbers would certainly differ somewhat in a contemporary Luminary 69/2 listing. Moreover, annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change in Luminary 69/2 relative to Luminary 69. Here's a guide to the Apollo documentation referenced in those annotations:
Comments from the original source code are prefixed with a single '#' symbol, whereas comments added later are prefixed by "##" or "###". Report any errors noted by creating an issue report at the Virtual AGC project's GitHub repository.

055628,000002:                                                                                                  ## Copyright:   Public domain.
055629,000003:                                                                                                  ## Filename:    PHASE_TABLE_MAINTENANCE.agc
055630,000004:                                                                                                  ## Purpose:     A section of LUM69 revision 2.
055631,000005:                                                                                                  ##              It is part of the reconstructed source code for the flown
055632,000006:                                                                                                  ##              version of the flight software for the Lunar Module's (LM)
055633,000007:                                                                                                  ##              Apollo Guidance Computer (AGC) for Apollo 10. The code has
055634,000008:                                                                                                  ##              been recreated from a copy of Luminary revsion 069, using
055635,000009:                                                                                                  ##              changes present in Luminary 099 which were described in
055636,000010:                                                                                                  ##              Luminary memos 75 and 78. The code has been adapted such
055637,000011:                                                                                                  ##              that the resulting bugger words exactly match those specified
055638,000012:                                                                                                  ##              for LUM69 revision 2 in NASA drawing 2021152B, which gives
055639,000013:                                                                                                  ##              relatively high confidence that the reconstruction is correct.
055640,000014:                                                                                                  ## Reference:   pp. 1288-1296
055641,000015:                                                                                                  ## Assembler:   yaYUL
055642,000016:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
055643,000017:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
055644,000018:                                                                                                  ## Mod history: 2019-07-27 MAS  Created from Luminary 69.
055645,000019: 

Page 1288

055647,000021:                                                                                                  #  SUBROUTINE TO UPDATE THE PROGRAM NUMBER DISPLAY ON THE DSKY.
055648,000022: 
055649,000023: 43,3732                                           COUNT*   $$/PHASE                              
055650,000024:    5311                                           BLOCK    02                                    
055651,000025:    4000                                           SETLOC   FFTAG1                                
055652,000026:    4000                                           BANK                                           
055653,000027: 
055654,000028:    5311           50002        NEWMODEX           INDEX    Q                                     #  UPDATE MODREG. ENTRY FOR MODE IN FIXED.
055655,000029:    5312           30000                           CAF      0                                     
055656,000030:    5313           24002                           INCR     Q                                     
055657,000031: 
055658,000032:    5314           55011        NEWMODEA           TS       MODREG                                #  ENTRY FOR MODE IN A.
055659,000033:    5315           35320        MMDSPLAY           CAF      +3                                    #  DISPLAY MAJOR MODE.
055660,000034:    5316           22006        PREBJUMP           LXCH     BBANK                                 #  PUTS BBANK IN L
055661,000035:    5317           14640                           TCF      BANKJUMP                              #  PUTS Q INTO A
055662,000036:    5320           20071                           CADR     SETUPDSP                              
055663,000037: 
055664,000038:                                                                                                  #  RETURN TO CALLER +3 IF MODE = THAT AT CALLER +1. OTHERWISE RETURN TO CALLER +2.
055665,000039: 
055666,000040:    5321           50002        CHECKMM            INDEX    Q                                     
055667,000041:    5322           40000                           CS       0                                     
055668,000042:    5323           61011                           AD       MODREG                                
055669,000043:    5324           00006                           EXTEND                                         
055670,000044:    5325           16740                           BZF      Q+2                                   
055671,000045:    5326           16736                           TCF      Q+1                                   #  NO MATCH
055672,000046: 
055673,000047:    5327     6741               TCQ                =        Q+2        +1                         
055674,000048: 
055675,000049: 14,3711                                           BANK     14                                    
055676,000050: 10,2000                                           SETLOC   PHASETAB                              
055677,000051: 10,2000                                           BANK                                           
055678,000052: 
055679,000053: 10,2071                                           COUNT*   $$/PHASE                              
055680,000054: 10,2071           00004        SETUPDSP           INHINT                                         
055681,000055: 10,2072           52071                           DXCH     RUPTREG1                              #  SAVE CALLER-S RETURN 2CADR
055682,000056: 10,2073           34355                           CAF      PRIO30                                #    EITHER A TASK OR JOB CAN COME TO
055683,000057: 10,2074           05072                           TC       NOVAC                                 #    NEWMODE X
055684,000058: 10,2075     1011                                  EBANK=   MODREG                                
055685,000059: 10,2075           03532 60102                     2CADR    DSPMMJOB                              
055686,000060: 
055687,000061: 10,2077           52071                           DXCH     RUPTREG1                              
055688,000062: 10,2100           00003                           RELINT                                         
055689,000063: 10,2101           52006                           DXCH     Z                                     #  RETURN
055690,000064: 
055691,000065: 10,2102  40,3532               DSPMMJOB           EQUALS   DSPMMJB                               
055692,000066: 
055693,000067:    5327                                           BLOCK    02                                    
055694,000068:    4000                                           SETLOC   FFTAG1                                
055695,000069:    4000                                           BANK                                           
055696,000070: 

Page 1289

055698,000072:                                                                                                  #  PHASCHNG IS THE MAIN WAY OF MAKING PHASE CHANGES FOR RESTARTS.  THERE ARE THREE FORMS OF PHASCHNG, KNOWN AS TYPE
055699,000073:                                                                                                  #  A, TYPE B, AND TYPE C. THEY ARE ALL CALLED AS FOLLOWS, WHERE OCT XXXXX CONTAINS THE PHASE INFORMATION,
055700,000074:                                                                                                  #                TC      PHASCHNG
055701,000075:                                                                                                  #                OCT     XXXXX
055702,000076:                                                                                                  #  TYPE A IS CONCERNED WITH FIXED PHASE CHANGES, THAT IS, PHASE INFORMATION THAT IS STORED PERMANENTLY.  THESE
055703,000077:                                                                                                  #  OPTIONS ARE, WHERE G STANDS FOR A GROUP AND .X FOR THE PHASE,
055704,000078:                                                                                                  #        G.0             INACTIVE, WILLNOT PERMIT A GROUP G RESTART
055705,000079:                                                                                                  #        G.1             WILL CAUSE THE LAST DISPLAY TO BE REACTIVATED, USED MAINLY IN MANNED FLIGHTS
055706,000080:                                                                                                  #        G.EVEN          A DOUBLE TABLE RESTART, CAN CAUSE ANY COMBINATION OF TWO JOBS, TASKS, AND/OR
055707,000081:                                                                                                  #                        LONGCALL TO BE RESTARTED.
055708,000082:                                                                                                  #        G.ODD NOT .1    A SINGLE TABLE RESTART, CAN CAUSE EITHER A JOB, TASK, OR LONGCALL RESTART
055709,000083: 
055710,000084:                                                                                                  #  THIS INFORMATION IS PUT INTO THE OCTAL WORD AFTER TC PHASCHNG AS FOLLOWS
055711,000085:                                                                                                  #        TL0 00P PPP PPP GGG                                               ,
055712,000086:                                                                                                  #  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,
055713,000087:                                                                                                  #  OCTAL 0 - 127.  0:S MUST BE 0.              IF ONE WISHES TO HAVE THE TBASE OF GROUP G TO BE SET AT THIS TIME,
055714,000088:                                                                                                  #  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
055715,000089:                                                                                                  #  IT IS SET TO 0.  SOME EXAMPLES,
055716,000090:                                                                                                  #                TC      PHASCHNG        THIS WILL CAUSE GROUP 3 TO BE SET TO 0,
055717,000091:                                                                                                  #                OCT     00003           MAKING GROUP 3 INACTIVE
055718,000092: 
055719,000093:                                                                                                  #                TC      PHASCHNG        IF A RESTART OCCURS THIS WOULD CAUSE
055720,000094:                                                                                                  #                OCT     00012           GROUP 2 TO RESTART THE LAST DISPLAY
055721,000095: 
055722,000096:                                                                                                  #                TC      PHASCHNG        THIS SETS THE TBASE OF GROUP 4 AND IN
055723,000097:                                                                                                  #                OCT     40064           CASE OF A RESTART WOULD START UP THE TWO
055724,000098:                                                                                                  #                                        THINGS LOCATED IN THE DOUBLE 4.6 RESTART
055725,000099:                                                                                                  #                                        LOCATION
055726,000100:                                                                                                  #                TC      PHASCHNG        THIS SETS LONGBASE AND UPON A RESTART
055727,000101:                                                                                                  #                OCT     20135           CAUSES 5.13 TO BE RESTARTED (SINCE
055728,000102:                                                                                                  #                                        LONGBASE WAS SET THIS SINGLE ENTRY
055729,000103:                                                                                                  #                                        SHOULD BE A LONGCALL)
055730,000104: 
055731,000105:                                                                                                  #                TC      PHASCHNG        SINCE BOTH TBASE4 AND LONGBASE ARE SET,
055732,000106:                                                                                                  #                OCT     60124           4.12 SHOULD CONTAIN BOTH A TASK AND A
055733,000107:                                                                                                  #                                        LONGCALL TO BE RESTARTED
055734,000108: 
055735,000109:                                                                                                  #  TYPE C PHASCHNG CONTAINS THE VARIABLE TYPE OF PHASCHNG INFORMATION. INSTEAD OF THE INFORMATION BEING IN A
055736,000110:                                                                                                  #  PERMANENT FORM, ONE STORES THE DESIRED RESTART INFORMATION IN A VARIABKE LOCATION. THE BITS ARE AS FOLLOWS,
055737,000111:                                                                                                  #        TL0 1AD XXX CJW GGG
055738,000112:                                                                                                  #  WHERE EACH LETTER OR NUMBER STANDS FOR A BIT.  THE G:S STAND FOR THE GROUP, OCTAL 1 - 7.  IF THE RESTART IS TO
055739,000113:                                                                                                  #  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
055740,000114:                                                                                                  #  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 1290

055742,000116:                                                                                                  #  AND L FOR LONGBASE.  THE BITS A AND D ARE CONCERNED WITH THE VARIABLE INFORMATION. IF D IS SET TO 1, A PRIORITY
055743,000117:                                                                                                  #  OR DELTA TIME WILL BE READ FROM THE NEXT LOCATION AFTER THE OCTAL INFORMATION, IF THIS IS TO BE INDIRECT, THAT
055744,000118:                                                                                                  #  IS, THE NAME OF A LOCATION COMT+INING THE INFORMATION (DELTA TIME ONLY), THEN THIS IS GIVEN AS THE -GENADR OF
055745,000119:                                                                                                  #  THAT LOCATION WHICH CONTAINS THE DELTA TIME.  IF THE OLD PRIORITY OR DELTA TIME IS TO BE USED, THAT WHICH IS
055746,000120:                                                                                                  #  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
055747,000121:                                                                                                  #  THAT WOULD BE RESTARTED DURING A RESTART IS THE NEXT LOCATION AFTER  THE PHASE INFORMATION, THAT IS, EITHER
055748,000122:                                                                                                  #  (TC PHASCHNG) +2 OR +3, DEPENDING ON WHETHER D HAD BEEN SET OR NOT.  IF A IS SET TO 1, THEN THE ADDRESS THAT
055749,000123:                                                                                                  #  WOULD BE RESTARTED IS THE 2CADR THAT IS READ FROM THE NEXT TWO LOCATIONS.  EXAMPLES,
055750,000124:                                                                                                  #        AD      TC      PHASCHNG        THIS WOULD CAUSE LOCATION AD +3 TO BE
055751,000125:                                                                                                  #        AD+1    OCT     05023           RESTARTED BY GROUP THREE WITH A PRIORITY
055752,000126:                                                                                                  #        AD+2    OCT     23000           OF 23.  NOTE UPON RETURNING IT WOULD
055753,000127:                                                                                                  #        AD+3                            ALSO GO TO AD+3
055754,000128: 
055755,000129:                                                                                                  #        AD      TC      PHASCHNG        GROUP 1 WOULD CAUSE CAUSE CALLCALL TO
055756,000130:                                                                                                  #        AD+1    OCT     27441           BE STARTED AS A LONGCALL FROM THE TIME
055757,000131:                                                                                                  #        AD+2    -GENADR DELTIME         STORED IN LONGBASE (LONGBASE WAS SET) BY
055758,000132:                                                                                                  #        AD+3    2CADR   CALLCALL        A DELTA TIME STORED IN DELTIME.  THE
055759,000133:                                                                                                  #        AD+4                            BBCON OF THE 2CADR SHOULD CONTAIN THE E
055760,000134:                                                                                                  #        AD+5                            BANK OF DELTIME.  PHASCHNG RETURNS TO
055761,000135:                                                                                                  #                                        LOCATION AD+5
055762,000136: 
055763,000137:                                                                                                  #  NOTE THAT IF A VARIABLE PRIORITY IS GIVEN FOR A JOB, THE JOB WILL BE RESTARTED AS A NOVAC IF THE PRIORITY IS
055764,000138:                                                                                                  #  NEGATIVE, AS A FINDVAC IF THE PRIORITY IS POSITIVE.
055765,000139: 
055766,000140:                                                                                                  #  TYPE B PHASCHNG IS A COMBINATION OF VARIABLE AND FIXED PHASE CHANGES. IT WILL START UP A JOB AS INDICATED
055767,000141:                                                                                                  #  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
055768,000142:                                                                                                  #  DOUBLE ENTRY.  THE BIT INFORMATION IS AS FOLLOWS,
055769,000143:                                                                                                  #        TL1 DAP PPP PPP GGG
055770,000144:                                                                                                  #  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
055771,000145:                                                                                                  #  PHASE INFORMATION, OCTAL 0 - 127. 1 MUST BE 1.  AND AGAIN T STANDS FOR THE TBASE AND L FOR LONGBASE. D THIS
055772,000146:                                                                                                  #  TIME STANDS ONLY FOR PRIORITY SINCE THIS WILL BE CONSIDERED A JOB, AND IT MUST BE GIVEN DIRECTLY IF GIVEN.
055773,000147:                                                                                                  #  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
055774,000148:                                                                                                  #  THE NEXT LOCATION.  (THE RETURN LOCATION OF PHASCHNG) EXAMPLES,
055775,000149:                                                                                                  #        AD      TC      PHASCHNG        TBASE IS SET AND A RESTART CAUSE GROUP 3
055776,000150:                                                                                                  #        AD+1    OCT     56043           TO START THE JOB AJOBAJOB WITH PRIORITY
055777,000151:                                                                                                  #        AD+2    OCT     31000           31 AND THE FIRST ENTRY OF 3.4SPOT (WE CAN
055778,000152:                                                                                                  #        AD+3    2CADR   AJOBAJOB        ASSUME IT IS A TASK SINCE WE SET TBASE3)
055779,000153:                                                                                                  #        AD+4                            UPON RETURN FROM PHASCHNG CONTROL WOULD
055780,000154:                                                                                                  #        AD+5                            GO TO AD+5
055781,000155: 
055782,000156:                                                                                                  #        AD      TC      PHASCHNG        UPON A RESTART THE LAST DISPLAY WOULD BE
055783,000157:                                                                                                  #        AD+1    OCT     10015           RESTARTED AND A JOB WITH THE PREVIOUSLY
055784,000158:                                                                                                  #        AD+2                            STORED PRIORITY WOULD BE BEGUN AT AD+2
055785,000159:                                                                                                  #                                        BY MEANS OF GROUP 5

Page 1291

055787,000161:                                                                                                  #  THE NOVAC-FINDVAC CHOICE FOR JOBS HOLDS HERE ALSO - NEGATIVE PRIORITY CAUSES A NOVAC CALL, POSITIVE A FINDVAC.
055788,000162: 
055789,000163:                                                                                                  #  SUMMARY OF BITS
055790,000164:                                                                                                  #        TYPE A          TL0 00P PPP PPP GGG
055791,000165:                                                                                                  #        TYPE B          TL1 DAP PPP PPP GGG
055792,000166:                                                                                                  #        TYPE C          TL0 1AD XXX CJW GGG
055793,000167: 

Page 1292

055795,000169:                                                                                                  #  2PHSCHNG IS USED WHEN ONE WISHES TO START UP A GROUP OR CHANGE A GROUP WHILE UNDER THE CONTROL OF A DIFFERENT
055796,000170:                                                                                                  #  GROUP. FOR EXAMPLE, CHANGE THE PHASE OF GROUP 3 WHILE THE PORTION OF THE PROGRAM IS UNDER GROUP 5. ALL 2PHSCHNG
055797,000171:                                                                                                  #  CALLS ARE MADE IN THE FOLLOWING MANNER,
055798,000172:                                                                                                  #                TC      2PHSCHNG
055799,000173:                                                                                                  #                OCT     XXXXX
055800,000174:                                                                                                  #                OCT     YYYYY
055801,000175:                                                                                                  #  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
055802,000176:                                                                                                  #  DIFFERENCE --- NOTE- IF LONGBASE IS TO BE SET THIS INFORMATION IS GIVEN IN THE OCT YYYYY INFORMATION, IT WILL
055803,000177:                                                                                                  #  BE DISREGARDED IF GIVEN WITH THE OCT XXXXX INFORMATION.  A COUPLE OF EXAMPLES MAY HELP,
055804,000178:                                                                                                  #        AD      TC      2PHSCHNG        SET TBASE3 AND IF A RESTART OCCURS START
055805,000179:                                                                                                  #        AD+1    OCT     40083           THE TWO ENTRIES IN 3.8 TABLE LOCATION
055806,000180:                                                                                                  #        AD+2    OCT     05025           THIS IS OF TYPE C, SET THE JOB TO BE
055807,000181:                                                                                                  #        AD+3    OCT     18000           TO BE LOCATION AD+4, WITH A PRIORITY 18,
055808,000182:                                                                                                  #        AD+4                            FOR GROUP 5 PHASE INFORMATION
055809,000183: 
055810,000184:    5327                                           COUNT*   $$/PHASE                              
055811,000185:    5327           00004        2PHSCHNG           INHINT                                         #  THE ENTRY FOR A DOUBLE PHASE CHANGE
055812,000186:    5330           50002                           NDX      Q                                     
055813,000187:    5331           30000                           CA       0                                     
055814,000188:    5332           24002                           INCR     Q                                     
055815,000189:    5333           54072                           TS       TEMPP2                                
055816,000190: 
055817,000191:    5334           74757                           MASK     OCT7                                  
055818,000192:    5335           60000                           DOUBLE                                         
055819,000193:    5336           54071                           TS       TEMPG2                                
055820,000194: 
055821,000195:    5337           30072                           CA       TEMPP2                                
055822,000196:    5340           75030                           MASK     OCT17770                              #  NEED ONLY 1770, BUT WHY GET A NEW CONST.
055823,000197:    5341           00006                           EXTEND                                         
055824,000198:    5342           74740                           MP       BIT12                                 
055825,000199:    5343           56072                           XCH      TEMPP2                                
055826,000200: 
055827,000201:    5344           74735                           MASK     BIT15                                 
055828,000202:    5345           54066                           TS       TEMPSW2                               #  INDICATES WHETHER TO SET TBASE OR NOT
055829,000203: 
055830,000204:    5346           50002                           INDEX    Q                                     
055831,000205:    5347           30000                           CA       0                                     
055832,000206:    5350           24002                           INCR     Q                                     
055833,000207:    5351           54065                           TS       TEMPSW                                
055834,000208: 
055835,000209:    5352           15363                           TCF      PHASJUMP                              
055836,000210: 
055837,000211:    5353           00004        PHASCHNG           INHINT                                         #  NORMAL PHASCHNG ENTRY POINT.
055838,000212:    5354           50002                           INDEX    Q                                     
055839,000213:    5355           30000                           CA       0                                     
055840,000214:    5356           24002                           INCR     Q                                     
055841,000215:    5357           00004        PHSCHNGA           INHINT                                         #  FIRST OCTAL PARAMETER IN A.

Page 1293

055843,000217:    5360           54065                           TS       TEMPSW                                
055844,000218:    5361           34753                           CA       ONE                                   
055845,000219:    5362           54066                           TS       TEMPSW2                               
055846,000220:    5363           00006        PHASJUMP           EXTEND                                         
055847,000221:    5364           35367                           DCA      ADRPCHN2                              #  OFF TO SWITCHED BANK
055848,000222:    5365           52006                           DTCB                                           
055849,000223: 
055850,000224:    5366  E3,1400                                  EBANK=   LST1                                  
055851,000225:    5366           02102 20103  ADRPCHN2           2CADR    PHSCHNG2                              
055852,000226: 
055853,000227:    5370           22073        ONEORTWO           LXCH     TEMPBBCN                              
055854,000228:    5371           22006                           LXCH     BBANK                                 
055855,000229:    5372           22073                           LXCH     TEMPBBCN                              
055856,000230: 
055857,000231:    5373           75024                           MASK     OCT14000                              #  SEE WHAT KIND OF PHASE CHANGE IT IS
055858,000232:    5374           10000                           CCS      A                                     
055859,000233:    5375           17747                           TCF      CHECKB                                #  IT IS OF TYPE :B:
055860,000234: 
055861,000235:    5376           30062                           CA       TEMPP                                 
055862,000236:    5377           74745                           MASK     BIT7                                  
055863,000237:    5400           10000                           CCS      A                                     #  SHALL WE USE THE OLD PRIORITY
055864,000238:    5401           15423                           TCF      GETPRIO                               #  NO GET A NEW PRIORITY (OR DELTA T)
055865,000239: 
055866,000240:    5402           50061        OLDPRIO            NDX      TEMPG                                 #  USE THE OLD PRIORITY (OR DELTA T)
055867,000241:    5403           31052                           CA       PHSPRDT1   -2                         
055868,000242:    5404           54070                           TS       TEMPPR                                
055869,000243: 
055870,000244:    5405           30062        CON1               CA       TEMPP                                 #  SEE IF A 2CADR IS GIVEN
055871,000245:    5406           74744                           MASK     BIT8                                  
055872,000246:    5407           10000                           CCS      A                                     
055873,000247:    5410           15427                           TCF      GETNEWNM                              
055874,000248: 
055875,000249:    5411           30002                           CA       Q                                     
055876,000250:    5412           54063                           TS       TEMPNM                                
055877,000251:    5413           30006                           CA       BB                                    
055878,000252:    5414           00006                           EXTEND                                         #  PICK UP USERS SUPERBANK
055879,000253:    5415           04007                           ROR      SUPERBNK                              
055880,000254:    5416           54064                           TS       TEMPBB                                
055881,000255: 
055882,000256:    5417           35422        TOCON2             CA       CON2ADR                               #  BACK TO SWITCHED BANK
055883,000257:    5420           22073                           LXCH     TEMPBBCN                              
055884,000258:    5421           52006                           DTCB                                           
055885,000259: 
055886,000260:    5422           02170        CON2ADR            GENADR   CON2                                  
055887,000261: 
055888,000262:    5423           50002        GETPRIO            NDX      Q                                     #  DON:T CARE IF DIRECT OR INDIRECT
055889,000263:    5424           30000                           CA       0                                     #  LEAVE THAT DECISION TO RESTARTS
055890,000264:    5425           24002                           INCR     Q                                     #  OBTAIN RETURN ADDRESS

Page 1294

055892,000266:    5426           15404                           TCF      CON1       -1                         
055893,000267: 
055894,000268:    5427           00006        GETNEWNM           EXTEND                                         
055895,000269:    5430           50002                           INDEX    Q                                     
055896,000270:    5431           30001                           DCA      0                                     
055897,000271:    5432           52064                           DXCH     TEMPNM                                
055898,000272:    5433           34752                           CA       TWO                                   
055899,000273:    5434           26002                           ADS      Q                                     #  OBTAIN RETURN ADDRESS
055900,000274: 
055901,000275:    5435           15417                           TCF      TOCON2                                
055902,000276: 
055903,000277:    5436     5024               OCT14000           EQUALS   PRIO14                                
055904,000278:    5436     0061               TEMPG              EQUALS   ITEMP1                                
055905,000279:    5436     0062               TEMPP              EQUALS   ITEMP2                                
055906,000280:    5436     0063               TEMPNM             EQUALS   ITEMP3                                
055907,000281:    5436     0064               TEMPBB             EQUALS   ITEMP4                                
055908,000282:    5436     0065               TEMPSW             EQUALS   ITEMP5                                
055909,000283:    5436     0066               TEMPSW2            EQUALS   ITEMP6                                
055910,000284:    5436     0070               TEMPPR             EQUALS   RUPTREG1                              
055911,000285:    5436     0071               TEMPG2             EQUALS   RUPTREG2                              
055912,000286:    5436     0072               TEMPP2             EQUALS   RUPTREG3                              
055913,000287: 
055914,000288:    5436     0073               TEMPBBCN           EQUALS   RUPTREG4                              
055915,000289:    5436  0000006               BB                 EQUALS   BBANK                                 
055916,000290: 
055917,000291: 14,3711                                           BANK     14                                    
055918,000292: 10,2000                                           SETLOC   PHASETAB                              
055919,000293: 10,2000                                           BANK                                           
055920,000294: 
055921,000295: 10,2102  E3,1436                                  EBANK=   PHSNAME1                              
055922,000296: 10,2102                                           COUNT*   $$/PHASE                              
055923,000297: 10,2102           22073        PHSCHNG2           LXCH     TEMPBBCN                              
055924,000298: 10,2103           30065                           CA       TEMPSW                                
055925,000299: 10,2104           74757                           MASK     OCT7                                  
055926,000300: 10,2105           60000                           DOUBLE                                         
055927,000301: 10,2106           54061                           TS       TEMPG                                 
055928,000302: 
055929,000303: 10,2107           30065                           CA       TEMPSW                                
055930,000304: 10,2110           75030                           MASK     OCT17770                              
055931,000305: 10,2111           00006                           EXTEND                                         
055932,000306: 10,2112           74740                           MP       BIT12                                 
055933,000307: 10,2113           54062                           TS       TEMPP                                 
055934,000308: 
055935,000309: 10,2114           30065                           CA       TEMPSW                                
055936,000310: 10,2115           74101                           MASK     OCT60000                              
055937,000311: 10,2116           56065                           XCH      TEMPSW                                
055938,000312: 10,2117           75024                           MASK     OCT14000                              
055939,000313: 10,2120           10000                           CCS      A                                     

Page 1295

055941,000315: 10,2121           15370                           TCF      ONEORTWO                              
055942,000316: 
055943,000317: 10,2122           30062                           CA       TEMPP                                 #  START STORING THE PHASE INFORMATION
055944,000318: 10,2123           50061                           NDX      TEMPG                                 
055945,000319: 10,2124           54751                           TS       PHASE1     -2                         
055946,000320: 
055947,000321: 10,2125           10066        BELOW1             CCS      TEMPSW2                               #  IS IT A PHASCHNG OR A 2PHSCHNG
055948,000322: 10,2126           12142                           TCF      BELOW2                                #  IT:S A PHASCHNG
055949,000323: 
055950,000324: 10,2127           12130                           TCF      +1                                    #  IT:S A 2PHSCHNG
055951,000325: 10,2130           40072                           CS       TEMPP2                                
055952,000326: 10,2131           22072                           LXCH     TEMPP2                                
055953,000327: 10,2132           50071                           NDX      TEMPG2                                
055954,000328: 10,2133           52751                           DXCH     -PHASE1    -2                         
055955,000329: 
055956,000330: 10,2134           10066                           CCS      TEMPSW2                               
055957,000331: 10,2135           12136                           NOOP                                           #  CAN:T GET HERE
055958,000332: 10,2136           12142                           TCF      BELOW2                                
055959,000333: 
055960,000334: 10,2137           40025                           CS       TIME1                                 
055961,000335: 10,2140           50071                           NDX      TEMPG2                                
055962,000336: 10,2141           55051                           TS       TBASE1     -2                         
055963,000337: 
055964,000338: 10,2142           10065        BELOW2             CCS      TEMPSW                                #  SEE IF WE SHOULD SET TBASE OR LONGBASE
055965,000339: 10,2143           12156                           TCF      BELOW3                                #  SET LONGBASE ONLY
055966,000340: 10,2144           12161                           TCF      BELOW4                                #  SET NEITHER
055967,000341: 
055968,000342: 10,2145           40025                           CS       TIME1                                 #  SET TBASE TO BEGIN WITH
055969,000343: 10,2146           50061                           NDX      TEMPG                                 
055970,000344: 10,2147           55051                           TS       TBASE1     -2                         
055971,000345: 
055972,000346: 10,2150           30065                           CA       TEMPSW                                #  SHALL WE NOW SET LONGBASE
055973,000347: 10,2151           62154                           AD       BIT14COM                              
055974,000348: 10,2152           10000                           CCS      A                                     
055975,000349: 10,2153           12154                           NOOP                                           #  ***** CANT GET HERE *****
055976,000350: 10,2154           17777        BIT14COM           OCT      17777                                 #  ***** CANT GET HERE *****
055977,000351: 10,2155           12161                           TCF      BELOW4                                #  NO WE NEED ONLY SET TBASE
055978,000352: 
055979,000353: 10,2156           00006        BELOW3             EXTEND                                         #  SET LONGBASE
055980,000354: 10,2157           30025                           DCA      TIME2                                 
055981,000355: 10,2160           53152                           DXCH     LONGBASE                              
055982,000356: 
055983,000357: 10,2161           40062        BELOW4             CS       TEMPP                                 #  AND STORE THE FINAL PART OF THE PHASE
055984,000358: 10,2162           50061                           NDX      TEMPG                                 
055985,000359: 10,2163           54750                           TS       -PHASE1    -2                         
055986,000360: 
055987,000361: 10,2164           30002                           CA       Q                                     
055988,000362: 10,2165           22073                           LXCH     TEMPBBCN                              
055989,000363: 10,2166           00003                           RELINT                                         
055990,000364: 10,2167           52006                           DTCB                                           

Page 1296

055992,000366: 10,2170           22073        CON2               LXCH     TEMPBBCN                              
055993,000367: 
055994,000368: 10,2171           30062                           CA       TEMPP                                 
055995,000369: 10,2172           50061                           NDX      TEMPG                                 
055996,000370: 10,2173           54751                           TS       PHASE1     -2                         
055997,000371: 
055998,000372: 10,2174           30070                           CA       TEMPPR                                
055999,000373: 10,2175           50061                           NDX      TEMPG                                 
056000,000374: 10,2176           55052                           TS       PHSPRDT1   -2                         
056001,000375: 
056002,000376: 10,2177           00006                           EXTEND                                         
056003,000377: 10,2200           30064                           DCA      TEMPNM                                
056004,000378: 10,2201           50061                           NDX      TEMPG                                 
056005,000379: 10,2202           53435                           DXCH     PHSNAME1   -2                         
056006,000380: 
056007,000381: 10,2203           12125                           TCF      BELOW1                                
056008,000382: 
056009,000383:    7747                                           BLOCK    03                                    
056010,000384:    6000                                           SETLOC   FFTAG6                                
056011,000385:    6000                                           BANK                                           
056012,000386: 
056013,000387:    7747                                           COUNT*   $$/PHASE                              
056014,000388:    7747           74740        CHECKB             MASK     BIT12                                 #  SINCE THIS IS OF TYPE B, THIS BIT SHOULD
056015,000389:    7750           10000                           CCS      A                                     #   BE HERE IF WE ARE TO GET A NEW PRIORITY
056016,000390:    7751           15423                           TCF      GETPRIO                               #  IT IS, SO GET NEW PRIORITY
056017,000391: 
056018,000392:    7752           15402                           TCF      OLDPRIO                               #  IT ISN:T, USE THE OLD PRIORITY
056019,000393: 
056020,000394: 

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