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.

000022,000002:                                                                                                  ## Copyright:   Public domain.
000023,000003:                                                                                                  ## Filename:    CONTRACT_AND_APPROVALS.agc
000024,000004:                                                                                                  ## Purpose:     A section of Comanche revision 072.
000025,000005:                                                                                                  ##              It is part of the reconstructed source code for the first
000026,000006:                                                                                                  ##              release of the software for the Command Module's (CM) Apollo
000027,000007:                                                                                                  ##              Guidance Computer (AGC) for Apollo 13. No original listings
000028,000008:                                                                                                  ##              of this program are available; instead, this file was recreated
000029,000009:                                                                                                  ##              from a printout of Comanche 055, binary dumps of a set of
000030,000010:                                                                                                  ##              Comanche 067 rope modules, and changelogs between Comanche 067
000031,000011:                                                                                                  ##              and 072. It has been adapted such that the resulting bugger words
000032,000012:                                                                                                  ##              exactly match those specified for Comanche 072 in NASA drawing
000033,000013:                                                                                                  ##              2021153G, which gives relatively high confidence that the
000034,000014:                                                                                                  ##              reconstruction is correct.
000035,000015:                                                                                                  ## Assembler:   yaYUL
000036,000016:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
000037,000017:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
000038,000018:                                                                                                  ## Mod history: 2024-05-13 MAS  Created from Comanche 067.
000039,000019:                                                                                                  ##              2024-05-19 MAS  Updated dates for Comanche 72.
000040,000020: 
000041,000021: 
000042,000022:                                                                                                  #  ************************************************************************
000043,000023:                                                                                                  #  *                                                                      *
000044,000024:                                                                                                  #  *             THIS AGC PROGRAM SHALL ALSO BE REFERRED TO AS:           *
000045,000025:                                                                                                  #  *                                                                      *
000046,000026:                                                                                                  #  *                                                                      *
000047,000027:                                                                                                  #  *                             COLOSSUS 2D                              *
000048,000028:                                                                                                  #  *                                                                      *
000049,000029:                                                                                                  #  *                                                                      *
000050,000030:                                                                                                  #  *      THIS PROGRAM IS INTENDED FOR USE IN THE CM AS SPECIFIED         *
000051,000031:                                                                                                  #  *      IN REPORT R-577.  THIS PROGRAM WAS PREPARED UNDER DSR           *
000052,000032:                                                                                                  #  *      PROJECT 55-23870, SPONSORED BY THE MANNED SPACECRAFT            *
000053,000033:                                                                                                  #  *      CENTER OF THE NATIONAL AERONAUTICS AND SPACE                    *
000054,000034:                                                                                                  #  *      ADMINISTRATION THROUGH CONTRACT NAS 9-4065 WITH THE             *
000055,000035:                                                                                                  #  *      INSTRUMENTATION LABORATORY, MASSACHUSETTS INSTITUTE OF          *
000056,000036:                                                                                                  #  *      TECHNOLOGY, CAMBRIDGE, MASS.                                    *
000057,000037:                                                                                                  #  *                                                                      *
000058,000038:                                                                                                  #  ************************************************************************
000059,000039: 

MAS 2024: October 20, 1969 was the date Comanche 072 was released to Raytheon for manufacture. In reality, an earlier date was likely present here. Names and job titles also reflect Apollo 11, and may or may not have differed in Comanche 72.

000064,000044: 
000065,000045:                                                                                                  #        SUBMITTED:      MARGARET H. HAMILTON            DATE:   20 OCT 69
000066,000046:                                                                                                  #                M.H.HAMILTON, COLOSSUS PROGRAMMING LEADER
000067,000047:                                                                                                  #                APOLLO GUIDANCE AND NAVIGATION
000068,000048: 
000069,000049:                                                                                                  #        APPROVED:       DANIEL J. LICKLY                DATE:   20 OCT 69
000070,000050:                                                                                                  #                D.J.LICKLY, DIRECTOR, MISSION PROGRAM DEVELOPMENT
000071,000051:                                                                                                  #                APOLLO GUIDANCE AND NAVIGATION PROGRAM
000072,000052: 
000073,000053:                                                                                                  #        APPROVED:       FRED H. MARTIN                  DATE:   20 OCT 69
000074,000054:                                                                                                  #                FRED H. MARTIN, COLOSSUS PROJECT MANGER
000075,000055:                                                                                                  #                APOLLO GUIDANCE AND NAVIGATION PROGRAM
000076,000056: 
000077,000057:                                                                                                  #        APPROVED:       NORMAN E. SEARS                 DATE:   20 OCT 69
000078,000058:                                                                                                  #                N.E. SEARS, DIRECTOR, MISSION DEVELOPMENT
000079,000059:                                                                                                  #                APOLLO GUIDANCE AND NAVIGATION PROGRAM
000080,000060: 
000081,000061:                                                                                                  #        APPROVED:       RICHARD H. BATTIN               DATE:   20 OCT 69
000082,000062:                                                                                                  #                R.H. BATTIN, DIRECTOR, MISSION DEVELOPMENT
000083,000063:                                                                                                  #                APOLLO GUIDANCE AND NAVIGATION PROGRAM
000084,000064: 
000085,000065:                                                                                                  #        APPROVED:       DAVID G. HOAG                   DATE:   20 OCT 69
000086,000066:                                                                                                  #                D.G. HOAG, DIRECTOR
000087,000067:                                                                                                  #                APOLLO GUIDANCE AND NAVIGATION PROGRAM
000088,000068: 
000089,000069:                                                                                                  #        APPROVED:       RALPH R. RAGAN                  DATE:   20 OCT 69
000090,000070:                                                                                                  #                R.R. RAGAN, DEPUTY DIRECTOR
000091,000071:                                                                                                  #                INSTRUMENTATION LABORATORY
000092,000072: 

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