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.

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

Page 153

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

Page 154

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

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