Posted: . At: 9:15 AM. This was 8 years ago. Post ID: 9409
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Original Apollo 11 Guidance Computer (AGC) source code posted on github.


The original ASM source code for the lunar command and landing modules has been posted on Github. This gives us an insight into how it all worked. I wonder if someone could compile this code and get it working or not. I guess it would require the same hardware as was used in the 1960`s. This code was digitized from images of the original hardcopy source code from NASA. Here is a sample of the code.

TIG-35		CAF	5SEC
		TC	TWIDDLE
		ADRES	TIG-30
 
		TC	PHASCHNG
		OCT	40154		# 4.15SPOT FOR TIG-30 RESTART
 
		CS	BLANKDEX	# BLANK DSKY FOR 5 SECONDS
		TS	DISPDEX
 
		INDEX	WHICH
		CS	6		# CHECK ULLAGE TIME.
		EXTEND
		BZMF	TASKOVER
		CAF	4.9SEC		# SET UP TASK TO RESTORE DISPLAY AT TIG-30
		TC	TWIDDLE
		ADRES	TIG-30.1
 
		CAF	PRIO17		# A NEGATIVE ULLAGE TIME INDICATES P41, IN
		TC	NOVAC		# WHICH CASE WE HAVE TO SET UP A JOB TO
		EBANK=	TTOGO		# BLANK THE DSKY FOR FIVE SECONDS, SINCE
		2CADR	P41BLANK	# CLOKJOB IS NOT RUNNING DURING P41.
 
		TCF	TASKOVER

This is very cool, after all of these years, to see some actual NASA source code released to the public. Actually, I am not sure that you could compile this and run it. Better to just read through it an learn how they did things in 1969. There are already 6 issues with the source code that need to be addressed. Better get on to that very soon. Check this out for yourself and see what you think: https://github.com/chrislgarry/Apollo-11. I personally think this is awesome. Code like this belongs in a museum. Along with many other artifacts from the Apollo moon landing. NASA themselves also have a Github account with many open-source applications available for download: https://github.com/nasa. Very open indeed. This is a good way to interact with the public. Give something to the open-source community and they will give you something back.

This PDF contains information about the instruction set used by the Apollo guidance computer. This would be helpful if the reader wanted to compile this code. But an Apollo guidance computer cannot be purchased. Better to build your own.

http://www.galaxiki.org/web/main/_blog/all/build-your-own-nasa-apollo-landing-computer-no-kidding.shtml.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.