Source Code

These source-code files are part of a reconstructed copy of Luminary 98, a development version 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 memo 85, using asterisks indicating changed lines in the listing as a guide. While no listing of this version is known to exist, nor are the memory-bank checksums available, the reconstruction is believed to be correct because it was an an intermediate step in reconstructing Luminary 97 whose reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152G. 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 98 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.

006050,000002:                                                                                                  ## Copyright:   Public domain.
006051,000003:                                                                                                  ## Filename:    INTERRUPT_LEAD_INS.agc
006052,000004:                                                                                                  ## Purpose:     A section of Luminary revision 98.
006053,000005:                                                                                                  ##              It is part of the reconstructed source code for the a
006054,000006:                                                                                                  ##              development version of the flight software for the Lunar 
006055,000007:                                                                                                  ##              Module's (LM) Apollo Guidance Computer (AGC) for Apollo 11.
006056,000008:                                                                                                  ##              The code has been recreated from a copy of Luminary 99
006057,000009:                                                                                                  ##              revision 001, using asterisks indicating changed lines in
006058,000010:                                                                                                  ##              the listing and Luminary Memo #85, which lists changes between
006059,000011:                                                                                                  ##              Luminary 98 and 99.
006060,000012:                                                                                                  ## Reference:   pp. 153-154
006061,000013:                                                                                                  ## Assembler:   yaYUL
006062,000014:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
006063,000015:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
006064,000016:                                                                                                  ## Mod history: 2019-07-28 MAS  Created from Luminary 99.
006065,000017: 

Page 153

006067,000019:    4000                                           SETLOC   4000                                  
006068,000020: 
006069,000021:    4000                                           COUNT*   $$/RUPTS                              #  FIX-FIX LEAD INS
006070,000022:    4000           00004                           INHINT                                         #  GO
006071,000023:    4001           34054                           CAF      GOBB                                  
006072,000024:    4002           56006                           XCH      BBANK                                 
006073,000025:    4003           12667                           TCF      GOPROG                                
006074,000026: 
006075,000027:    4004           52011                           DXCH     ARUPT                                 #  T6RUPT
006076,000028:    4005           00006                           EXTEND                                         
006077,000029:    4006           34056                           DCA      T6ADR                                 
006078,000030:    4007           52006                           DTCB                                           
006079,000031: 
006080,000032:    4010           52011                           DXCH     ARUPT                                 #  T5RUPT - AUTOPILOT
006081,000033:    4011           00006                           EXTEND                                         
006082,000034:    4012           31275                           DCA      T5ADR                                 
006083,000035:    4013           52006                           DTCB                                           
006084,000036: 
006085,000037:    4014           52011                           DXCH     ARUPT                                 #  T3RUPT
006086,000038:    4015           34057                           CAF      T3RPTBB                               
006087,000039:    4016           56006                           XCH      BBANK                                 
006088,000040:    4017           13407                           TCF      T3RUPT                                
006089,000041: 
006090,000042:    4020           52011                           DXCH     ARUPT                                 #  T4RUPT
006091,000043:    4021           34064                           CAF      T4RPTBB                               
006092,000044:    4022           56006                           XCH      BBANK                                 
006093,000045:    4023           12000                           TCF      T4RUPT                                
006094,000046: 
006095,000047:    4024           52011                           DXCH     ARUPT                                 #  KEYRUPT1
006096,000048:    4025           34060                           CAF      KEYRPTBB                              
006097,000049:    4026           56006                           XCH      BBANK                                 
006098,000050:    4027           13274                           TCF      KEYRUPT1                              
006099,000051: 
006100,000052:    4030           52011                           DXCH     ARUPT                                 #  KEYRUPT2
006101,000053:    4031           34061                           CAF      MKRUPTBB                              
006102,000054:    4032           56006                           XCH      BBANK                                 
006103,000055:    4033           12332                           TCF      MARKRUPT                              
006104,000056: 
006105,000057:    4034           52011                           DXCH     ARUPT                                 #  UPRUPT
006106,000058:    4035           34060                           CAF      UPRPTBB                               
006107,000059:    4036           56006                           XCH      BBANK                                 
006108,000060:    4037           13317                           TCF      UPRUPT                                
006109,000061: 
006110,000062:    4040           52011                           DXCH     ARUPT                                 #  DOWNRUPT
006111,000063:    4041           34062                           CAF      DWNRPTBB                              
006112,000064:    4042           56006                           XCH      BBANK                                 
006113,000065:    4043           13506                           TCF      DODOWNTM                              
006114,000066: 
006115,000067:    4044           52011                           DXCH     ARUPT                                 #  RADAR RUPT
006116,000068:    4045           34063                           CAF      RDRPTBB                               

Page 154

006118,000070:    4046           56006                           XCH      BBANK                                 
006119,000071:    4047           13150                           TCF      RADAREAD                              
006120,000072: 
006121,000073:    4050           52011                           DXCH     ARUPT                                 #  RUPT10 IS USED ONLY BY LANDING GUIDANCE
006122,000074:    4051           34065                           CA       RUPT10BB                              
006123,000075:    4052           56006                           XCH      BBANK                                 
006124,000076:    4053           12275                           TCF      PITFALL                               
006125,000077: 
006126,000078: 
006127,000079:    4054  E3,1400                                  EBANK=   LST1                                  #  RESTART USES E0, E3
006128,000080:    4054           12103        GOBB               BBCON    GOPROG                                
006129,000081: 
006130,000082:    4055  E6,1464                                  EBANK=   PERROR                                
006131,000083:    4055           02065 36106  T6ADR              2CADR    DOT6RUPT                              
006132,000084: 
006133,000085:    4057  E3,1400                                  EBANK=   LST1                                  
006134,000086:    4057           02103        T3RPTBB            BBCON    T3RUPT                                
006135,000087: 
006136,000088:    4060     0073                                  EBANK=   KEYTEMP1                              
006137,000089:    4060           10100        KEYRPTBB           BBCON    KEYRUPT1                              
006138,000090: 
006139,000091:    4061  E7,1404                                  EBANK=   AOTAZ                                 
006140,000092:    4061           16107        MKRUPTBB           BBCON    MARKRUPT                              
006141,000093: 
006142,000094:    4062     4060               UPRPTBB            =        KEYRPTBB                              
006143,000095: 
006144,000096:    4062     0340                                  EBANK=   DNTMBUFF                              
006145,000097:    4062           12100        DWNRPTBB           BBCON    DODOWNTM                              
006146,000098: 
006147,000099:    4063     0110                                  EBANK=   RADMODES                              
006148,000100:    4063           52100        RDRPTBB            BBCON    RADAREAD                              
006149,000101: 
006150,000102:    4064  E6,1414                                  EBANK=   M11                                   
006151,000103:    4064           14106        T4RPTBB            BBCON    T4RUPT                                
006152,000104: 
006153,000105:    4065  E7,1647                                  EBANK=   ELVIRA                                
006154,000106:    4065           22107        RUPT10BB           BBCON    PITFALL                               
006155,000107: 

End of include-file INTERRUPT_LEAD_INS.agc.  Parent file is MAIN.agc