Live data from Hacker News

Apollo program source code

ibiblio.org

31–40 of 60 posts

Re: Apollo program source code

#32
post #13

With the power of open source, "many eyes make all bugs shallow". Wouldn't be a hoot if someone ran this through a simulator, and discovered a bug that had eluded NASA?

I would not take an even bet that there is any meaningful bugs in that code that NASA was not already aware of.

Here's a nice detailed study of the 1201/1202 alarm that caused the AGC to reboot while Apollo 11 was landing:

http://www.hq.nasa.gov/alsj/a11/a11.1201-pa.html

Re: Apollo program source code

#33
post #3

Fun fact: the actual programs in the spacecraft were stored in core rope memory, an ancient memory technology made by (literally) weaving a fabric/rope, where the bits were physical rings of ferrite material. http://en.wikipedia.org/wiki/Core_rope_memory

"Some programmers nicknamed the finished product LOL memory, for Little Old Lady memory." LOL.

In 1967, binutils was a person.

Re: Apollo program source code

#35
C'mon, Notch, even Apollo supported interrupts:

http://www.ibiblio.org/apollo/hrst/archive/1678.pdf

"It is first appropriate to briefly describe the Apollo Guidance Computer (AGC). This processor is a general purpose, sequential, digital machine. Its word length is 16 bits including parity. The random access memory consists of 2048 words of destructive, read-write memory, called erasable, and 36,864 words of non- destructive read-only memory called fixed memory. The memor’y cycle time (MCT) is slightly less than 12 microseconds, with two MCI’s required to execute an add and four MCTs to execute a multiply. As is typical of real-time control computers, this machine has a set of special input-output channels with which it controls the spacecraft and observes the state of its environment. The interrupt structure consists of ten program interrupts with associated priorities, which are used for program control transfers. In addition, twenty-six counter interrupts with associated priorities allow for input-output servicing. The instruction set consists of forty-two regular instructions and nine involuntary instructions. Figure 1 indicates the number and diversity of systems with which the AGC interacts"

EDIT: Apparently, as of six or so hours ago, Notch has implemented cutting-edge 1970s technology ( http://dcpu.com/highnerd/dcpu16_1_3.txt ). :)

Re: Apollo program source code

#36
post #3

Fun fact: the actual programs in the spacecraft were stored in core rope memory, an ancient memory technology made by (literally) weaving a fabric/rope, where the bits were physical rings of ferrite material. http://en.wikipedia.org/wiki/Core_rope_memory

"Core" memory is resistant to cosmic rays. The state of a core bit will not change when bombarded by radiation in Outer Space. Can't say the same of solid state memory. I worked on core memory computers in the 60's. You had 16K, tape drives (no disks) and FORTRAN. What a gas!

Just curious how they knew this given how young the computing industry was at the time that this was used.

Were there some "Well, that's interesting..." moments where we launched something and realized it was affected by cosmic rays?

Re: Apollo program source code

#39

C'mon, Notch, even Apollo supported interrupts: http://www.ibiblio.org/apollo/hrst/archive/1678.pdf "It is first appropriate to briefly describe the Apollo Guidance Computer (AGC). This processor is a general purpose, sequential, digital machine. Its word length is 16 bits including parity. The random access memory consists of 2048 words of destructive, read-write memory, called erasable, and 36,864 words of non- des…

Well, the DCPU-16 does too: http://www.reddit.com/r/dcpu16/comments/sripk/rfe_dcpu16_v13...

Re: Apollo program source code

#40

hmmm. so the "bugger words" at the end of, for example, http://www.ibiblio.org/apollo/listings/Colossus249/MAIN.agc.... are checksums - see http://books.google.cl/books?id=3fKzL0HfJp4C&pg=PA232&#3... anyone know the etymology? is it just a shortened form of "debugger"? is "bugger" not common slang in american english? or is this a joke?

Bugger is not common slang in American English. You can find people who will argue about that, but they don't get out much.

Bugger is not common, but also not uncommon American slang. It has rather lost it's original meaning. I have heard little old American ladies use it, probably having heard it in a movie, with the intention of a meaning derived from to bug (bother). I don't think any slang dictionary has ever caught up with this usage.
Post reply on HN