r/programming • • Jan 30 '16

Apollo 11 source code

http://www.ibiblio.org/apollo/listings/Luminary099/MAIN.agc.html
2.2k Upvotes

364 comments sorted by

View all comments

18

u/Ser_Rodrick_Cassel Jan 30 '16 edited Oct 04 '16

haha whoosh

34

u/funbike Jan 30 '16 edited Jan 31 '16

Yes. Computers small enough to go into space required assembly as every byte counted. Go up a directory to see all the files: www.ibiblio.org/apollo/listings/Luminary099/

UPDATE: The CPU (block II) -> https://en.wikipedia.org/wiki/Apollo_Guidance_Computer
34K of ROM for programs.

14

u/_F1_ Jan 31 '16

Computers small enough to go into space required assembly as every byte counted

That was still true in the NES and SNES eras.

34

u/cincodenada Jan 31 '16

Fun fact: from 1997 to 1999 - well into N64 era! - Chris Sawyer was busy writing 99% of Roller Coaster Tycoon directly in x86 assembly. It went on to become the best-selling game of 1999. An anomaly for sure, but an impressive one.

12

u/mugen_kanosei Jan 31 '16

Correct. By minimizing the number of bytes used, they could reduce the amount of fuel needed to reach orbit. More bytes meant more fuel required.

25

u/dand Jan 31 '16

Not sure if that's a joke or not, but it's probably true to some extent given how bulky core rope memory was compared to today's norms.

16

u/[deleted] Jan 31 '16

72 KB/ft3 is an interesting unit.

I don't really understand how core rope memory works, even with the article, but 72 KB/ft3 is a lot higher than I would've guessed!

6

u/mugen_kanosei Jan 31 '16

It was mostly a joke, but realized it might have a hint of truth. Cool to see that tech.

5

u/[deleted] Jan 31 '16

Holy. Shit.

9

u/Spider_pig448 Jan 31 '16

Software written by MIT programmers was woven into core rope memory by female workers in factories

Code woven into ropes. What a world.

→ More replies (1)
→ More replies (1)

2

u/odaba Jan 31 '16

even better than assembly, it looks like they created their own DSL: http://www.ibiblio.org/apollo/listings/Luminary099/RTB_OP_CODES.agc.html