Source Code

These source-code files were transcribed from a printout in Don Eyles's personal collection, scanned by archive.org, and financially sponsored by Linden Sims. A team of volunteers performed the transcription and proof-reading. The scanned page images are available at the Virtual AGC Project website, as well as higher-quality (but much larger) images at the Virtual AGC Project's collection in the Internet Archive. Report any problems by creating "issues" at the Virtual AGC Project's GitHub Repository.

Notations on the program listing read, in part:

	GAP:  ASSEMBLE REVISION 56 OF AGC PROGRAM ZERLINA BY ZOROASTER
	9:12 OCT. 21,1970
Note that the date is the date of the printout, not the date of the program revision.

047478,000002:                                                                                                  ## Copyright:   Public domain.
047479,000003:                                                                                                  ## Filename:    FIXED-FIXED_CONSTANT_POOL.agc
047480,000004:                                                                                                  ## Purpose:     A log section of Zerlina 56, the final revision of
047481,000005:                                                                                                  ##              Don Eyles's offline development program for the variable 
047482,000006:                                                                                                  ##              guidance period servicer. It also includes a new P66 with LPD 
047483,000007:                                                                                                  ##              (Landing Point Designator) capability, based on an idea of John 
047484,000008:                                                                                                  ##              Young's. Neither of these advanced features were actually flown,
047485,000009:                                                                                                  ##              but Zerlina was also the birthplace of other big improvements to
047486,000010:                                                                                                  ##              Luminary including the terrain model and new (Luminary 1E)
047487,000011:                                                                                                  ##              analog display programs. Zerlina was branched off of Luminary 145,
047488,000012:                                                                                                  ##              and revision 56 includes all changes up to and including Luminary
047489,000013:                                                                                                  ##              183. It is therefore quite close to the Apollo 14 program,
047490,000014:                                                                                                  ##              Luminary 178, where not modified with new features.
047491,000015:                                                                                                  ## Reference:   pp. 1086-1090
047492,000016:                                                                                                  ## Assembler:   yaYUL
047493,000017:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
047494,000018:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
047495,000019:                                                                                                  ## Mod history: 2017-07-28 MAS  Created from Luminary 210.
047496,000020:                                                                                                  ##              2017-08-28 MAS  Updated for Zerlina 56.
047497,000021: 

Page 1086

047499,000023:    4732                                           BLOCK    02                                    
047500,000024: 
047501,000025:    4732                                           COUNT*   $$/FCONS                              
047502,000026:                                                                                                  #   THE FOLLOWING TABLE OF 18 VALUES IS INDEXED. DO NOT INSERT OR REMOVE ANY QUANTITIES.
047503,000027: 
047504,000028:    4732           37777        DPOSMAX            OCT      37777                                 #  MUST PRECEDE POSMAX
047505,000029:    4733           37777        POSMAX             OCT      37777                                 
047506,000030: 
047507,000031:    4734     4734               LIMITS             =        NEG1/2                                
047508,000032: 
047509,000033:    4734           57777        NEG1/2             OCT      -20000                                #  USED BY SIN ROUTINE (MUST BE TWO 
047510,000034:                                                                                                  #  LOCATIONS IN FRONT OF BIT14)
047511,000035:                                                                                                  #  BIT TABLE
047512,000036: 
047513,000037:    4735           40000        BIT15              OCT      40000                                 
047514,000038:    4736           20000        BIT14              OCT      20000                                 
047515,000039:    4737           10000        BIT13              OCT      10000                                 
047516,000040:    4740           04000        BIT12              OCT      04000                                 
047517,000041:    4741           02000        BIT11              OCT      02000                                 
047518,000042:    4742           01000        BIT10              OCT      01000                                 
047519,000043:    4743           00400        BIT9               OCT      00400                                 
047520,000044:    4744           00200        BIT8               OCT      00200                                 
047521,000045:    4745           00100        BIT7               OCT      00100                                 
047522,000046:    4746           00040        BIT6               OCT      00040                                 
047523,000047:    4747           00020        BIT5               OCT      00020                                 
047524,000048:    4750           00010        BIT4               OCT      00010                                 
047525,000049:    4751           00004        BIT3               OCT      00004                                 
047526,000050:    4752           00002        BIT2               OCT      00002                                 
047527,000051:    4753           00001        BIT1               OCT      00001                                 
047528,000052: 
047529,000053: 
047530,000054:                                                                                                  #  DO NOT DESTROY THIS COMBINATION, SINCE IT IS USED IN DOUBLE PRECISION INSTRUCTIONS.
047531,000055:    4754           77777        NEG0               OCT      -0                                    #  MUST PRECEDE ZERO
047532,000056:    4755           00000        ZERO               OCT      0                                     #  MUST FOLLOW NEG0
047533,000057:                                                                                                  #  BIT1          OCT     00001
047534,000058:                                                                                                  #  NO.WDS        OCT     2               INTERPRETER
047535,000059:                                                                                                  #  OCTAL3        OCT     3               INTERPRETER
047536,000060:                                                                                                  #  R3D1          OCT     4               PINBALL
047537,000061:    4756           00005        FIVE               OCT      5                                     
047538,000062:                                                                                                  #  REVCNT        OCT     6               INTERPRETER
047539,000063:    4757           00007        SEVEN              OCT      7                                     
047540,000064:                                                                                                  #  BIT4          OCT     00010
047541,000065:                                                                                                  #  R2D1          OCT     11              PINBALL
047542,000066:    4760     4320               OCT11              =        R2D1                                  #  P20S
047543,000067:                                                                                                  #  BINCON        DEC     10              PINBALL            (OCTAL 12)
047544,000068:    4760           00013        ELEVEN             DEC      11         B-14                       
047545,000069:                                                                                                  #  OCT14         OCT     14              ALARM AND ABORT (FILLER)
047546,000070:    4761           00015        OCT15              OCT      15                                    
047547,000071:                                                                                                  #  R1D1          OCT     16              PINBALL
047548,000072:    4762           00017        LOW4               OCT      17                                    

Page 1087

047550,000074:                                                                                                  #  BIT5          OCT     00020
047551,000075:                                                                                                  #  ND1           OCT     21              PINBALL
047552,000076:                                                                                                  #  VD1           OCT     23              PINBALL
047553,000077:                                                                                                  #  OCT24         OCT     24              SERVICE ROUTINES
047554,000078:                                                                                                  #  MD1           OCT     25              PINBALL
047555,000079:    4763           00030        BITS4&5            OCT      30                                    
047556,000080:                                                                                                  #  OCT31         OCT     31              SERVICE ROUTINES
047557,000081:    4764           00033        OCT33              OCT      33                                    
047558,000082:    4765     4764               DEC27              =        OCT33                                 
047559,000083:    4765           00035        OCT35              OCT      35                                    
047560,000084:    4766     4765               DEC29              =        OCT35                                 
047561,000085:    4766           00032        CALLCODE           OCT      00032                                 
047562,000086:                                                                                                  #  LOW5          OCT     37              PINBALL
047563,000087:                                                                                                  #  33DEC         DEC     33              PINBALL            (OCTAL 41)
047564,000088:                                                                                                  #  34DEC         DEC     34              PINBALL            (OCTAL 42)
047565,000089:    4767           00045        TBUILDFX           DEC      37         B-14                       #  BUILDUP FOR CONVIENCE IN DAPTESTING
047566,000090:    4770           00046        TDECAYFX           DEC      38         B-14                       #  CONVENIENCE FOR DAPTESTING
047567,000091:                                                                                                  #  BIT6          OCT     00040
047568,000092:    4771           00050        OCT50              OCT      50                                    
047569,000093:    4772           00055        DEC45              DEC      45         B-14                       
047570,000094:    4773           00060        SUPER011           OCT      60                                    #  BITS FOR SUPERBNK SETTING 011.
047571,000095:    4774           00062        .5SEC              DEC      50         B-14                       
047572,000096:                                                                                                  #  BIT7          OCT     00100
047573,000097: 
047574,000098:    4775     4745               SUPER100           =        BIT7                                  #  BITS FOR SUPERBNK SETTING 100
047575,000099:                                                                                                  #  (LAST 4K OF ROPE)
047576,000100:    4775           00120        SUPER101           OCT      120                                   #  BITS FOR SUPERBNK SETTING 101
047577,000101:                                                                                                  #  OCT121        OCT     121             SERVICE ROUTINES
047578,000102:                                                                                                  #  (FIRST 8K OF ACM)
047579,000103:    4776           00140        SUPER110           OCT      140                                   #  BITS FOR SUPERBNK SETTING 110.
047580,000104:                                                                                                  #  (LAST 8K OF ACM)
047581,000105:    4777           00144        1SEC               DEC      100        B-14                       
047582,000106:                                                                                                  #  LOW7          OCT     177             INTERPRETER
047583,000107:                                                                                                  #  BIT8          OCT     00200
047584,000108:                                                                                                  #  OT215         OCT     215             ALARM AND ABORT
047585,000109:                                                                                                  #  8,5           OCT     00220           P20-P25 SUNDANCE
047586,000110:    5000           00310        2SECS              DEC      200        B-14                       
047587,000111:                                                                                                  #  LOW8          OCT     377             PINBALL
047588,000112:                                                                                                  #  BIT9          OCT     00400
047589,000113:    5001           00401        GN/CCODE           OCT      00401                                 #  SET S/C CONTROL SWITCH TO G/N
047590,000114:    5002           00454        3SECS              DEC      300        B-14                       
047591,000115:    5003           00620        4SECS              DEC      400        B-14                       
047592,000116:    5004           00777        LOW9               OCT      777                                   
047593,000117:                                                                                                  #  BIT10         OCT     01000
047594,000118:                                                                                                  #  5.5DEGS       DEC     .03056          P20-P25 SUNDANCE   (OCTAL 00765)
047595,000119:                                                                                                  #  OCT1103       OCT     1103            ALARM AND ABORT
047596,000120:    5005           01124        C5/2               DEC      .0363551                              #                     (OCTAL 01124)
047597,000121:    5006           01211        V05N09             VN       0509                                  #  (SAME AS OCTAL 1211)
047598,000122:    5007           01400        OCT1400            OCT      01400                                 
047599,000123:    5010           01426        V06N22             VN       0622                                  

Page 1088

047601,000125:                                                                                                  #  MID5          OCT     1740            PINBALL
047602,000126:    5011           01776        BITS2-10           OCT      1776                                  
047603,000127:    5012           01777        LOW10              OCT      1777                                  
047604,000128:                                                                                                  #  BIT11         OCT     02000
047605,000129:                                                                                                  #  2K+3          OCT     2003            PINBALL
047606,000130:    5013           02177        LOW7+2K            OCT      2177                                  #  OP CODE MASK + BANK 1 FBANK SETTING.
047607,000131:    5014           02400        EBANK5             OCT      02400                                 
047608,000132:    5015           03000        PRIO3              OCT      03000                                 
047609,000133:    5016           03400        EBANK7             OCT      03400                                 
047610,000134:                                                                                                  #  LOW11         OCT     3777            PINBALL
047611,000135:                                                                                                  #  BIT12         OCT     04000
047612,000136:                                                                                                  #  RELTAB        OCT     04025           T4RUPT
047613,000137:    5017           05000        PRIO5              OCT      05000                                 
047614,000138:    5020           06000        PRIO6              OCT      06000                                 
047615,000139:    5021           07000        PRIO7              OCT      07000                                 
047616,000140: 
047617,000141:                                                                                                  #  BIT13         OCT     10000
047618,000142:                                                                                                  #                OCT     10003           T4RUPT     RELTAB +1D
047619,000143:                                                                                                  #  13,7,2        OCT     10102           P20-P25 SUNDANCE
047620,000144:    5022           11000        PRIO11             OCT      11000                                 
047621,000145:                                                                                                  #  PRIO12        OCT     12000           BANKCALL
047622,000146:    5023           13000        PRIO13             OCT      13000                                 
047623,000147:    5024           14000        PRIO14             OCT      14000                                 
047624,000148:                                                                                                  #                OCT     14031           T4RUPT     RELTAB +2D
047625,000149:    5025           15000        PRIO15             OCT      15000                                 
047626,000150:    5026           16000        PRIO16             OCT      16000                                 
047627,000151:                                                                                                  #  85DEGS        DEC     .45556          P20-P25 SUNDANCE   (OCTAL 16450)
047628,000152:    5027           17000        PRIO17             OCT      17000                                 
047629,000153:    5030           17770        OCT17770           OCT      17770                                 
047630,000154:                                                                                                  #  BIT14         OCT     20000
047631,000155:                                                                                                  #                OCT     20033           T4RUPT     RELTAB +3D
047632,000156:    5031           21000        PRIO21             OCT      21000                                 
047633,000157:    7722                                           BLOCK    03                                    
047634,000158:    7722                                           COUNT*   $$/FCONS                              
047635,000159:    7722           22000        PRIO22             OCT      22000                                 #  SERVICE ROUTINES
047636,000160:    7723           23000        PRIO23             OCT      23000                                 
047637,000161:    7724           24000        PRIO24             OCT      24000                                 
047638,000162:                                                                                                  #  5/8+1         OCT     24001           SINGLE PRECISION SUBROUTINES
047639,000163:                                                                                                  #                OCT     24017           T4RUPT     RELTAB +4D
047640,000164:    7725           25000        PRIO25             OCT      25000                                 
047641,000165:    7726           26000        PRIO26             OCT      26000                                 
047642,000166:    7727           27000        PRIO27             OCT      27000                                 
047643,000167:                                                                                                  #  CHRPRIO       OCT     30000           PINBALL
047644,000168:                                                                                                  #                OCT     30036           T4RUPT     RELTAB +5D
047645,000169:    7730           31000        PRIO31             OCT      31000                                 
047646,000170:    7731           31103        C1/2               DEC      .7853134                              #                   (OCTAL 31103)
047647,000171:    7732           32000        PRIO32             OCT      32000                                 
047648,000172:    7733           33000        PRIO33             OCT      33000                                 
047649,000173:    7734           34000        PRIO34             OCT      34000                                 
047650,000174:                                                                                                  #                OCT     34034           T4RUPT     RELTAB +6D              

Page 1089

047652,000176:    7735           35000        PRIO35             OCT      35000                                 
047653,000177:    7736           36000        PRIO36             OCT      36000                                 
047654,000178:    7737           37000        PRIO37             OCT      37000                                 
047655,000179:    7740           37401        63/64+1            OCT      37401                                 
047656,000180:                                                                                                  #  MID7          OCT     37600           PINBALL
047657,000181:    7741           37766        OCT37766           OCT      37766                                 
047658,000182:    7742           37774        OCT37774           OCT      37774                                 
047659,000183:    7743           37776        OCT37776           OCT      37776                                 
047660,000184:                                                                                                  #  DPOSMAX       OCT     37777
047661,000185:                                                                                                  #  BIT15         OCT     40000
047662,000186:                                                                                                  #  OCT40001      OCT     40001           INTERPRETER  ( CS   1   INSTRUCTION)
047663,000187:    7744           40014        DLOADCOD           OCT      40014                                 
047664,000188:    7745           40015        DLOAD*             OCT      40015                                 
047665,000189:                                                                                                  #                OCT     40023           T4RUPT     RELTAB +7D
047666,000190:    7746           40040        BIT15+6            OCT      40040                                 
047667,000191:    7747           40200        OCT40200           OCT      40200                                 
047668,000192:                                                                                                  #                OCT     44035           T4RUPT    RELTAB +8D
047669,000193:                                                                                                  #                OCT     50037           T4RUPT     RELTAB +9D
047670,000194:                                                                                                  #                OCT     54000           T4RUPT     RELTAB +10D
047671,000195:    7750           57777        -BIT14             OCT      57777                                 
047672,000196:                                                                                                  #  RELTAB11      OCT     60000           T4RUPT
047673,000197:    7751           65552        C3/2               DEC      -.3216147                             #                   (OCTAL 65552)
047674,000198:    7752           70000        13,14,15           OCT      70000                                 
047675,000199:    7753           73777        -1/8               OCT      73777                                 
047676,000200:    7754           74000        HIGH4              OCT      74000                                 
047677,000201:    7755           74056        -ENDERAS           DEC      -2001      B-14                       #                   (OCTAL 74056)
047678,000202:                                                                                                  #  HI5           OCT     76000           PINBALL
047679,000203:    7756           77700        HIGH9              OCT      77700                                 
047680,000204:                                                                                                  #  -ENDVAC       DEC     -45             INTERPRETER        (OCTAL 77722)
047681,000205:                                                                                                  #  -OCT10        OCT     -10                                 (OCT 77767)
047682,000206:                                                                                                  #  NEG4          DEC     -4                                 (OCTAL 77773)
047683,000207:    7757           77774        NEG3               DEC      -3         B-14                       
047684,000208:    7760           77775        NEG2               OCT      77775                                 
047685,000209:    7761           77776        NEGONE             DEC      -1         B-14                       
047686,000210: 

There is a doodle (of what I can't tell) at the bottom of the page.

047688,000212: 

Page 1090

047690,000214:                                                                                                  #  DEFINED BY EQUALS
047691,000215: 
047692,000216:                                                                                                  #  IT WOULD BE TO THE USERS ADVANTAGE TO OCCASIONALLY CHECK ANY OF THESE SYMBOLS IN ORDER TO PREVENT ANY
047693,000217:                                                                                                  #  ACCIDENTAL DEFINITION CHANGES.
047694,000218: 
047695,000219:    7762     7761               MINUS1             =        NEG1                                  
047696,000220:    7762     7761               NEG1               =        NEGONE                                
047697,000221:    7762     4753               ONE                =        BIT1                                  
047698,000222:    7762     4752               TWO                =        BIT2                                  
047699,000223:    7762     6257               THREE              =        OCTAL3                                
047700,000224:    7762     6257               LOW2               =        THREE                                 
047701,000225:    7762     4751               FOUR               =        BIT3                                  
047702,000226:    7762     6254               SIX                =        REVCNT                                
047703,000227:    7762     4757               LOW3               =        SEVEN                                 
047704,000228:    7762     4750               EIGHT              =        BIT4                                  
047705,000229:    7762     4320               NINE               =        R2D1                                  
047706,000230:    7762     4363               TEN                =        BINCON                                
047707,000231:    7762     4760               NOUTCON            =        ELEVEN                                
047708,000232:    7762     4360               OCT23              =        VD1                                   
047709,000233:    7762     4362               OCT25              =        MD1                                   
047710,000234:    7762     4742               PRIO1              =        BIT10                                 
047711,000235:    7762     5007               EBANK3             =        OCT1400                               
047712,000236:    7762     4741               PRIO2              =        BIT11                                 
047713,000237:    7762     4775               OCT120             =        SUPER101                              
047714,000238:    7762     4776               OCT140             =        SUPER110                              
047715,000239:    7762     4741               2K                 =        BIT11                                 
047716,000240:    7762     4741               EBANK4             =        BIT11                                 
047717,000241:    7762     4740               PRIO4              =        BIT12                                 
047718,000242:    7762     5015               EBANK6             =        PRIO3                                 
047719,000243:    7762     4737               QUARTER            =        BIT13                                 
047720,000244:    7762     4737               PRIO10             =        BIT13                                 
047721,000245:    7762     7675               OCT10001           =        CCSL                                  
047722,000246:    7762     4736               POS1/2             =        HALF                                  
047723,000247:    7762     4736               PRIO20             =        BIT14                                 
047724,000248:    7762     4736               HALF               =        BIT14                                 
047725,000249:    7762     4355               PRIO30             =        CHRPRIO                               
047726,000250:    7762     4355               BIT13-14           =        PRIO30                                #  INTERPRETER USES IN PROCESSING STORECODE
047727,000251:    7762     6503               OCT30002           =        TLOAD      +1                         
047728,000252:    7762     7734               B12T14             =        PRIO34                                
047729,000253:    7762     4735               NEGMAX             =        BIT15                                 
047730,000254:    7762     4735               VLOADCOD           =        BIT15                                 
047731,000255:    7762     6121               VLOAD*             =        OCT40001                              
047732,000256:    7762     4101               OCT60000           =        RELTAB11                              
047733,000257:    7762     4350               BANKMASK           =        HI5                                   

End of include-file FIXED-FIXED_CONSTANT_POOL.agc.  Parent file is MAIN.agc