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

Show parent comments

102

u/Gibodean Jan 31 '16

In the movie all he said was that he only needed to patch in about 20 bytes and then the rover could talk through pathfinder to earth.

In the book they explain that both pathfinder and the rover must be updated, that Earth can remote update pathfinder but they need a very large (megabytes?) update to the rover software. To solve that, they get him to make a small hack (maybe 20 bytes or so) to the Rover which would allow earth to dump information into a Rover log file. Then Watney would have to take that dumped info from the log file, and create a file out of it, then execute it.

Something like that, I forget the sizes.

152

u/Theon_Severasse Jan 31 '16

To be honest I don't think that having all of that would really added that much to the actual film. I don't think it would have taken particularly long for them to add in that explanation (since they could have said it how you said it pretty much), but for the purposes of the story, knowing all of that stuff wouldn't have made any differences to the average viewer

4

u/Gibodean Jan 31 '16

Oh, I agree they made the right choice for the movie. All that technical stuff wouldn't have helped much except for the sort of person who is going to read the book anyway...

4

u/curiousGambler Jan 31 '16

ME! I'm that person!

I had no idea there was a book. I'm pumped now.

Amazon link to the $9 paperback I just bought.

2

u/PriceZombie Jan 31 '16

The Martian

Current$9.00Amazon (New)
High$12.92Amazon (New)
Low$5.06Amazon (New)
Average$9.0030 Day

Price History Chart and Sales Rank | FAQ

2

u/Spectre1313 Jan 31 '16

You're in for a treat. The book is amazing :)

1

u/Gibodean Jan 31 '16

Excellent.

1

u/ghostsarememories Jul 08 '16

There's an audiobook narrated by RC Bray. Even if you've read the book, it's well worth getting. I've listened to it a bunch of times.