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.

045996,000002:                                                                                                  ## Copyright:   Public domain.
045997,000003:                                                                                                  ## Filename:    INTERPRETIVE_CONSTANTS.agc
045998,000004:                                                                                                  ## Purpose:     A section of Luminary revision 98.
045999,000005:                                                                                                  ##              It is part of the reconstructed source code for the a
046000,000006:                                                                                                  ##              development version of the flight software for the Lunar 
046001,000007:                                                                                                  ##              Module's (LM) Apollo Guidance Computer (AGC) for Apollo 11.
046002,000008:                                                                                                  ##              The code has been recreated from a copy of Luminary 99
046003,000009:                                                                                                  ##              revision 001, using asterisks indicating changed lines in
046004,000010:                                                                                                  ##              the listing and Luminary Memo #85, which lists changes between
046005,000011:                                                                                                  ##              Luminary 98 and 99.
046006,000012:                                                                                                  ## Reference:   pp. 1100-1101
046007,000013:                                                                                                  ## Assembler:   yaYUL
046008,000014:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
046009,000015:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
046010,000016:                                                                                                  ## Mod history: 2019-07-28 MAS  Created from Luminary 99.
046011,000017:                                                                                                  ##              2021-05-30 ABS  DFC-6 -> DEC-6, DFC-12 -> DEC-12
046012,000018: 

Page 1100

046014,000020: 23,2000                                           SETLOC   INTPRET1                              
046015,000021: 23,2000                                           BANK                                           
046016,000022: 
046017,000023: 23,2511                                           COUNT*   $$/ICONS                              
046018,000024: 23,2511           10000 00000  DP1/4TH            2DEC     .25                                   
046019,000025: 
046020,000026: 23,2513           00000 00000  UNITZ              2DEC     0          B-28                       
046021,000027: 
046022,000028: 23,2515           00000 00000  UNITY              2DEC     0          B-28                       
046023,000029: 
046024,000030: 23,2517           20000 00000  UNITX              2DEC     .5                                    
046025,000031: 
046026,000032: 23,2521           00000 00000  ZEROVECS           2DEC     0          B-28                       
046027,000033: 
046028,000034: 23,2523           00000 00000                     2DEC     0          B-28                       
046029,000035: 
046030,000036: 23,2525           00000 00000                     2DEC     0          B-28                       
046031,000037: 
046032,000038: 23,2527  23,2517               DPHALF             =        UNITX                                 
046033,000039: 23,2527           37777        DPPOSMAX           OCT      37777                                 
046034,000040: 23,2530           37777                           OCT      37777                                 
046035,000041: 

Page 1101

046037,000043:                                                                                                  #  INTERPRETIVE CONSTANTS IN THE OTHER HALF-MEMORY
046038,000044: 
046039,000045: 12,2000                                           SETLOC   INTPRET2                              
046040,000046: 12,2000                                           BANK                                           
046041,000047: 
046042,000048: 12,2000                                           COUNT*   $$/ICONS                              
046043,000049: 12,2000           00000 00000  ZUNIT              2DEC     0          B-28                       
046044,000050: 
046045,000051: 12,2002           00000 00000  YUNIT              2DEC     0          B-28                       
046046,000052: 
046047,000053: 12,2004           20000 00000  XUNIT              2DEC     .5                                    
046048,000054: 
046049,000055: 12,2006           00000 00000  ZEROVEC            2DEC     0          B-28                       
046050,000056: 
046051,000057: 12,2010           00000 00000                     2DEC     0          B-28                       
046052,000058: 
046053,000059: 12,2012           00000 00000                     2DEC     0          B-28                       
046054,000060: 
046055,000061: 12,2014           77777                           OCT      77777                                 #  -0, -6, -12 MUST REMAIN IN THIS ORDER
046056,000062: 12,2015           77771        DEC-6              DEC      -6         B-14                       
046057,000063: 12,2016           77763        DEC-12             DEC      -12        B-14                       
046058,000064: 12,2017           37777 37777  LODPMAX            2OCT     3777737777                            #  THESE TWO CONSTANTS MUST REMAIN
046059,000065: 
046060,000066: 12,2021           37777 37777  LODPMAX1           2OCT     3777737777                            #  ADJACENT AND THE SAME FOR INTEGRATION
046061,000067: 
046062,000068: 12,2023  12,2006               ZERODP             =        ZEROVEC                               
046063,000069: 12,2023  12,2004               HALFDP             =        XUNIT                                 
046064,000070: 
046065,000071: 

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