Source Code

This is the source-code for the Apollo 9 Command Module's Guidance Computer. These files were derived originally from the scan from MIT's Dibner Institute's now-discontinued website titled "History of Recent Science and Technology", which in turn was originally created by Gary Neff, though his high-quality scans were unfortunately reduced in legibility when presented online. The markings on the front of the printout imply that it was the original AGC developer Norm Brodeur's copy. A scan by Ron Burkey has superceded it, made from a more-legible copy from the collection of original AGC developer Fred Martin. The source code was transcribed from those images by Ron Burkey. Note that the page images presented online are of reduced quality, and that higher-quality images are available. Report any conversion errors or legibility problems in page images to info@sandroid.org. Notations on the program listing read, in part:

	ASSEMBLE REVISION 249 OF AGC PROGRAM COLOSSUS BY NASA 2021111-041
	20'35 OCT. 28,1968
Note that the date is the date of the printout, not the date of the program revision.

051428,000002:                                                                                                  ## Copyright:   Public domain.
051429,000003:                                                                                                  ## Filename:    INTERPRETATIVE_CONSTANTS.agc
051430,000004:                                                                                                  ## Purpose:     Part of the source code for Colossus, build 249.
051431,000005:                                                                                                  ##              It is part of the source code for the Command Module's (CM)
051432,000006:                                                                                                  ##              Apollo Guidance Computer (AGC), for Apollo 9.
051433,000007:                                                                                                  ## Assembler:   yaYUL
051434,000008:                                                                                                  ## Reference:   pp. 1175-1176
051435,000009:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
051436,000010:                                                                                                  ## Website:     www.ibiblio.org/apollo.
051437,000011:                                                                                                  ## Mod history: 08/29/04 RSB.   Adapted from corresponding Luminary 131 file.
051438,000012:                                                                                                  ##              2017-01-06 RSB  Page numbers now agree with those on the
051439,000013:                                                                                                  ##                              original harcopy, as opposed to the PDF page
051440,000014:                                                                                                  ##                              numbers in 1701.pdf.
051441,000015:                                                                                                  ##              2017-01-14 RSB  Cross-diff'd comment text (not whitespace)
051442,000016:                                                                                                  ##                              vs the already-proofed corresponding Colossus
051443,000017:                                                                                                  ##                              237 and Comanche 55 source-code files
051444,000018:                                                                                                  ##                              and corrected errors found.  No differences
051445,000019:                                                                                                  ##                              remain.
051446,000020:                                                                                                  ##
051447,000021:                                                                                                  ## The contents of the "Colossus249" files, in general, are transcribed 
051448,000022:                                                                                                  ## from a scanned copy of the program listing.  Notations on this
051449,000023:                                                                                                  ## document read, in part:
051450,000024:                                                                                                  ##
051451,000025:                                                                                                  ##      Assemble revision 249 of AGC program Colossus by NASA
051452,000026:                                                                                                  ##      2021111-041.  October 28, 1968.  
051453,000027:                                                                                                  ##
051454,000028:                                                                                                  ##      This AGC program shall also be referred to as
051455,000029:                                                                                                  ##                              Colossus 1A
051456,000030:                                                                                                  ##
051457,000031:                                                                                                  ##      Prepared by
051458,000032:                                                                                                  ##                      Massachusetts Institute of Technology
051459,000033:                                                                                                  ##                      75 Cambridge Parkway
051460,000034:                                                                                                  ##                      Cambridge, Massachusetts
051461,000035:                                                                                                  ##      under NASA contract NAS 9-4065.
051462,000036:                                                                                                  ##
051463,000037:                                                                                                  ## Refer directly to the online document mentioned above for further information.
051464,000038:                                                                                                  ## Please report any errors (relative to the scanned pages) to info@sandroid.org.
051465,000039:                                                                                                  ##
051466,000040:                                                                                                  ## In some cases, where the source code for Luminary 131 overlaps that of 
051467,000041:                                                                                                  ## Colossus 249, this code is instead copied from the corresponding Luminary 131
051468,000042:                                                                                                  ## source file, and then is proofed to incorporate any changes.
051469,000043: 

Page 1175

051471,000045: 26,2000                                           SETLOC   INTPRET1                              
051472,000046: 26,2000                                           BANK                                           
051473,000047: 
051474,000048: 26,3321                                           COUNT    23/ICONS                              
051475,000049: 
051476,000050: 26,3321           10000 00000  DP1/4TH            2DEC     .25                                   
051477,000051: 26,3323           00000 00000  UNITZ              2DEC     0          B-28                       
051478,000052: 26,3325           00000 00000  UNITY              2DEC     0          B-28                       
051479,000053: 26,3327           20000 00000  UNITX              2DEC     .5                                    
051480,000054: 26,3331           00000 00000  ZEROVECS           2DEC     0          B-28                       
051481,000055: 26,3333           00000 00000                     2DEC     0          B-28                       
051482,000056: 26,3335           00000 00000                     2DEC     0          B-28                       
051483,000057: 
051484,000058: 26,3337  26,3327               DPHALF             =        UNITX                                 
051485,000059: 26,3337           37777        DPPOSMAX           OCT      37777                                 
051486,000060: 26,3340           37777                           OCT      37777                                 
051487,000061: 

Page 1176

051489,000063:                                                                                                  #  INTERPRETIVE CONSTANTS IN THE OTHER HALF-MEMORY
051490,000064: 
051491,000065: 04,2000                                           SETLOC   INTPRET2                              
051492,000066: 04,2000                                           BANK                                           
051493,000067: 
051494,000068: 04,3447                                           COUNT    14/ICONS                              
051495,000069: 
051496,000070: 04,3447           00000 00000  ZUNIT              2DEC     0          B-28                       
051497,000071: 04,3451           00000 00000  YUNIT              2DEC     0          B-28                       
051498,000072: 04,3453           20000 00000  XUNIT              2DEC     .5                                    
051499,000073: 04,3455           00000 00000  ZEROVEC            2DEC     0          B-28                       
051500,000074: 04,3457           00000 00000                     2DEC     0          B-28                       
051501,000075: 04,3461           00000 00000                     2DEC     0          B-28                       
051502,000076: 
051503,000077: 04,3463           77777                           OCT      77777                                 #  -0, -6, -12 MUST REMAIN IN THIS ORDER
051504,000078: 04,3464           77771        DFC-6              DEC      -6         B-14                       
051505,000079: 04,3465           77763        DFC-12             DEC      -12        B-14                       
051506,000080: 04,3466           37777 37777  LODPMAX            2OCT     3777737777                            #  THESE TWO CONSTANTS MUST REMAIN
051507,000081: 04,3470           37777 37777  LODPMAX1           2OCT     3777737777                            #  ADJACENT AND THE SAME FOR INTEGRATION
051508,000082: 
051509,000083: 04,3472  04,3455               ZERODP             =        ZEROVEC                               
051510,000084: 04,3472  04,3453               HALFDP             =        XUNIT                                 
051511,000085: 
051512,000086: 
051513,000087: 
051514,000088: 

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