Apollo 11 code goes ‘open source’

David Flynn23 July 2009, 11:40 AM

Google publishes the source code for Apollo 11’s on-board computers, which can be run in a specialised emulator to simulate your own lunar mission!


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.

As part of its celebration of the 40th anniversary of Apollo 11 and man’s first steps on the moon, the spaceheads at Google have published the original code from the 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 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.



What's 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 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.







Post your comment



Comments

RSS feed Email alert

Tin (Regular user):

I'm amazed at just how small these various code chunks are. You see bigger "Hello world" programs these days.

23 July 2009, 8:59 PM (7 months ago)report abuse Send to a friend reply

Raindog (Senior Forumologist):

Quoting Tin:
'm amazed at just how small these various code chunks are. You see bigger "Hello world" programs these days.

Too true, imagine how much further we could have gone if the attention to core code hadn't suffered in favour of the bloated eye candy we currently have to suffer.
It's all become too easy, with even embedded micro-code jammed full of bloat.



23 July 2009, 10:58 PM (7 months ago)report abuse Send to a friend reply

CBR1100XX (Advanced member):

Quoting Raindog:
Too true, imagine how much further we could have gone if the attention to core code hadn't suffered in favour of the bloated eye candy we currently have to suffer.

Yes! Let's all get back to the typewriter. It had no 'Bloat' and didn't even require any power!

And as for eye-candy, you just can't beat that green from the 70's :)




24 July 2009, 9:00 AM (7 months ago)report abuse Send to a friend reply

Raindog (Senior Forumologist):

Quoting CBR1100XX:
Yes! Let's all get back to the typewriter.

Clearly you are unable to differentiate the concepts of efficient code and redundant technologies? That lack of discernment goes a long way towards explaining how a UI rework can be palmed off as an OS upgrade.


24 July 2009, 11:12 AM (7 months ago)report abuse Send to a friend reply

The Big Baboo (User):

Aaaaaaaargh If I had wanted to go to the moon,I would have got meself there. Mind you I got pretty close there once or twice in the late 60's.
"Oooo This is the dawning of the age of the hairy a..,The age of the hairy a..,the hairy a.............s" You may/may not remember that one :)
By the way :( I won't be here for about a week or so ( cheer,cheer,ray)
coz I'm taking this PC in for some major surgery. "Harmony and understanding,all these liquid crystal visions,the hairy a.......s"


26 July 2009, 9:05 AM (7 months ago)report abuse Send to a friend reply

The Big Baboo (User):

Aaaaaaaaaargh the bloody thing re-booted again grrrrrrrrrr :'(

26 July 2009, 9:18 AM (7 months ago)report abuse Send to a friend reply

The Big Baboo (User):

Aaaaaaaaaargh the bloody thing re-booted again grrrrrrrrrr :'(

26 July 2009, 9:20 AM (7 months ago)report abuse Send to a friend reply
02 September 2009, 7:44 PM (6 months ago)report abuse Send to a friend reply

anonymous user Anonymous user


Tags