Source Code

These source-code files are part of a reconstructed copy of Luminary 98, a development version of the Apollo 11 Lunar Module (LM) Apollo Guidance Computer (AGC) software.

The reconstruction began with source code of Luminary 99 revision 1 previously transcribed from a digitized copy of that program. The code was then updated by undoing changes described in original Luminary memo 85, using asterisks indicating changed lines in the listing as a guide. While no listing of this version is known to exist, nor are the memory-bank checksums available, the reconstruction is believed to be correct because it was an an intermediate step in reconstructing Luminary 97 whose reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152G. Note that page numbers in the reconstructed code match those on the Luminary 099 revision 001 printout, although the added code would likely have changed page numbers for a real Luminary 98 listing.

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.

054198,000002:                                                                                                  ## Copyright:   Public domain.
054199,000003:                                                                                                  ## Filename:    PHASE_TABLE_MAINTENANCE.agc
054200,000004:                                                                                                  ## Purpose:     A section of Luminary revision 98.
054201,000005:                                                                                                  ##              It is part of the reconstructed source code for the a
054202,000006:                                                                                                  ##              development version of the flight software for the Lunar 
054203,000007:                                                                                                  ##              Module's (LM) Apollo Guidance Computer (AGC) for Apollo 11.
054204,000008:                                                                                                  ##              The code has been recreated from a copy of Luminary 99
054205,000009:                                                                                                  ##              revision 001, using asterisks indicating changed lines in
054206,000010:                                                                                                  ##              the listing and Luminary Memo #85, which lists changes between
054207,000011:                                                                                                  ##              Luminary 98 and 99.
054208,000012:                                                                                                  ## Reference:   pp. 1294-1302
054209,000013:                                                                                                  ## Assembler:   yaYUL
054210,000014:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
054211,000015:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
054212,000016:                                                                                                  ## Mod history: 2019-07-28 MAS  Created from Luminary 99.
054213,000017: 

Page 1294

054215,000019:                                                                                                  #  SUBROUTINE TO UPDATE THE PROGRAM NUMBER DISPLAY ON THE DSKY.
054216,000020: 
054217,000021: 43,3724                                           COUNT*   $$/PHASE                              
054218,000022:    5311                                           BLOCK    02                                    
054219,000023:    4000                                           SETLOC   FFTAG1                                
054220,000024:    4000                                           BANK                                           
054221,000025: 
054222,000026:    5311           50002        NEWMODEX           INDEX    Q                                     #  UPDATE MODREG.  ENTRY FOR MODE IN FIXED.
054223,000027:    5312           30000                           CAF      0                                     
054224,000028:    5313           24002                           INCR     Q                                     
054225,000029: 
054226,000030:    5314           55011        NEWMODEA           TS       MODREG                                #  ENTRY FOR MODE IN A.
054227,000031:    5315           35320        MMDSPLAY           CAF      +3                                    #  DISPLAY MAJOR MODE.
054228,000032:    5316           22006        PREBJUMP           LXCH     BBANK                                 #  PUTS BBANK IN L
054229,000033:    5317           14640                           TCF      BANKJUMP                              #  PUTS Q INTO A
054230,000034:    5320           20213                           CADR     SETUPDSP                              
054231,000035: 
054232,000036:                                                                                                  #  RETURN TO CALLER +3 IF MODE = THAT AT CALLER +1.  OTHERWISE RETURN TO CALLER +2.
054233,000037: 
054234,000038:    5321           50002        CHECKMM            INDEX    Q                                     
054235,000039:    5322           40000                           CS       0                                     
054236,000040:    5323           61011                           AD       MODREG                                
054237,000041:    5324           00006                           EXTEND                                         
054238,000042:    5325           16741                           BZF      Q+2                                   
054239,000043:    5326           16737                           TCF      Q+1                                   #  NO MATCH
054240,000044: 
054241,000045:    5327     6742               TCQ                =        Q+2        +1                         
054242,000046: 
054243,000047: 14,3774                                           BANK     14                                    
054244,000048: 10,2000                                           SETLOC   PHASETAB                              
054245,000049: 10,2000                                           BANK                                           
054246,000050: 
054247,000051: 10,2213                                           COUNT*   $$/PHASE                              
054248,000052: 10,2213           00004        SETUPDSP           INHINT                                         
054249,000053: 10,2214           52071                           DXCH     RUPTREG1                              #  SAVE CALLER-S RETURN 2CADR
054250,000054: 10,2215           34355                           CAF      PRIO30                                #        EITHER A TASK OR JOB CAN COME TO
054251,000055: 10,2216           05072                           TC       NOVAC                                 #        NEWMODE X
054252,000056: 10,2217     1011                                  EBANK=   MODREG                                
054253,000057: 10,2217           03534 60102                     2CADR    DSPMMJOB                              
054254,000058: 
054255,000059: 10,2221           52071                           DXCH     RUPTREG1                              
054256,000060: 10,2222           00003                           RELINT                                         
054257,000061: 10,2223           52006                           DXCH     Z                                     #  RETURN
054258,000062: 
054259,000063: 10,2224  40,3534               DSPMMJOB           EQUALS   DSPMMJB                               
054260,000064: 
054261,000065:    5327                                           BLOCK    02                                    
054262,000066:    4000                                           SETLOC   FFTAG1                                
054263,000067:    4000                                           BANK                                           
054264,000068: 

Page 1295

054266,000070:                                                                                                  #  PHASCHNG IS THE MAIN WAY OF MAKING PHASE CHANGES FOR RESTARTS.  THERE ARE THREE FORMS OF PHASCHNG, KNOWN AS TYPE
054267,000071:                                                                                                  #  A, TYPE B, AND TYPE C.  THEY ARE ALL CALLED AS FOLLOWS, WHERE OCT XXXXX CONTAINS THE PHASE INFORMATION,
054268,000072:                                                                                                  #                TC      PHASCHNG
054269,000073:                                                                                                  #                OCT     XXXXX
054270,000074:                                                                                                  #  TYPE A IS CONCERNED WITH FIXED PHASE CHANGES, THAT IS, PHASE INFORMATION THAT IS STORED PERMANENTLY.  THESE
054271,000075:                                                                                                  #  OPTIONS ARE, WHERE G STANDS FOR A GROUP AND .X FOR THE PHASE,
054272,000076:                                                                                                  #        G.0             INACTIVE, WILL NOT PERMIT A GROUP G RESTART
054273,000077:                                                                                                  #        G.1             WILL CAUSE THE LAST DISPLAY TO BE REACTIVATED, USED MAINLY IN MANNED FLIGHTS
054274,000078:                                                                                                  #        G.EVEN          A DOUBLE TABLE RESTART, CAN CAUSE ANY COMBINATION OF TWO JOBS, TASKS, AND/OR
054275,000079:                                                                                                  #                        LONGCALL TO BE RESTARTED.
054276,000080:                                                                                                  #        G.ODD NOT .1    A SINGLE TABLE RESTART, CAN CAUSE EITHER A JOB, TASK, OR LONGCALL RESTART
054277,000081: 
054278,000082:                                                                                                  #  THIS INFORMATION IS PUT INTO THE OCTAL WORD AFTER TC PHASCHNG AS FOLLOWS
054279,000083:                                                                                                  #        TL0 00P PPP PPP GGG                                               ,
054280,000084:                                                                                                  #  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,
054281,000085:                                                                                                  #  OCTAL 0 - 127.  0:S MUST BE 0.  IF ONE WISHES TO HAVE THE TBASE OF GROUP G TO BE SET AT THIS TIME,
054282,000086:                                                                                                  #  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
054283,000087:                                                                                                  #  IT IS SET TO 0.  SOME EXAMPLES,
054284,000088:                                                                                                  #                TC      PHASCHNG        THIS WILL CAUSE GROUP 3 TO BE SET TO 0,
054285,000089:                                                                                                  #                OCT     00003           MAKING GROUP 3 INACTIVE
054286,000090: 
054287,000091:                                                                                                  #                TC      PHASCHNG        IF A RESTART OCCURS THIS WOULD CAUSE
054288,000092:                                                                                                  #                OCT     00012           GROUP 2 TO RESTART THE LAST DISPLAY
054289,000093: 
054290,000094:                                                                                                  #                TC      PHASCHNG        THIS SETS THE TBASE OF GROUP 4 AND IN
054291,000095:                                                                                                  #                OCT     40064           CASE OF A RESTART WOULD START UP THE TWO
054292,000096:                                                                                                  #                                        THINGS LOCATED IN THE DOUBLE 4.6 RESTART
054293,000097:                                                                                                  #                                        LOCATION
054294,000098: 
054295,000099:                                                                                                  #                TC      PHASCHNG        THIS SETS LONGBASE AND UPON A RESTART
054296,000100:                                                                                                  #                OCT     20135           CAUSES 5.13 TO BE RESTARTED (SINCE
054297,000101:                                                                                                  #                                        LONGBASE WAS SET THIS SINGLE ENTRY
054298,000102:                                                                                                  #                                        SHOULD BE A LONGCALL)
054299,000103: 
054300,000104:                                                                                                  #                TC      PHASCHNG        SINCE BOTH TBASE4 AND LONGBASE ARE SET,
054301,000105:                                                                                                  #                OCT     60124           4.12 SHOULD CONTAIN BOTH A TASK AND A
054302,000106:                                                                                                  #                                        LONGCALL TO BE RESTARTED
054303,000107: 
054304,000108:                                                                                                  #  TYPE C PHASCHNG CONTAINS THE VARIABLE TYPE OF PHASCHNG INFORMATION.  INSTEAD OF THE INFORMATION BEING IN A
054305,000109:                                                                                                  #  PERMANENT FORM, ONE STORES THE DESIRED RESTART INFORMATION IN A VARIABKE LOCATION.  THE BITS ARE AS FOLLOWS,
054306,000110:                                                                                                  #        TL0 1AD XXX CJW GGG
054307,000111:                                                                                                  #  WHERE EACH LETTER OR NUMBER STANDS FOR A BIT.  THE G:S STAND FOR THE GROUP, OCTAL 1 - 7.  IF THE RESTART IS TO
054308,000112:                                                                                                  #  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
054309,000113:                                                                                                  #  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

054311,000115:                                                                                                  #  AND L FOR LONGBASE.  THE BITS A AND D ARE CONCERNED WITH THE VARIABLE INFORMATION.  IF D IS SET TO 1, A PRIORITY
054312,000116:                                                                                                  #  OR DELTA TIME WILL BE READ FROM THE NEXT LOCATION AFTER THE OCTAL INFORMATION, IF THIS IS TO BE INDIRECT, THAT
054313,000117:                                                                                                  #  IS, THE NAME OF A LOCATION COMT+INING THE INFORMATION (DELTA TIME ONLY), THEN THIS IS GIVEN AS THE -GENADR OF
054314,000118:                                                                                                  #  THAT LOCATION WHICH CONTAINS THE DELTA TIME.  IF THE OLD PRIORITY OR DELTA TIME IS TO BE USED, THAT WHICH IS
054315,000119:                                                                                                  #  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
054316,000120:                                                                                                  #  THAT WOULD BE RESTARTED DURING A RESTART IS THE NEXT LOCATION AFTER THE PHASE INFORMATION, THAT IS, EITHER
054317,000121:                                                                                                  #  (TC PHASCHNG) +2 OR +3, DEPENDING ON WHETHER D HAD BEEN SET OR NOT.  IF A IS SET TO 1, THEN THE ADDRESS THAT
054318,000122:                                                                                                  #  WOULD BE RESTARTED IS THE 2CADR THAT IS READ FROM THE NEXT TWO LOCATIONS.  EXAMPLES,
054319,000123:                                                                                                  #        AD      TC      PHASCHNG        THIS WOULD CAUSE LOCATION AD +3 TO BE
054320,000124:                                                                                                  #        AD+1    OCT     05023           RESTARTED BY GROUP THREE WITH A PRIORITY
054321,000125:                                                                                                  #        AD+2    OCT     23000           OF 23.  NOTE UPON RETURNING IT WOULD
054322,000126:                                                                                                  #        AD+3                            ALSO GO TO AD+3
054323,000127: 
054324,000128:                                                                                                  #        AD      TC      PHASCHNG        GROUP 1 WOULD CAUSE CAUSE CALLCALL TO
054325,000129:                                                                                                  #        AD+1    OCT     27441           BE STARTED AS A LONGCALL FROM THE TIME
054326,000130:                                                                                                  #        AD+2    -GENADR DELTIME         STORED IN LONGBASE (LONGBASE WAS SET) BY
054327,000131:                                                                                                  #        AD+3    2CADR   CALLCALL        A DELTA TIME STORED IN DELTIME.  THE
054328,000132:                                                                                                  #        AD+4                            BBCON OF THE 2CADR SHOULD CONTAIN THE E
054329,000133:                                                                                                  #        AD+5                            BANK OF DELTIME.  PHASCHNG RETURNS TO
054330,000134:                                                                                                  #                                        LOCATION AD+5
054331,000135: 
054332,000136:                                                                                                  #  NOTE THAT IF A VARIABLE PRIORITY IS GIVEN FOR A JOB, THE JOB WILL BE RESTARTED AS A NOVAC IF THE PRIORITY IS
054333,000137:                                                                                                  #  NEGATIVE, AS A FINDVAC IF THE PRIORITY IS POSITIVE.
054334,000138: 
054335,000139:                                                                                                  #  TYPE B PHASCHNG IS A COMBINATION OF VARIABLE AND FIXED PHASE CHANGES.  IT WILL START UP A JOB AS INDICATED
054336,000140:                                                                                                  #  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
054337,000141:                                                                                                  #  DOUBLE ENTRY.  THE BIT INFORMATION IS AS FOLLOWS,
054338,000142:                                                                                                  #        TL1 DAP PPP PPP GGG
054339,000143:                                                                                                  #  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
054340,000144:                                                                                                  #  PHASE INFORMATION, OCTAL 0 - 127.  1 MUST BE 1.  AND AGAIN T STANDS FOR THE TBASE AND L FOR LONGBASE.  D THIS
054341,000145:                                                                                                  #  TIME STANDS ONLY FOR PRIORITY SINCE THIS WILL BE CONSIDERED A JOB, AND IT MUST BE GIVEN DIRECTLY IF GIVEN.
054342,000146:                                                                                                  #  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
054343,000147:                                                                                                  #  THE NEXT LOCATION.  (THE RETURN LOCATION OF PHASCHNG) EXAMPLES,
054344,000148:                                                                                                  #        AD      TC      PHASCHNG        TBASE IS SET AND A RESTART CAUSE GROUP 3
054345,000149:                                                                                                  #        AD+1    OCT     56043           TO START THE JOB AJOBAJOB WITH PRIORITY
054346,000150:                                                                                                  #        AD+2    OCT     31000           31 AND THE FIRST ENTRY OF 3.4SPOT (WE CAN
054347,000151:                                                                                                  #        AD+3    2CADR   AJOBAJOB        ASSUME IT IS A TASK SINCE WE SET TBASE3)
054348,000152:                                                                                                  #        AD+4                            UPON RETURN FROM PHASCHNG CONTROL WOULD
054349,000153:                                                                                                  #        AD+5                            GO TO AD+5
054350,000154: 
054351,000155:                                                                                                  #        AD      TC      PHASCHNG        UPON A RESTART THE LAST DISPLAY WOULD BE
054352,000156:                                                                                                  #        AD+1    OCT     10015           RESTARTED AND A JOB WITH THE PREVIOUSLY
054353,000157:                                                                                                  #        AD+2                            STORED PRIORITY WOULD BE BEGUN AT AD+2
054354,000158:                                                                                                  #                                        BY MEANS OF GROUP 5

Page 1297

054356,000160:                                                                                                  #  THE NOVAC-FINDVAC CHOICE FOR JOBS HOLDS HERE ALSO - NEGATIVE PRIORITY CAUSES A NOVAC CALL, POSITIVE A FINDVAC.
054357,000161: 
054358,000162:                                                                                                  #  SUMMARY OF BITS
054359,000163:                                                                                                  #        TYPE A          TL0 00P PPP PPP GGG
054360,000164:                                                                                                  #        TYPE B          TL1 DAP PPP PPP GGG
054361,000165:                                                                                                  #        TYPE C          TL0 1AD XXX CJW GGG
054362,000166: 

Page 1298

054364,000168:                                                                                                  #  2PHSCHNG IS USED WHEN ONE WISHES TO START UP A GROUP OR CHANGE A GROUP WHILE UNDER THE CONTROL OF A DIFFERENT
054365,000169:                                                                                                  #  GROUP.  FOR EXAMPLE, CHANGE THE PHASE OF GROUP 3 WHILE THE PORTION OF THE PROGRAM IS UNDER GROUP 5.  ALL 2PHSCHNG
054366,000170:                                                                                                  #  CALLS ARE MADE IN THE FOLLOWING MANNER,
054367,000171:                                                                                                  #                TC      2PHSCHNG
054368,000172:                                                                                                  #                OCT     XXXXX
054369,000173:                                                                                                  #                OCT     YYYYY
054370,000174:                                                                                                  #  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
054371,000175:                                                                                                  #  DIFFERENCE --- NOTE- IF LONGBASE IS TO BE SET THIS INFORMATION IS GIVEN IN THE OCT YYYYY INFORMATION, IT WILL
054372,000176:                                                                                                  #  BE DISREGARDED IF GIVEN WITH THE OCT XXXXX INFORMATION.  A COUPLE OF EXAMPLES MAY HELP,
054373,000177:                                                                                                  #        AD      TC      2PHSCHNG        SET TBASE3 AND IF A RESTART OCCURS START
054374,000178:                                                                                                  #        AD+1    OCT     40083           THE TWO ENTRIES IN 3.8 TABLE LOCATION
054375,000179:                                                                                                  #        AD+2    OCT     05025           THIS IS OF TYPE C, SET THE JOB TO BE
054376,000180:                                                                                                  #        AD+3    OCT     18000           TO BE LOCATION AD+4, WITH A PRIORITY 18,
054377,000181:                                                                                                  #        AD+4                            FOR GROUP 5 PHASE INFORMATION
054378,000182: 
054379,000183:    5327                                           COUNT*   $$/PHASE                              
054380,000184:    5327           00004        2PHSCHNG           INHINT                                         #  THE ENTRY FOR A DOUBLE PHASE CHANGE
054381,000185:    5330           50002                           NDX      Q                                     
054382,000186:    5331           30000                           CA       0                                     
054383,000187:    5332           24002                           INCR     Q                                     
054384,000188:    5333           54072                           TS       TEMPP2                                
054385,000189: 
054386,000190:    5334           74757                           MASK     OCT7                                  
054387,000191:    5335           60000                           DOUBLE                                         
054388,000192:    5336           54071                           TS       TEMPG2                                
054389,000193: 
054390,000194:    5337           30072                           CA       TEMPP2                                
054391,000195:    5340           75030                           MASK     OCT17770                              #  NEED ONLY 1770, BUT WHY GET A NEW CONST.
054392,000196:    5341           00006                           EXTEND                                         
054393,000197:    5342           74740                           MP       BIT12                                 
054394,000198:    5343           56072                           XCH      TEMPP2                                
054395,000199: 
054396,000200:    5344           74735                           MASK     BIT15                                 
054397,000201:    5345           54066                           TS       TEMPSW2                               #  INDICATES WHETHER TO SET TBASE OR NOT
054398,000202: 
054399,000203:    5346           50002                           INDEX    Q                                     
054400,000204:    5347           30000                           CA       0                                     
054401,000205:    5350           24002                           INCR     Q                                     
054402,000206:    5351           54065                           TS       TEMPSW                                
054403,000207: 
054404,000208:    5352           15363                           TCF      PHASJUMP                              
054405,000209: 
054406,000210:    5353           00004        PHASCHNG           INHINT                                         #  NORMAL PHASCHNG ENTRY POINT.
054407,000211:    5354           50002                           INDEX    Q                                     
054408,000212:    5355           30000                           CA       0                                     
054409,000213:    5356           24002                           INCR     Q                                     
054410,000214:    5357           00004        PHSCHNGA           INHINT                                         #  FIRST OCTAL PARAMETER IN A.

Page 1299

054412,000216:    5360           54065                           TS       TEMPSW                                
054413,000217:    5361           34753                           CA       ONE                                   
054414,000218:    5362           54066                           TS       TEMPSW2                               
054415,000219:    5363           00006        PHASJUMP           EXTEND                                         
054416,000220:    5364           35367                           DCA      ADRPCHN2                              #  OFF TO SWITCHED BANK
054417,000221:    5365           52006                           DTCB                                           
054418,000222: 
054419,000223:    5366  E3,1400                                  EBANK=   LST1                                  
054420,000224:    5366           02224 20103  ADRPCHN2           2CADR    PHSCHNG2                              
054421,000225: 
054422,000226:    5370           22073        ONEORTWO           LXCH     TEMPBBCN                              
054423,000227:    5371           22006                           LXCH     BBANK                                 
054424,000228:    5372           22073                           LXCH     TEMPBBCN                              
054425,000229: 
054426,000230:    5373           75024                           MASK     OCT14000                              #  SEE WHAT KIND OF PHASE CHANGE IT IS
054427,000231:    5374           10000                           CCS      A                                     
054428,000232:    5375           17750                           TCF      CHECKB                                #  IT IS OF TYPE :B:
054429,000233: 
054430,000234:    5376           30062                           CA       TEMPP                                 
054431,000235:    5377           74745                           MASK     BIT7                                  
054432,000236:    5400           10000                           CCS      A                                     #  SHALL WE USE THE OLD PRIORITY
054433,000237:    5401           15423                           TCF      GETPRIO                               #  NO GET A NEW PRIORITY (OR DELTA T)
054434,000238: 
054435,000239:    5402           50061        OLDPRIO            NDX      TEMPG                                 #  USE THE OLD PRIORITY (OR DELTA T)
054436,000240:    5403           31052                           CA       PHSPRDT1   -2                         
054437,000241:    5404           54070                           TS       TEMPPR                                
054438,000242: 
054439,000243:    5405           30062        CON1               CA       TEMPP                                 #  SEE IF A 2CADR IS GIVEN
054440,000244:    5406           74744                           MASK     BIT8                                  
054441,000245:    5407           10000                           CCS      A                                     
054442,000246:    5410           15427                           TCF      GETNEWNM                              
054443,000247: 
054444,000248:    5411           30002                           CA       Q                                     
054445,000249:    5412           54063                           TS       TEMPNM                                
054446,000250:    5413           30006                           CA       BB                                    
054447,000251:    5414           00006                           EXTEND                                         #  PICK UP USERS SUPERBANK
054448,000252:    5415           04007                           ROR      SUPERBNK                              
054449,000253:    5416           54064                           TS       TEMPBB                                
054450,000254: 
054451,000255:    5417           35422        TOCON2             CA       CON2ADR                               #  BACK TO SWITCHED BANK
054452,000256:    5420           22073                           LXCH     TEMPBBCN                              
054453,000257:    5421           52006                           DTCB                                           
054454,000258: 
054455,000259:    5422           02312        CON2ADR            GENADR   CON2                                  
054456,000260: 
054457,000261:    5423           50002        GETPRIO            NDX      Q                                     #  DON:T CARE IF DIRECT OR INDIRECT
054458,000262:    5424           30000                           CA       0                                     #  LEAVE THAT DECISION TO RESTARTS
054459,000263:    5425           24002                           INCR     Q                                     #  OBTAIN RETURN ADDRESS

Page 1300

054461,000265:    5426           15404                           TCF      CON1       -1                         
054462,000266: 
054463,000267:    5427           00006        GETNEWNM           EXTEND                                         
054464,000268:    5430           50002                           INDEX    Q                                     
054465,000269:    5431           30001                           DCA      0                                     
054466,000270:    5432           52064                           DXCH     TEMPNM                                
054467,000271:    5433           34752                           CA       TWO                                   
054468,000272:    5434           26002                           ADS      Q                                     #  OBTAIN RETURN ADDRESS
054469,000273: 
054470,000274:    5435           15417                           TCF      TOCON2                                
054471,000275: 
054472,000276:    5436     5024               OCT14000           EQUALS   PRIO14                                
054473,000277:    5436     0061               TEMPG              EQUALS   ITEMP1                                
054474,000278:    5436     0062               TEMPP              EQUALS   ITEMP2                                
054475,000279:    5436     0063               TEMPNM             EQUALS   ITEMP3                                
054476,000280:    5436     0064               TEMPBB             EQUALS   ITEMP4                                
054477,000281:    5436     0065               TEMPSW             EQUALS   ITEMP5                                
054478,000282:    5436     0066               TEMPSW2            EQUALS   ITEMP6                                
054479,000283:    5436     0070               TEMPPR             EQUALS   RUPTREG1                              
054480,000284:    5436     0071               TEMPG2             EQUALS   RUPTREG2                              
054481,000285:    5436     0072               TEMPP2             EQUALS   RUPTREG3                              
054482,000286: 
054483,000287:    5436     0073               TEMPBBCN           EQUALS   RUPTREG4                              
054484,000288:    5436  0000006               BB                 EQUALS   BBANK                                 
054485,000289: 
054486,000290: 14,3774                                           BANK     14                                    
054487,000291: 10,2000                                           SETLOC   PHASETAB                              
054488,000292: 10,2000                                           BANK                                           
054489,000293: 
054490,000294: 10,2224  E3,1436                                  EBANK=   PHSNAME1                              
054491,000295: 10,2224                                           COUNT*   $$/PHASE                              
054492,000296: 10,2224           22073        PHSCHNG2           LXCH     TEMPBBCN                              
054493,000297: 10,2225           30065                           CA       TEMPSW                                
054494,000298: 10,2226           74757                           MASK     OCT7                                  
054495,000299: 10,2227           60000                           DOUBLE                                         
054496,000300: 10,2230           54061                           TS       TEMPG                                 
054497,000301: 
054498,000302: 10,2231           30065                           CA       TEMPSW                                
054499,000303: 10,2232           75030                           MASK     OCT17770                              
054500,000304: 10,2233           00006                           EXTEND                                         
054501,000305: 10,2234           74740                           MP       BIT12                                 
054502,000306: 10,2235           54062                           TS       TEMPP                                 
054503,000307: 
054504,000308: 10,2236           30065                           CA       TEMPSW                                
054505,000309: 10,2237           74101                           MASK     OCT60000                              
054506,000310: 10,2240           56065                           XCH      TEMPSW                                
054507,000311: 10,2241           75024                           MASK     OCT14000                              
054508,000312: 10,2242           10000                           CCS      A                                     

Page 1301

054510,000314: 10,2243           15370                           TCF      ONEORTWO                              
054511,000315: 
054512,000316: 10,2244           30062                           CA       TEMPP                                 #  START STORING THE PHASE INFORMATION
054513,000317: 10,2245           50061                           NDX      TEMPG                                 
054514,000318: 10,2246           54751                           TS       PHASE1     -2                         
054515,000319: 
054516,000320: 10,2247           10066        BELOW1             CCS      TEMPSW2                               #  IS IT A PHASCHNG OR A 2PHSCHNG
054517,000321: 10,2250           12264                           TCF      BELOW2                                #  IT:S A PHASCHNG
054518,000322: 
054519,000323: 10,2251           12252                           TCF      +1                                    #  IT:S A 2PHSCHNG
054520,000324: 10,2252           40072                           CS       TEMPP2                                
054521,000325: 10,2253           22072                           LXCH     TEMPP2                                
054522,000326: 10,2254           50071                           NDX      TEMPG2                                
054523,000327: 10,2255           52751                           DXCH     -PHASE1    -2                         
054524,000328: 
054525,000329: 10,2256           10066                           CCS      TEMPSW2                               
054526,000330: 10,2257           12260                           NOOP                                           #  CAN:T GET HERE
054527,000331: 10,2260           12264                           TCF      BELOW2                                
054528,000332: 
054529,000333: 10,2261           40025                           CS       TIME1                                 
054530,000334: 10,2262           50071                           NDX      TEMPG2                                
054531,000335: 10,2263           55051                           TS       TBASE1     -2                         
054532,000336: 
054533,000337: 10,2264           10065        BELOW2             CCS      TEMPSW                                #  SEE IF WE SHOULD SET TBASE OR LONGBASE
054534,000338: 10,2265           12300                           TCF      BELOW3                                #  SET LONGBASE ONLY
054535,000339: 10,2266           12303                           TCF      BELOW4                                #  SET NEITHER
054536,000340: 
054537,000341: 10,2267           40025                           CS       TIME1                                 #  SET TBASE TO BEGIN WITH
054538,000342: 10,2270           50061                           NDX      TEMPG                                 
054539,000343: 10,2271           55051                           TS       TBASE1     -2                         
054540,000344: 
054541,000345: 10,2272           30065                           CA       TEMPSW                                #  SHALL WE NOW SET LONGBASE
054542,000346: 10,2273           62276                           AD       BIT14COM                              
054543,000347: 10,2274           10000                           CCS      A                                     
054544,000348: 10,2275           12276                           NOOP                                           #  ***** CANT GET HERE *****
054545,000349: 10,2276           17777        BIT14COM           OCT      17777                                 #  ***** CANT GET HERE *****
054546,000350: 10,2277           12303                           TCF      BELOW4                                #  NO WE NEED ONLY SET TBASE
054547,000351: 
054548,000352: 10,2300           00006        BELOW3             EXTEND                                         #  SET LONGBASE
054549,000353: 10,2301           30025                           DCA      TIME2                                 
054550,000354: 10,2302           53152                           DXCH     LONGBASE                              
054551,000355: 
054552,000356: 10,2303           40062        BELOW4             CS       TEMPP                                 #  AND STORE THE FINAL PART OF THE PHASE
054553,000357: 10,2304           50061                           NDX      TEMPG                                 
054554,000358: 10,2305           54750                           TS       -PHASE1    -2                         
054555,000359: 
054556,000360: 10,2306           30002                           CA       Q                                     
054557,000361: 10,2307           22073                           LXCH     TEMPBBCN                              
054558,000362: 10,2310           00003                           RELINT                                         
054559,000363: 10,2311           52006                           DTCB                                           

Page 1302

054561,000365: 10,2312           22073        CON2               LXCH     TEMPBBCN                              
054562,000366: 
054563,000367: 10,2313           30062                           CA       TEMPP                                 
054564,000368: 10,2314           50061                           NDX      TEMPG                                 
054565,000369: 10,2315           54751                           TS       PHASE1     -2                         
054566,000370: 
054567,000371: 10,2316           30070                           CA       TEMPPR                                
054568,000372: 10,2317           50061                           NDX      TEMPG                                 
054569,000373: 10,2320           55052                           TS       PHSPRDT1   -2                         
054570,000374: 
054571,000375: 10,2321           00006                           EXTEND                                         
054572,000376: 10,2322           30064                           DCA      TEMPNM                                
054573,000377: 10,2323           50061                           NDX      TEMPG                                 
054574,000378: 10,2324           53435                           DXCH     PHSNAME1   -2                         
054575,000379: 
054576,000380: 10,2325           12247                           TCF      BELOW1                                
054577,000381: 
054578,000382:    7750                                           BLOCK    03                                    
054579,000383:    6000                                           SETLOC   FFTAG6                                
054580,000384:    6000                                           BANK                                           
054581,000385: 
054582,000386:    7750                                           COUNT*   $$/PHASE                              
054583,000387:    7750           74740        CHECKB             MASK     BIT12                                 #  SINCE THIS IS OF TYPE B, THIS BIT SHOULD
054584,000388:    7751           10000                           CCS      A                                     #  BE HERE IF WE ARE TO GET A NEW PRIORITY
054585,000389:    7752           15423                           TCF      GETPRIO                               #  IT IS, SO GET NEW PRIORITY
054586,000390: 
054587,000391:    7753           15402                           TCF      OLDPRIO                               #  IT ISN:T, USE THE OLD PRIORITY
054588,000392: 
054589,000393: 

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