Source Code
These source-code files are part of a reconstructed copy of Comanche 51, the
initial release (though not the final mission release) of the Apollo 11
Command Module (CM) Apollo Guidance Computer (AGC) software. The flown, final
release was Comanche 55. The reconstruction is believed to be exactly accurate,
but in the absence of an actual Apollo-era listing of Comanche 51, some
explanation of the reconstruction process is needed to insure confidence in
that accuracy.
The starting point was the source code of Comanche 55, whose original source code is available. Comanche 55 source code was then modified by undoing changes known to have been made between revisions 51 and 55. The most-significant steps involved reverting changes related to the R-2 lunar potential model, the details of which were known from the previous, separate, independent reconstruction of the Apollo 10 Lunar Module software Luminary 69/2. The now-reconstructed Comanche 51 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 match those on the Comanche 55 or Luminary 69 printouts, although the source code would likely have different page numbers in a contemporary Comanche 51 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 55. Here's a guide to some of the Apollo documentation relevant to 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. |
000021,000002: ## Copyright: Public domain.
000022,000003: ## Filename: CONTRACT_AND_APPROVALS.agc
000023,000004: ## Purpose: A section of Comanche revision 051.
000024,000005: ## It is part of the reconstructed source code for the
000025,000006: ## original release of the flight software for the Command
000026,000007: ## Module's (CM) Apollo Guidance Computer (AGC) for Apollo 11.
000027,000008: ## The code has been recreated from a copy of Comanche 055. It
000028,000009: ## has been adapted such that the resulting bugger words
000029,000010: ## exactly match those specified for Comanche 51 in NASA drawing
000030,000011: ## 2021153D, which gives relatively high confidence that the
000031,000012: ## reconstruction is correct.
000032,000013: ## Reference: p. 1
000033,000014: ## Assembler: yaYUL
000034,000015: ## Contact: Ron Burkey <info@sandroid.org>.
000035,000016: ## Website: www.ibiblio.org/apollo/index.html
000036,000017: ## Mod history: 2019-07-30 MAS Created from Comanche 55.
000037,000018:
Page 1 |
000039,000020:
000040,000021: # ************************************************************************
000041,000022: # * *
000042,000023: # * THIS AGC PROGRAM SHALL ALSO BE REFERRED TO AS: *
000043,000024: # * *
000044,000025: # * *
000045,000026: # * COLOSSUS 2A *
000046,000027: # * *
000047,000028: # * *
000048,000029: # * THIS PROGRAM IS INTENDED FOR USE IN THE CM AS SPECIFIED *
000049,000030: # * IN REPORT R-577. THIS PROGRAM WAS PREPARED UNDER DSR *
000050,000031: # * PROJECT 55-23870, SPONSORED BY THE MANNED SPACECRAFT *
000051,000032: # * CENTER OF THE NATIONAL AERONAUTICS AND SPACE *
000052,000033: # * ADMINISTRATION THROUGH CONTRACT NAS 9-4065 WITH THE *
000053,000034: # * INSTRUMENTATION LABORATORY, MASSACHUSETTS INSTITUTE OF *
000054,000035: # * TECHNOLOGY, CAMBRIDGE, MASS. *
000055,000036: # * *
000056,000037: # ************************************************************************
000057,000038:
000058,000039:
000059,000040: # SUBMITTED: MARGARET H. HAMILTON DATE: 28 MAR 69
000060,000041: # M.H.HAMILTON, COLOSSUS PROGRAMMING LEADER
000061,000042: # APOLLO GUIDANCE AND NAVIGATION
000062,000043:
000063,000044: # APPROVED: DANIEL J. LICKLY DATE: 28 MAR 69
000064,000045: # D.J.LICKLY, DIRECTOR, MISSION PROGRAM DEVELOPMENT
000065,000046: # APOLLO GUIDANCE AND NAVIGATION PROGRAM
000066,000047:
000067,000048: # APPROVED: FRED H. MARTIN DATE: 28 MAR 69
000068,000049: # FRED H. MARTIN, COLOSSUS PROJECT MANGER
000069,000050: # APOLLO GUIDANCE AND NAVIGATION PROGRAM
000070,000051:
000071,000052: # APPROVED: NORMAN E. SEARS DATE: 28 MAR 69
000072,000053: # N.E. SEARS, DIRECTOR, MISSION DEVELOPMENT
000073,000054: # APOLLO GUIDANCE AND NAVIGATION PROGRAM
000074,000055:
000075,000056: # APPROVED: RICHARD H. BATTIN DATE: 28 MAR 69
000076,000057: # R.H. BATTIN, DIRECTOR, MISSION DEVELOPMENT
000077,000058: # APOLLO GUIDANCE AND NAVIGATION PROGRAM
000078,000059:
000079,000060: # APPROVED: DAVID G. HOAG DATE: 28 MAR 69
000080,000061: # D.G. HOAG, DIRECTOR
000081,000062: # APOLLO GUIDANCE AND NAVIGATION PROGRAM
000082,000063:
000083,000064: # APPROVED: RALPH R. RAGAN DATE: 28 MAR 69
000084,000065: # R.R. RAGAN, DEPUTY DIRECTOR
000085,000066: # INSTRUMENTATION LABORATORY
000086,000067:
End of include-file CONTRACT_AND_APPROVALS.agc. Parent file is MAIN.agc