hn-classics/_stories/2009/7522539.md

73 lines
2.5 KiB
Markdown
Raw Normal View History

---
created_at: '2014-04-03T13:15:03.000Z'
title: NASA Open Sources Apollo 11 Code (2009)
url: http://apcmag.com/apollo-11-code-goes-open-source.htm
author: jaboutboul
points: 145
story_text: ''
comment_text:
num_comments: 36
story_id:
story_title:
story_url:
parent_id:
created_at_i: 1396530903
_tags:
- story
- author_jaboutboul
- story_7522539
objectID: '7522539'
2018-06-08 12:05:27 +00:00
year: 2009
---
2018-03-03 09:35:28 +00:00
Its been famously remarked that the on-board systems in Apollo 11 had
less computing power than a modern pocket calculator.
2018-02-23 18:19:40 +00:00
2018-03-03 09:35:28 +00:00
Now we can see that the code which ran those systems was probably less
complicated than the code behind the Windows Calculator.
2018-02-23 18:19:40 +00:00
2018-03-03 09:35:28 +00:00
As part of its celebration of the 40th anniversary of Apollo 11 and
mans first steps on the moon the spaceheads at Google have published
the [original
code](http://googlecode.blogspot.com/2009/07/apollo-11-missions-40th-anniversary-one.html)
from the [Apollo Guidance
Computer](http://en.wikipedia.org/wiki/Apollo_Guidance_Computer) or AGC.
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 Modules 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.
![](http://media.apcmag.com/wp-content/uploads/sites/20/2009/07/apcnewslunar-hot_mainImage1.jpg1.jpg)
Whats a GUI? The Apollo systems were controlled through a simple Dsky
(display and keyboard) console
 
Alternatively you can take a virtual flight to the Moon with the latest
update to [Google Earth](http://earth.google.com/) 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 havent been any privacy
complaints.