3 ms·
the answer is to encode your program using a higher-level machine code targeting a portable virtual machine. that’s also how they managed to fit all the softwa
by nielsbot 3y ago
the answer is to encode your program using a higher-level machine code targeting a portable virtual machine.
that’s also how they managed to fit all the software of the Apollo guidance computer into it.
> “The AGC had a sophisticated software interpreter, developed by the MIT Instrumentation Laboratory, that implemented a virtual machine with more complex and capable pseudo-instructions than the native AGC.” (https://en.wikipedia.org/wiki/Apollo_Guidance_Computer#software https://en.wikipedia.org/wiki/Apollo_Guidance_Computer#softw...)
- DylanSp 3y agoYou probably know this, but to be clear for anyone else reading - the AGC's code was written in a mix of interpreted code and native code. Writing in native AGC assembly was necessary for the most performance-sensitive parts of the flight, such as during the LM's landing.
- KMag 3y agoSee also WOZ's SWEET16 for the Apple ][ https://en.wikipedia.org/wiki/SWEET16 https://en.wikipedia.org/wiki/SWEET16