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, 1968Note that the date is the date of the printout, not the date of the program revision. |
022716,000002: ## Copyright: Public domain.
022717,000003: ## Filename: P11.agc
022718,000004: ## Purpose: Part of the source code for Colossus build 237.
022719,000005: ## This is for the Command Module's (CM) Apollo Guidance
022720,000006: ## Computer (AGC), for Apollo 8.
022721,000007: ## Assembler: yaYUL
022722,000008: ## Contact: Jim Lawton <jim DOT lawton AT gmail DOT com>
022723,000009: ## Website: www.ibiblio.org/apollo/index.html
022724,000010: ## Page Scans: www.ibiblio.org/apollo/ScansForConversion/Colossus237/
022725,000011: ## Mod history: 2011-02-06 JL Adapted from corresponding Colossus 249 file.
022726,000012: ## 2016-08-14 RSB Added SBANKs for addressing discrepancies.
022727,000013: ## 2016-12-31 RSB Proofed comment text using octopus/ProoferComments,
022728,000014: ## and corrected errors found.
022729,000015: ## 2017-01-15 RSB Corrected comment-text errors observed while
022730,000016: ## diff'ing vs Colossus 249.
022731,000017: ## 2017-06-17 MAS Globally removed all SBANK= workarounds.
022732,000018:
Page 522 |
022734,000020: # EARTH ORBIT INSERTION MONITOR PROGRAM
022735,000021: # *************************************
022736,000022:
022737,000023: # PROGRAM DESCRIPTION -P11-
022738,000024:
022739,000025: # MOD NO. 1
022740,000026: # MOD BY ELIASSEN
022741,000027:
022742,000028: # FUNCTIONAL DESCRIPTION
022743,000029:
022744,000030: # P11 IS INITIATED BY
022745,000031:
022746,000032: # A) GYROCOMPASS PRG P02 WHEN LIFTOFF DISCRETE IS RECEIVED OR
022747,000033: # B) BACKUP THRU VERB 75 ENTER
022748,000034:
022749,000035: # PROGRAM WILL
022750,000036: # 1. ZERO CMC CLOCK AT LIFTOFF (OR UPON RECEIPT OF BACKUP)
022751,000037: # 2. UPDATE TEPHEM TO TIME CMC CLOCK WAS ZEROED
022752,000038: # 3. INITIATE SERVICER AT PREREAD1
022753,000039: # 4. CHANGE MAJOR MODE TO 11
022754,000040: # 5. CLEAR DSKY IN CASE OF V 75
022755,000041: # 6. STORE LIFTOFF IMU-CDU ANGLES FOR ATT. ERROR DISPLAY
022756,000042: # 7. TERMINATE GYROCOMPASSING - -
022757,000043: # 8. COMPUTE INITIAL VECTORS RN, VN - - -
022758,000044: # 9. COMPUTE REFSMMAT FOR PRELAUNCH ALIGNMENT WHERE U ,U ,U ARE
022759,000045: # - - X Y Z
022760,000046: # U =UNIT(-R) LOCAL VERTICAL AT TIME OF LIFTOFF
022761,000047: # Z
022762,000048: # - - -
022763,000049: # U =UNIT (A), A=HOR VECTOR AT LAUNCH AZIMUTH
022764,000050: # X
022765,000051: # - - -
022766,000052: # U =U * U
022767,000053: # U Z X
022768,000054:
022769,000055: # 10. SET REFSMMAT KNOWN FLAG
022770,000056: # 11. SET AVGEXIT IN SERVICER TO VHHDOT TO
022771,000057: # COMPUTE AND DISPLAY NOUN 62 EVERY 2 SECONDS
022772,000058:
022773,000059: # R1 V1 - INTERTIAL VELOCITY MAGNITUDE IN FPS
022774,000060: # R2 HDOT - RATE OF CHANGE OF VEHICLE VEL IN FPS
022775,000061: # R3 H - VEHICLE ALTITUDE ABOVE PAD IN NM
022776,000062:
022777,000063: # 12. DISPLAY BODY AXES ATT. ERRORS ON FDAI NEEDLES
022778,000064:
022779,000065: # A) FROM L.O. TO RPSTART (APPROX. 0 TO +10SECS AFTER L.O.)
022780,000066: # DESIRED ATTITUDE IS AS STORED AT L.O.
022781,000067: # B) FROM RPSTART TO POLYSTOP (APPROX. +10 TO +133SECS AFTER LO)
022782,000068: # DESIRED ATTITUDE IS SPECIFIED BY CMC PITCH AND ROLL
022783,000069: # POLYNOMIALS DURING SATURN ROLLOUT AND PITCHOVER
022784,000070:
Page 523 |
022786,000072: # THE DISPLAY IS RUN AS LOW PRIORITY JOB APPROX.
022787,000073: # EVERY 1/2 SEC OR LESS AND IS DISABLED UPON OVFLO OF TIME1
022788,000074:
022789,000075: # SUBROUTINES CALLED
022790,000076:
022791,000077: # 2PHSCHNG BANKCALL CALCGRA CDUTRIG CLEANDSP DANZIG
022792,000078: # DELAYJOB EARTHR ENDOFJOB FINDVAC IBNKCALL
022793,000079: # INTPRET LALOTORV NEEDLER NEWMODEX PHASCHNG
022794,000080: # POSTJUMP POWRSERS PREREAD1 REGODSPR S11.1
022795,000081: # SERVEXIT TASKOVER TCDANZIG V1ST02S WAITLIST
022796,000082:
022797,000083: # ASTRONAUT REQUESTS (IF ALTITUDE ABOVE 300,000 FT)
022798,000084:
022799,000085: # DSKY -
022800,000086: # MONITOR DISPLAY OF TIME TO PERIGEE R1 HOURS
022801,000087: # R2 MINUTES
022802,000088:
022803,000089: # DSKY -
022804,000090: # MONITOR DISPLAY OF R1 APOGEE ALTITUDE IN NAUTICAL MILES
022805,000091: # R2 PERIGEE ALTITUDE IN NAUTICAL MILES
022806,000092: # R3 TFF IN MINUTES/SECS
022807,000093:
022808,000094: # IF ASTRONAUT HAS REQUESTED ANY OF THESE DISPLAYS HE MUST
022809,000095: # HIT KEY RELEASE BUTTON TO RETURN TO NORMAL NOUN 62 DISPLAY
022810,000096:
022811,000097: # NORMAL EXIT MODE
022812,000098:
022813,000099: # ASTRONAUT VERB 37 ENTER 00 ENTER
022814,000100:
022815,000101: # ALARM MODES - NONE
022816,000102:
022817,000103: # ABORT EXIT MODES -
022818,000104:
022819,000105: # EARLY BOOST ABORT FOLLOWED BY REENTRY V 37 E 62 E
022820,000106: # LATE BOOST ABORT FOLLOWED BY REENTRY V 37 E 61 E
022821,000107:
022822,000108: # OUTPUT
022823,000109:
022824,000110: # TLIFTOFF (DP) TEPHEM (TP)
022825,000111: # REFSMMAT
022826,000112: # DSKY DISPLAY
022827,000113: # FDAI DISPLAY
022828,000114:
022829,000115: # ERASABLE INITIALIZATION
022830,000116:
022831,000117: # AZO, AXO, -AYO
022832,000118: # LATITUDE
022833,000119: # PADLONG
022834,000120: # TEPHEM
022835,000121: # PGNCSALT
Page 524 |
022837,000123: # POLYNUM THRU POLYNUM +14D)
022838,000124: # RPSTART
022839,000125: # POLYSTOP
022840,000126: # FLAGS SET OR RESET
022841,000127:
022842,000128: # SET REFSMFLG
022843,000129: # SET DVMON IDLE FLAG
022844,000130: # CLEAR ERADFLAG
022845,000131:
022846,000132: # DEBRIS
022847,000133:
022848,000134: # LIFTTEMP
022849,000135: # POLYNUM THRU POLYNUM +7
022850,000136: # SPOLYARG
022851,000137: # BODY1, BODY2, BODY3
022852,000138: # VMAG2, ALTI, HDOT
022853,000139: # CENTRALS, CORE SET AND VAC AREAS
022854,000140:
022855,000141: 04,3444 COUNT 34/P11
022856,000142:
022857,000143: 04,3444 4730 BITS5-6 = SUPER011
022858,000144: 42,3521 BANK 42
022859,000145: 34,2000 SETLOC P11ONE
022860,000146: 34,2000 BANK
022861,000147:
022862,000148: 34,2002 E3,1706 EBANK= TEPHEM
022863,000149: 34,2002 34744 P11 CA EBANK3
022864,000150: 34,2003 54003 TS EBANK
022865,000151:
022866,000152: 34,2004 00006 EXTEND
022867,000153: 34,2005 32273 DCA REP11S # DIRECT RESTARTS TO REP11
022868,000154: 34,2006 52757 DXCH -PHASE3
022869,000155: 34,2007 44714 CS ZERO
022870,000156: 34,2010 22007 ZL
022871,000157: 34,2011 55265 TS LIFTTEMP
022872,000158: 34,2012 52763 DXCH -PHASE5 # INACTIVE GROUP 5, PRELAUNCH PROTECTION
022873,000159: 34,2013 00006 P11+7 EXTEND
022874,000160: 34,2014 32275 DCA REP11SA
022875,000161: 34,2015 53337 DXCH TLIFTOFF
022876,000162:
022877,000163: 34,2016 00006 EXTEND
022878,000164: 34,2017 30025 DCA TIME2
022879,000165: 34,2020 53266 DXCH LIFTTEMP # FOR RESTARTS
022880,000166:
022881,000167: 34,2021 34714 CA ZERO
022882,000168: 34,2022 22007 ZL
022883,000169: 34,2023 52025 DXCH TIME2
022884,000170: 34,2024 53337 REP11A-2 DXCH TLIFTOFF
022885,000171: 34,2025 52757 REP11A-1 DXCH -PHASE3 # RESET PHASE
022886,000172:
Page 525 |
022888,000174: 34,2026 00004 REP11A INHINT
022889,000175: 34,2027 00006 EXTEND
022890,000176: 34,2030 31710 DCA TEPHEM +1
022891,000177: 34,2031 53271 DXCH TEPHEM1 +1
022892,000178: 34,2032 31706 CA TEPHEM
022893,000179: 34,2033 57267 XCH TEPHEM1
022894,000180:
022895,000181: 34,2034 00006 EXTEND
022896,000182: 34,2035 31337 DCA TLIFTOFF
022897,000183: 34,2036 21271 DAS TEPHEM1 +1
022898,000184: 34,2037 27267 ADS TEPHEM1 # CORRECTOFOR OVERFLOW
022899,000185:
022900,000186: 34,2040 05301 TC PHASCHNG
022901,000187: 34,2041 05023 OCT 05023
022902,000188: 34,2042 22000 OCT 22000
022903,000189:
022904,000190: 34,2043 00004 INHINT
022905,000191: 34,2044 00006 EXTEND
022906,000192: 34,2045 31270 DCA TEPHEM1
022907,000193: 34,2046 53707 DXCH TEPHEM
022908,000194: 34,2047 31271 CA TEPHEM1 +2
022909,000195: 34,2050 57710 XCH TEPHEM +2
022910,000196:
022911,000197: 34,2051 32000 CAF EBDVCNT
022912,000198: 34,2052 54003 TS EBANK
022913,000199: 34,2053 E7,1431 EBANK= DVCNTR
022914,000200: 34,2053 04633 TC IBNKCALL
022915,000201: 34,2054 76631 CADR PREREAD1 # ZERO PIPS AND INITIALIZE AVERAGEG
022916,000202:
022917,000203: 34,2055 05301 TC PHASCHNG
022918,000204: 34,2056 05023 OCT 05023 # CONTINUE HERE ON RESTART
022919,000205: 34,2057 22000 OCT 22000
022920,000206:
022921,000207: 34,2060 34731 CAF .5SEC # START ATT ERROR DISPLAY
022922,000208: 34,2061 05140 TC WAITLIST # IN .5 SEC
022923,000209: 34,2062 E6,1704 EBANK= BODY3
022924,000210: 34,2062 02314 70066 2CADR ATERTASK
022925,000211:
022926,000212: 34,2064 05243 TC NEWMODEX # DISPLAY MM 11
022927,000213: 34,2065 00013 MM 11 B-14
022928,000214:
022929,000215: 34,2066 04555 TC BANKCALL
022930,000216: 34,2067 20607 CADR CLEANDSP # CLEAR DSKY IN CASE OF V75
022931,000217:
022932,000218: 34,2070 05261 TC 2PHSCHNG
022933,000219: 34,2071 40514 OCT 40514 # PROTECT ATERTASK
022934,000220: 34,2072 00073 OCT 00073
022935,000221: 34,2073 32001 CAF EBQPLACE
022936,000222: 34,2074 54003 TS EBANK
Page 526 |
022938,000224: 34,2075 E5,1426 EBANK= QPLACES
022939,000225: 34,2075 32276 CA P11XIT # SET EXIT FROM PROUT IN EARTHR
022940,000226: 34,2076 55426 TS QPLACES
022941,000227: 34,2077 22007 ZL # STORE DP GIMBAL
022942,000228: 34,2100 30032 CA CDUX # ANGLES FOR ATTITUDE
022943,000229: 34,2101 53760 DXCH OGC # ERROR DISPLAY
022944,000230: 34,2102 22007 ZL # AFTER L.O.
022945,000231: 34,2103 30033 CA CDUY
022946,000232: 34,2104 53762 DXCH IGC
022947,000233: 34,2105 22007 ZL
022948,000234: 34,2106 30034 CA CDUZ
022949,000235: 34,2107 53764 DXCH MGC
022950,000236: 34,2110 06006 TC INTPRET # -
022951,000237: 34,2111 74575 VLOAD VSR1 # SCALE OGC B-1
022952,000238: 34,2112 02760 OGC
022953,000239: 34,2113 02760 STORE OGC
022954,000240: 34,2114 64375 VLOAD MXV
022955,000241: 34,2115 02467 THETAN
022956,000242: 34,2116 02672 XSM
022957,000243: 34,2117 53372 VSL1 VAD
022958,000244: 34,2120 02650 ERCOMP
022959,000245: 34,2121 16650 STODL ERCOMP
022960,000246: 34,2122 01337 TLIFTOFF
022961,000247: 34,2123 52131 SSP GOTO
022962,000248: 34,2124 00052 S2
022963,000249: 34,2125 66424 CADR PROUT # RETURN FROM EARTHR
022964,000250: 34,2126 66373 EARTHR +3
022965,000251: 34,2127 06006 MATRXJOB TC INTPRET
022966,000252: 34,2130 77731 SSP # ZERO RTX2
022967,000253: 34,2131 03747 RTX2 # FOR
022968,000254: 34,2132 00000 0 # EARTH
022969,000255: 34,2133 65345 DLOAD PDDL
022970,000256: 34,2134 01273 PGNCSALT # ALTITUDE OF PGNCS
022971,000257: 34,2135 01264 PADLONG # LONGITUDE
022972,000258: 34,2136 55525 PDDL VDEF
022973,000259: 34,2137 02403 LATITUDE # GEODETIC LATITUDE
022974,000260: 34,2140 15104 STODL LAT # LAT,LONG,ALT ARE CONSECUTIVE
022975,000261: 34,2141 15332 HI6ZEROS # TIME = 0
022976,000262: 34,2142 45014 CLEAR CALL
022977,000263: 34,2143 00662 ERADFLAG
022978,000264: 34,2144 26373 LALOTORV # CONVERT TO POSITION VECTOR IN REF.COORDS
022979,000265:
022980,000266: 34,2145 35232 STCALL RN1 # -
022981,000267: 34,2146 77260 CALCGRAV # RETURN WITH GRAVITY
022982,000268: 34,2147 77656 UNIT # IN MPAC
022983,000269: 34,2150 25752 STOVL REFSMMAT +12D # UNITZ = UNIT(GRAV)
022984,000270: 34,2151 01232 RN1
022985,000271: 34,2152 74235 VXV VXSC
022986,000272: 34,2153 01714 UNITW # SCALED AT 1
022987,000273: 34,2154 30300 -ERTHRAT # V = EARTHRATE X R
Page 527 |
022989,000275: 34,2155 77712 VSL4 # SCALE TO 2(7) M/CS
022990,000276: 34,2156 25240 STOVL VN1
022991,000277: 34,2157 01752 REFSMMAT +12D
022992,000278: 34,2160 53435 VXV UNIT
022993,000279: 34,2161 01714 UNITW # (REF3 X UNITW) = EAST
022994,000280: 34,2162 47206 PUSH VXV
022995,000281: 34,2163 01752 REFSMMAT +12D # (EAST X REF3) = -SOUTH
022996,000282: 34,2164 65256 UNIT PDDL
022997,000283: 34,2165 02634 LAUNCHAZ # COS(AZ)*SOUTH
022998,000284: 34,2166 74346 COS VXSC
022999,000285: 34,2167 77626 STADR
023000,000286: 34,2170 62041 STODL REFSMMAT # TEMPORARY STORAGE
023001,000287: 34,2171 02634 LAUNCHAZ
023002,000288: 34,2172 74356 SIN VXSC # SIN(AZ)*EAST
023003,000289: 34,2173 53455 VAD UNIT # SIN(AZ)*EAST - COS(AZ)*SOUTH = REF1
023004,000290: 34,2174 01736 REFSMMAT
023005,000291: 34,2175 01736 STORE REFSMMAT
023006,000292:
023007,000293: 34,2176 53435 VXV UNIT # (REF1 X REF3) = -REF3
023008,000294: 34,2177 01752 REFSMMAT +12D
023009,000295: 34,2200 77676 VCOMP
023010,000296: 34,2201 01744 STORE REFSMMAT +6
023011,000297: 34,2202 45345 DLOAD DSU
023012,000298: 34,2203 15330 DPHALF # 1/2 REV
023013,000299: 34,2204 02634 LAUNCHAZ
023014,000300: 34,2205 65215 DAD PDDL
023015,000301: 34,2206 02401 AZIMUTH
023016,000302: 34,2207 03301 SATRLRT # SET SATRLRT = -SATRLRT IF
023017,000303: 34,2210 45565 SIGN STADR # (1/2REV -LAVNCHAZ +AZIMUTH) IS NEGATIVE
023018,000304: 34,2211 74476 STORE SATRLRT # FOR ROLL CALC IN FDAI ATT. ERROR DISPLAY
023019,000305: 34,2212 77414 SET EXIT
023020,000306: 34,2213 01462 REFSMFLG # SET REFSMMAT KNOWN FLAG
023021,000307:
023022,000308: 34,2214 05301 TC PHASCHNG
023023,000309: 34,2215 04023 OCT 04023
023024,000310:
023025,000311: 34,2216 00006 EXTEND
023026,000312: 34,2217 32302 DCA P11SCADR
023027,000313: 34,2220 53223 DXCH AVGEXIT # SET AVGEXIT
023028,000314:
023029,000315: 34,2221 37665 CA PRIO31 # 2 SECONDS AT 2(+8)
023030,000316: 34,2222 55074 TS 1/PIPADT
023031,000317:
023032,000318: 34,2223 E6,1501 EBANK= RCSFLAGS
023033,000319: 34,2223 34752 CA EBANK6
023034,000320: 34,2224 54003 TS EBANK
023035,000321:
023036,000322: 34,2225 00004 INHINT
023037,000323: 34,2226 44714 CS ZERO
023038,000324: 34,2227 55063 TS TBASE5 # RESTART READACCS 2 SECONDS AFTER LIFTOFF
Page 528 |
023040,000326: 34,2230 40025 CS TIME1
023041,000327: 34,2231 64735 AD 2SECS # DO READACCS 2 SECONDS AFTER LIFTOFF
023042,000328:
023043,000329: 34,2232 10000 CCS A # CHECK TO INSURE DT IS POSITIVE
023044,000330: 34,2233 12236 TCF +3 # TIME POSITIVE
023045,000331: 34,2234 12236 TCF +2 # CANNOT GET HERE
023046,000332: 34,2235 34714 CA ZERO # TIME NEGATIVE - SET TO 1
023047,000333: 34,2236 64712 AD ONE # RESTORE TIME - OR MAKE POSITIVE
023048,000334:
023049,000335: 34,2237 05140 TC WAITLIST
023050,000336: 34,2240 E6,1661 EBANK= AOG
023051,000337: 34,2240 02653 76066 2CADR READACCS
023052,000338: 34,2242 05261 TC 2PHSCHNG
023053,000339: 34,2243 00003 OCT 00003 # TURN OFF GROUP 3
023054,000340: 34,2244 00025 OCT 00025 # PROTECT NORMLIZE AND READACCS
023055,000341:
023056,000342: 34,2245 04574 TC POSTJUMP
023057,000343: 34,2246 77145 CADR NORMLIZE # DO NORMLIZE AND ENDOFJOB
023058,000344:
023059,000345:
023060,000346: 34,2247 E3,1706 EBANK= TEPHEM
023061,000347: 34,2247 00004 REP11 INHINT
023062,000348: 34,2250 10763 CCS PHASE5
023063,000349: 34,2251 05112 TC ENDOFJOB
023064,000350:
023065,000351: 34,2252 11265 CCS LIFTTEMP
023066,000352: 34,2253 12257 TCF +4
023067,000353: 34,2254 12257 TCF +3
023068,000354: 34,2255 12257 TCF +2
023069,000355: 34,2256 12013 TCF P11+7
023070,000356:
023071,000357: 34,2257 41336 CS TLIFTOFF
023072,000358: 34,2260 00006 EXTEND
023073,000359: 34,2261 62267 BZMF ENDREP11
023074,000360:
023075,000361: 34,2262 10024 CCS TIME2 # **TIME2 MUST BE NON-ZERO AT LIFTOFF**
023076,000362: 34,2263 12021 TCF REP11A -5 # T2,T1 NOT YET ZEROED, GO AND DO IT
023077,000363:
023078,000364: 34,2264 00006 EXTEND # T2,T1 ZEROED, SET TLIFTOFF
023079,000365: 34,2265 31266 DCA LIFTTEMP
023080,000366: 34,2266 12024 TCF REP11A-2
023081,000367:
023082,000368: 34,2267 00006 ENDREP11 EXTEND
023083,000369: 34,2270 32275 DCA REP11SA
023084,000370: 34,2271 12025 TCF REP11A-1
023085,000371:
023086,000372:
023087,000373: 34,2272 77766 00011 REP11S 2OCT 77766 00011
Page 529 |
023089,000375: 34,2274 77764 00013 REP11SA 2OCT 77764 00013
023090,000376:
023091,000377:
023092,000378: 34,2276 02451 P11XIT GENADR P11OUT
023093,000379: 34,2277 71704 41735 -ERTHRAT 2DEC* -7.292115138 E-7 B18* # - EARTH RATE AT 2(18)
023094,000380: 34,2301 E6,1704 EBANK= BODY3
023095,000381: 34,2301 02303 70066 P11SCADR 2CADR VHHDOT
023096,000382: 34,2303 E6,1704 EBANK= BODY3
023097,000383: # VHHDOT IS EXECUTED EVERY 2 SECONDS TO DISPLAY ON DSKY
023098,000384: # VI INERTIAL VELOCITY MAGNITUDE
023099,000385: # HDOT RATE OF CHANGE OF ALT ABOVE L PAD RADIUS
023100,000386: # H ALTITUDE ABOVE L PAD RADIUS
023101,000387:
023102,000388: 34,2303 06006 VHHDOT TC INTPRET
023103,000389: 34,2304 77624 CALL # LOAD VMAGI, ALTI,
023104,000390: 34,2305 70436 S11.1 # HDOT FOR DISPLAY
023105,000391: 34,2306 77776 EXIT
023106,000392: 34,2307 32511 CAF V06N62 # DISPLAY IN R1 R2 R3
023107,000393: 34,2310 04555 TC BANKCALL # VI HDOT H
023108,000394: 34,2311 20621 CADR REGODSPR # DISPLAY INTERFACE - IMMEDIATE RETURN
023109,000395: 34,2312 04555 TC BANKCALL
023110,000396: 34,2313 77136 CADR SERVEXIT # END OF P11SERVE CYCLE
023111,000397: 34,2314 34701 ATERTASK CAF PRIO1 # ESTABLISH JOB TO DISPLAY ATT ERRORS
023112,000398: 34,2315 05042 TC FINDVAC # COMES HERE AT L.O. + .33 SEC
023113,000399: 34,2316 E6,1704 EBANK= BODY3
023114,000400: 34,2316 02326 70066 2CADR ATERJOB
023115,000401: 34,2320 41501 CS RCSFLAGS # SET BIT3 FOR
023116,000402: 34,2321 74710 MASK BIT3 # NEEDLER
023117,000403: 34,2322 27501 ADS RCSFLAGS # INITIALIZATION PASS
023118,000404: 34,2323 04633 TC IBNKCALL # AND GO
023119,000405: 34,2324 42404 CADR NEEDLER # DO IT
023120,000406: 34,2325 05213 TC TASKOVER
023121,000407: # THIS SECTION PROVIDES ATTITUDE ERROR DISPLAYS TO THE FDAI DURING SONE BOOST
023122,000408:
023123,000409: # COMPUTE DESIRED PITCH W.R.T. LAUNCH SITE LOCAL VERTICAL.
023124,000410: # PITCH = -.0000469184028+.00137571556*T+.0231502280*T*T-.0205929365*T*T*T
023125,000411: # SCALED TO 32 REVOLUTIONS
023126,000412: # IF TL = TIME FROM LAUNCH IN SECONDS, THEN T = 100(TL-10SEC)/(2**14)
023127,000413: # WHERE TL GE 10 SEC
023128,000414: # TL LE 133 SEC .
023129,000415:
023130,000416: # COMPUTE DESIRED ROLL WHERE ROLL EQUALS COUNTER-CLOCKWISE ANGLE FROM
023131,000417: # LAUNCHAZ TO -Z(S/C) AS SEEN FROM X(S/C).
023132,000418: # ROLL = LAUNCHAZ-AZIMUTH-.5 +SATRLRT*T IN REV
023133,000419: # SATRLRT = RATE OF ROLL IN REV/CENTI-SEC
023134,000420: # T,IN CENTI-SEC,IS DEFINED AS ABOVE,INCLUSIVE OF TIME RESTRICTIONS
Page 530 |
023136,000422: # FOR SIMPLICITY, LET P = 2*PI*PITCH
023137,000423: # R = 2*PI*ROLL
023138,000424:
023139,000425: # CONSTRUCT THE TRANSFORMATION MATRIX, TSMV, GIVING DESIRED S/C AXES IN
023140,000426: # TERMS OF SM COORDINATES. LET THE RESULTING ROWS EQUAL THE VECTORS XDC,
023141,000427: # YDC,AND ZDC.
023142,000428:
023143,000429: # * ( SIN(P) 0 -COS(P) ) (XDC)
023144,000430: # TSMV = (-SIN(R)*COS(P) -COS(R) -SIN(R)*SIN(P)) = (YDC)
023145,000431: # (-COS(R)*COS(P) SIN(R) -COS(R)*SIN(P)) (ZDC)
023146,000432:
023147,000433: # XDC,YDC,ZDC ARE USED AS INPUT TO CALCGTA FOR THE EXTRACTION OF THE
023148,000434: # EULER SET OF ANGLES WHICH WILL BRING THE SM INTO THE DESIRED
023149,000435: # ORIENTATION. THIS EULER SET, OGC, IGC, AND MGC, MAY BE IDENTIFIED
023150,000436: # AS THE DESIRED CDU ANGLES.
023151,000437:
023152,000438: # (XDC) (OGC)
023153,000439: # (YDC) ---) CALCGTA ---) (IGC)
023154,000440: # (ZDC) (MGC)
023155,000441:
023156,000442: # -
023157,000443: # DEFINE THE VECTOR DELTACDU.
023158,000444:
023159,000445: # - (OGC) (CDUX)
023160,000446: # DELTACDU = (IGC) - (CDUY)
023161,000447: # (MGC) (CDUZ)
023162,000448:
023163,000449: # - - * -
023164,000450: # COMPUTE ATTITUDE ERRORS, A, WHERE A = TGSC*DELTACDU
023165,000451:
023166,000452: # * (1 SIN(CDUZ) 0 ) THE GIMBAL ANGLES
023167,000453: # TGSC = (0 COS(CDUX)*COS(CDUZ) SIN(CDUX)) = TO SPACECRAFT AXES
023168,000454: # (0 -SIN(CDUX)*COS(CDUZ) COS(CDUX)) CONVERSION MATRIX
023169,000455:
023170,000456: # -
023171,000457: # THE ATTITUDE ERRORS, A, ARE STORED ONE HALF SINGLE PRECISION IN
023172,000458: # THE REGISTERS AK, AK1, AK2 AS INPUT TO NEEDLER, THE FDAI ATTITUDE
023173,000459: # ERROR DISPLAY ROUTINE.
023174,000460:
023175,000461: 34,2326 30024 ATERJOB CAE TIME2 # CHECK IF MORE THAN
023176,000462: 34,2327 00006 EXTEND # 164 SECONDS FROM L.O.
023177,000463: 34,2330 62332 BZMF +2
023178,000464: 34,2331 12424 TCF SATCLEAR # YES - CLEAR ERROR COUNTER + EXIT
023179,000465: 34,2332 30102 CAE FLAGWRD6 # CHECK FLAGWRD6
023180,000466: 34,2333 74105 MASK OCT60000 # BITS 14 + 15
023181,000467: 34,2334 00006 EXTEND
023182,000468: 34,2335 12337 BZF ATTDISP # NO SATURN STICK ON
023183,000469: 34,2336 02420 TC ATERSET # EXIT - SATURN STICK IN USE
023184,000470: 34,2337 41702 ATTDISP CS RPSTART # PITCH/ROLL START TIME
023185,000471: 34,2340 60025 AD TIME1
Page 531 |
023187,000473: 34,2341 00006 EXTEND
023188,000474: 34,2342 62504 BZMF NOPOLY # IF MINUS THEN ATTITUDE HOLD
023189,000475: 34,2343 54154 TS MPAC # MPAC = TIME1 - RPSTART
023190,000476: 34,2344 55707 TS SPOLYARG # SAVE FOR USE IN ROLL CALCULATION
023191,000477: 34,2345 61703 AD POLYSTOP # NEG PITCHOVER TIME IN CSECS
023192,000478: 34,2346 00006 EXTEND
023193,000479: 34,2347 62351 BZMF +2
023194,000480: 34,2350 12416 TCF SATOUT # EXIT IF TIME1 GR THAN (RPSTART-POLYSTOP)
023195,000481: 34,2351 31661 CAE POLYNUM
023196,000482: 34,2352 54001 TS L
023197,000483: 34,2353 32510 CAF COEFPOLY # EVALUATE PITCH POLYNOMIAL
023198,000484: 34,2354 07164 TC POWRSERS # SCALED TO 32 REVOLUTIONS
023199,000485:
023200,000486: # THE FOLLOWING PAD LOADED COEFFICIENTS ARE
023201,000487: # USED TO COMPUTE THE PITCH POLYNOMIAL
023202,000488:
023203,000489: # ----- SUNDISK SI COEFS -----
023204,000490: # POLYNUM FIVE POLYNOMIAL DEGREE -1
023205,000491: # +1 2DEC -.469184028 E-4 A0
023206,000492: # +3 2DEC .137571556 E-2 A1
023207,000493: # +5 2DEC .231502280 E-1 A2
023208,000494: # +7 2DEC -.205929365 E-1 A3
023209,000495: # +9D 2DEC 0 A4
023210,000496: # +11D 2DEC 0 A5
023211,000497: # +13D 2DEC 0 A6
023212,000498: # POLYLOC = POLYNUM +10D
023213,000499:
023214,000500: 34,2355 34714 CA ZERO # RETURN WITH PITCH(32REV)
023215,000501: 34,2356 54163 TS MODE # STORED IN MPAC, MPAC +1
023216,000502: 34,2357 06006 TC INTPRET
023217,000503: 34,2360 54201 SETPD SL # 32(PITCH(32REV)) = PITCH(REV)
023218,000504: 34,2361 00001 0
023219,000505: 34,2362 20206 5
023220,000506: 34,2363 77606 PUSH # LET P(RAD) = 2*PI*PITCH(REV)
023221,000507:
023222,000508: 34,2364 77650 GOTO
023223,000509: 34,2365 76103 ATTDISP1 # AROUND SETLOC
023224,000510: # *
023225,000511: # CONSTRUCT SM TO S/C MATRIX, TSMV
023226,000512:
023227,000513: 37,2000 SETLOC P11TWO
023228,000514: 37,2000 BANK # 36 IN COL., 34 IN DISK
023229,000515:
023230,000516: 37,2103 COUNT 36/P11
023231,000517:
023232,000518: 37,2103 57546 ATTDISP1 COS DCOMP
023233,000519: 37,2104 14017 STODL 14D # -.5*COS(P)
023234,000520: 37,2105 77756 SIN
023235,000521: 37,2106 14013 STODL 10D # .5*SIN(P)
023236,000522: 37,2107 15332 ZEROVECS
Page 532 |
023238,000524: 37,2110 00015 STORE 12D # 0
023239,000525:
023240,000526: # EVALUATE ROLL = LAUNCHAZ-AZIMUTH-.5+SATRLRT*T
023241,000527: 37,2111 41335 SLOAD DMP
023242,000528: 37,2112 03310 SPOLYARG # TIME1 - RPSTART ,CSECS B-14.
023243,000529: 37,2113 03301 SATRLRT
023244,000530: 37,2114 45261 SL DSU
023245,000531: 37,2115 20217 14D
023246,000532: 37,2116 15330 DPHALF
023247,000533: 37,2117 45215 DAD DSU # ASSUMING X(SM) ALONG LAUNCH AZIMUTH,
023248,000534: 37,2120 02634 LAUNCHAZ # LAUNCHAZ = ANGLE FROM NORTH TO X(SM).
023249,000535: 37,2121 02401 AZIMUTH # AZIMUTH = -ANGLE FROM NORTH TO Z(S/C)
023250,000536: 37,2122 77634 RTB # DETERMINE IF ROLLOUT
023251,000537: 37,2123 70473 RLTST # IS COMPLETED
023252,000538: 37,2124 71406 ATTDISPR PUSH COS # CONTINUE COMPUTING TSMV
023253,000539: 37,2125 77606 PUSH # LET R(RAD) = 2*PI*ROLL(REV)
023254,000540: 37,2126 72405 DMP SL1
023255,000541: 37,2127 00017 14D
023256,000542: 37,2130 14027 STODL 22D # -.5*COS(R)*COS(P)
023257,000543: 37,2131 77676 DCOMP
023258,000544: 37,2132 00023 STORE 18D # -.5*COS(R)
023259,000545: 37,2133 72405 DMP SL1
023260,000546: 37,2134 00013 10D
023261,000547: 37,2135 14033 STODL 26D # -.5*COS(R)*SIN(P)
023262,000548: 37,2136 41556 SIN PUSH
023263,000549: 37,2137 00031 STORE 24D # .5*SIN(R)
023264,000550: 37,2140 72405 DMP SL1
023265,000551: 37,2141 00017 14D
023266,000552: 37,2142 14021 STODL 16D # -.5*SIN(R)*COS(P)
023267,000553: 37,2143 77676 DCOMP
023268,000554: 37,2144 72405 DMP SL1
023269,000555: 37,2145 00013 10D
023270,000556: 37,2146 24025 STOVL 20D # -.5*SIN(R)*SIN(P)
023271,000557: 37,2147 00013 10D
023272,000558:
023273,000559: # FROM TSMV FIND THE HALF UNIT VECTORS XDC,YDC,ZDC = INPUT TO CALCGTA
023274,000560:
023275,000561: 37,2150 77656 UNIT
023276,000562: 37,2151 26714 STOVL XDC # XDC = .5*UNIT(SIN(P),0,-COS(P))
023277,000563: 37,2152 00021 16D
023278,000564: 37,2153 77656 UNIT
023279,000565: 37,2154 26722 STOVL YDC # YDC = .5*UNIT(-SIN(R)*COS(P),-COS(R),
023280,000566: 37,2155 00027 22D # -SIN(R)*SIN(P))
023281,000567: 37,2156 77656 UNIT
023282,000568: 37,2157 36730 STCALL ZDC # ZDC = .5*UNIT(-COS(R)*COS(P),SIN(R),
023283,000569: 37,2160 47140 CALCGTA # -COS(R)*SIN(P))
023284,000570:
023285,000571: # CALL CALCGTA TO COMPUTE DESIRED SM ORIENTATION OGC,IGC,AND MGC
023286,000572: # - - -
023287,000573: # FIND DIFFERENCE VECTOR DELTACDU = OGC-CDUX
Page 533 |
023289,000575: # ENTER HERE IF ATTITUDE HOLD
023290,000576:
023291,000577: 37,2161 41575 NOPOLYM VLOAD PUSH # OGC IGC
023292,000578: 37,2162 02760 OGC # CHANGE IGC TO MGC FOR COMPATIBILITY
023293,000579: 37,2163 45006 PUSH CALL # MGC OGC
023294,000580: 37,2164 47432 CDUTRIG # WITH Y,Z,X ORDER OF CDUSPOT
023295,000581: 37,2165 47175 VLOAD RTB # - DPHI OGC-CDUX ,PD4
023296,000582: 37,2166 00003 2 # DELTACDU = DTHETA = IGC-CDUY , 0
023297,000583: 37,2167 45547 V1STO2S # DPSI MGC-CDUZ , 2
023298,000584: 37,2170 27317 STOVL BOOSTEMP
023299,000585: 37,2171 15332 ZEROVECS
023300,000586: 37,2172 24001 STOVL 0
023301,000587: 37,2173 00767 CDUSPOT
023302,000588: 37,2174 47034 RTB RTB
023303,000589: 37,2175 45547 V1STO2S
023304,000590: 37,2176 70453 DELSTOR
023305,000591: 37,2177 14013 STODL 10D
023306,000592: 37,2200 00741 SINCDUZ
023307,000593: 37,2201 72405 DMP SL1
023308,000594: 37,2202 00001 0
023309,000595: 37,2203 60415 DAD SR2 # CHANGE SCALE OF AK TO 2REVS
023310,000596: 37,2204 00005 4
023311,000597: 37,2205 77650 GOTO
023312,000598: 37,2206 70366 ATTDISP2
023313,000599:
023314,000600: 34,2000 SETLOC P11ONE
023315,000601: 34,2000 BANK
023316,000602: 34,2366 COUNT 34/P11
023317,000603:
023318,000604: 34,2366 14021 ATTDISP2 STODL 16D # 16D, .5(DPHI + DTHETA*SIN(CDUZ))
023319,000605: 34,2367 00747 COSCDUZ
023320,000606: 34,2370 41405 DMP PUSH
023321,000607: 34,2371 00001 0
023322,000608: 34,2372 72405 DMP SL1
023323,000609: 34,2373 00751 COSCDUX
023324,000610: 34,2374 41325 PDDL DMP
023325,000611: 34,2375 00743 SINCDUX
023326,000612: 34,2376 00003 2
023327,000613: 34,2377 72415 DAD SL1
023328,000614: 34,2400 77626 STADR
023329,000615: 34,2401 63755 STODL 17D # 17D, .5(DTHETA*COS(CDUX)*COS(CDUZ)
023330,000616: 34,2402 72405 DMP SL1 # +DPSI*SIN(CDUX))
023331,000617: 34,2403 00743 SINCDUX
023332,000618: 34,2404 41325 PDDL DMP
023333,000619: 34,2405 00751 COSCDUX
023334,000620: 34,2406 00003 2
023335,000621: 34,2407 72425 DSU SL1
023336,000622: 34,2410 77626 STADR
023337,000623: 34,2411 77754 STORE 18D # 18D, .5(-DTHETA*SIN(CDUX)*COS(CDUZ)
023338,000624: 34,2412 77751 TLOAD # +DPSI*COS(CDUX))
Page 534 |
023340,000626: 34,2413 00021 16D
023341,000627: 34,2414 03077 STORE AK # STORE ATTITUDE ERRORS IN AK,AK1,AK2
023342,000628: 34,2415 77776 EXIT
023343,000629:
023344,000630: # DISPLAY ATTITUDE ERRORS ON FDAI VIA NEEDLER
023345,000631:
023346,000632: 34,2416 04555 SATOUT TC BANKCALL
023347,000633: 34,2417 42404 CADR NEEDLER
023348,000634: 34,2420 34113 ATERSET CAF OCT31 # DELAY .25 SEC
023349,000635: 34,2421 04555 TC BANKCALL # EXECUTION + DELAY =.56SEC APPROX
023350,000636: 34,2422 01730 CADR DELAYJOB
023351,000637: 34,2423 02326 TC ATERJOB # END OF ATT ERROR DISPLAY CYCLE
023352,000638:
023353,000639: 34,2424 44705 SATCLEAR CS BIT6
023354,000640: 34,2425 00006 EXTEND
023355,000641: 34,2426 03012 WAND CHAN12 # CLEAR IMU ERROR COUNTER
023356,000642: 34,2427 05301 TC PHASCHNG # TURN OFF PROTECTION
023357,000643: 34,2430 00004 OCT 00004 # FOR ATTITUDE ERROR DISPLAY
023358,000644: 34,2431 34714 CAF ZERO
023359,000645: 34,2432 55476 TS AK # ZERO OUT
023360,000646: 34,2433 55477 TS AK1 # AKS FOR
023361,000647: 34,2434 55500 TS AK2 # DOWNLINK
023362,000648: 34,2435 05112 TC ENDOFJOB
023363,000649:
023364,000650: 34,2436 51575 S11.1 VLOAD ABVAL
023365,000651: 34,2437 01177 VN
023366,000652: 34,2440 27723 STOVL VMAGI # VI SCALED 2(7) IN METERS/CSEC
023367,000653: 34,2441 01171 RN
023368,000654: 34,2442 45246 ABVAL DSU
023369,000655: 34,2443 05311 RPAD
023370,000656: 34,2444 27735 STOVL ALTI # H SCALED 2(29) IN METERS
023371,000657: 34,2445 01171 RN
023372,000658: 34,2446 50256 UNIT DOT
023373,000659: 34,2447 01177 VN
023374,000660: 34,2450 77752 SL1
023375,000661: 34,2451 03737 STORE HDOT # HDOT SCALED 2(7) IN METERS/CSEC
023376,000662: 34,2452 77616 RVQ
023377,000663: 34,2453 31716 DELSTOR CA BOOSTEMP
023378,000664: 34,2454 00006 EXTEND # STORE DELTACDU INTO PDL 0,2,4
023379,000665: 34,2455 20154 MSU MPAC
023380,000666: 34,2456 50120 INDEX FIXLOC
023381,000667: 34,2457 54000 TS 0
023382,000668: 34,2460 31717 CA BOOSTEMP +1
023383,000669: 34,2461 00006 EXTEND
023384,000670: 34,2462 20155 MSU MPAC +1
023385,000671: 34,2463 50120 INDEX FIXLOC
023386,000672: 34,2464 54002 TS 2
023387,000673: 34,2465 31720 CA BOOSTEMP +2
023388,000674: 34,2466 00006 EXTEND
023389,000675: 34,2467 20156 MSU MPAC +2
Page 535 |
023391,000677: 34,2470 50120 INDEX FIXLOC
023392,000678: 34,2471 54004 TS 4
023393,000679: 34,2472 16030 TCF DANZIG
023394,000680: 34,2473 30154 RLTST CA MPAC # DETERMINE IF ROLLOUT
023395,000681: 34,2474 00006 EXTEND # IS COMPLETED
023396,000682: 34,2475 71701 MP SATRLRT +1
023397,000683: 34,2476 00006 EXTEND
023398,000684: 34,2477 66030 BZMF DANZIG # UNLIKE SIGNS STILL ROLLING
023399,000685: 34,2500 00006 EXTEND # ROLLOUT COMPLETED
023400,000686: 34,2501 33563 DCA MBDYTCTL +2 # ZERO OUT ROLL CONTRIBUTION
023401,000687: 34,2502 52155 DXCH MPAC
023402,000688: 34,2503 06030 TC DANZIG
023403,000689: 34,2504 06006 NOPOLY TC INTPRET # COMES HERE IF
023404,000690: 34,2505 52001 SETPD GOTO # ATTITUDE HOLD
023405,000691: 34,2506 00001 0
023406,000692: 34,2507 76161 NOPOLYM
023407,000693: 34,2510 01673 COEFPOLY ADRES POLYLOC
023408,000694: 34,2511 01476 V06N62 VN 0662
023409,000695: # SATURN TAKEOVER FUNCTION
023410,000696: # ************************
023411,000697:
023412,000698: # PROGRAM DESCRIPTION
023413,000699:
023414,000700: # MOD NUMBER 1
023415,000701: # MOD BY ELIASSEN
023416,000702:
023417,000703: # FUNCTIONAL DESCRIPTION
023418,000704:
023419,000705: # DURING THE COASTING PHASE OF SIVB ATTACHED, THE
023420,000706: # ASTRONAUT MAY REQUEST SATURN TAKEOVER THROUGH
023421,000707: # EXTENDED VERB 46 (BITS 13,14 OF DAPDATR1 SET ).
023422,000708: # THE CMC REGARDS RHC COMMANDS AS BODY-AXES RATE
023423,000709: # COMMANDS AND IT TRANSMITS THESE TO SATURN AS DC
023424,000710: # VOLTAGES. THE VALUE OF THE CONSTANT RATE COMMAND
023425,000711: # IS 0.5 DEG/SEC. AN ABSENCE OF RHC ACTIVITY RE-
023426,000712: # SULTS IN A ZERO RATE COMMAND.
023427,000713:
023428,000714: # THE FDAI ERROR NEEDLES WILL INDICATE THE VALUE
023429,000715: # OF THE RATE COMMAND.
023430,000716:
023431,000717: # CALLING SEQUENCE
023432,000718:
023433,000719: # DAPFIG +9D TC POSTJUMP
023434,000720: # CADR SATSTKON
023435,000721:
023436,000722: # SUBROUTINES CALLED
023437,000723:
023438,000724: # ENDEXT
023439,000725: # IBNKCALL
023440,000726: # STICKCHK
Page 536 |
023442,000728: # NEEDLER
023443,000729: # T5RUPT
023444,000730: # RESUME
023445,000731:
023446,000732: # ASTRONAUT REQUESTS
023447,000733:
023448,000734: # ENTRY - VERB 46 ENTER
023449,000735: # (CONDITION - BITS 13, 14 OF DAPDATR1 SET)
023450,000736:
023451,000737: # EXIT - VERB 48 ENTER (FLASH V06N46)
023452,000738: # VERB 21 ENTER AXXXX ENTER WHERE A=0 OR 1
023453,000739: # VERB 34 ENTER
023454,000740: # VERB 46 ENTER
023455,000741:
023456,000742: # NORMAL EXIT MODE
023457,000743:
023458,000744: # VERB 46 ENTER (SEE ASTRONAUT ABOVE)
023459,000745:
023460,000746: # ALARM OR ABORT EXIT MODES
023461,000747:
023462,000748: # NONE
023463,000749:
023464,000750: # OUTPUT
023465,000751:
023466,000752: # SATURN RATES IN CDUXCMD, CDUYCMD, CDUZCMD
023467,000753:
023468,000754: # ERASABLE INITIALIZATION
023469,000755:
023470,000756: # DAPDATR1 (BITS 13, 14 MUST BE SET)
023471,000757:
023472,000758: # DEBRIS
023473,000759:
023474,000760: # CENTRALS
023475,000761: # CDUXCMD, CDUYCMD, CDUZCMD
023476,000762:
023477,000763: 43,3210 BANK 43
023478,000764: 43,2000 SETLOC EXTVERBS
023479,000765: 43,2000 BANK
023480,000766:
023481,000767: 43,3210 COUNT 23/STTKE
023482,000768: 43,3210 00006 SATSTKON EXTEND
023483,000769: 43,3211 33226 DCA 2REDOSAT
023484,000770: 43,3212 00004 INHINT
023485,000771: 43,3213 53313 DXCH T5LOC
023486,000772: 43,3214 34672 CAF POSMAX
023487,000773: 43,3215 54030 TS TIME5
023488,000774: 43,3216 40102 CS FLAGWRD6 # TURN ON BITS 15,14 OF
023489,000775: 43,3217 74105 MASK RELTAB11 # FLAGWRD6
023490,000776: 43,3220 26102 ADS FLAGWRD6 # SATSTICK CONTROL OF T5
023491,000777: 43,3221 04633 TC IBNKCALL # ZERO JET CHANNELS IN 14 MS AND THEN
Page 537 |
023493,000779: 43,3222 42616 CADR ZEROJET # LEAVE THE T6 CLOCK DISABLED
023494,000780: 43,3223 00003 RELINT
023495,000781: 43,3224 02125 TC GOPIN # EXIT THUS BECAUSE WE CAME VIA V46
023496,000782:
023497,000783: 43,3225 E6,1704 EBANK= BODY3
023498,000784: 43,3225 02765 46106 2REDOSAT 2CADR REDOSAT
023499,000785:
023500,000786: 32,2017 BANK 32
023501,000787: 23,2000 SETLOC P11FOUR
023502,000788: 23,2000 BANK
023503,000789:
023504,000790: 23,2765 22016 REDOSAT LXCH BANKRUPT # ALSO COMES HERE FOR RESTARTS
023505,000791: 23,2766 00006 EXTEND
023506,000792: 23,2767 22012 QXCH QRUPT
023507,000793: 23,2770 41501 CS RCSFLAGS # TURN ON BIT3 OF RCSFLAGX
023508,000794: 23,2771 74710 MASK BIT3 # FOR
023509,000795: 23,2772 27501 ADS RCSFLAGS # NEEDLER INITIALIZATION
023510,000796: 23,2773 04633 TC IBNKCALL
023511,000797: 23,2774 42404 CADR NEEDLER # DISABLE IMU ERR COUNTERS ETC.
023512,000798: 23,2775 34702 CAF BIT9 # SIVB
023513,000799: 23,2776 00006 EXTEND # TAKEOVER
023514,000800: 23,2777 05012 WOR CHAN12 # ENABLE
023515,000801: 23,3000 00006 EXTEND # SET UP T5 CYCLE
023516,000802: 23,3001 33046 DCA 2SATSTCK
023517,000803: 23,3002 53313 DXCH T5LOC
023518,000804: 23,3003 33044 CAF 100MST5 # IN 100 MSECS
023519,000805: 23,3004 54030 TS TIME5
023520,000806: 23,3005 15222 TCF RESUME # END OF SATURN STICK INITIALIZATION
023521,000807:
023522,000808: # THIS SECTION IS EXECUTED EVERY 100 MSECS
023523,000809:
023524,000810: 23,3006 22016 SATSTICK LXCH BANKRUPT
023525,000811: 23,3007 00006 EXTEND
023526,000812: 23,3010 22012 QXCH QRUPT
023527,000813:
023528,000814: 23,3011 33045 CAF 2SATSTCK # SET UP RUPT
023529,000815: 23,3012 55312 TS T5LOC # LO ORDER LOC SET
023530,000816: 23,3013 33044 CAF 100MST5 # 100 MSECS
023531,000817: 23,3014 54030 TS TIME5
023532,000818: 23,3015 33043 CAF STIKBITS
023533,000819: 23,3016 00006 EXTEND
023534,000820: 23,3017 06031 RXOR CHAN31 # CHECK IF MAN ROT BITS SAME
023535,000821: 23,3020 73043 MASK STIKBITS
023536,000822: 23,3021 04633 TC IBNKCALL # SET RATE INDICES
023537,000823: 23,3022 43114 CADR STICKCHK # FOR PITCH YAW AND ROLL
023538,000824:
023539,000825: 23,3023 51656 INDEX RMANNDX # SET SATURN RATES
023540,000826: 23,3024 33037 CA SATRATE
023541,000827: 23,3025 55476 TS AK # ROLL
Page 538 |
023543,000829: 23,3026 51657 INDEX PMANNDX
023544,000830: 23,3027 33037 CA SATRATE
023545,000831: 23,3030 55477 TS AK1 # PITCH
023546,000832: 23,3031 51660 INDEX YMANNDX
023547,000833: 23,3032 33037 CA SATRATE
023548,000834: 23,3033 55500 TS AK2 # YAW
023549,000835:
023550,000836: 23,3034 04633 TC IBNKCALL # FOR SATURN INTERFACE AND FDAI DISPLAY
023551,000837: 23,3035 42404 CADR NEEDLER
023552,000838: 23,3036 15222 TCF RESUME # END OF SATURN STICK CONTROL
023553,000839:
023554,000840:
023555,000841: 23,3037 00000 SATRATE DEC 0 B-14 # IN DETENT - ZERO RATE
023556,000842: 23,3040 00476 DEC +318 B-14 # POS RATE .5D/S R, .3D/S P AND Y
023557,000843: 23,3041 77301 DEC -318 B-14 # NEG RATE DITTO
023558,000844: 23,3042 00000 DEC 0 B-14 # POS NEG BITS ON ASSUME IN DETENT
023559,000845:
023560,000846: 23,3043 00077 STIKBITS OCT 00077
023561,000847: 23,3044 37766 100MST5 DEC 16374 B-14
023562,000848: 23,3045 E6,1704 EBANK= BODY3
023563,000849: 23,3045 03006 46106 2SATSTCK 2CADR SATSTICK
023564,000850:
End of include-file P11.agc. Parent file is MAIN.agc