Apollo-11/Comanche055
sdk 10ffbd76bd Proof P37_P70 (Page 890 and 981) (#525)
* Proof P37_P70 (Page 890)

#235

* Proof P37_P70 (Page 891)

#235
2019-12-05 17:02:58 +00:00
..
AGC_BLOCK_TWO_SELF-CHECK.agc Proof AGC_BLOCK_TWO_SELF-CHECK (#331) 2018-04-21 16:51:25 +01:00
ALARM_AND_ABORT.agc Proof read pages 1493-1496 (#296) 2017-05-10 21:00:01 +01:00
ANGLFIND.agc Proof ANGLFIND (#192) (#339) 2018-05-28 14:41:55 +01:00
ASSEMBLY_AND_OPERATION_INFORMATION.agc Proof ASSEMBLY_AND_OPERATION_INFORMATION (#337) 2018-07-18 22:57:24 +01:00
AUTOMATIC_MANEUVERS.agc Proof AUTOMATIC_MANEUVERS (#194) (#335) 2018-05-25 20:30:28 +01:00
CM_BODY_ATTITUDE.agc Proof CM_BODY_ATTITUDE (#195) (#336) 2018-05-28 14:42:47 +01:00
CM_ENTRY_DIGITAL_AUTOPILOT.agc Proof CM_ENTRY_DIGITAL_AUTOPILOT (#340, closes #196) 2018-07-18 23:08:49 +01:00
CONIC_SUBROUTINES.agc Proof CONIC_SUBROUTINES 2018-12-28 12:42:00 -06:00
CONTRACT_AND_APPROVALS.agc Proof CONTRACT_AND_APPROVALS (#284) 2017-02-22 04:33:45 +00:00
CSM_GEOMETRY.agc Proof CSM_GEOMETRY (#199) (#338) 2018-05-25 20:37:33 +01:00
DISPLAY_INTERFACE_ROUTINES.agc Proof DISPLAY_INTERFACE_ROUTINES #200 (#377) 2019-04-15 21:30:28 +01:00
DOWN-TELEMETRY_PROGRAM.agc Proof DOWN-TELEMETRY_PROGRAM #201 (#380) 2019-05-02 15:04:08 +01:00
DOWNLINK_LISTS.agc Proof DOWNLINK_LISTS (#202) (#341) 2018-06-09 11:03:11 +01:00
ENTRY_LEXICON.agc Proof ENTRY_LEXICON #203 (#381) 2019-05-02 15:06:26 +01:00
ERASABLE_ASSIGNMENTS.agc Trim whitespace 2016-12-28 16:11:25 +00:00
EXECUTIVE.agc Proof EXECUTIVE (closes #205) (#354) 2018-10-09 09:16:45 +01:00
EXTENDED_VERBS.agc Proof EXTENDED_VERBS #206 (#400) 2019-09-15 20:04:12 +01:00
FIXED_FIXED_CONSTANT_POOL.agc Proof FIXED_FIXED_CONSTANT_POOL (Closes #207) (#311) 2018-03-23 02:22:01 +00:00
FRESH_START_AND_RESTART.agc Proof FRESH_START_AND_RESTART #208 (#401) 2019-09-02 16:11:25 +01:00
GIMBAL_LOCK_AVOIDANCE.agc trim trailing whitespace in GIMBAL_LOCK 2017-02-22 05:12:16 +00:00
GROUND_TRACKING_DETERMINATION_PROGRAM.agc Proof GROUND_TRACKING_DETERMINATION_PROGRAM (closes #210) (#312) 2018-04-02 11:19:34 +01:00
IMU_CALIBRATION_AND_ALIGNMENT.agc Proof IMU_CALIBRATION_AND_ALIGNMENT #211 (#402) 2019-09-11 18:22:23 +01:00
IMU_COMPENSATION_PACKAGE.agc proof IMU_COMPENSATION_PACKAGE (#343, closes #212) 2018-07-18 23:10:17 +01:00
IMU_MODE_SWITCHING_ROUTINES.agc Proof IMU_MODE_SWITCHING_ROUTINES #213 (#403) 2019-10-14 21:07:54 +01:00
INFLIGHT_ALIGNMENT_ROUTINES.agc Proof read #214: INFLIGHT_ALIGNMENT_ROUTINES (#369) 2019-01-22 00:23:10 +00:00
INTEGRATION_INITIALIZATION.agc Proof INTEGRATION_INITIALIZATION (#509) 2019-12-05 16:59:12 +00:00
INTER-BANK_COMMUNICATION.agc Proof read INTER-BANK_COMMUNICATION (#291) 2017-05-01 07:41:25 +01:00
INTERPRETER.agc Proof INTERPRETER.agc (#508) 2019-11-20 01:45:12 +00:00
INTERPRETIVE_CONSTANTS.agc Proof INTERPRETIVE_CONSTANTS (#282) 2017-02-15 17:06:44 +00:00
INTERRUPT_LEAD_INS.agc Proof INTERRUPT_LEAD_INS (#219) (#313) 2018-03-10 12:40:13 +00:00
JET_SELECTION_LOGIC.agc Proof JET_SELECTION_LOGIC #220 (#388) 2019-05-09 05:40:19 +01:00
KALCMANU_STEERING.agc Proof KALCMANU_STEERING (#221) (#314) 2018-03-10 12:38:47 +00:00
KEYRUPT_UPRUPT.agc Proof KEYRUPT_UPRUPT (#222) (#315) 2018-03-10 16:39:54 -06:00
LATITUDE_LONGITUDE_SUBROUTINES.agc Proof LATITUDE_LONGITUDE_SUBROUTINES #223 (#382) 2019-05-02 15:11:42 +01:00
LUNAR_AND_SOLAR_EPHEMERIDES_SUBROUTINES.agc Proof LUNAR_AND_SOLAR_EPHEMERIDES_SUBROUTINES (Closes #224) (#316) 2018-03-23 02:08:38 +00:00
LUNAR_LANDMARK_SELECTION_FOR_CM.agc Update LUNAR_LANDMARK_SELECTION_FOR_CM.agc (#281) 2017-02-16 20:35:41 +00:00
MEASUREMENT_INCORPORATION.agc Proof MEASUREMENT_INCORPORATION (#358) 2018-11-13 16:12:24 +00:00
MYSUBS.agc Proof MYSUBS (#280) 2017-02-14 10:14:38 +00:00
ORBITAL_INTEGRATION.agc Proof ORBITAL_INTEGRATION #229 (#389) 2019-05-11 19:46:35 +01:00
P11.agc Proof P11 #230 (#390) 2019-07-21 18:04:41 +01:00
P20-P25.agc Trim whitespace 2016-12-28 16:11:25 +00:00
P30-P37.agc Proof P30-P37 #232 (#391) 2019-07-19 11:18:31 +01:00
P32-P33_P72-P73.agc Trim whitespace 2016-12-28 16:11:25 +00:00
P34-35_P74-75.agc Trim whitespace 2016-12-28 16:11:25 +00:00
P37_P70.agc Proof P37_P70 (Page 890 and 981) (#525) 2019-12-05 17:02:58 +00:00
P40-P47.agc Trim whitespace 2016-12-28 16:11:25 +00:00
P51-P53.agc Trim whitespace 2016-12-28 16:11:25 +00:00
P61-P67.agc P61 mismatch with scan on page 789 (#413) 2019-07-18 14:38:20 +01:00
P76.agc Proof P76 (closes #239) (#317) 2018-03-23 12:52:52 +00:00
PHASE_TABLE_MAINTENANCE.agc Proof PHASE_TABLE_MAINTENANCE #240 (pp. 1409-1413) (#383) 2019-05-02 15:13:37 +01:00
PINBALL_GAME_BUTTONS_AND_LIGHTS.agc Trim whitespace 2016-12-28 16:11:25 +00:00
PINBALL_NOUN_TABLES.agc Proof PINBALL_NOUN_TABLES #242 (#392) 2019-07-15 21:37:51 +01:00
PLANETARY_INERTIAL_ORIENTATION.agc Proof PLANETARY_INERTIAL_ORIENTATION #243 (#384) 2019-05-08 14:33:31 +01:00
POWERED_FLIGHT_SUBROUTINES.agc Proof POWERED_FLIGHT_SUBROUTINES #244 (#385) 2019-05-08 18:55:15 +01:00
R30.agc Proof read #245 (closes #370) 2019-01-25 03:31:22 +00:00
R31.agc Proof reading performed for R31 code. (#293) 2017-05-02 02:05:16 +01:00
R60_62.agc Proof R60_62 #247 (#386) 2019-05-08 19:41:36 +01:00
RCS-CSM_DAP_EXECUTIVE_PROGRAMS.agc Proof RCS-CSM_DAP_EXECUTIVE_PROGRAMS (#279) 2017-02-14 10:21:55 +00:00
RCS-CSM_DIGITAL_AUTOPILOT.agc Proof RCS-CSM_DIGITAL_AUTOPILOT #249 (#393) 2019-07-15 21:37:08 +01:00
README.md Update README references to point to repository files on master branch (#345) 2018-07-19 03:28:18 +01:00
REENTRY_CONTROL.agc Many more diffs found in REENTRY_CONTROL (#310) 2018-04-13 22:12:23 +01:00
RESTART_TABLES.agc Proof RESTART_TABLES(#252) (#376) 2019-03-27 16:09:45 +00:00
RESTARTS_ROUTINE.agc Proof RESTARTS_ROUTINE (#251) (#327) 2018-04-23 15:32:55 +01:00
RT8_OP_CODES.agc Proof RT8_OP_CODES (#374) 2019-02-12 23:02:55 +00:00
S-BAND_ANTENNA_FOR_CM.agc Proof S-BAND_ANTENNA_FOR_CM (#254) (#322) 2018-03-23 02:07:02 +00:00
SERVICE_ROUTINES.agc Proof SERVICE_ROUTINES (Closes #256) (#323) 2018-03-23 02:05:10 +00:00
SERVICER207.agc Proof SERVICER207 #255 (#394) 2019-06-16 16:07:18 +01:00
SINGLE_PRECISION_SUBROUTINES.agc Proof SINGLE_PRECISION_SUBROUTINES (#275) 2017-01-03 20:18:39 +00:00
STABLE_ORBIT.agc Proof read STABLE_ORBIT (#294) 2017-05-04 00:06:02 +01:00
STAR_TABLES.agc Trim whitespace 2016-12-28 16:11:25 +00:00
SXTMARK.agc Proof SXTMARK #260 (#395) 2019-06-15 09:53:33 +01:00
SYSTEM_TEST_STANDARD_LEAD_INS.agc Proof SYSTEM_TEST_STANDARD_LEAD_INS (fix #261) (#298) 2017-06-19 12:00:14 +01:00
T4RUPT_PROGRAM.agc Merge branch 'master' into rename 2016-07-13 18:02:59 +10:00
TAGS_FOR_RELATIVE_SETLOC.agc Proof read TAGS_FOR_RELATIVE_SETLOC (#357) 2018-10-23 09:35:17 +01:00
TIME_OF_FREE_FALL.agc Proof TIME_OF_FREE_FALL #264 (#396) 2019-09-11 20:00:39 +01:00
TPI_SEARCH.agc Proof TPI_SEARCH #265 (#387) 2019-05-09 00:17:48 +01:00
TVCDAPS.agc Proof TVCDAPS #266 (#397) 2019-05-12 13:07:28 +01:00
TVCEXECUTIVE.agc Update in page 0949 2018-01-25 17:36:55 -03:00
TVCINITIALIZE.agc Proof TVCINITIALIZE 2018-08-03 07:38:42 -04:00
TVCMASSPROP.agc Proof TVCMASSPROP (#269) (#326) 2018-05-01 09:54:58 -05:00
TVCRESTARTS.agc Proof-read TVCRESTARTS (#302) 2017-10-31 23:16:52 +00:00
TVCROLLDAP.agc Proof TVCROLLDAP #271 (#398) 2019-07-19 23:18:51 +01:00
TVCSTROKETEST.agc Proof TVCSTROKETEST (#290) 2017-04-30 06:08:56 +01:00
UPDATE_PROGRAM.agc Proof UPDATE_PROGRAM (closes #273) (#325) 2018-04-02 11:21:55 +01:00
WAITLIST.agc Restore ERRASIBLE in WAITLIST.agc 2018-07-24 10:37:55 +01:00

Comanche055

The images (with suitable reduction in storage size and consequent reduction in image quality as well) are available online at www.ibiblio.org/apollo. If for some reason you find that the images are illegible, contact me at info@sandroid.org about getting access to the (much) higher-quality images which Paul actually created.

Background

For organizatinal purposes RSB split the huge monolithic source code into smaller, more manageable chunks--i.e., into individual source files. Those files are rejoined as "includes". The code chunks correspond to natural divisions into sub-programs. In fact, these divisions are more-or-less specified by the source code itself. Refer to the "SUBROUTINE CALLS" at the very beginning of ASSEMBLY_AND_OPERATION_INFORMATION.agc.

It may be reasonably asked why tens of thousands of lines of source are joined by means of inclusion, rather than simply assembling the source files individually and then linking them to form the executable. The answer is that the original development team had no linker. The builds were monolithic just like this.

There was a big emphasis on reusability of the code in the original project, apparently, but this reusability took the form of inserting your deck of punch-cards at the appropriate position in somebody else's deck of punch-cards. (Actually, I think the card-decks were turned into tape libraries, and the modules were mixed-and-matched from the tape libraries, but the principle is the same.) So, indeed, the method of file-inclusion is a very fair representation of the methods used in the original development...with the improvement, of course, that you no longer have to worry about dropping the card deck. On the other hand, I (RSB) wasn't there at the time, so I may have no idea what I'm talking about.

Finally, note that the original Apollo AGC assembler (called YUL) is no longer available (as far as I can tell). Actually, it had already been replaced by another assembler (called GAP) by the time of Apollo 11, but GAP isn't available either. The replacement assembler yaYUL accepts a slightly different format for the source code from what YUL or GAP accepted, so the source code has been targeted for assembly with yaYUL.

What follows is simply a bunch of file-includes for the individual code chunks. The page numbers have been marked to make proof-reading easier. The page images also contain a lot of interesting tables (cross-referenced to page numbers) created by GAP, but not duplicated by yaYUL, so it's still valuable even if the source-files listed below are in hand.

Source Code Index

INFORMATION

Source File Page Number
CONTRACT_AND_APPROVALS.agc 1
ASSEMBLY_AND_OPERATION_INFORMATION.agc 2-26
TAGS_FOR_RELATIVE_SETLOC.agc 27-35

COMERASE

Source File Page Number
ERASABLE_ASSIGNMENTS.agc 37-130

COMAID

Source File Page Number
INTERRUPT_LEAD_INS.agc 131-132
T4RUPT_PROGRAM.agc 133-169
DOWNLINK_LISTS.agc 170-180
FRESH_START_AND_RESTART.agc 181-210
RESTART_TABLES.agc 211-221
SXTMARK.agc 222-235
EXTENDED_VERBS.agc 236-267
PINBALL_NOUN_TABLES.agc 268-284
CSM_GEOMETRY.agc 285-296
IMU_COMPENSATION_PACKAGE.agc 297-306
PINBALL_GAME_BUTTONS_AND_LIGHTS.agc 307-389
R60_62.agc 390-398
ANGLFIND.agc 399-411
GIMBAL_LOCK_AVOIDANCE.agc 412-413
KALCMANU_STEERING.agc 414-419
SYSTEM_TEST_STANDARD_LEAD_INS.agc 420-422
IMU_CALIBRATION_AND_ALIGNMENT.agc 423-455

COMEKISS

Source File Page Number
GROUND_TRACKING_DETERMINATION_PROGRAM.agc 456-459
P34-35_P74-75.agc 460-504
R31.agc 505-510
P76.agc 511-513
R30.agc 514-524
STABLE_ORBIT.agc 525-532

TROUBLE

Source File Page Number
P11.agc 533-550
TPI_SEARCH.agc 551-561
P20-P25.agc 562-634
P30-P37.agc 635-648
P32-P33_P72-P73.agc 649-683
P40-P47.agc 684-736
P51-P53.agc 737-784
LUNAR_AND_SOLAR_EPHEMERIDES_SUBROUTINES.agc 785-788
P61-P67.agc 789-818
SERVICER207.agc 819-836
ENTRY_LEXICON.agc 837-843
REENTRY_CONTROL.agc 844-882
CM_BODY_ATTITUDE.agc 883-889
P37_P70.agc 890-933
S-BAND_ANTENNA_FOR_CM.agc 934-935
LUNAR_LANDMARK_SELECTION_FOR_CM.agc 936

TVCDAPS

Source File Page Number
TVCINITIALIZE.agc 937-944
TVCEXECUTIVE.agc 945-950
TVCMASSPROP.agc 951-955
TVCRESTARTS.agc 956-960
TVCDAPS.agc 961-978
TVCSTROKETEST.agc 979-983
TVCROLLDAP.agc 984-998
MYSUBS.agc 999-1001
RCS-CSM_DIGITAL_AUTOPILOT.agc 1002-1024
AUTOMATIC_MANEUVERS.agc 1025-1036
RCS-CSM_DAP_EXECUTIVE_PROGRAMS.agc 1037-1038
JET_SELECTION_LOGIC.agc 1039-1062
CM_ENTRY_DIGITAL_AUTOPILOT.agc 1063-1092

CHIEFTAN

Source File Page Number
DOWN-TELEMETRY_PROGRAM.agc 1093-1102
INTER-BANK_COMMUNICATION.agc 1103-1106
INTERPRETER.agc 1107-1199
FIXED_FIXED_CONSTANT_POOL.agc 1200-1204
INTERPRETIVE_CONSTANTS.agc 1205-1206
SINGLE_PRECISION_SUBROUTINES.agc 1207
EXECUTIVE.agc 1208-1220
WAITLIST.agc 1221-1235
LATITUDE_LONGITUDE_SUBROUTINES.agc 1236-1242
PLANETARY_INERTIAL_ORIENTATION.agc 1243-1251
MEASUREMENT_INCORPORATION.agc 1252-1261
CONIC_SUBROUTINES.agc 1262-1308
INTEGRATION_INITIALIZATION.agc 1309-1333
ORBITAL_INTEGRATION.agc 1334-1354
INFLIGHT_ALIGNMENT_ROUTINES.agc 1355-1364
POWERED_FLIGHT_SUBROUTINES.agc 1365-1372
TIME_OF_FREE_FALL.agc 1373-1388
STAR_TABLES.agc 1389-1393
AGC_BLOCK_TWO_SELF-CHECK.agc 1394-1403
PHASE_TABLE_MAINTENANCE.agc 1404-1413
RESTARTS_ROUTINE.agc 1414-1419
IMU_MODE_SWITCHING_ROUTINES.agc 1420-1448
KEYRUPT_UPRUPT.agc 1449-1451
DISPLAY_INTERFACE_ROUTINES.agc 1452-1484
SERVICE_ROUTINES.agc 1485-1492
ALARM_AND_ABORT.agc 1493-1496
UPDATE_PROGRAM.agc 1497-1507
RT8_OP_CODES.agc 1508-1516

MISCELLANEOUS

Source File Page Number
GAP-generated tables 1517-1751