Source Code

These source-code files are part of a reconstructed copy of Comanche 67, the Apollo Guidance Computer (AGC) Command Module (CM) software for Apollo 12.

They have been adapted from sources files for Comanche 55, and updated via disassembly of binary dumps of original core rope memory modules, part numbers 2003972-1081, 2003972-1091, 2003972-1111, 2003972-1121, 2003972-1131, and 2003972-1141.

Since only binary dumps (rather than listings) of Comanche 67 are available as source material, all comments and labels are approximate. They have been taken from other AGC programs where possible, or, in some places, written from scratch to match what we believe would have been in the original listing.

058224,000002:                                                                                                  ## Copyright:   Public domain.
058225,000003:                                                                                                  ## Filename:    PHASE_TABLE_MAINTENANCE.agc
058226,000004:                                                                                                  ## Purpose:     A section of Comanche revision 067.
058227,000005:                                                                                                  ##              It is part of the reconstructed source code for the flight
058228,000006:                                                                                                  ##              software for the Command Module's (CM) Apollo Guidance Computer
058229,000007:                                                                                                  ##              (AGC) for Apollo 12. No original listings of this program are
058230,000008:                                                                                                  ##              available; instead, this file was created via dissassembly of
058231,000009:                                                                                                  ##              dumps of Comanche 067 core rope modules and comparison with
058232,000010:                                                                                                  ##              other AGC programs.
058233,000011:                                                                                                  ## Assembler:   yaYUL
058234,000012:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
058235,000013:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
058236,000014:                                                                                                  ## Mod history: 2023-08-16 MAS  Created from Comanche 055.
058237,000015: 
058238,000016:                                                                                                  #  SUBROUTINE TO UPDATE THE PROGRAM NUMBER DISPLAY ON THE DSKY.
058239,000017: 
058240,000018: 43,3736                                           COUNT    02/PHASE                              
058241,000019:    5370                                           BLOCK    02                                    
058242,000020:    4000                                           SETLOC   FFTAG1                                
058243,000021:    4000                                           BANK                                           
058244,000022: 
058245,000023:    5370           50002        NEWMODEX           INDEX    Q                                     #  UPDATE MODREG.  ENTRY FOR MODE IN FIXED.
058246,000024:    5371           30000                           CAF      0                                     
058247,000025:    5372           24002                           INCR     Q                                     
058248,000026: 
058249,000027:    5373           55011        NEWMODEA           TS       MODREG                                #  ENTRY FOR MODE IN A.
058250,000028:    5374           35377        MMDSPLAY           CAF      +3                                    #  DISPLAY MAJOR MODE.
058251,000029:    5375           22006        PREBJUMP           LXCH     BBANK                                 #  PUTS BBANK IN L
058252,000030:    5376           14720                           TCF      BANKJUMP                              #  PUTS Q INTO A
058253,000031:    5377           20440                           CADR     SETUPDSP                              
058254,000032: 
058255,000033:                                                                                                  #  RETURN TO CALLER +3 IF MODE = THAT AT CALLER +1.  OTHERWISE RETURN TO CALLER +2.
058256,000034: 
058257,000035:    5400           50002        CHECKMM            INDEX    Q                                     
058258,000036:    5401           40000                           CS       0                                     
058259,000037:    5402           61011                           AD       MODREG                                
058260,000038:    5403           00006                           EXTEND                                         
058261,000039:    5404           16710                           BZF      Q+2                                   
058262,000040:    5405           16706                           TCF      Q+1                                   #  NO MATCH
058263,000041: 
058264,000042:    5406     6711               TCQ                =        Q+2        +1                         
058265,000043: 
058266,000044: 14,3763                                           BANK     14                                    
058267,000045: 10,2000                                           SETLOC   PHASETAB                              
058268,000046: 10,2000                                           BANK                                           
058269,000047: 
058270,000048: 10,2440                                           COUNT    10/PHASE                              
058271,000049: 
058272,000050: 10,2440           00004        SETUPDSP           INHINT                                         
058273,000051: 10,2441           52071                           DXCH     RUPTREG1                              #  SAVE CALLER-S RETURN 2CADR
058274,000052: 10,2442           34371                           CAF      PRIO30                                #        EITHER A TASK OR JOB CAN COME TO
058275,000053: 10,2443           05150                           TC       NOVAC                                 #        NEWMODEX
058276,000054: 10,2444     1011                                  EBANK=   MODREG                                
058277,000055: 10,2444           03450 60102                     2CADR    DSPMMJOB                              
058278,000056: 
058279,000057: 10,2446           52071                           DXCH     RUPTREG1                              
058280,000058: 10,2447           00003                           RELINT                                         
058281,000059: 10,2450           52006                           DXCH     Z                                     #  RETURN
058282,000060: 
058283,000061: 10,2451  40,3450               DSPMMJOB           EQUALS   DSPMMJB                               
058284,000062: 
058285,000063:    5406                                           BLOCK    02                                    
058286,000064:    4000                                           SETLOC   FFTAG1                                
058287,000065:    4000                                           BANK                                           
058288,000066: 
058289,000067:                                                                                                  #  PHASCHNG IS THE MAIN WAY OF MAKING PHASE CHANGES FOR RESTARTS.  THERE ARE THREE FORMS OF PHASCHNG, KNOWN AS TYPE
058290,000068:                                                                                                  #  A, TYPE B, AND TYPE C.  THEY ARE ALL CALLED AS FOLLOWS, WHERE OCT XXXXX CONTAINS THE PHASE INFORMATION,
058291,000069:                                                                                                  #                TC      PHASCHNG
058292,000070:                                                                                                  #                OCT     XXXXX
058293,000071:                                                                                                  #  TYPE A IS CONCERNED WITH FIXED PHASE CHANGES, THAT IS, PHASE INFORMATION THAT IS STORED PERMANENTLY.  THESE
058294,000072:                                                                                                  #  OPTIONS ARE, WHERE G STANDS FOR A GROUP AND .X FOR THE PHASE,
058295,000073:                                                                                                  #        G.0             INACTIVE, WILL NOT PERMIT A GROUP G RESTART
058296,000074:                                                                                                  #        G.1             WILL CAUSE THE LAST DISPLAY TO BE REACTIVATED, USED MAINLY IN MANNED FLIGHTS
058297,000075:                                                                                                  #        G.EVEN          A DOUBLE TABLE RESTART, CAN CAUSE ANY COMBINATION OF TWO JOBS, TASKS, AND/OR
058298,000076:                                                                                                  #                        LONGCALL TO BE RESTARTED.
058299,000077:                                                                                                  #        G.ODD NOT .1    A SINGLE TABLE RESTART, CAN CAUSE EITHER A JOB, TASK, OR LONGCALL RESTART
058300,000078: 
058301,000079:                                                                                                  #  THIS INFORMATION IS PUT INTO THE OCTAL WORD AFTER TC PHASCHNG AS FOLLOWS
058302,000080:                                                                                                  #                  TL0 00P PPP PPP GGG                                     ,
058303,000081:                                                                                                  #  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,
058304,000082:                                                                                                  #  OCTAL 0 - 127.  0:S MUST BE 0.  IF ONE WISHES TO HAVE THE TBASE OF GROUP G TO BE SET AT THIS TIME,
058305,000083:                                                                                                  #  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
058306,000084:                                                                                                  #  IT IS SET TO 0.  SOME EXAMPLES,
058307,000085:                                                                                                  #                TC      PHASCHNG        THIS WILL CAUSE GROUP 3 TO BE SET TO 0,
058308,000086:                                                                                                  #                OCT     00003           MAKING GROUP 3 INACTIVE
058309,000087: 
058310,000088:                                                                                                  #                TC      PHASCHNG        IF A RESTART OCCURS THIS WOULD CAUSE
058311,000089:                                                                                                  #                OCT     00012           GROUP 2 TO RESTART THE LAST DISPLAY
058312,000090: 
058313,000091:                                                                                                  #                TC      PHASCHNG        THIS SETS THE TBASE OF GROUP 4 AND IN
058314,000092:                                                                                                  #                OCT     40064           CASE OF A RESTART WOULD START UP THE TWO
058315,000093:                                                                                                  #                                        THINGS LOCATED IN THE DOUBLE 4.6 RESTART
058316,000094:                                                                                                  #                                        LOCATION
058317,000095: 
058318,000096:                                                                                                  #                TC      PHASCHNG        THIS SETS LONGBASE AND UPON A RESTART
058319,000097:                                                                                                  #                OCT     20135           CAUSES 5.13 TO BE RESTARTED (SINCE
058320,000098:                                                                                                  #                                        LONGBASE WAS SET THIS SINGLE ENTRY
058321,000099:                                                                                                  #                                        SHOULD BE A LONGCALL)
058322,000100: 
058323,000101:                                                                                                  #                TC      PHASCHNG        SINCE BOTH TBASE4 AND LONGBASE ARE SET,
058324,000102:                                                                                                  #                OCT     60124           4.12 SHOULD CONTAIN BOTH A TASK AND A
058325,000103:                                                                                                  #                                        LONGCALL TO BE RESTARTED
058326,000104: 
058327,000105:                                                                                                  #  TYPE C PHASCHNG CONTAINS THE VARIABLE TYPE OF PHASCHNG INFORMATION.  INSTEAD OF THE INFORMATION BEING IN A
058328,000106:                                                                                                  #  PERMANENT FORM, ONE STORES THE DESIRED RESTART INFORMATION IN A VARIABKE LOCATION.  THE BITS ARE AS FOLLOWS,
058329,000107:                                                                                                  #        TL0 1AD XXX CJW GGG
058330,000108:                                                                                                  #  WHERE EACH LETTER OR NUMBER STANDS FOR A BIT.  THE G:S STAND FOR THE GROUP, OCTAL 1 - 7.  IF THE RESTART IS TO
058331,000109:                                                                                                  #  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
058332,000110:                                                                                                  #  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,
058333,000111:                                                                                                  #  AND L FOR LONGBASE.  THE BITS A AND D ARE CONCERNED WITH THE VARIABLE INFORMATION.  IF D IS SET TO 1, A PRIORITY
058334,000112:                                                                                                  #  OR DELTA TIME WILL BE READ FROM THE NEXT LOCATION AFTER THE OCTAL INFORMATION, IF THIS IS TO BE INDIRECT, THAT
058335,000113:                                                                                                  #  IS, THE NAME OF A LOCATION COMT+INING THE INFORMATION (DELTA TIME ONLY), THEN THIS IS GIVEN AS THE -GENADR OF
058336,000114:                                                                                                  #  THAT LOCATION WHICH CONTAINS THE DELTA TIME.  IF THE OLD PRIORITY OR DELTA TIME IS TO BE USED, THAT WHICH IS
058337,000115:                                                                                                  #  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
058338,000116:                                                                                                  #  THAT WOULD BE RESTARTED DURING A RESTART IS THE NEXT LOCATION AFTER THE PHASE INFORMATION, THAT IS, EITHER
058339,000117:                                                                                                  #  (TC PHASCHNG) +2 OR +3, DEPENDING ON WHETHER D HAD BEEN SET OR NOT.  IF A IS SET TO 1, THEN THE ADDRESS THAT
058340,000118:                                                                                                  #  WOULD BE RESTARTED IS THE 2CADR THAT IS READ FROM THE NEXT TWO LOCATIONS.  EXAMPLES,
058341,000119:                                                                                                  #        AD      TC      PHASCHNG        THIS WOULD CAUSE LOCATION AD +3 TO BE
058342,000120:                                                                                                  #        AD+1    OCT     05023           RESTARTED BY GROUP THREE WITH A PRIORITY
058343,000121:                                                                                                  #        AD+2    OCT     23000           OF 23.  NOTE UPON RETURNING IT WOULD
058344,000122:                                                                                                  #        AD+3                            ALSO GO TO AD+3
058345,000123: 
058346,000124:                                                                                                  #        AD      TC      PHASCHNG        GROUP  1 WOULD CAUSE CAUSE CALLCALL TO 
058347,000125:                                                                                                  #        AD+1    OCT     27441           BE STARTED AS A LONGCALL FROM THE TIME
058348,000126:                                                                                                  #        AD+2    -GENADR DELTIME         STORED IN LONGBASE (LONGBASE WAS SET) BY
058349,000127:                                                                                                  #        AD+3    2CADR   CALLCALL        A DELTATIME STORED IN DELTIME.  THE
058350,000128:                                                                                                  #        AD+4                            BBCON OF THE 2CADR SHOULD CONTAIN THE E
058351,000129:                                                                                                  #        AD+5                            BANK OF DELTIME.  PHASCHNG RETURNS TO
058352,000130:                                                                                                  #                                        LOCATION AD+5
058353,000131: 
058354,000132:                                                                                                  #  NOTE THAT IF A VARIABLE PRIORITY IS GIVEN FOR A JOB, THE JOB WILL BE RESTARTED AS A NOVAC IF THE PRIORITY IS
058355,000133:                                                                                                  #  NEGATIVE, AS A FINDVAC IF THE PRIORITY IS POSITIVE.
058356,000134: 
058357,000135:                                                                                                  #  TYPE B PHASCHNG IS A COMBINATION OF VARIABLE AND FIXED PHASE CHANGES.  IT WILL START UP A JOB AS INDICATED
058358,000136:                                                                                                  #  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
058359,000137:                                                                                                  #  DOUBLE ENTRY.  THE BIT INFORMATION IS AS FOLLOWS,
058360,000138:                                                                                                  #        TL1 DAP PPP PPP GGG
058361,000139:                                                                                                  #  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
058362,000140:                                                                                                  #  PHASE INFORMATION, OCTAL 0 - 127.  1 MUST BE 1.  AND AGAIN T STANDS FOR THE TBASE AND L FOR LONGBASE.  D THIS
058363,000141:                                                                                                  #  TIME STANDS ONLY FOR PRIORITY SINCE THIS WILL BE CONSIDERED A JOB, AND IT MUST BE GIVEN DIRECTLY IF GIVEN.
058364,000142:                                                                                                  #  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
058365,000143:                                                                                                  #  THE NEXT LOCATION.  (THE RETURN LOCATION OF PHASCHNG) EXAMPLES,
058366,000144:                                                                                                  #        AD      TC      PHASCHNG        TBASE IS SET AND A RESTART CAUSE GROUP 3
058367,000145:                                                                                                  #        AD+1    OCT     56043           TO START THE JOB AJOBAJOB WITH PRIORITY
058368,000146:                                                                                                  #        AD+2    OCT     31000           31 AND THE FIRST ENTRY OF 3.4SPOT (WE CAN
058369,000147:                                                                                                  #        AD+3    2CADR   AJOBAJOB        ASSUME IT IS A TASK SINCE WE SET TBASE3)
058370,000148:                                                                                                  #        AD+4                            UPON RETURN FROM PHASCHNG CONTROL WOULD
058371,000149:                                                                                                  #        AD+5                            GO TO AD+5
058372,000150: 
058373,000151:                                                                                                  #        AD      TC      PHASCHNG        UPON A RESTART THE LAST DISPLAY WOULD BE
058374,000152:                                                                                                  #        AD+1    OCT     10015           RESTARTED AND A JOB WITH THE PREVIOUSLY
058375,000153:                                                                                                  #        AD+2                            STORED PRIORITY WOULD BE BEGUN AT AD+2
058376,000154:                                                                                                  #                                        BY MEANS OF GROUP 5
058377,000155:                                                                                                  #  THE NOVAC-FINDVAC CHOICE FOR JOBS HOLDS HERE ALSO - NEGATIVE PRIORITY CAUSES A NOVAC CALL, POSITIVE A FINDVAC.
058378,000156: 
058379,000157:                                                                                                  #  SUMMARY OF BITS
058380,000158:                                                                                                  #        TYPE A          TL0 00P PPP PPP GGG
058381,000159:                                                                                                  #        TYPE B          TL1 DAP PPP PPP GGG
058382,000160:                                                                                                  #        TYPE C          TL0 1AD XXX CJW GGG
058383,000161: 
058384,000162:                                                                                                  #  2PHSCHNG IS USED WHEN ONE WISHES TO START UP A GROUP OR CHANGE A GROUP WHILE UNDER THE CONTROL OF A DIFFERENT
058385,000163:                                                                                                  #  GROUP.  FOR EXAMPLE, CHANGE THE PHASE OF GROUP 3 WHILE THE PORTION OF THE PROGRAM IS UNDER GROUP 5.  ALL 2PHSCHNG
058386,000164:                                                                                                  #  CALLS ARE MADE IN THE FOLLOWING MANNER,
058387,000165:                                                                                                  #                TC      2PHSCHNG
058388,000166:                                                                                                  #                OCT     XXXXX
058389,000167:                                                                                                  #                OCT     YYYYY
058390,000168:                                                                                                  #  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
058391,000169:                                                                                                  #  DIFFERENCE --- NOTE- IF LONGBASE IS TO BE SET THIS INFORMATION IS GIVEN IN THE OCT YYYYY INFORMATION, IT WILL
058392,000170:                                                                                                  #  BE DISREGARDED IF GIVEN WITH THE OCT XXXXX INFORMATION.  A COUPLE OF EXAMPLES MAY HELP,
058393,000171:                                                                                                  #        AD      TC      2PHSCHNG        SET TBASE3 AND IF A RESTART OCCURS START
058394,000172:                                                                                                  #        AD+1    OCT     40083           THE TWO ENTRIES IN 3.8 TABLE LOCATION
058395,000173:                                                                                                  #        AD+2    OCT     05025           THIS IS OF TYPE C, SET THE JOB TO BE
058396,000174:                                                                                                  #        AD+3    OCT     18000           TO BE LOCATION AD+4, WITH A PRIORITY 18,
058397,000175:                                                                                                  #        AD+4                            FOR GROUP 5 PHASE INFORMATION
058398,000176: 
058399,000177:    5406                                           COUNT    02/PHASE                              
058400,000178: 
058401,000179:    5406           00004        2PHSCHNG           INHINT                                         #  THE ENTRY FOR A DOUBLE PHASE CHANGE
058402,000180:    5407           50002                           NDX      Q                                     
058403,000181:    5410           30000                           CA       0                                     
058404,000182:    5411           24002                           INCR     Q                                     
058405,000183:    5412           54072                           TS       TEMPP2                                
058406,000184: 
058407,000185:    5413           75037                           MASK     OCT7                                  
058408,000186:    5414           60000                           DOUBLE                                         
058409,000187:    5415           54071                           TS       TEMPG2                                
058410,000188: 
058411,000189:    5416           30072                           CA       TEMPP2                                
058412,000190:    5417           75106                           MASK     OCT17770                              #  NEED ONLY 1770, BUT WHY GET A NEW CONST.
058413,000191:    5420           00006                           EXTEND                                         
058414,000192:    5421           75020                           MP       BIT12                                 
058415,000193:    5422           56072                           XCH      TEMPP2                                
058416,000194: 
058417,000195:    5423           75015                           MASK     BIT15                                 
058418,000196:    5424           54066                           TS       TEMPSW2                               #  INDICATES WHETHER TO SET TBASE OR NOT
058419,000197: 
058420,000198:    5425           15431                           TCF      PHASCHNG   +3                         
058421,000199: 
058422,000200:    5426           00004        PHASCHNG           INHINT                                         
058423,000201:    5427           35033                           CA       ONE                                   #  INDICATESWE CAME FROM A PHASCHNG ENTRY
058424,000202:    5430           54066                           TS       TEMPSW2                               
058425,000203: 
058426,000204:    5431           50002                           NDX      Q                                     
058427,000205:    5432           30000                           CA       0                                     
058428,000206:    5433           24002                           INCR     Q                                     
058429,000207:    5434           54065                           TS       TEMPSW                                
058430,000208:    5435           00006                           EXTEND                                         
058431,000209:    5436           35441                           DCA      ADRPCHN2                              #  OFF TO SWITCHED BANK
058432,000210:    5437           52006                           DTCB                                           
058433,000211: 
058434,000212:    5440  E3,1400                                  EBANK=   LST1                                  
058435,000213:    5440           02451 20063  ADRPCHN2           2CADR    PHSCHNG2                              
058436,000214: 
058437,000215:    5442           22073        ONEORTWO           LXCH     TEMPBBCN                              
058438,000216:    5443           22006                           LXCH     BBANK                                 
058439,000217:    5444           22073                           LXCH     TEMPBBCN                              
058440,000218: 
058441,000219:    5445           75102                           MASK     OCT14000                              #  SEE WHAT KIND OF PHASE CHANGE IT IS
058442,000220:    5446           10000                           CCS      A                                     
058443,000221:    5447           15510                           TCF      CHECKB                                #  IT IS OF TYPE :B:
058444,000222: 
058445,000223:    5450           30062                           CA       TEMPP                                 
058446,000224:    5451           75025                           MASK     BIT7                                  
058447,000225:    5452           10000                           CCS      A                                     #  SHALL WE USE THE OLD PRIORITY
058448,000226:    5453           15475                           TCF      GETPRIO                               #  NO GET A NEW PRIORITY (OR DELTA T)
058449,000227: 
058450,000228:    5454           50061        OLDPRIO            NDX      TEMPG                                 #  USE THE OLD PRIORITY (OR DELTA T)
058451,000229:    5455           31052                           CA       PHSPRDT1   -2                         
058452,000230:    5456           54070                           TS       TEMPPR                                
058453,000231: 
058454,000232:    5457           30062        CON1               CA       TEMPP                                 #  SEE IF A 2CADR IS GIVEN
058455,000233:    5460           75024                           MASK     BIT8                                  
058456,000234:    5461           10000                           CCS      A                                     
058457,000235:    5462           15501                           TCF      GETNEWNM                              
058458,000236: 
058459,000237:    5463           30002                           CA       Q                                     
058460,000238:    5464           54063                           TS       TEMPNM                                
058461,000239:    5465           30006                           CA       BB                                    
058462,000240:    5466           00006                           EXTEND                                         #  PICK UP USERS SUPERBANK
058463,000241:    5467           04007                           ROR      SUPERBNK                              
058464,000242:    5470           54064                           TS       TEMPBB                                
058465,000243: 
058466,000244:    5471           35474        TOCON2             CA       CON2ADR                               #  BACK TO SWITCHED BANK
058467,000245:    5472           22073                           LXCH     TEMPBBCN                              
058468,000246:    5473           52006                           DTCB                                           
058469,000247: 
058470,000248:    5474           02537        CON2ADR            GENADR   CON2                                  
058471,000249: 
058472,000250:    5475           50002        GETPRIO            NDX      Q                                     #  DON:T CARE IF DIRECT OR INDIRECT
058473,000251:    5476           30000                           CA       0                                     #  LEAVE THAT DECISION TO RESTARTS
058474,000252:    5477           24002                           INCR     Q                                     #  OBTAIN RETURN ADDRESS
058475,000253:    5500           15456                           TCF      CON1       -1                         
058476,000254: 
058477,000255:    5501           00006        GETNEWNM           EXTEND                                         
058478,000256:    5502           50002                           INDEX    Q                                     
058479,000257:    5503           30001                           DCA      0                                     
058480,000258:    5504           52064                           DXCH     TEMPNM                                
058481,000259:    5505           35032                           CA       TWO                                   
058482,000260:    5506           26002                           ADS      Q                                     #  OBTAIN RETURN ADDRESS
058483,000261: 
058484,000262:    5507           15471                           TCF      TOCON2                                
058485,000263: 
058486,000264:    5510     5102               OCT14000           EQUALS   PRIO14                                
058487,000265:    5510     0061               TEMPG              EQUALS   ITEMP1                                
058488,000266:    5510     0062               TEMPP              EQUALS   ITEMP2                                
058489,000267:    5510     0063               TEMPNM             EQUALS   ITEMP3                                
058490,000268:    5510     0064               TEMPBB             EQUALS   ITEMP4                                
058491,000269:    5510     0065               TEMPSW             EQUALS   ITEMP5                                
058492,000270:    5510     0066               TEMPSW2            EQUALS   ITEMP6                                
058493,000271:    5510     0070               TEMPPR             EQUALS   RUPTREG1                              
058494,000272:    5510     0071               TEMPG2             EQUALS   RUPTREG2                              
058495,000273:    5510     0072               TEMPP2             EQUALS   RUPTREG3                              
058496,000274: 
058497,000275:    5510     0073               TEMPBBCN           EQUALS   RUPTREG4                              
058498,000276:    5510  0000006               BB                 EQUALS   BBANK                                 
058499,000277: 
058500,000278: 14,3763                                           BANK     14                                    
058501,000279: 10,2000                                           SETLOC   PHASETAB                              
058502,000280: 10,2000                                           BANK                                           
058503,000281: 
058504,000282: 10,2451  E3,1436                                  EBANK=   PHSNAME1                              
058505,000283: 10,2451                                           COUNT    10/PHASE                              
058506,000284: 
058507,000285: 10,2451           22073        PHSCHNG2           LXCH     TEMPBBCN                              
058508,000286: 10,2452           30065                           CA       TEMPSW                                
058509,000287: 10,2453           75037                           MASK     OCT7                                  
058510,000288: 10,2454           60000                           DOUBLE                                         
058511,000289: 10,2455           54061                           TS       TEMPG                                 
058512,000290: 
058513,000291: 10,2456           30065                           CA       TEMPSW                                
058514,000292: 10,2457           75106                           MASK     OCT17770                              
058515,000293: 10,2460           00006                           EXTEND                                         
058516,000294: 10,2461           75020                           MP       BIT12                                 
058517,000295: 10,2462           54062                           TS       TEMPP                                 
058518,000296: 
058519,000297: 10,2463           30065                           CA       TEMPSW                                
058520,000298: 10,2464           74105                           MASK     OCT60000                              
058521,000299: 10,2465           56065                           XCH      TEMPSW                                
058522,000300: 10,2466           75102                           MASK     OCT14000                              
058523,000301: 10,2467           10000                           CCS      A                                     
058524,000302: 10,2470           15442                           TCF      ONEORTWO                              
058525,000303: 
058526,000304: 10,2471           30062                           CA       TEMPP                                 #  START STORING THE PHASE INFORMATION
058527,000305: 10,2472           50061                           NDX      TEMPG                                 
058528,000306: 10,2473           54751                           TS       PHASE1     -2                         
058529,000307: 
058530,000308: 10,2474           10066        BELOW1             CCS      TEMPSW2                               #  IS IT A PHASCHNG OR A 2PHSCHNG
058531,000309: 10,2475           12511                           TCF      BELOW2                                #  IT:S A PHASCHNG
058532,000310: 
058533,000311: 10,2476           12477                           TCF      +1                                    #  IT:S A 2PHSCHNG
058534,000312: 10,2477           40072                           CS       TEMPP2                                
058535,000313: 10,2500           22072                           LXCH     TEMPP2                                
058536,000314: 10,2501           50071                           NDX      TEMPG2                                
058537,000315: 10,2502           52751                           DXCH     -PHASE1    -2                         
058538,000316: 
058539,000317: 10,2503           10066                           CCS      TEMPSW2                               
058540,000318: 10,2504           12505                           NOOP                                           #  CAN:T GET HERE
058541,000319: 10,2505           12511                           TCF      BELOW2                                
058542,000320: 
058543,000321: 10,2506           40025                           CS       TIME1                                 
058544,000322: 10,2507           50071                           NDX      TEMPG2                                
058545,000323: 10,2510           55051                           TS       TBASE1     -2                         
058546,000324: 
058547,000325: 10,2511           10065        BELOW2             CCS      TEMPSW                                #  SEE IF WE SHOULD SET TBASE OR LONGBASE
058548,000326: 10,2512           12525                           TCF      BELOW3                                #  SET LONGBASE ONLY
058549,000327: 10,2513           12530                           TCF      BELOW4                                #  SET NEITHER
058550,000328: 
058551,000329: 10,2514           40025                           CS       TIME1                                 #  SET TBASE TO BEGIN WITH
058552,000330: 10,2515           50061                           NDX      TEMPG                                 
058553,000331: 10,2516           55051                           TS       TBASE1     -2                         
058554,000332: 
058555,000333: 10,2517           30065                           CA       TEMPSW                                #  SHALL WE NOW SET LONGBASE
058556,000334: 10,2520           62523                           AD       BIT14COM                              
058557,000335: 10,2521           10000                           CCS      A                                     
058558,000336: 10,2522           12523                           NOOP                                           #  ***** CANT GET HERE *****
058559,000337: 10,2523           17777        BIT14COM           OCT      17777                                 #  ***** CANT GET HERE *****
058560,000338: 10,2524           12530                           TCF      BELOW4                                #  NO WE NEED ONLY SET TBASE
058561,000339: 
058562,000340: 10,2525           00006        BELOW3             EXTEND                                         #  SET LONGBASE
058563,000341: 10,2526           30025                           DCA      TIME2                                 
058564,000342: 10,2527           53136                           DXCH     LONGBASE                              
058565,000343: 
058566,000344: 10,2530           40062        BELOW4             CS       TEMPP                                 #  AND STORE THE FINAL PART OF THE PHASE
058567,000345: 10,2531           50061                           NDX      TEMPG                                 
058568,000346: 10,2532           54750                           TS       -PHASE1    -2                         
058569,000347: 
058570,000348: 10,2533           30002                           CA       Q                                     
058571,000349: 10,2534           22073                           LXCH     TEMPBBCN                              
058572,000350: 10,2535           00003                           RELINT                                         
058573,000351: 10,2536           52006                           DTCB                                           
058574,000352: 10,2537           22073        CON2               LXCH     TEMPBBCN                              
058575,000353: 10,2540           30062                           CA       TEMPP                                 
058576,000354: 10,2541           50061                           NDX      TEMPG                                 
058577,000355: 10,2542           54751                           TS       PHASE1     -2                         
058578,000356: 
058579,000357: 10,2543           30070                           CA       TEMPPR                                
058580,000358: 10,2544           50061                           NDX      TEMPG                                 
058581,000359: 10,2545           55052                           TS       PHSPRDT1   -2                         
058582,000360: 
058583,000361: 10,2546           00006                           EXTEND                                         
058584,000362: 10,2547           30064                           DCA      TEMPNM                                
058585,000363: 10,2550           50061                           NDX      TEMPG                                 
058586,000364: 10,2551           53435                           DXCH     PHSNAME1   -2                         
058587,000365: 
058588,000366: 10,2552           12474                           TCF      BELOW1                                
058589,000367: 
058590,000368:    5510                                           BLOCK    02                                    
058591,000369:    4000                                           SETLOC   FFTAG1                                
058592,000370:    4000                                           BANK                                           
058593,000371: 
058594,000372:    5510                                           COUNT    02/PHASE                              
058595,000373: 
058596,000374:    5510           75020        CHECKB             MASK     BIT12                                 #  SINCE THIS IS OF TYPE B, THIS BIT SHOULD
058597,000375:    5511           10000                           CCS      A                                     #  BE HERE IF WE ARE TO GET A NEW PRIORITY
058598,000376:    5512           15475                           TCF      GETPRIO                               #  IT IS, SO GET NEW PRIORITY
058599,000377: 
058600,000378:    5513           15454                           TCF      OLDPRIO                               #  IT ISN:T, USE THE OLD PRIORITY
058601,000379: 
058602,000380: 
058603,000381: 

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