Source Code

These source-code files are part of a reconstructed copy of Skylark 048, the Block II Command Module (CM) Apollo Guidance Computer (AGC) software for the Skylab-2, Skylab-3, Skylab-4, and Apollo-Soyuz Test Project missions.

They have been created via disassembly of binary dumps of the original core rope memory modules actually flown on Skylab-2, part numbers 2010802-541, 2010802-551, 2010802-561, 2010802-571, 2010802-581, and 2010802-591. Access to these modules was provided by the New Mexico Museum of Space History, who we are much indebted to.

The source code for the Apollo 15, 16, and 17 software, Artemis 072, was used as a starting point. Heavy use was made of TRW 4900.5-244, Programmed Guidance Equations for Skylark Command Module Earth Orbital Program, dated 14 February 1972. This document contains pseudocode of essentially all of Skylark, using original program labels which have been copied for this source reconstruction.

Since only binary dumps (rather than listings) of Skylark are available as source material, all comments and labels are approximate. They have been taken from the Programmed Guidance Equations or other AGC programs where possible, or, in some places, written from scratch to match what we believe would have been in the original listing.

001419,000002:                                                                                                  ## Copyright:   Public domain.
001420,000003:                                                                                                  ## Filename:    SUBROUTINE_CALLS.agc
001421,000004:                                                                                                  ## Purpose:     A section of Skylark revision 048.
001422,000005:                                                                                                  ##              It is part of the source code for the Apollo Guidance Computer (AGC)
001423,000006:                                                                                                  ##              for Skylab-2, Skylab-3, Skylab-4, and ASTP. No original listings of
001424,000007:                                                                                                  ##              this software are available; instead, this file was created via
001425,000008:                                                                                                  ##              disassembly of dumps of the core rope modules actually flown on
001426,000009:                                                                                                  ##              Skylab-2. Access to these modules was provided by the New Mexico
001427,000010:                                                                                                  ##              Museum of Space History.
001428,000011:                                                                                                  ## Assembler:   yaYUL
001429,000012:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
001430,000013:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
001431,000014:                                                                                                  ## Mod history: 2023-09-04 MAS  Created from Artemis 072.
001432,000015:                                                                                                  ##              2024-03-05 MAS  Added note for Skylark.
001433,000016: 
001434,000017: 
001435,000018:                                                                                                  ## The subroutine names and revision numbers shown in the table below
001436,000019:                                                                                                  ## correspond to Artemis 72. Unfortunately, we don't know the subroutine
001437,000020:                                                                                                  ## names, much less their revisions, for Skylark, so the Artemis values
001438,000021:                                                                                                  ## have been left unchanged for now.
001439,000022: 
001440,000023: ???????                                           SUBRO    ERASTOTL   041                        
001441,000024: ???????                                           SUBRO    DIOGENES   064                        
001442,000025: ???????                                           SUBRO    MEDUSA     035                        
001443,000026: ???????                                           SUBRO    MENLAUS    061                        
001444,000027: ???????                                           SUBRO    ULYSSES    029                        
001445,000028: ???????                                           SUBRO    ZEUS       046                        
001446,000029: 

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