Source Code

These source-code files are part of a reconstructed copy of Luminary 163, the first (unflown) release of the Apollo 14 Lunar Module (LM) Apollo Guidance Computer (AGC) software.

The reconstruction began with reconstructed source code for Luminary 173. Changes between revision 163 and 173 were backed out, as described by Luminary memos 157 and 158. The reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152N. Note that page numbers in the reconstructed code match those for the baseline log section mentioned in each file's changelog; the page numbers for a real Luminary 163 listing would be different.

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.

006785,000002:                                                                                                  ## Copyright:   Public domain.
006786,000003:                                                                                                  ## Filename:    INTERRUPT_LEAD_INS.agc
006787,000004:                                                                                                  ## Purpose:     A section of Luminary revision 163.
006788,000005:                                                                                                  ##              It is part of the reconstructed source code for the first
006789,000006:                                                                                                  ##              (unflown) release of the flight software for the Lunar
006790,000007:                                                                                                  ##              Module's (LM) Apollo Guidance Computer (AGC) for Apollo 14.
006791,000008:                                                                                                  ##              The code has been recreated from a reconstructed copy of
006792,000009:                                                                                                  ##              Luminary 173, as well as Luminary memos 157 amd 158.
006793,000010:                                                                                                  ##              It has been adapted such that the resulting bugger words
006794,000011:                                                                                                  ##              exactly match those specified for Luminary 163 in NASA
006795,000012:                                                                                                  ##              drawing 2021152N, which gives relatively high confidence
006796,000013:                                                                                                  ##              that the reconstruction is correct.
006797,000014:                                                                                                  ## Reference:   pp. 159-160
006798,000015:                                                                                                  ## Assembler:   yaYUL
006799,000016:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
006800,000017:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
006801,000018:                                                                                                  ## Mod history: 2019-08-21 MAS  Created from Luminary 173.
006802,000019: 

Page 159

006804,000021:    4000                                           SETLOC   4000                                  
006805,000022: 
006806,000023:    4000                                           COUNT*   $$/RUPTS                              #  FIX-FIX LEAD INS
006807,000024:    4000           00004                           INHINT                                         #  GO
006808,000025:    4001           34054                           CAF      GOBB                                  
006809,000026:    4002           56006                           XCH      BBANK                                 
006810,000027:    4003           12701                           TCF      GOPROG                                
006811,000028: 
006812,000029:    4004           52011                           DXCH     ARUPT                                 #  T6RUPT
006813,000030:    4005           00006                           EXTEND                                         
006814,000031:    4006           34056                           DCA      T6ADR                                 
006815,000032:    4007           52006                           DTCB                                           
006816,000033: 
006817,000034:    4010           52011                           DXCH     ARUPT                                 #  T5RUPT - AUTOPILOT
006818,000035:    4011           00006                           EXTEND                                         
006819,000036:    4012           31264                           DCA      T5ADR                                 
006820,000037:    4013           52006                           DTCB                                           
006821,000038: 
006822,000039:    4014           52011                           DXCH     ARUPT                                 #  T3RUPT
006823,000040:    4015           34057                           CAF      T3RPTBB                               
006824,000041:    4016           56006                           XCH      BBANK                                 
006825,000042:    4017           13412                           TCF      T3RUPT                                
006826,000043: 
006827,000044:    4020           52011                           DXCH     ARUPT                                 #  T4RUPT
006828,000045:    4021           34064                           CAF      T4RPTBB                               
006829,000046:    4022           56006                           XCH      BBANK                                 
006830,000047:    4023           12000                           TCF      T4RUPT                                
006831,000048: 
006832,000049:    4024           52011                           DXCH     ARUPT                                 #  KEYRUPT1
006833,000050:    4025           34060                           CAF      KEYRPTBB                              
006834,000051:    4026           56006                           XCH      BBANK                                 
006835,000052:    4027           13261                           TCF      KEYRUPT1                              
006836,000053: 
006837,000054:    4030           52011                           DXCH     ARUPT                                 #  KEYRUPT2
006838,000055:    4031           34061                           CAF      MKRUPTBB                              
006839,000056:    4032           56006                           XCH      BBANK                                 
006840,000057:    4033           12332                           TCF      MARKRUPT                              
006841,000058: 
006842,000059:    4034           52011                           DXCH     ARUPT                                 #  UPRUPT
006843,000060:    4035           34060                           CAF      UPRPTBB                               
006844,000061:    4036           56006                           XCH      BBANK                                 
006845,000062:    4037           13304                           TCF      UPRUPT                                
006846,000063: 
006847,000064:    4040           52011                           DXCH     ARUPT                                 #  DOWNRUPT
006848,000065:    4041           34062                           CAF      DWNRPTBB                              
006849,000066:    4042           56006                           XCH      BBANK                                 
006850,000067:    4043           13510                           TCF      DODOWNTM                              
006851,000068: 
006852,000069:    4044           52011                           DXCH     ARUPT                                 #  RADAR RUPT
006853,000070:    4045           34063                           CAF      RDRPTBB                               

Page 160

006855,000072:    4046           56006                           XCH      BBANK                                 
006856,000073:    4047           13174                           TCF      RADAREAD                              
006857,000074: 
006858,000075:    4050           52011                           DXCH     ARUPT                                 #  RUPT10 IS USED ONLY BY LANDING GUIDANCE
006859,000076:    4051           34065                           CA       RUPT10BB                              
006860,000077:    4052           56006                           XCH      BBANK                                 
006861,000078:    4053           12302                           TCF      PITFALL                               
006862,000079: 
006863,000080: 
006864,000081:    4054  E3,1400                                  EBANK=   LST1                                  #  RESTART USES E0, E3
006865,000082:    4054           12103        GOBB               BBCON    GOPROG                                
006866,000083: 
006867,000084:    4055  E6,1464                                  EBANK=   PERROR                                
006868,000085:    4055           02117 36106  T6ADR              2CADR    DOT6RUPT                              
006869,000086: 
006870,000087: 
006871,000088:    4057  E3,1400                                  EBANK=   LST1                                  
006872,000089:    4057           02103        T3RPTBB            BBCON    T3RUPT                                
006873,000090: 
006874,000091:    4060     0073                                  EBANK=   KEYTEMP1                              
006875,000092:    4060           10100        KEYRPTBB           BBCON    KEYRUPT1                              
006876,000093: 
006877,000094:    4061  E7,1404                                  EBANK=   AOTAZ                                 
006878,000095:    4061           16107        MKRUPTBB           BBCON    MARKRUPT                              
006879,000096: 
006880,000097:    4062     4060               UPRPTBB            =        KEYRPTBB                              
006881,000098: 
006882,000099:    4062     0340                                  EBANK=   DNTMBUFF                              
006883,000100:    4062           12100        DWNRPTBB           BBCON    DODOWNTM                              
006884,000101: 
006885,000102:    4063  E7,1453                                  EBANK=   TTOGO                                 
006886,000103:    4063           52107        RDRPTBB            BBCON    RADAREAD                              
006887,000104: 
006888,000105:    4064  E6,1414                                  EBANK=   M11                                   
006889,000106:    4064           14106        T4RPTBB            BBCON    T4RUPT                                
006890,000107: 
006891,000108:    4065  E7,1647                                  EBANK=   ELVIRA                                
006892,000109:    4065           22107        RUPT10BB           BBCON    PITFALL                               

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