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.

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

Page 159

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

Page 160

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

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