Source Code
![]() |
These source-code files were from the printout at the MIT Museum, with many thanks
to Deborah Douglas, the Museum's Curator of Science and Technology, for releasing
it to us. The printout was digitally photographed by Paul Fjeld. A team of
volunteers transcribed the source code manually from these images or, where
appropriate, modified already-transcribed but similar source Luminary 131 (Apollo 13)
source code to agree with the images from the printout. Note that the page images
presented online are of reduced quality, and that higher-quality images
are available. Report any conversion errors or legibility
problems in page images to info@sandroid.org.
Notations on the program listing read, in part:GAP: ASSEMBLE REVISION 001 OF AGC PROGRAM LMY99 BY NASA 2021112-061 20'35 OCT. 28,1968Note that the date is the date of the printout, not the date of the program revision. |
001152,000002: ## Copyright: Public domain.
001153,000003: ## Filename: TAGS_FOR_RELATIVE_SETLOC.agc
001154,000004: ## Purpose: Part of the source code for Luminary 1A build 099.
001155,000005: ## It is part of the source code for the Lunar Module's (LM)
001156,000006: ## Apollo Guidance Computer (AGC), for Apollo 11.
001157,000007: ##
001158,000008: ## Assembler: yaYUL
001159,000009: ## Contact: Jim Lawton <jim.lawton@gmail.com>
001160,000010: ## Website: www.ibiblio.org/apollo.
001161,000011: ## Pages: 028-037
001162,000012: ## Mod history: 2009-05-16 JVL Transcribed from page images.
001163,000013: ## 2016-12-13 RSB Proofed text comments with octopus/ProoferComments
001164,000014: ## and corrected the errors found.
001165,000015: ##
001166,000016: ## This source code has been transcribed or otherwise adapted from digitized
001167,000017: ## images of a hardcopy from the MIT Museum. The digitization was performed
001168,000018: ## by Paul Fjeld, and arranged for by Deborah Douglas of the Museum. Many
001169,000019: ## thanks to both. The images (with suitable reduction in storage size and
001170,000020: ## consequent reduction in image quality as well) are available online at
001171,000021: ## www.ibiblio.org/apollo. If for some reason you find that the images are
001172,000022: ## illegible, contact me at info@sandroid.org about getting access to the
001173,000023: ## (much) higher-quality images which Paul actually created.
001174,000024: ##
001175,000025: ## Notations on the hardcopy document read, in part:
001176,000026: ##
001177,000027: ## Assemble revision 001 of AGC program LMY99 by NASA 2021112-061
001178,000028: ## 16:27 JULY 14, 1969
001179,000029:
![]() |
Page 28 |
001181,000031: ??????? COUNT BANKSUM
001182,000032:
001183,000033: # MODULE 1 CONTAINS BANKS 0 THROUGH 5
001184,000034:
001185,000035: 4000 BLOCK 02
001186,000036: 4000 RADARFF EQUALS
001187,000037: 4000 FFTAG1 EQUALS
001188,000038: 4000 FFTAG2 EQUALS
001189,000039: 4000 FFTAG3 EQUALS
001190,000040: 4000 FFTAG4 EQUALS
001191,000041: 4000 FFTAG7 EQUALS
001192,000042: 4000 FFTAG8 EQUALS
001193,000043: 4000 FFTAG9 EQUALS
001194,000044: 4000 FFTAG10 EQUALS
001195,000045: 4000 FFTAG11 EQUALS
001196,000046: 4000 FFTAG12 EQUALS
001197,000047: 4000 FFTAG13 EQUALS
001198,000048: 4000 BNKSUM 02
001199,000049:
001200,000050: 6000 BLOCK 03
001201,000051: 6000 FFTAG5 EQUALS
001202,000052: 6000 FFTAG6 EQUALS
001203,000053: 6000 BNKSUM 03
001204,000054:
001205,000055: 00,2000 BANK 00
001206,000056: 00,2000 DLAYJOB EQUALS
001207,000057: 00,2000 BNKSUM 00
001208,000058:
001209,000059: 01,2000 BANK 01
001210,000060: 01,2000 RESTART EQUALS
001211,000061: 01,2000 LOADDAP1 EQUALS
001212,000062: 01,2000 BNKSUM 01
001213,000063:
001214,000064: 04,2000 BANK 04
001215,000065: 04,2000 R02 EQUALS
001216,000066: 04,2000 VERB37 EQUALS
001217,000067: 04,2000 PINBALL4 EQUALS
001218,000068: 04,2000 CONICS1 EQUALS
001219,000069: 04,2000 KEYRUPT EQUALS
001220,000070: 04,2000 R36LM EQUALS
001221,000071: 04,2000 UPDATE2 EQUALS
001222,000072: 04,2000 E/PROG EQUALS
001223,000073: 04,2000 AOTMARK2 EQUALS
001224,000074: 04,2000 BNKSUM 04
001225,000075:
![]() |
Page 29 |
001227,000077: 05,2000 BANK 05
001228,000078: 05,2000 FRANDRES EQUALS
001229,000079: 05,2000 DOWNTELM EQUALS
001230,000080: 05,2000 ABORTS1 EQUALS
001231,000081: 05,2000 EPHEM1 EQUALS
001232,000082: 05,2000 ASENT3 EQUALS
001233,000083: 05,2000 BNKSUM 05
001234,000084:
001235,000085: # MODULE 2 CONTAINS BANKS 6 THROUGH 13
001236,000086:
001237,000087: 06,2000 BANK 06
001238,000088: 06,2000 IMUCOMP EQUALS
001239,000089: 06,2000 T4RUP EQUALS
001240,000090: 06,2000 RCSMONT EQUALS
001241,000091: 06,2000 MIDDGIM EQUALS
001242,000092: 06,2000 EARTHLOC EQUALS
001243,000093: 06,2000 BNKSUM 06
001244,000094:
001245,000095: 07,2000 BANK 07
001246,000096: 07,2000 AOTMARK1 EQUALS
001247,000097: 07,2000 MODESW EQUALS
001248,000098: 07,2000 ASENT2 EQUALS
001249,000099: 07,2000 BNKSUM 07
001250,000100:
001251,000101: 10,2000 BANK 10
001252,000102: 10,2000 RTBCODES EQUALS
001253,000103: 10,2000 DISPLAYS EQUALS
001254,000104: 10,2000 PHASETAB EQUALS
001255,000105: 10,2000 FLESHLOC EQUALS
001256,000106: 10,2000 SLCTMU EQUALS
001257,000107: 10,2000 BNKSUM 10
001258,000108:
001259,000109: 11,2000 BANK 11
001260,000110: 11,2000 ORBITAL EQUALS
001261,000111: 11,2000 F2DPS*11 EQUALS
001262,000112: 11,2000 INTVEL EQUALS
001263,000113: 11,2000 BNKSUM 11
001264,000114:
001265,000115: 12,2000 BANK 12
001266,000116: 12,2000 CONICS EQUALS
001267,000117: 12,2000 ORBITAL1 EQUALS
![]() |
Page 30 |
001269,000119: 12,2000 INTPRET2 EQUALS
001270,000120: 12,2000 BNKSUM 12
001271,000121:
001272,000122: 13,2000 BANK 13
001273,000123: 13,2000 LATLONG EQUALS
001274,000124: 13,2000 INTINIT EQUALS
001275,000125: 13,2000 LEMGEOM EQUALS
001276,000126: 13,2000 P76LOC EQUALS
001277,000127: 13,2000 ORBITAL2 EQUALS
001278,000128: 13,2000 ABTFLGS EQUALS
001279,000129: 13,2000 BNKSUM 13
001280,000130:
![]() |
Page 31 |
001282,000132: # MODULE 3 CONTAINS BANKS 14 THROUGH 21
001283,000133:
001284,000134: 14,2000 BANK 14
001285,000135: 14,2000 P50S1 EQUALS
001286,000136: 14,2000 STARTAB EQUALS
001287,000137: 14,2000 ASENT4 EQUALS
001288,000138: 14,2000 BNKSUM 14
001289,000139:
001290,000140: 15,2000 BANK 15
001291,000141: 15,2000 P50S EQUALS
001292,000142: 15,2000 EPHEM EQUALS
001293,000143: 15,2000 BNKSUM 15
001294,000144:
001295,000145: 16,2000 BANK 16
001296,000146: 16,2000 DAPS1 EQUALS
001297,000147: 16,2000 BNKSUM 16
001298,000148:
001299,000149: 17,2000 BANK 17
001300,000150: 17,2000 DAPS2 EQUALS
001301,000151: 17,2000 P40S3 EQUALS
001302,000152: 17,2000 BNKSUM 17
001303,000153:
001304,000154: 20,2000 BANK 20
001305,000155: 20,2000 DAPS3 EQUALS
001306,000156: 20,2000 LOADDAP EQUALS
001307,000157: 20,2000 RODTRAP EQUALS
001308,000158: 20,2000 BNKSUM 20
001309,000159:
001310,000160: 21,2000 BANK 21
001311,000161: 21,2000 DAPS4 EQUALS
001312,000162: 21,2000 R10 EQUALS
001313,000163: 21,2000 R11 EQUALS
001314,000164: 21,2000 BNKSUM 21
![]() |
Page 32 |
001316,000166:
001317,000167: # MODULE 4 CONTAINS BANKS 22 THROUGH 27
001318,000168:
001319,000169: 22,2000 BANK 22
001320,000170: 22,2000 KALCMON1 EQUALS
001321,000171: 22,2000 KALCMON2 EQUALS
001322,000172: 22,2000 R30LOC EQUALS
001323,000173: 22,2000 RENDEZ EQUALS
001324,000174: 22,2000 SERV2 EQUALS
001325,000175: 22,2000 LANDCNST EQUALS
001326,000176: 22,2000 BNKSUM 22
001327,000177:
001328,000178: 23,2000 BANK 23
001329,000179: 23,2000 POWFLITE EQUALS
001330,000180: 23,2000 POWFLIT1 EQUALS
001331,000181: 23,2000 INFLIGHT EQUALS
001332,000182: 23,2000 APOPERI EQUALS
001333,000183: 23,2000 R61 EQUALS
001334,000184: 23,2000 R62 EQUALS
001335,000185: 23,2000 INTPRET1 EQUALS
001336,000186: 23,2000 MEASINC EQUALS
001337,000187: 23,2000 MEASINC1 EQUALS
001338,000188: 23,2000 EXTVB1 EQUALS
001339,000189: 23,2000 P12A EQUALS
001340,000190: 23,2000 NORMLIZ EQUALS
001341,000191: 23,2000 ASENT7 EQUALS
001342,000192: 23,2000 BNKSUM 23
001343,000193:
001344,000194: 24,2000 BANK 24
001345,000195: 24,2000 PLANTIN EQUALS
001346,000196: 24,2000 P20S EQUALS
001347,000197: 24,2000 BNKSUM 24
001348,000198:
001349,000199: 25,2000 BANK 25
001350,000200: 25,2000 P20S1 EQUALS
001351,000201: 25,2000 P20S2 EQUALS
001352,000202: 25,2000 RADARUPT EQUALS
001353,000203: 25,2000 RRLEADIN EQUALS
001354,000204: 25,2000 R29S1 EQUALS
001355,000205: 25,2000 PLANTIN3 EQUALS
001356,000206: 25,2000 BNKSUM 25
001357,000207:
001358,000208: 26,2000 BANK 26
![]() |
Page 33 |
001360,000210: 26,2000 P20S3 EQUALS
001361,000211: 26,2000 BAWLANGS EQUALS
001362,000212: 26,2000 MANUVER EQUALS
001363,000213: 26,2000 MANUVER1 EQUALS
001364,000214: 26,2000 PLANTIN1 EQUALS
001365,000215: 26,2000 PLANTIN2 EQUALS
001366,000216: 26,2000 BNKSUM 26
001367,000217:
001368,000218: 27,2000 BANK 27
001369,000219: 27,2000 TOF-FF EQUALS
001370,000220: 27,2000 TOF-FF1 EQUALS
001371,000221: 27,2000 P40S1 EQUALS
001372,000222: 27,2000 VECPT EQUALS
001373,000223: 27,2000 ASENT1 EQUALS
001374,000224: 27,2000 SERV3 EQUALS
001375,000225: 27,2000 BNKSUM 27
001376,000226:
![]() |
Page 34 |
001378,000228: # MODULE 5 CONTAINS BANKS 30 THROUGH 35
001379,000229:
001380,000230: 30,2000 BANK 30
001381,000231: 30,2000 LOWSUPER EQUALS
001382,000232: 30,2000 P12 EQUALS
001383,000233: 30,2000 ASENT EQUALS
001384,000234: 30,2000 FCDUW EQUALS
001385,000235: 30,2000 FLOGSUB EQUALS
001386,000236: 30,2000 VB67A EQUALS
001387,000237: 30,2000 ASENT5 EQUALS
001388,000238: 30,2000 BNKSUM 30
001389,000239:
001390,000240: 31,2000 BANK 31
001391,000241: 31,2000 FTHROT EQUALS
001392,000242: 31,2000 F2DPS*31 EQUALS
001393,000243: 31,2000 VB67 EQUALS
001394,000244: 31,2000 BNKSUM 31
001395,000245:
001396,000246: 32,2000 BANK 32
001397,000247: 32,2000 P20S4 EQUALS
001398,000248: 32,2000 F2DPS*32 EQUALS
001399,000249: 32,2000 ABORTS EQUALS
001400,000250: 32,2000 LRS22 EQUALS
001401,000251: 32,2000 P66LOC EQUALS
001402,000252: 32,2000 R47 EQUALS
001403,000253: 32,2000 SERV EQUALS
001404,000254: 32,2000 BNKSUM 32
001405,000255:
001406,000256: 33,2000 BANK 33
001407,000257: 33,2000 SERVICES EQUALS
001408,000258: 33,2000 R29/SERV EQUALS
001409,000259: 33,2000 ASENT6 EQUALS
001410,000260: 33,2000 BNKSUM 33
001411,000261:
001412,000262: 34,2000 BANK 34
001413,000263: 34,2000 STBLEORB EQUALS
001414,000264: 34,2000 P30S1 EQUALS
001415,000265: 34,2000 CSI/CDH1 EQUALS
001416,000266: 34,2000 ASCFILT EQUALS
001417,000267: 34,2000 R12STUFF EQUALS
001418,000268: 34,2000 SERV4 EQUALS
001419,000269: 34,2000 BNKSUM 34
001420,000270:
![]() |
Page 35 |
001422,000272: 35,2000 BANK 35
001423,000273: 35,2000 CSI/CDH EQUALS
001424,000274: 35,2000 P30S EQUALS
001425,000275: 35,2000 GLM EQUALS
001426,000276: 35,2000 P40S2 EQUALS
001427,000277: 35,2000 BNKSUM 35
001428,000278:
![]() |
Page 36 |
001430,000280: # MODULE 6 CONTAINS BANKS 36 THROUGH 43
001431,000281:
001432,000282: 36,2000 BANK 36
001433,000283: 36,2000 P40S EQUALS
001434,000284: 36,2000 BNKSUM 36
001435,000285:
001436,000286: 37,2000 BANK 37
001437,000287: 37,2000 P05P06 EQUALS
001438,000288: 37,2000 IMU2 EQUALS
001439,000289: 37,2000 IMU4 EQUALS
001440,000290: 37,2000 R31 EQUALS
001441,000291: 37,2000 IMUSUPER EQUALS
001442,000292: 37,2000 SERV1 EQUALS
001443,000293: 37,2000 BNKSUM 37
001444,000294:
001445,000295: 40,2000 BANK 40
001446,000296: 40,2000 PINBALL1 EQUALS
001447,000297: 40,2000 SELFSUPR EQUALS
001448,000298: 40,2000 PINSUPER EQUALS
001449,000299: 40,2000 R31LOC EQUALS
001450,000300: 40,2000 BNKSUM 40
001451,000301:
001452,000302: 41,2000 BANK 41
001453,000303: 41,2000 PINBALL2 EQUALS
001454,000304: 41,2000 BNKSUM 41
001455,000305:
001456,000306: 42,2000 BANK 42
001457,000307: 42,2000 SBAND EQUALS
001458,000308: 42,2000 PINBALL3 EQUALS
001459,000309: 42,2000 BNKSUM 42
001460,000310:
001461,000311: 43,2000 BANK 43
001462,000312: 43,2000 EXTVERBS EQUALS
001463,000313: 43,2000 SELFCHEC EQUALS
001464,000314: 43,2000 BNKSUM 43
001465,000315:
![]() |
Page 37 |
001467,000317:
001468,000318: 43,2000 23,2521 HI6ZEROS EQUALS ZEROVECS # ZERO VECTOR ALWAYS IN HIGH MEMORY
001469,000319: 43,2000 12,2006 LO6ZEROS EQUALS ZEROVEC # ZERO VECTOR ALWAYS IN LOW MEMORY
001470,000320: 43,2000 23,2517 HIDPHALF EQUALS UNITX
001471,000321: 43,2000 12,2004 LODPHALF EQUALS XUNIT
001472,000322: 43,2000 23,2511 HIDP1/4 EQUALS DP1/4TH
001473,000323: 43,2000 04,3036 LODP1/4 EQUALS D1/4 # 2DEC .25
001474,000324: 43,2000 23,2517 HIUNITX EQUALS UNITX
001475,000325: 43,2000 23,2515 HIUNITY EQUALS UNITY
001476,000326: 43,2000 23,2513 HIUNITZ EQUALS UNITZ
001477,000327: 43,2000 12,2004 LOUNITX EQUALS XUNIT # 2DEC .5
001478,000328: 43,2000 12,2002 LOUNITY EQUALS YUNIT # 2DEC 0
001479,000329: 43,2000 12,2000 LOUNITZ EQUALS ZUNIT # 2DEC 0
001480,000330:
001481,000331: 43,2000 22,3541 DELRSPL EQUALS SPLRET # COL PGM, ALSO CALLED BY R30 IN LUMINARY
001482,000332:
001483,000333: # ROPE-SPECIFIC ASSIGNS OBVIATING NEED TO CHECK COMPUTER FLAG IN DETERMINING INTEGRATION AREA ENTRIES.
001484,000334:
001485,000335: 43,2000 13,2734 ATOPTHIS EQUALS ATOPLEM
001486,000336: 43,2000 13,2661 ATOPOTH EQUALS ATOPCSM
001487,000337: 43,2000 13,3043 OTHPREC EQUALS CSMPREC
001488,000338: 43,2000 0000174 MOONTHIS EQUALS LMOONFLG
001489,000339: 43,2000 0000173 MOONOTH EQUALS CMOONFLG
001490,000340: 43,2000 13,2747 MOVATHIS EQUALS MOVEALEM
001491,000341: 43,2000 12,2017 RMM = LODPMAX
001492,000342: 43,2000 12,2021 RME = LODPMAX1
001493,000343: 43,2000 13,3057 THISPREC EQUALS LEMPREC
001494,000344: 43,2000 23,2513 THISAXIS = UNITZ
001495,000345: 43,2000 23,2513 NB1NB2 EQUALS THISAXIS # FOR R31
001496,000346: 43,2000 5011 ERASID EQUALS BITS2-10 # DOWNLINK ERASABLE DUMP ID
001497,000347: 43,2000 4752 DELAYNUM EQUALS TWO
001498,000348:
End of include-file TAGS_FOR_RELATIVE_SETLOC_AND_BLANK_BANK_CARDS.agc. Parent file is MAIN.agc