Apollo 11 Guidance Computer source code for the command and lunar modules

6 years ago (github.com)

>TEMPORARY, I HOPE HOPE HOPE

https://github.com/chrislgarry/Apollo-11/blob/master/Luminar...

...it was not temporary

  • Was the hope that the code would be temporary, or that the external conditions the code was dealing with would be temporary? Remember this is flight control software. There might be transient conditions that the system can handle fine, but could lead to failure if they persist.

    • That call to STOPRATE was there to zero out attitude rate commands at the moment the astronaut switches into the semimanual final descent program P66. It was removed in the final few revisions before the first, unflown release of the Apollo 14 software (Luminary 163 [1]) because it was preventing attitude control of the spacecraft when Rate-Of-Descent commands were skipped [2]. Skipping ROD commands wasn't normal, but was something that was added as part of the effort to make the computer more cleanly handle large unexpected additional load, like happened in Apollo 11.

      [1] https://github.com/virtualagc/virtualagc/blob/master/Luminar...

      [2] http://www.ibiblio.org/apollo/Documents/LUM156_text.pdf -- look for PCN 1037

  • >NUMERO MYSTERIOSO

    https://github.com/chrislgarry/Apollo-11/blob/master/Luminar...

    • People frequently seem to think this is about the line number it's on (666), but that doesn't have anything to do with it. That line number is a totally modern construction; the original source code was on punch cards. That particular comment was punched onto card number 0562 in the LUNAR LANDING GUIDANCE EQUATIONS log section. The original developers only referred to code by punch card number, and page number in the listing. So it really is just a coincidence, and the "NUMERO MYSTERIOSO" is referring to whatever is in GAINBRAK,1.

      3 replies →

Wow, was "burn baby burn" really part of the original source code?!

https://github.com/chrislgarry/Apollo-11/blob/master/Luminar...

  • Line 34:

    > At the get-together of the AGC developers celebrating the 40th anniversary of the first moonwalk, Don Eyles (one of the authors of this routine along with Peter Adler) has related to us a little interesting history behind the naming of the routine.

    • It's kind of frustrating to try and figure out what is actually the original, unaltered code, and what's been added.

      There is a BURNBABY routine, though, so I guess that's real.

      2 replies →

  • The whole line is not as shocking

        # BURN, BABY, BURN -- MASTER IGNITION ROUTINE

    • It makes sense in context, of course, I just didn't think of NASA in the late 60ies as the sort of place where you could write 'clever' things like that.

      1 reply →

Title is incorrect, this has been available for quite a while

Didn’t this get released a couple years ago? Or was that a different ship?