Source Code

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

The reconstruction began with reconstructed source code for Luminary 97. Changes between revisions 96 and 97 were backed out, as described by anomal report LNY-59. transcribed from a digitized copy of that program. The reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152D. 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 96 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.

046097,000002:                                                                                                  ## Copyright:   Public domain.
046098,000003:                                                                                                  ## Filename:    INTERPRETIVE_CONSTANTS.agc
046099,000004:                                                                                                  ## Purpose:     A section of Luminary revision 96.
046100,000005:                                                                                                  ##              It is part of the reconstructed source code for the
046101,000006:                                                                                                  ##              original release of the flight software for the Lunar 
046102,000007:                                                                                                  ##              Module's (LM) Apollo Guidance Computer (AGC) for Apollo 11.
046103,000008:                                                                                                  ##              The code has been recreated from a previously reconstructed
046104,000009:                                                                                                  ##              copy of Luminary 97 by undoing changes described in anomaly
046105,000010:                                                                                                  ##              report LNY-59. The code has been adapted such that the
046106,000011:                                                                                                  ##              resulting bugger words exactly match those specified for
046107,000012:                                                                                                  ##              Luminary 96 in NASA drawing 2021152D, which gives relatively
046108,000013:                                                                                                  ##              high confidence that the reconstruction is correct.
046109,000014:                                                                                                  ## Reference:   pp. 1100-1101
046110,000015:                                                                                                  ## Assembler:   yaYUL
046111,000016:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
046112,000017:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
046113,000018:                                                                                                  ## Mod history: 2019-08-04 MAS  Created from Luminary 97.
046114,000019: 

Page 1100

046116,000021: 23,2000                                           SETLOC   INTPRET1                              
046117,000022: 23,2000                                           BANK                                           
046118,000023: 
046119,000024: 23,2511                                           COUNT*   $$/ICONS                              
046120,000025: 23,2511           10000 00000  DP1/4TH            2DEC     .25                                   
046121,000026: 
046122,000027: 23,2513           00000 00000  UNITZ              2DEC     0          B-28                       
046123,000028: 
046124,000029: 23,2515           00000 00000  UNITY              2DEC     0          B-28                       
046125,000030: 
046126,000031: 23,2517           20000 00000  UNITX              2DEC     .5                                    
046127,000032: 
046128,000033: 23,2521           00000 00000  ZEROVECS           2DEC     0          B-28                       
046129,000034: 
046130,000035: 23,2523           00000 00000                     2DEC     0          B-28                       
046131,000036: 
046132,000037: 23,2525           00000 00000                     2DEC     0          B-28                       
046133,000038: 
046134,000039: 23,2527  23,2517               DPHALF             =        UNITX                                 
046135,000040: 23,2527           37777        DPPOSMAX           OCT      37777                                 
046136,000041: 23,2530           37777                           OCT      37777                                 
046137,000042: 

Page 1101

046139,000044:                                                                                                  #  INTERPRETIVE CONSTANTS IN THE OTHER HALF-MEMORY
046140,000045: 
046141,000046: 12,2000                                           SETLOC   INTPRET2                              
046142,000047: 12,2000                                           BANK                                           
046143,000048: 
046144,000049: 12,2000                                           COUNT*   $$/ICONS                              
046145,000050: 12,2000           00000 00000  ZUNIT              2DEC     0          B-28                       
046146,000051: 
046147,000052: 12,2002           00000 00000  YUNIT              2DEC     0          B-28                       
046148,000053: 
046149,000054: 12,2004           20000 00000  XUNIT              2DEC     .5                                    
046150,000055: 
046151,000056: 12,2006           00000 00000  ZEROVEC            2DEC     0          B-28                       
046152,000057: 
046153,000058: 12,2010           00000 00000                     2DEC     0          B-28                       
046154,000059: 
046155,000060: 12,2012           00000 00000                     2DEC     0          B-28                       
046156,000061: 
046157,000062: 12,2014           77777                           OCT      77777                                 #  -0, -6, -12 MUST REMAIN IN THIS ORDER
046158,000063: 12,2015           77771        DFC-6              DEC      -6         B-14                       
046159,000064: 12,2016           77763        DFC-12             DEC      -12        B-14                       
046160,000065: 12,2017           37777 37777  LODPMAX            2OCT     3777737777                            #  THESE TWO CONSTANTS MUST REMAIN
046161,000066: 
046162,000067: 12,2021           37777 37777  LODPMAX1           2OCT     3777737777                            #  ADJACENT AND THE SAME FOR INTEGRATION
046163,000068: 
046164,000069: 12,2023  12,2006               ZERODP             =        ZEROVEC                               
046165,000070: 12,2023  12,2004               HALFDP             =        XUNIT                                 
046166,000071: 
046167,000072: 

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