Source Code
|
These source-code files are part of a reconstructed copy of Luminary 97, the
original release of the Apollo 11 Lunar Module (LM) Apollo Guidance Computer
(AGC) software.
The reconstruction began with source code of Luminary 99 revision 1 previously transcribed from a digitized copy of that program. The code was then updated by undoing changes described in original Luminary memos 83 and 85, using asterisks indicating changed lines in the listing as a guide. The reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152D. Note that page numbers in the reconstructed code match those on the Luminary 099 revision 001 printout, although the added code would likely have changed page numbers for a real Luminary 97 listing. Comments from the original source code are prefixed with a single '#' symbol, whereas comments added later are prefixed by "##" or "###". Report any errors noted by creating an issue report at the Virtual AGC project's GitHub repository. |
006073,000002: ## Copyright: Public domain.
006074,000003: ## Filename: INTERRUPT_LEAD_INS.agc
006075,000004: ## Purpose: A section of Luminary revision 97.
006076,000005: ## It is part of the reconstructed source code for the
006077,000006: ## original release of the flight software for the Lunar
006078,000007: ## Module's (LM) Apollo Guidance Computer (AGC) for Apollo 11.
006079,000008: ## The code has been recreated from a copy of Luminary 99
006080,000009: ## revision 001, using asterisks indicating changed lines in
006081,000010: ## the listing and Luminary Memos #83 and #85, which list
006082,000011: ## changes between Luminary 97 and 98, and 98 and 99. The
006083,000012: ## code has been adapted such that the resulting bugger words
006084,000013: ## exactly match those specified for Luminary 97 in NASA drawing
006085,000014: ## 2021152D, which gives relatively high confidence that the
006086,000015: ## reconstruction is correct.
006087,000016: ## Reference: pp. 153-154
006088,000017: ## Assembler: yaYUL
006089,000018: ## Contact: Ron Burkey <info@sandroid.org>.
006090,000019: ## Website: www.ibiblio.org/apollo/index.html
006091,000020: ## Mod history: 2019-07-28 MAS Created from Luminary 99.
006092,000021:
|
Page 153 |
006094,000023: 4000 SETLOC 4000
006095,000024:
006096,000025: 4000 COUNT* $$/RUPTS # FIX-FIX LEAD INS
006097,000026: 4000 00004 INHINT # GO
006098,000027: 4001 34054 CAF GOBB
006099,000028: 4002 56006 XCH BBANK
006100,000029: 4003 12667 TCF GOPROG
006101,000030:
006102,000031: 4004 52011 DXCH ARUPT # T6RUPT
006103,000032: 4005 00006 EXTEND
006104,000033: 4006 34056 DCA T6ADR
006105,000034: 4007 52006 DTCB
006106,000035:
006107,000036: 4010 52011 DXCH ARUPT # T5RUPT - AUTOPILOT
006108,000037: 4011 00006 EXTEND
006109,000038: 4012 31275 DCA T5ADR
006110,000039: 4013 52006 DTCB
006111,000040:
006112,000041: 4014 52011 DXCH ARUPT # T3RUPT
006113,000042: 4015 34057 CAF T3RPTBB
006114,000043: 4016 56006 XCH BBANK
006115,000044: 4017 13407 TCF T3RUPT
006116,000045:
006117,000046: 4020 52011 DXCH ARUPT # T4RUPT
006118,000047: 4021 34064 CAF T4RPTBB
006119,000048: 4022 56006 XCH BBANK
006120,000049: 4023 12000 TCF T4RUPT
006121,000050:
006122,000051: 4024 52011 DXCH ARUPT # KEYRUPT1
006123,000052: 4025 34060 CAF KEYRPTBB
006124,000053: 4026 56006 XCH BBANK
006125,000054: 4027 13274 TCF KEYRUPT1
006126,000055:
006127,000056: 4030 52011 DXCH ARUPT # KEYRUPT2
006128,000057: 4031 34061 CAF MKRUPTBB
006129,000058: 4032 56006 XCH BBANK
006130,000059: 4033 12332 TCF MARKRUPT
006131,000060:
006132,000061: 4034 52011 DXCH ARUPT # UPRUPT
006133,000062: 4035 34060 CAF UPRPTBB
006134,000063: 4036 56006 XCH BBANK
006135,000064: 4037 13317 TCF UPRUPT
006136,000065:
006137,000066: 4040 52011 DXCH ARUPT # DOWNRUPT
006138,000067: 4041 34062 CAF DWNRPTBB
006139,000068: 4042 56006 XCH BBANK
006140,000069: 4043 13506 TCF DODOWNTM
006141,000070:
006142,000071: 4044 52011 DXCH ARUPT # RADAR RUPT
006143,000072: 4045 34063 CAF RDRPTBB
|
Page 154 |
006145,000074: 4046 56006 XCH BBANK
006146,000075: 4047 13150 TCF RADAREAD
006147,000076:
006148,000077: 4050 52011 DXCH ARUPT # RUPT10 IS USED ONLY BY LANDING GUIDANCE
006149,000078: 4051 34065 CA RUPT10BB
006150,000079: 4052 56006 XCH BBANK
006151,000080: 4053 12275 TCF PITFALL
006152,000081:
006153,000082:
006154,000083: 4054 E3,1400 EBANK= LST1 # RESTART USES E0, E3
006155,000084: 4054 12103 GOBB BBCON GOPROG
006156,000085:
006157,000086: 4055 E6,1464 EBANK= PERROR
006158,000087: 4055 02065 36106 T6ADR 2CADR DOT6RUPT
006159,000088:
006160,000089: 4057 E3,1400 EBANK= LST1
006161,000090: 4057 02103 T3RPTBB BBCON T3RUPT
006162,000091:
006163,000092: 4060 0073 EBANK= KEYTEMP1
006164,000093: 4060 10100 KEYRPTBB BBCON KEYRUPT1
006165,000094:
006166,000095: 4061 E7,1404 EBANK= AOTAZ
006167,000096: 4061 16107 MKRUPTBB BBCON MARKRUPT
006168,000097:
006169,000098: 4062 4060 UPRPTBB = KEYRPTBB
006170,000099:
006171,000100: 4062 0340 EBANK= DNTMBUFF
006172,000101: 4062 12100 DWNRPTBB BBCON DODOWNTM
006173,000102:
006174,000103: 4063 0110 EBANK= RADMODES
006175,000104: 4063 52100 RDRPTBB BBCON RADAREAD
006176,000105:
006177,000106: 4064 E6,1414 EBANK= M11
006178,000107: 4064 14106 T4RPTBB BBCON T4RUPT
006179,000108:
006180,000109: 4065 E7,1647 EBANK= ELVIRA
006181,000110: 4065 22107 RUPT10BB BBCON PITFALL
006182,000111:
End of include-file INTERRUPT_LEAD_INS.agc. Parent file is MAIN.agc