The Apollo Guidance Computer was the onboard brain of the crewed lunar missions. It was designed at MIT’s Instrumentation Laboratory, later the Draper Laboratory, and built for NASA’s Apollo program. Margaret Hamilton led the onboard flight-software effort. The machine had two kinds of memory, and the difference mattered.
Working memory was about 4 kilobytes: 2,048 words of magnetic-core RAM that could be rewritten while the computer ran. That is less silicon than the chip in a later singing greeting card, and far less than a modern phone holds for a single photograph. The program lived in core rope memory, a web of copper wires threaded through magnetic cores, holding about 36,864 words, or roughly 72 kilobytes. Its contents were fixed during flight. How did the code get in there? Women at Raytheon, sometimes called the “Little Old Ladies” in lab slang, threaded copper wire through tiny magnetic cores, one bit at a time. A wire through a core meant one. A wire around it meant zero. The software was literally woven, then potted and locked. A late change in the code meant reweaving a rope.
The computer drew about 55 watts, less than a modern laptop charger. Its clock ran at about 2 megahertz. It had a simple numeric display and a keypad, the DSKY, through which astronauts entered verbs and nouns to ask for a maneuver or a reading. There was one in the command module and one in the lunar module.
Alarms 1201 and 1202, and a 15-second decision
On 20 July 1969, the lunar module Eagle was descending toward the Moon. Alarms 1201 and 1202 lit up. What did they mean? The computer was overloaded. Extra rendezvous-radar data was taking processing time. The executive software discarded low-priority tasks and kept the essential guidance and control functions running. That behavior had been designed and tested. It still had to be recognized in real time.
In Houston, 26-year-old guidance officer Steve Bales had only seconds to decide whether the landing should be aborted. Jack Garman, a colleague who had studied the alarm codes, advised that the computer was doing what it should. Bales called “Go.” Neil Armstrong and Buzz Aldrin kept descending, and Armstrong took manual control for the last stretch to a safer patch of dust. The computer was not broken. It did exactly what it was built to do: protect the landing when the workload spiked.
A small machine, and people on another world
The same family of computers flew on later Apollo landings and, with changes, on other craft. Its real achievement was not raw speed. It was reliable software and a design that failed soft, dropping the work that could wait. Compared with any phone in a pocket today, the Apollo Guidance Computer looks almost empty. It had enough, and it was flown to another world with no second machine in a nearby shop.
So little working memory. And people on another world.
Astronauts talked to the computer through a display and keyboard, the DSKY, by keying in numeric “verbs” and “nouns.” It was not a screen as we now think of one. It was a set of numbers and a few warning lights, and it was enough. Versions of the same computer flew in the command module and the lunar module on the later landings as well as on Apollo 11. The software’s priority scheduling, which dropped the work that could wait, is still cited in discussions of reliable systems. The source code has since been published and read by people who were not born when Eagle landed. They find a small machine and a large amount of care. That is the right lesson. The computer did not get the crew to the Moon by being powerful. It got them there by being predictable when the alarms went off.
Sources: Apollo Guidance Computer – Wikipedia, Apollo Lunar Surface Journal – NASA, Margaret Hamilton – Draper




