It’s been famously remarked that the on-board systems in Apollo 11 had less computing power than a modern pocket calculator.
Now we can see that the code which ran those systems was probably less complicated than the code behind the Windows Calculator.
The code was transcribed from scanned images of printouts for the AGC in both the Command Module (codenamed Comanche054) which reached moon orbit and was the return vehicle; and the Lunar Module (Luminary099) which took astronauts Neil Armstrong and Buzz Aldrin to the moon.
While the code itself is primarily of interest to programmers there are some amusing snippets which show that the geek sense of humour never changes.
Line 666 in the Lunar Module’s code has a comment identifying it as â€œNUMERO MYSTERIOSOâ€ or the number of mystery while Lines 179 and 180 have both been commented by the programmer as â€œTEMPORARY I HOPE HOPE HOPEâ€.
If you want to load up the code and try it for yourself Google also provides links to an open-source AGC emulator.
Alternatively you can take a virtual flight to the Moon with the latest update to Google Earth which now adds lunar images and related content to the program.
The ‘Moon in Google Earth’ feature lets you take a tour of the landing sites with narration by Apollo astronauts; view 3D models of the landed spacecraft; zoom into 360 degree photos to see the footprints left by the astronauts; and watch archival TV footage of the Apollo missions.
The lunar panoramas can be explored using the same format as Google Street View format although so far there haven’t been any privacy complaints.