Source Code
![]() |
These source-code files derive from a printout of Luminary 116 (the Apollo 12
Lunar Module guidance computer program), from the personal library of
original AGC developer Don Eyles, digitally photographed at archive.org,
financially sponsored by Ron Burkey, and transcribed to source code by a
team of volunteers. This colorized, syntax-highlighted form was created
by assembling that transcribed source code. Note that the full page images
are available on the
Virtual AGC project page at archive.org, while reduced-size images
are presented at the VirtualAGC project website. Report or fix any
transcription errors at
the Virtual AGC project code repository. Notations on the program listing read, in part: GAP: ASSEMBLE REVISION 116 OF AGC PROGRAM LUMINARY BY NASA 2021112-071 19:09 AUG. 11,1969Note that the date is the date of the printout, not the date of the program revision. |
006383,000002: ## Copyright: Public domain.
006384,000003: ## Filename: INTERRUPT_LEAD_INS.agc
006385,000004: ## Purpose: A section of Luminary revision 116.
006386,000005: ## It is part of the source code for the Lunar Module's (LM)
006387,000006: ## Apollo Guidance Computer (AGC) for Apollo 12.
006388,000007: ## This file is intended to be a faithful transcription, except
006389,000008: ## that the code format has been changed to conform to the
006390,000009: ## requirements of the yaYUL assembler rather than the
006391,000010: ## original YUL assembler.
006392,000011: ## Reference: pp. 154-155
006393,000012: ## Assembler: yaYUL
006394,000013: ## Contact: Ron Burkey <info@sandroid.org>.
006395,000014: ## Website: www.ibiblio.org/apollo/index.html
006396,000015: ## Mod history: 2017-01-22 MAS Created from Luminary 99.
006397,000016: ## 2017-02-25 HG Transcribed
006398,000017: ## 2017-03-01 RSB Proofed comment text by diff vs Luminary 131
006399,000018: ## but no errors found.
006400,000019:
![]() |
Page 154 |
006402,000021: 4000 SETLOC 4000
006403,000022:
006404,000023: 4000 COUNT* $$/RUPTS # FIX-FIX LEAD INS
006405,000024: 4000 00004 INHINT # GO
006406,000025: 4001 34054 CAF GOBB
006407,000026: 4002 56006 XCH BBANK
006408,000027: 4003 12665 TCF GOPROG
006409,000028:
006410,000029: 4004 52011 DXCH ARUPT # T6RUPT
006411,000030: 4005 00006 EXTEND
006412,000031: 4006 34056 DCA T6ADR
006413,000032: 4007 52006 DTCB
006414,000033:
006415,000034: 4010 52011 DXCH ARUPT # T5RUPT - AUTOPILOT
006416,000035: 4011 00006 EXTEND
006417,000036: 4012 31264 DCA T5ADR
006418,000037: 4013 52006 DTCB
006419,000038:
006420,000039: 4014 52011 DXCH ARUPT # T3RUPT
006421,000040: 4015 34057 CAF T3RPTBB
006422,000041: 4016 56006 XCH BBANK
006423,000042: 4017 13410 TCF T3RUPT
006424,000043:
006425,000044: 4020 52011 DXCH ARUPT # T4RUPT
006426,000045: 4021 34064 CAF T4RPTBB
006427,000046: 4022 56006 XCH BBANK
006428,000047: 4023 12000 TCF T4RUPT
006429,000048:
006430,000049: 4024 52011 DXCH ARUPT # KEYRUPT1
006431,000050: 4025 34060 CAF KEYRPTBB
006432,000051: 4026 56006 XCH BBANK
006433,000052: 4027 13256 TCF KEYRUPT1
006434,000053:
006435,000054: 4030 52011 DXCH ARUPT # KEYRUPT2
006436,000055: 4031 34061 CAF MKRUPTBB
006437,000056: 4032 56006 XCH BBANK
006438,000057: 4033 12332 TCF MARKRUPT
006439,000058:
006440,000059: 4034 52011 DXCH ARUPT # UPRUPT
006441,000060: 4035 34060 CAF UPRPTBB
006442,000061: 4036 56006 XCH BBANK
006443,000062: 4037 13301 TCF UPRUPT
006444,000063:
006445,000064: 4040 52011 DXCH ARUPT # DOWNRUPT
006446,000065: 4041 34062 CAF DWNRPTBB
006447,000066: 4042 56006 XCH BBANK
006448,000067: 4043 13472 TCF DODOWNTM
006449,000068:
006450,000069: 4044 52011 DXCH ARUPT # RADAR RUPT
006451,000070: 4045 34063 CAF RDRPTBB
006452,000071:
![]() |
Page 155 |
006454,000073: 4046 56006 XCH BBANK
006455,000074: 4047 13157 TCF RADAREAD
006456,000075:
006457,000076: 4050 52011 DXCH ARUPT # RUPT10 IS USED ONLY BY LANDING GUIDANCE
006458,000077: 4051 34065 CA RUPT10BB
006459,000078: 4052 56006 XCH BBANK
006460,000079: 4053 12302 TCF PITFALL
006461,000080:
006462,000081:
006463,000082: 4054 E3,1400 EBANK= LST1 # RESTART USES E0, E3
006464,000083: 4054 12103 GOBB BBCON GOPROG
006465,000084:
006466,000085: 4055 E6,1464 EBANK= PERROR
006467,000086: 4055 02117 36106 T6ADR 2CADR DOT6RUPT
006468,000087:
006469,000088: 4057 E3,1400 EBANK= LST1
006470,000089: 4057 02103 T3RPTBB BBCON T3RUPT
006471,000090:
006472,000091: 4060 0073 EBANK= KEYTEMP1
006473,000092: 4060 10100 KEYRPTBB BBCON KEYRUPT1
006474,000093:
006475,000094: 4061 E7,1404 EBANK= AOTAZ
006476,000095: 4061 16107 MKRUPTBB BBCON MARKRUPT
006477,000096:
006478,000097: 4062 4060 UPRPTBB = KEYRPTBB
006479,000098:
006480,000099: 4062 0340 EBANK= DNTMBUFF
006481,000100: 4062 12100 DWNRPTBB BBCON DODOWNTM
006482,000101:
006483,000102: 4063 E7,1453 EBANK= TTOGO
006484,000103: 4063 52107 RDRPTBB BBCON RADAREAD
006485,000104:
006486,000105: 4064 E6,1414 EBANK= M11
006487,000106: 4064 14106 T4RPTBB BBCON T4RUPT
006488,000107:
006489,000108: 4065 E7,1444 EBANK= ELVIRA
006490,000109: 4065 22107 RUPT10BB BBCON PITFALL
End of include-file INTERRUPT_LEAD_INS.agc. Parent file is MAIN.agc