Source Code

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

They have been adapted from sources files created from a listing of Comanche 55. These source files were updated to match binary dumps of a set of Comanche 67 rope modules. They were then further modified by applying known changes between Comanche 67 and Comanche 72. A binary dump of module B2 of Comanche 72, part number 2010802-021, was also used to validate changes made to banks 05-13. The resulting code assembles to have identical memory-bank checksums as those specified in NASA drawing 2021153G; this gives reasonably high confidence that the changes that have been made are correct. In places where ambiguity exists, this ambiguity is discussed in "## Reconstruction:" comments.

Since no contemporary listings of Comanche 72 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.

040227,000002:                                                                                                  ## Copyright:   Public domain.
040228,000003:                                                                                                  ## Filename:    LUNAR_LANDMARK_SELECTION_FOR_CM.agc
040229,000004:                                                                                                  ## Purpose:     A section of Comanche revision 072.
040230,000005:                                                                                                  ##              It is part of the reconstructed source code for the first
040231,000006:                                                                                                  ##              release of the software for the Command Module's (CM) Apollo
040232,000007:                                                                                                  ##              Guidance Computer (AGC) for Apollo 13. No original listings
040233,000008:                                                                                                  ##              of this program are available; instead, this file was recreated
040234,000009:                                                                                                  ##              from a printout of Comanche 055, binary dumps of a set of
040235,000010:                                                                                                  ##              Comanche 067 rope modules, and changelogs between Comanche 067
040236,000011:                                                                                                  ##              and 072. It has been adapted such that the resulting bugger words
040237,000012:                                                                                                  ##              exactly match those specified for Comanche 072 in NASA drawing
040238,000013:                                                                                                  ##              2021153G, which gives relatively high confidence that the
040239,000014:                                                                                                  ##              reconstruction is correct.
040240,000015:                                                                                                  ## Assembler:   yaYUL
040241,000016:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
040242,000017:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
040243,000018:                                                                                                  ## Mod history: 2024-05-13 MAS  Created from Comanche 067.
040244,000019: 
040245,000020:                                                                                                  ## This log section (which I'm assuming existed in Comanche 67, but may not have) is empty.

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