Source Code

These source-code files are part of a reconstructed copy of Comanche 45, the second release, though not the final mission release, of the Apollo 10 Command Module (CM) Apollo Guidance Computer (AGC) software. Comanche 45 was preceded by Comanche 44 and followed by Comanche 45/2 (the flown release). The reconstruction is believed to be exactly accurate, but in the absence of an actual Apollo-era listing of Comanche 45, some explanation of the reconstruction process is needed to insure confidence in that accuracy.

The starting point was the source code of Comanche 44 (itself previously accurately reconstructed). Comanche 44 source code was then modified by incorporating changes known from contemporary documentation to have been made between revisions 44 and 45. The now-reconstructed Comanche 45 source code was verified by assembling it and checking that the assembled code had the expected known-correct memory-bank checksums. Note that page numbers in the reconstructed code tend to match those in the Comanche 55, the most-similar revision of Comanche for which we have access to an actual non-reconstructed hardcopy; the source code would likely have different page numbers in a contemporary Comanche 45 listing.

Annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change relative to Comanche 44. Here's a guide to the Apollo documentation referenced in those annotations:
There is also a detailed commentary about the reconstruction process.

Comments expected to have been present in 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.

040840,000002:                                                                                                  ## Copyright:   Public domain.
040841,000003:                                                                                                  ## Filename:    LUNAR_LANDMARK_SELECTION_FOR_CM.agc
040842,000004:                                                                                                  ## Purpose:     A section of Comanche revision 045.
040843,000005:                                                                                                  ##              It is part of the reconstructed source code for the
040844,000006:                                                                                                  ##              second release of the flight software for the Command
040845,000007:                                                                                                  ##              Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
040846,000008:                                                                                                  ##              The code has been recreated from a copy of Comanche 055. It
040847,000009:                                                                                                  ##              has been adapted such that the resulting bugger words
040848,000010:                                                                                                  ##              exactly match those specified for Comanche 45 in NASA drawing
040849,000011:                                                                                                  ##              2021153D, which gives relatively high confidence that the
040850,000012:                                                                                                  ##              reconstruction is correct.
040851,000013:                                                                                                  ## Assembler:   yaYUL
040852,000014:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
040853,000015:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
040854,000016:                                                                                                  ## Mod history: 2020-12-06 MAS  Created from Comanche 44.
040855,000017: 

Page 936 This page (and this entire section) contains only assembler-generated messages.


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