Source Code

This is a reconstructed version of Luminary 130, the initial AGC program released in November 1969 for the Apollo 13 LM. Three more releases followed before the flown revision was finally manufactured in February 1970.

This reconstruction was created from a previous transcription of the original listing of Luminary 131, combined with Luminary memo #129 which describes the small difference between the Luminary 130 and 131. The reconstructed source code was verified by matching memory-bank checksums to those listed for Luminary 130 in drawing 2021152G.

In this source code, program comments from the original (Luminary 131) code are prefixed with '#', while those added later by the Virtual AGC project are prefixed with '##'.

006258,000002:                                                                                                  ## Copyright:   Public domain.
006259,000003:                                                                                                  ## Filename:    INTERRUPT_LEAD_INS.agc
006260,000004:                                                                                                  ## Purpose:     A section of the reconstructed source code for Luminary 130.
006261,000005:                                                                                                  ##              This was the original program released for the Apollo 13 LM,
006262,000006:                                                                                                  ##              although several more revisions would follow. It has been
006263,000007:                                                                                                  ##              reconstructed from a listing of Luminary 131, from which it
006264,000008:                                                                                                  ##              differs on only two lines in P70-P71. The difference is
006265,000009:                                                                                                  ##              described in detail in Luminary memo #129, which was used
006266,000010:                                                                                                  ##              to perform the reconstruction. This file is intended to be a
006267,000011:                                                                                                  ##              faithful reconstruction, except that the code format has been
006268,000012:                                                                                                  ##              changed to conform to the requirements of the yaYUL assembler
006269,000013:                                                                                                  ##              rather than the original YUL assembler.
006270,000014:                                                                                                  ## Reference:   pp. 155-156
006271,000015:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
006272,000016:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
006273,000017:                                                                                                  ## Mod history: 04/11/03 RSB.   Began transcribing.
006274,000018:                                                                                                  ##              05/14/05 RSB    Corrected website reference above.
006275,000019:                                                                                                  ##              2017-01-06 RSB  Page numbers now agree with those on the
006276,000020:                                                                                                  ##                              original harcopy, as opposed to the PDF page
006277,000021:                                                                                                  ##                              numbers in 1701.pdf.
006278,000022:                                                                                                  ##              2017-02-12 RSB  Proofed comment text using octopus/ProoferComments.
006279,000023:                                                                                                  ##              2018-09-04 MAS  Copied from Luminary 131 for Luminary 130.
006280,000024: 

Page 155

006282,000026:    4000                                           SETLOC   4000                                  
006283,000027: 
006284,000028:    4000                                           COUNT*   $$/RUPTS                              #  FIX-FIX LEAD INS
006285,000029:    4000           00004                           INHINT                                         #  GO
006286,000030:    4001           34054                           CAF      GOBB                                  
006287,000031:    4002           56006                           XCH      BBANK                                 
006288,000032:    4003           12665                           TCF      GOPROG                                
006289,000033: 
006290,000034:    4004           52011                           DXCH     ARUPT                                 #  T6RUPT
006291,000035:    4005           00006                           EXTEND                                         
006292,000036:    4006           34056                           DCA      T6ADR                                 
006293,000037:    4007           52006                           DTCB                                           
006294,000038: 
006295,000039:    4010           52011                           DXCH     ARUPT                                 #  T5RUPT - AUTOPILOT
006296,000040:    4011           00006                           EXTEND                                         
006297,000041:    4012           31264                           DCA      T5ADR                                 
006298,000042:    4013           52006                           DTCB                                           
006299,000043: 
006300,000044:    4014           52011                           DXCH     ARUPT                                 #  T3RUPT
006301,000045:    4015           34057                           CAF      T3RPTBB                               
006302,000046:    4016           56006                           XCH      BBANK                                 
006303,000047:    4017           13410                           TCF      T3RUPT                                
006304,000048: 
006305,000049:    4020           52011                           DXCH     ARUPT                                 #  T4RUPT
006306,000050:    4021           34064                           CAF      T4RPTBB                               
006307,000051:    4022           56006                           XCH      BBANK                                 
006308,000052:    4023           12000                           TCF      T4RUPT                                
006309,000053: 
006310,000054:    4024           52011                           DXCH     ARUPT                                 #  KEYRUPT1
006311,000055:    4025           34060                           CAF      KEYRPTBB                              
006312,000056:    4026           56006                           XCH      BBANK                                 
006313,000057:    4027           13253                           TCF      KEYRUPT1                              
006314,000058: 
006315,000059:    4030           52011                           DXCH     ARUPT                                 #  KEYRUPT2
006316,000060:    4031           34061                           CAF      MKRUPTBB                              
006317,000061:    4032           56006                           XCH      BBANK                                 
006318,000062:    4033           12332                           TCF      MARKRUPT                              
006319,000063: 
006320,000064:    4034           52011                           DXCH     ARUPT                                 #  UPRUPT
006321,000065:    4035           34060                           CAF      UPRPTBB                               
006322,000066:    4036           56006                           XCH      BBANK                                 
006323,000067:    4037           13276                           TCF      UPRUPT                                
006324,000068: 
006325,000069:    4040           52011                           DXCH     ARUPT                                 #  DOWNRUPT
006326,000070:    4041           34062                           CAF      DWNRPTBB                              
006327,000071:    4042           56006                           XCH      BBANK                                 
006328,000072:    4043           13505                           TCF      DODOWNTM                              
006329,000073: 
006330,000074:    4044           52011                           DXCH     ARUPT                                 #  RADAR RUPT
006331,000075:    4045           34063                           CAF      RDRPTBB                               

Page 156

006333,000077:    4046           56006                           XCH      BBANK                                 
006334,000078:    4047           13157                           TCF      RADAREAD                              
006335,000079: 
006336,000080:    4050           52011                           DXCH     ARUPT                                 #  RUPT10 IS USED ONLY BY LANDING GUIDANCE
006337,000081:    4051           34065                           CA       RUPT10BB                              
006338,000082:    4052           56006                           XCH      BBANK                                 
006339,000083:    4053           12302                           TCF      PITFALL                               
006340,000084: 
006341,000085:    4054  E3,1400                                  EBANK=   LST1                                  #  RESTART USES E0,E3
006342,000086:    4054           12103        GOBB               BBCON    GOPROG                                
006343,000087: 
006344,000088:    4055  E6,1464                                  EBANK=   PERROR                                
006345,000089:    4055           02117 36106  T6ADR              2CADR    DOT6RUPT                              
006346,000090: 
006347,000091:    4057  E3,1400                                  EBANK=   LST1                                  
006348,000092:    4057           02103        T3RPTBB            BBCON    T3RUPT                                
006349,000093: 
006350,000094:    4060     0073                                  EBANK=   KEYTEMP1                              
006351,000095:    4060           10100        KEYRPTBB           BBCON    KEYRUPT1                              
006352,000096: 
006353,000097:    4061  E7,1404                                  EBANK=   AOTAZ                                 
006354,000098:    4061           16107        MKRUPTBB           BBCON    MARKRUPT                              
006355,000099: 
006356,000100:    4062     4060               UPRPTBB            =        KEYRPTBB                              
006357,000101: 
006358,000102:    4062     0340                                  EBANK=   DNTMBUFF                              
006359,000103:    4062           12100        DWNRPTBB           BBCON    DODOWNTM                              
006360,000104: 
006361,000105:    4063  E7,1453                                  EBANK=   TTOGO                                 
006362,000106:    4063           52107        RDRPTBB            BBCON    RADAREAD                              
006363,000107: 
006364,000108:    4064  E6,1414                                  EBANK=   M11                                   
006365,000109:    4064           14106        T4RPTBB            BBCON    T4RUPT                                
006366,000110: 
006367,000111:    4065  E7,1444                                  EBANK=   ELVIRA                                
006368,000112:    4065           22107        RUPT10BB           BBCON    PITFALL                               
006369,000113: 

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