Source Code

These source code files are an attempted reconstruction of Sundance revision 306, the Apollo 9 LM (Lunar Module) AGC (Apollo Guidance Computer) flight software, created from binary dumps of original core rope program modules, as follows:
  • B1 — Revision 292
  • B2 — Revision 302
  • B3 — Revision 302
  • B4 — Revision 302
  • B5 — Revision 292
  • B6 — Revision 306
These dumps were then modified using memos, checklists, observed address changes, and the Sundance GSOPs to get the entire program to match Sundance revision 306 as closely as possible. Without more information, it is not possible to say how close it actually is; however, this code should be quite close. It is capable of flying the whole Apollo 9 mission using the original checklists and padload. Since only binary dumps (rather than listings) of Sundance 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.

001709,000002:                                                                                                  ## Copyright:   Public domain.
001710,000003:                                                                                                  ## Filename:    SUBROUTINE_CALLS.agc
001711,000004:                                                                                                  ## Purpose:     A section of an attempt to reconstruct Sundance revision 306
001712,000005:                                                                                                  ##              as closely as possible with available information. Sundance
001713,000006:                                                                                                  ##              306 is the source code for the Lunar Module's (LM) Apollo
001714,000007:                                                                                                  ##              Guidance Computer (AGC) for Apollo 9. This program was created
001715,000008:                                                                                                  ##              using the mixed-revision SundanceXXX as a starting point, and
001716,000009:                                                                                                  ##              pulling back features from Luminary 69 believed to have been
001717,000010:                                                                                                  ##              added based on memos, checklists, observed address changes,
001718,000011:                                                                                                  ##              or the Sundance GSOPs.
001719,000012:                                                                                                  ## Assembler:   yaYUL
001720,000013:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
001721,000014:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
001722,000015:                                                                                                  ## Mod history: 2020-07-24 MAS  Created from SundanceXXX.
001723,000016: 
001724,000017: 
001725,000018:                                                                                                  ## This section is speculation; we don't know exactly what all of the subroutines
001726,000019:                                                                                                  ## in Sundance were called.
001727,000020: 
001728,000021: 43,2000                                           SUBRO    DANCERAS                              
001729,000022: 43,2000                                           SUBRO    LEMONAID                              
001730,000023: 43,2000                                           SUBRO    LEMP20S                               
001731,000024: 43,2000                                           SUBRO    LEMP30S                               
001732,000025: 43,2000                                           SUBRO    KISSING                               
001733,000026: 43,2000                                           SUBRO    FLY                                   
001734,000027: 43,2000                                           SUBRO    LEMP50S                               
001735,000028: 43,2000                                           SUBRO    SKIPPER                               
001736,000029: 43,2000                                           SUBRO    LMDAP                                 
001737,000030: 
001738,000031: 

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