Source Code

These source-code files were derived from scans of the Colossus 237 (Apollo 8 Command Module) program listing from the private collection of original AGC developer Fred Martin. Scanning was by Ron Burkey. Pre-existing Colossus 249 (Apollo 9 CM) source files were used as a template, and changes between Colossus 249 and Colossus 237 were manually transcribed by a team of volunteers. Note that the page images presented online are of reduced quality, and that additional 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 237 OF AGC PROGRAM COLOSSUS 
	BY NASA 2021111-031  1:17 AUG. 24, 1968
Note that the date is the date of the printout, not the date of the program revision.

049945,000002:                                                                                                  ## Copyright:   Public domain.
049946,000003:                                                                                                  ## Filename:    SINGLE_PRECISION_SUBROUTINES.agc
049947,000004:                                                                                                  ## Purpose:     Part of the source code for Colossus build 237.  
049948,000005:                                                                                                  ##              This is for the Command Module's (CM) Apollo Guidance
049949,000006:                                                                                                  ##              Computer (AGC), for Apollo 8.
049950,000007:                                                                                                  ## Assembler:   yaYUL
049951,000008:                                                                                                  ## Contact:     Onno Hommes <ohommes@alumni.cmu.edu>
049952,000009:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
049953,000010:                                                                                                  ## Page Scans:  www.ibiblio.org/apollo/ScansForConversion/Colossus237/
049954,000011:                                                                                                  ## Mod history: 2010-06-03 OH   Adapted from corresponding Colossus 249 file.
049955,000012:                                                                                                  ##              2010-12-04 JL   Remove Colossus 249 header comments. Change to double-has page numbers.
049956,000013:                                                                                                  ##              2011-02-08 JL   Minor fixes.
049957,000014:                                                                                                  ##              2017-01-01 RSB  Proofed comment text using octopus/ProoferComments,
049958,000015:                                                                                                  ##                              and fixed errors found.
049959,000016: 

Page 1174

049961,000018:    4767                                           BLOCK    02                                    
049962,000019: 
049963,000020:                                                                                                  #  SINGLE PRECISION SINE AND COSINE
049964,000021: 
049965,000022:    4767                                           COUNT    02/INTER                              
049966,000023:    4767           64675        SPCOS              AD       HALF                                  #  ARGUMENTS SCALED AT PI
049967,000024:    4770           55075        SPSIN              TS       TEMK                                  
049968,000025:    4771           14773                           TCF      SPT                                   
049969,000026:    4772           41075                           CS       TEMK                                  
049970,000027:    4773           60000        SPT                DOUBLE                                         
049971,000028:    4774           55075                           TS       TEMK                                  
049972,000029:    4775           15006                           TCF      POLLEY                                
049973,000030:    4776           57075                           XCH      TEMK                                  
049974,000031:    4777           51075                           INDEX    TEMK                                  
049975,000032:    5000           64673                           AD       LIMITS                                
049976,000033:    5001           40000                           COM                                            
049977,000034:    5002           61075                           AD       TEMK                                  
049978,000035:    5003           55075                           TS       TEMK                                  
049979,000036:    5004           15006                           TCF      POLLEY                                
049980,000037:    5005           15024                           TCF      ARG90                                 
049981,000038:    5006           00006        POLLEY             EXTEND                                         
049982,000039:    5007           71075                           MP       TEMK                                  
049983,000040:    5010           55076                           TS       SQ                                    
049984,000041:    5011           00006                           EXTEND                                         
049985,000042:    5012           74742                           MP       C5/2                                  
049986,000043:    5013           67706                           AD       C3/2                                  
049987,000044:    5014           00006                           EXTEND                                         
049988,000045:    5015           71076                           MP       SQ                                    
049989,000046:    5016           67666                           AD       C1/2                                  
049990,000047:    5017           00006                           EXTEND                                         
049991,000048:    5020           71075                           MP       TEMK                                  
049992,000049:    5021           20001                           DDOUBL                                         
049993,000050:    5022           55075                           TS       TEMK                                  
049994,000051:    5023           00002                           TC       Q                                     
049995,000052:    5024           50000        ARG90              INDEX    A                                     
049996,000053:    5025           44673                           CS       LIMITS                                
049997,000054:    5026           00002                           TC       Q                                     #  RESULT SCALED AT 1
049998,000055:                                                                                                  #           SPROOT WAS DELETED IN REV 51 OF MASTER. ASS. CONT. HAS CARDS.

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