Hacker News new | past | comments | ask | show | jobs | submit login
Virtual Apollo Guidance Computer (github.com/virtualagc)
131 points by Duke_Pixie 3 months ago | hide | past | favorite | 20 comments
The purpose of this project is to provide an emulation of the on-board Apollo guidance computers, along with some ancillary items needed to make the emulation do something interesting. "AGC" stands for Apollo Guidance Computer. The AGC was the principal on-board computer for NASA's Apollo missions, including all of the lunar landings.



For a comprehensive exposition of the technical aspects of the AGC, look no further than the Ultimate Apollo Guidance Computer Talk: https://www.youtube.com/watch?v=xx7Lfh5SKUQ

They not only do a brilliant job of exposing this niche system, but it is a foundational lecture for my knowledge of computer architecture in general


https://apolloinrealtime.org/11/

AGC is one of the classic computers that would be great to see reproduced with the original controls and UI, but with modern ICs at a budget price. Similar to NES classic re-release.


Here's a kick-starter kit that does what you're asking for: https://www.stgeotronics.com/open-dsky I built one and loved it, I wrote my own Arduino C code to drive the device: https://github.com/kjs452/KennysOpenDSKY


what a great project and thanks for sharing. I wonder how peripherals are handled, especially thrusters


I'm sure it could be emulated with a FPGA or similar, if it was a few hundred bucks and came with a DSKY lookalike I'd buy it


Check the YouTube series from @CuriousMarc, with the modern DSKY made by Ben Krasnow (@AppliedScience). They restored an original AGC, but used a gate-level accurate FPGA for testing. I believe the source is available, not 100%, but for sure Ben’s DSKY plans are available. Uses modern power and comms, but implements the original fluorescent on glass display tech.


N/m, this has already been documented in these comments: https://news.ycombinator.com/item?id=41102844


I am willing to pay to have the physical interface built if anyone with the machinist/electrical engineering skills is interested. My vision is to have the screen and button interface built, with a Raspberry Pi powering it. Reply if interested.


Is this the same software Curious Marc is using to emulate a DSKY/AGC for their apollo comms project? Or are they using something custom spun up to support the hardware they are working on?


https://www.curiousmarc.com/space/apollo-guidance-computer#h...

"Mike Stewart has developed gate accurate FPGA replicas of the AGC and its test hardware. It represents a massive amount of work. If you are Mike, you can use it to fly the real missions, and simulate every signal in the AGC. Making this work is not for the faint or heart and requires intimate understanding of the AGC hardware and software. We offer no instructions and no support."


For the communications project specifically (and also a couple of other projects we have going on), I combined the FPGA AGC and the Monitor into a single design that runs on a Digilent Cmod A7-35T: https://github.com/thewonderidiot/cmod_agc

It's a lot cheaper and more accessible in this form, and much easier to integrate into projects that need AGC stand-ins.

Aside from the FPGA design though, yeah, all of the AGC software and the assembler is in the VirtualAGC repository.


Mike Stewart, that is the one with the most in depth knowledge about the AGC on the Curious Marc channel, is also one of the main contributors to this repo, so I guess so.


What I would give to have something like this in my car. Toggle switches and tactile push buttons. Solid, easily-readable heads-up display in the windscreen or above the dash, even if it was just 7/14-segment readouts, would be better than a touchscreen navigation computer.


Shouts for a Kerbal integration :)


Orbiter has had modules using this for more than a decade so I see no reason why it can't be done for Kerbal other than nobody on the Kerbal side wants to do the work.



Thanks! I took that as an excuse to make a longer list—this includes hardware stuff and other history, besides software:

Original Apollo 11 Guidance Computer source code - https://news.ycombinator.com/item?id=40877959 - July 2024 (3 comments)

The Apollo Guidance Computer (2021) - https://news.ycombinator.com/item?id=38244927 - Nov 2023 (47 comments)

Restoring the Apollo Guidance Computer [video] - https://news.ycombinator.com/item?id=36648529 - July 2023 (23 comments)

Original Apollo 11 guidance computer (AGC) source code on GitHub - https://news.ycombinator.com/item?id=29249509 - Nov 2021 (1 comment)

A Python Implementation of the Apollo Entry Guidance Algorithm - https://news.ycombinator.com/item?id=28332793 - Aug 2021 (1 comment)

Recovering the Lost Apollo 10 LM Software [video] - https://news.ycombinator.com/item?id=23444709 - June 2020 (11 comments)

Apollo 11 Guidance Computer source code for the command and lunar modules - https://news.ycombinator.com/item?id=22367416 - Feb 2020 (30 comments)

Apollo 11 Guidance Computer vs. USB-C Chargers - https://news.ycombinator.com/item?id=22254719 - Feb 2020 (205 comments)

A deep dive into the Apollo Guidance Computer, and the hack that saved Apollo 14 - https://news.ycombinator.com/item?id=22193388 - Jan 2020 (1 comment)

A computer built from NOR gates: inside the Apollo Guidance Computer - https://news.ycombinator.com/item?id=21107681 - Sept 2019 (25 comments)

Apollo Guidance Computer switching power supply works after 50 years - https://news.ycombinator.com/item?id=20789187 - Aug 2019 (78 comments)

Apollo Guidance Computer Demonstration, at VCF West 2019 [video] - https://news.ycombinator.com/item?id=20604108 - Aug 2019 (8 comments)

An interview with Margaret Hamilton - https://news.ycombinator.com/item?id=20453737 - July 2019 (12 comments)

Apollo 11 Had a Hidden Hero: Software - https://news.ycombinator.com/item?id=20440622 - July 2019 (58 comments)

Bitcoin mining on an Apollo Guidance Computer - https://news.ycombinator.com/item?id=20383561 - July 2019 (127 comments)

Software woven into wire: Core rope and the Apollo Guidance Computer - https://news.ycombinator.com/item?id=20355914 - July 2019 (18 comments)

Inside the Apollo Guidance Computer's Core Memory - https://news.ycombinator.com/item?id=19028346 - Jan 2019 (6 comments)

Virtual Apollo Guidance Computer - https://news.ycombinator.com/item?id=19014278 - Jan 2019 (5 comments)

Colossus 237: Apollo 8 Flight Software - https://news.ycombinator.com/item?id=18737380 - Dec 2018 (8 comments)

Apollo Guidance Computer Restoration [video] - https://news.ycombinator.com/item?id=18483875 - Nov 2018 (1 comment)

Restoring an Apollo Guidance Computer, Part IV - https://news.ycombinator.com/item?id=18429279 - Nov 2018 (9 comments)

Studying to Assist in the Restoration of an Apollo Guidance Computer - https://news.ycombinator.com/item?id=18210041 - Oct 2018 (6 comments)

Apollo 11 and Other Screw-Ups - https://news.ycombinator.com/item?id=18062529 - Sept 2018 (15 comments)

Tell HN: New book on Apollo Guidance Computer - https://news.ycombinator.com/item?id=17740486 - Aug 2018 (1 comment)

Apollo Guidance Computer Talk - https://news.ycombinator.com/item?id=16025002 - Dec 2017 (18 comments)

A computer engineer has tracked down the first Apollo guidance computer - https://news.ycombinator.com/item?id=12417447 - Sept 2016 (35 comments)

A Glimpse into the Apollo Guidance Computer - https://news.ycombinator.com/item?id=12071526 - July 2016 (26 comments)

Apollo 11 Guidance Computer source code - https://news.ycombinator.com/item?id=12048945 - July 2016 (145 comments)

Tales from the lunar module guidance computer (2004) - https://news.ycombinator.com/item?id=12040503 - July 2016 (12 comments)

The Charming Genius of the Apollo Guidance Computer [video] - https://news.ycombinator.com/item?id=10523270 - Nov 2015 (3 comments)

Profile of Margaret Hamilton, programmer of the Apollo software - https://news.ycombinator.com/item?id=10379904 - Oct 2015 (58 comments)

Apollo Guidance Computer History: Margaret Hamilton's introduction (2001) - https://news.ycombinator.com/item?id=8810454 - Dec 2014 (1 comment)

Moonjs: Apollo Guidance Computer Simulator - https://news.ycombinator.com/item?id=8753625 - Dec 2014 (14 comments)

Margaret Hamilton, lead software engineer, Project Apollo - https://news.ycombinator.com/item?id=8735912 - Dec 2014 (93 comments)

Source code for the Apollo 11 Guidance Computer - https://news.ycombinator.com/item?id=8063192 - July 2014 (67 comments)

Listing of the Apollo Guidance Computer(AGC) program that landed man on the moon [pdf] - https://news.ycombinator.com/item?id=8062491 - July 2014 (1 comment)

Software of the Apollo guidance computer was hand-woven into rope core memory - https://news.ycombinator.com/item?id=7656282 - April 2014 (32 comments)

Block I Apollo Guidance Computer (AGC): How to build one in your basement - https://news.ycombinator.com/item?id=6071825 - July 2013 (10 comments)

Tales from the Apollo 11 Lunar Module Guidance Computer - https://news.ycombinator.com/item?id=3336584 - Dec 2011 (1 comment)


Why is the VM for this 10Gb?


every atom is simulated


and each includes all the needed electrons


[deleted]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: