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.

001391,000002:                                                                                                  ## Copyright:   Public domain.
001392,000003:                                                                                                  ## Filename:    ABSOLUTE_LOCATIONS_FOR_UPDATES.agc
001393,000004:                                                                                                  ## Purpose:     A section of Skylark revision 048.
001394,000005:                                                                                                  ##              It is part of the source code for the Apollo Guidance Computer (AGC)
001395,000006:                                                                                                  ##              for Skylab-2, Skylab-3, Skylab-4, and ASTP. No original listings of
001396,000007:                                                                                                  ##              this software are available; instead, this file was created via
001397,000008:                                                                                                  ##              disassembly of dumps of the core rope modules actually flown on
001398,000009:                                                                                                  ##              Skylab-2. Access to these modules was provided by the New Mexico
001399,000010:                                                                                                  ##              Museum of Space History.
001400,000011:                                                                                                  ## Assembler:   yaYUL
001401,000012:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
001402,000013:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
001403,000014:                                                                                                  ## Mod history: 2023-09-04 MAS  Created from Artemis 072.
001404,000015:                                                                                                  ##              2024-02-27 MAS  Updated for Skylark 48.
001405,000016: 
001406,000017:                                                                                                  #  ECADR                 MNEMONIC
001407,000018:                                                                                                  #  -----                 --------
001408,000019: 43,2000                                           =ECADR   UPSVFLAG                              #  CSM/LM STATE VECTOR UPDATE
001409,000020: 
001410,000021: ???????                                           =ECADR   XSMD                                  #  DESIRED REFSMMAT UPDATE
001411,000022: 
001412,000023: ???????                                           =ECADR   REFSMMAT                              #  REFSMMAT UPDATE
001413,000024: 
001414,000025: ???????                                           =ECADR   DELVSLV                               #  EXTERNAL DELTA-V UPDATE
001415,000026: 
001416,000027: ???????                                           =ECADR   LAT(SPL)                              #  RETROFIRE EXT DELTA-V OR ENTRY UPDATE

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