Source Code

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

The starting point was the source code of Comanche 45 (itself previously accurately reconstructed). Comanche 45 source code was then modified by incorporating changes known from contemporary documentation to have been made between revisions 45 and 45/2. The now-reconstructed Comanche 45/2 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:
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.

040787,000002:                                                                                                  ## Copyright:   Public domain.
040788,000003:                                                                                                  ## Filename:    LUNAR_LANDMARK_SELECTION_FOR_CM.agc
040789,000004:                                                                                                  ## Purpose:     A section of Manche45 revision 2.
040790,000005:                                                                                                  ##              It is part of the reconstructed source code for the
040791,000006:                                                                                                  ##              final, flown release of the flight software for the Command
040792,000007:                                                                                                  ##              Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
040793,000008:                                                                                                  ##              The code has been recreated from a copy of Comanche 055. It
040794,000009:                                                                                                  ##              has been adapted such that the resulting bugger words
040795,000010:                                                                                                  ##              exactly match those specified for Manche 45/2 in NASA drawing
040796,000011:                                                                                                  ##              2021153D, which gives relatively high confidence that the
040797,000012:                                                                                                  ##              reconstruction is correct.
040798,000013:                                                                                                  ## Assembler:   yaYUL
040799,000014:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
040800,000015:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
040801,000016:                                                                                                  ## Mod history: 2020-12-24 MAS  Created from Comanche 45.
040802,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