Source Code

These source-code files were obtained by digitally photographing an Artemis 72 program listing from a private collection and then modifying pre-existing Comanche 55 (Apollo 11) source files to incorporate changes. Note that the page images presented online are of reduced quality, and that additional images may be 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 072 OF AGC PROGRAM ARTEMIS 
	BY NASA 2021114-011 11:40 FEB. 26, 1971

	THIS AGC PROGRAM SHALL ALSO BE REFERRED TO AS
				COLOSSUS 3
	THIS PROGRAM IS INTENDED FOR USE IN THE CM AS SPECIFIED
	IN REPORT R-577.  THIS PROGRAM WAS PREPARED UNDER OSR
	PROJECT 55-23890, SPONSORED BY THE MANNED SPACECRAFT
	CENTER OF THE NATIONAL AERONAUTICS AND SPACE
	ADMINISTRATION THROUGH CONTRACT NAS 9-4065 WITH THE
	CHARLES STARK DRAPER LABORATORY, MASSACHUSETTS INSTITUTE OF
	TECHNOLOGY, CAMBRIDGE, MASS.

020483,000002:                                                                                                 #  Copyright:     Public domain.
020484,000003:                                                                                                 #  Filename:      P34-35_P74-75.agc
020485,000004:                                                                                                 #  Purpose:       Part of the source code for Artemis (i.e., Colossus 3),
020486,000005:                                                                                                 #                 build 072.  This is for the Command Module's (CM) 
020487,000006:                                                                                                 #                 Apollo Guidance Computer (AGC), we believe for 
020488,000007:                                                                                                 #                 Apollo 15-17.
020489,000008:                                                                                                 #  Assembler:     yaYUL
020490,000009:                                                                                                 #  Contact:       Sergio Navarro <sergionavarrog@gmail.com>
020491,000010:                                                                                                 #  Website:       www.ibiblio.org/apollo/index.html
020492,000011:                                                                                                 #  Page scans:    www.ibiblio.org/apollo/ScansForConversion/Artemis072/
020493,000012:                                                                                                 #  Mod history:   2009-08-19 SN   Adapted from corresponding Comanche 055 file.
020494,000013:                                                                                                 #                 2009-09-03 JL   Fixed symbol names.
020495,000014:                                                                                                 #                 2009-09-04 JL   Fixed a bunch of typos. Fixed page comments.
020496,000015:                                                                                                 #                 2009-09-07 JL   Fixed typos.
020497,000016:                                                                                                 #                 2010-01-31 JL   Fixed build errors.
020498,000017:                                                                                                 #                 2010-02-20 RSB  Un-##'d this header.
020499,000018: 

Page 463

020501,000020:                                                                                                 #  TRANSFER PHASE INITITIATION (TPI) PROGRAMS (P34 AND P74)
020502,000021: 
020503,000022:                                                                                                 #  MOD NO -1              LOG SECTION - P32-P35, P72-P75
020504,000023:                                                                                                 #  MOD BY WHITE.P DATE 1JUNE67
020505,000024: 
020506,000025:                                                                                                 #  PURPOSE
020507,000026: 
020508,000027:                                                                                                 #         (1) TO CALCULATE THE REQUIRED DELTA V AND OTHER INITIAL CONDITIONS
020509,000028:                                                                                                 #             REQUIRED BY THE ACTIVE VEHICLE FOR EXECUTION OF THE TRANSFER
020510,000029:                                                                                                 #             PHASE INITITATION (TPI) MANEUVER, GIVEN -
020511,000030: 
020512,000031:                                                                                                 #             (A) TIME OF IGNITION TIG (TPI) OR THE ELEVATION ANGLE (E) OF
020513,000032:                                                                                                 #                 THE ACTIVE/PASSIVE VEHICLE LOS AT TIG (TPI).
020514,000033: 
020515,000034:                                                                                                 #             (B) CENTRAL ANGLE OF TRANSFER (CENTANG) FROM TIG (TPI) TO
020516,000035:                                                                                                 #                 INTERCEPT TIME (TIG (TPF)).
020517,000036: 
020518,000037:                                                                                                 #         (2) TO CALCULATE TIG (TPI) GIVEN E OR E GIVEN TIG (TPI).
020519,000038: 
020520,000039:                                                                                                 #         (3) TO CALCULATE THESE PARAMETERS BASED UPON MANEUVER DATA
020521,000040:                                                                                                 #             APPROVED AND KEYED INTO THE DSKY BY THE ASTRONAUT.
020522,000041: 
020523,000042:                                                                                                 #         (4) TO DISPLAY TO THE ASTRONAUT AND THE GROUND CERTAIN DEPENDENT
020524,000043:                                                                                                 #             VARIABLES ASSOCIATED WITH THE MANEUVER FOR APPROVAL BY THE
020525,000044:                                                                                                 #             ASTRONAUT/GROUND.
020526,000045: 
020527,000046:                                                                                                 #         (5) TO STORE THE TPI TARGET PARAMETERS FOR USE BY THE DESIRED
020528,000047:                                                                                                 #             THRUSTING PROGRAM.
020529,000048: 
020530,000049:                                                                                                 #  ASSUMPTIONS
020531,000050: 
020532,000051:                                                                                                 #         (1) LM ONLY - THIS PROGRAM IS BASED UPON PREVIOUS COMPLETION OF
020533,000052:                                                                                                 #             THE CONSTANT DELTA ALTITUDE (CDH) PROGRAM (P33/P73).
020534,000053:                                                                                                 #             THEREFORE -
020535,000054: 
020536,000055:                                                                                                 #             (A) AT A SELECTED TPI TIME (NOW IN STORAGE) THE LINE OF SIGHT
020537,000056:                                                                                                 #                 BETWEEN THE ACTIVE AND PASSIVE VEHICLES WAS SELECTED TO BE
020538,000057:                                                                                                 #                 A PRESCRIBED ANGLE (E) (NOW IN STORAGE) FROM THE
020539,000058:                                                                                                 #                 HORIZONTAL PLANE DEFINED BY THE ACTIVE VEHICLE POSITION.
020540,000059: 
020541,000060:                                                                                                 #             (B) THE TIME BETWEEN CDH IGNITION AND TPI IGNITION WAS
020542,000061:                                                                                                 #                 COMPUTED TO BE GREATER THAN 10 MINUTES.
020543,000062: 
020544,000063:                                                                                                 #             (C) THE VARIATION OF THE ALTITUDE DIFFERENCE BETWEEN THE
020545,000064:                                                                                                 #                 ORBITS WAS MINIMIZED.
020546,000065: 
020547,000066:                                                                                                 #             (D) THE PERICENTER ALTITUDES OF ORBITS FOLLOWING CSI AND
020548,000067: 
020549,000068:                                                                                                 #                 CDH WERE COMPUTED TO BE GREATER THAN 35,000 FT FOR LUNAR

Page 464

020551,000070:                                                                                                 #                 ORBIT OR 85 NM FOR EARTH ORBIT.
020552,000071: 
020553,000072:                                                                                                 #             (E) THE CSI AND CDH MANEUVERS WERE ASSUMED TO BE PARALLEL TO
020554,000073:                                                                                                 #                 THE PLANE OF THE PASSIVE VEHICLE ORBIT.  HOWEVER, CREW
020555,000074:                                                                                                 #                 MODIFICATION OF DELTA V (LV) COMPONENTS MAY HAVE RESULTED
020556,000075:                                                                                                 #                 IN AN OUT-OF-PLANE MANEUVER.
020557,000076: 
020558,000077:                                                                                                 #         (2) STATE VECTOR UPDATED BY P27 ARE DISALLOWED DURING AUTOMATIC
020559,000078:                                                                                                 #             STATE VECTOR UPDATING INITIATED BY P20 (SEE ASSUMPTION (4)).
020560,000079: 
020561,000080:                                                                                                 #         (3) THIS PROGRAM MUST BE DONE OVER A TRACKING STATION FOR REAL
020562,000081:                                                                                                 #             TIME GROUND PARTICIPATION IN DATA INPUT AND OUTPUT.  COMPUTED
020563,000082:                                                                                                 #             VARIABLES MAY BE STORED FOR LATER VERIFICATION BY THE GROUND.
020564,000083:                                                                                                 #             THESE STORAGE CAPABILITIES ARE LIMITED ONLY TO THE PARAMETERS
020565,000084:                                                                                                 #             FOR ONE THRUSTING MANEUVER AT A TIME EXCEPT FOR CONCENTRIC
020566,000085:                                                                                                 #             FLIGHT PLAN MANEUVER SEQUENCES.
020567,000086: 
020568,000087:                                                                                                 #         (4) THE RENDEZVOUS RADAR MAY OR MAY NOT BE USED TO UPDATE THE LM
020569,000088:                                                                                                 #             OR CSM STATE VECTORS FOR THIS PROGRAM.  IF RADAR USE IS
020570,000089:                                                                                                 #             DESIRED THE RADAR WAS TURNED ON AND LOCKED ON THE CSM BY
020571,000090:                                                                                                 #             PREVIOUS SELECTION OF P20.  RADAR SIGHTING MARKS WILL BE MADE
020572,000091:                                                                                                 #             AUTOMATICALLY APPROXIMATELY ONCE A MINUTE WHEN ENABLED BY THE
020573,000092:                                                                                                 #             TRACK AND UPDATE FLAGS (SEE P20).  THE RENDEZVOUS TRACKING
020574,000093:                                                                                                 #             MARK COUNTER IS ZEROED BY THE SELECTION OF P20 AND AFTER EACH
020575,000094:                                                                                                 #             THRUSTING MANEUVER.
020576,000095: 
020577,000096:                                                                                                 #         (5) THE ISS NEED NOT BE ON TO COMPLETE THIS PROGRAM.
020578,000097: 
020579,000098:                                                                                                 #         (6) THE OPERATION OF THE PROGRAM UTILIZES THE FOLLOWING FLAGS -
020580,000099: 
020581,000100:                                                                                                 #                 ACTIVE VEHICLE FLAG - DESIGNATES THE VEHICLE WHICH IS
020582,000101:                                                                                                 #                 DOING RENDEZVOUS THRUSTING MANEUVERS TO THE PROGRAM WHICH
020583,000102:                                                                                                 #                 CALCULATES THE MANEUVER PARAMETERS.  SET AT THE START OF
020584,000103:                                                                                                 #                 EACH RENDEZVOUS PRE-THRUSTING PROGRAM.
020585,000104: 
020586,000105:                                                                                                 #                 FINAL FLAG - SELECTS FINAL PROGRAM DISPLAYS AFTER CREW HAS
020587,000106:                                                                                                 #                 SELECTED THE FINAL MANEUVER COMPUTATION CYCLE.
020588,000107: 
020589,000108:                                                                                                 #                 EXTERNAL DELTA V FLAG - DESIGNATES THE TYPE OF STEERING
020590,000109:                                                                                                 #                 REQUIRED FOR EXECUTION OF THIS MANEUVER BY THE THRUSTING
020591,000110:                                                                                                 #                 PROGRAM SELECTED AFTER COMPLETION OF THIS PROGRAM.
020592,000111: 
020593,000112:                                                                                                 #         (7) ONCE THE PARAMETERS REQUIRED FOR COMPUTATION OF THE MANEUVER
020594,000113:                                                                                                 #             HAVE BEEN COMPLETELY SPECIFIED, THE VALUE OF THE ACTIVE
020595,000114:                                                                                                 #             VEHICLE CENTRAL ANGLE OF TRANSFER IS COMPUTED AND STORED.
020596,000115:                                                                                                 #             THIS NUMBER WILL BE AVAILABLE FOR DISPLAY TO THE ASTRONAUT
020597,000116:                                                                                                 #             THROUGH THE USE OF V06N52.
020598,000117: 
020599,000118:                                                                                                 #             THE ASTRONAUT WILL CALL THIS DISPLAY TO VERIFY THAT THE
020600,000119:                                                                                                 #             CENTRAL ANGLE OF TRANSFER OF THE ACTIVE VEHICLE IS NOT WITHIN

Page 465

020602,000121:                                                                                                 #             170 TO 190 DEGREES.  IF THE ANGLE IS WITHIN THIS ZONE THE
020603,000122:                                                                                                 #             ASTRONAUT SHOULD REASSESS THE INPUT TARGETING PARAMETERS BASED
020604,000123:                                                                                                 #             UPON DELTA V AND EXPECTED MANEUVER TIME.
020605,000124: 
020606,000125:                                                                                                 #         (8) THIS PROGRAM IS SELECTED BY THE ASTRONAUT BY DSKY ENTRY -
020607,000126: 
020608,000127:                                                                                                 #                 P34 IF THIS VEHICLE IS ACTIVE VEHICLE.
020609,000128: 
020610,000129:                                                                                                 #                 P74 IF THIS VEHICLE IS PASSIVE VEHICLE.
020611,000130: 
020612,000131:                                                                                                 #  INPUT
020613,000132: 
020614,000133:                                                                                                 #         (1) TTPI        TIME OF THE TPI MANEUVER
020615,000134:                                                                                                 #         (2) ELEV        DESIRED LOS ANGLE AT TPI
020616,000135:                                                                                                 #         (3) CENTANG     ORBITAL CENTRAL ANGLE OF THE PASSIVE VEHICLE DURING
020617,000136:                                                                                                 #                         TRANSFER FROM TPI TO TIME OF INTERCEPT
020618,000137: 
020619,000138:                                                                                                 #  OUTPUT
020620,000139: 
020621,000140:                                                                                                 #         (1) TRKMKCNT    NUMBER OF MARKS
020622,000141:                                                                                                 #         (2) TTOGO       TIME TO GO
020623,000142:                                                                                                 #         (3) +MGA        MIDDLE GIMBAL ANGLE
020624,000143:                                                                                                 #         (4) TTPI        COMPUTED TIME OF TPI MANEUVER
020625,000144:                                                                                                 #              OR
020626,000145:                                                                                                 #             ELEV        COMPUTED LOS ANGLE AT TPI
020627,000146:                                                                                                 #         (5) POSTTPI     PERIGEE ALTITUDE AFTER THE TPI MANEUVER
020628,000147:                                                                                                 #         (6) DELVTPI     MAGNITUDE OF DELTA V AT TPI
020629,000148:                                                                                                 #         (7) DELVTPF     MAGNITUDE OF DELTA V AT INTERCEPT
020630,000149:                                                                                                 #         (8) DVLOS       DELTA VELOCITY AT TPI - LINE OF SIGHT
020631,000150:                                                                                                 #         (9) DELVLVC     DELTA VELOCITY AT TPI - LOCAL VERTICAL COORDINATES
020632,000151: 
020633,000152:                                                                                                 #  DOWNLINK
020634,000153: 
020635,000154:                                                                                                 #         (1) TTPI        TIME OF THE TPI MANEUVER
020636,000155:                                                                                                 #         (2) TIG         TIME OF THE TPI MANEUVER
020637,000156:                                                                                                 #         (3) ELEV        DESIRED LOS ANGLE AT TPI
020638,000157:                                                                                                 #         (4) CENTANG     ORBITAL CENTRAL ANGLE OF THE PASSIVE VEHICLE DURING
020639,000158:                                                                                                 #                         TRANSFER FROM TPI TO TIME OF INTERCEPT
020640,000159:                                                                                                 #         (5) DELVEET3    DELTA VELOCITY AT TPI - REFERENCE COORDINATES
020641,000160:                                                                                                 #         (6) TPASS4      TIME OF INTERCEPT
020642,000161: 
020643,000162:                                                                                                 #  COMMUNICATION TO THRUSTING PROGRAMS
020644,000163: 
020645,000164:                                                                                                 #         (1) TIG         TIME OF THE TPI MANEUVER
020646,000165:                                                                                                 #         (2) RTARG       OFFSET TARGET POSITION
020647,000166:                                                                                                 #         (3) TPASS4      TIME OF INTERCEPT
020648,000167:                                                                                                 #         (4) XDELVFLG    RESET TO INDICATE LAMBERT (AIMPOINT) VG COMPUTATION
020649,000168: 
020650,000169:                                                                                                 #  SUBROUTINES USED
020651,000170: 
020652,000171:                                                                                                 #         AVFLAGA

Page 466

020654,000173:                                                                                                 #         AVFLAGP
020655,000174:                                                                                                 #         VNPOOH
020656,000175:                                                                                                 #         DISPLAYE
020657,000176:                                                                                                 #         SELECTMU
020658,000177:                                                                                                 #         PRECSET
020659,000178:                                                                                                 #         S33/34.1
020660,000179:                                                                                                 #         ALARM
020661,000180:                                                                                                 #         BANKCALL
020662,000181:                                                                                                 #         GOFLASH
020663,000182:                                                                                                 #         GOTOPOOH
020664,000183:                                                                                                 #         TIMETHET
020665,000184:                                                                                                 #         S34/35.2
020666,000185:                                                                                                 #         PERIAPO1
020667,000186:                                                                                                 #         SHIFTR1
020668,000187:                                                                                                 #         S34/35.5
020669,000188:                                                                                                 #         VN1645
020670,000189: 
020671,000190: 35,2000                                          SETLOC   CSI/CDH                               
020672,000191: 35,2000                                          BANK                                           
020673,000192: 35,2000  E4,1760                                 EBANK=   SUBEXIT                               
020674,000193: 35,2000                                          COUNT*   $$/P3474                              
020675,000194: 35,2000           04553        P34               TC       AVFLAGA                               
020676,000195: 35,2001           02003                          TC       P34/P74A                              
020677,000196: 35,2002           04565        P74               TC       AVFLAGP                               
020678,000197: 35,2003           04572        P34/P74A          TC       P20FLGON                              
020679,000198: 35,2004           06006                          TC       INTPRET                               
020680,000199: 35,2005           71214                          CLEAR    DLOAD                                 
020681,000200: 35,2006           05274                                   TPIMNFLG                              
020682,000201: 35,2007           32205                                   130DEG                                
020683,000202: 35,2010           17754                          STODL    CENTANG                               
020684,000203: 35,2011           15336                                   ZEROVECS                              
020685,000204: 35,2012           03744                          STORE    ELEV                                  
020686,000205: 35,2013           03766                          STORE    NN                                    
020687,000206: 35,2014           77776                          EXIT                                           
020688,000207: 
020689,000208: 35,2015           34532                          CAF      V06N37                                
020690,000209: 35,2016           05535                          TC       VNFLASH                               
020691,000210: 35,2017           34533                          CAF      V06N55                                
020692,000211: 35,2020           05535                          TC       VNFLASH                               
020693,000212: 35,2021           06006                          TC       INTPRET                               
020694,000213: 35,2022           71214                          CLEAR    DLOAD                                 
020695,000214: 35,2023           01270                                   ETPIFLAG                              
020696,000215: 35,2024           03663                                   TTPI                                  
020697,000216: 35,2025           17413                          STODL    TIG                                   
020698,000217: 35,2026           03744                                   ELEV                                  
020699,000218: 35,2027           43054                          BZE      SET                                   
020700,000219: 35,2030           72032                                   P34/P74B                              
020701,000220: 35,2031           01070                                   ETPIFLAG                              
020702,000221: 35,2032           77624        P34/P74B          CALL                                           
020703,000222: 35,2033           11217                                   SELECTMU                              

Page 467

020705,000224: 35,2034                        DELELO            EQUALS   26D                                   
020706,000225: 35,2034           43145        P34/P74C          DLOAD    SET                                   
020707,000226: 35,2035           15336                                   ZEROVECS                              
020708,000227: 35,2036           03461                                   ITSWICH                               
020709,000228: 35,2037           43014                          BON      CLEAR                                 
020710,000229: 35,2040           01310                                   ETPIFLAG                              
020711,000230: 35,2041           72043                                   SWCHSET                               
020712,000231: 35,2042           03661                                   ITSWICH                               
020713,000232: 35,2043           02355        SWCHSET           STORE    NOMTPI                                
020714,000233: 35,2044           43345        INTLOOP           DLOAD    DAD                                   
020715,000234: 35,2045           03663                                   TTPI                                  
020716,000235: 35,2046           02355                                   NOMTPI                                
020717,000236: 35,2047           34041                          STCALL   TDEC1                                 
020718,000237: 35,2050           45236                                   PRECSET                               
020719,000238: 35,2051           77624                          CALL                                           
020720,000239: 35,2052           72251                                   S33/34.1                              
020721,000240: 35,2053           77454                          BZE      EXIT                                  
020722,000241: 35,2054           72065                                   SWCHCLR                               
020723,000242: 35,2055           05671        INTALM            TC       ALARM                                 
020724,000243: 35,2056           00611                          OCT      611                                   
020725,000244: 35,2057           35023                          CAF      V05N09                                
020726,000245: 35,2060           04636                          TC       BANKCALL                              
020727,000246: 35,2061           20743                          CADR     GOFLASH                               
020728,000247: 35,2062           04103                          TC       GOTOPOOH                              
020729,000248: 35,2063           02003                          TC       P34/P74A                              #  PROCEED
020730,000249: 35,2064           02055                          TC       INTALM                                #  V32
020731,000250: 35,2065           43014        SWCHCLR           BONCLR   BON                                   
020732,000251: 35,2066           03601                                   ITSWICH                               
020733,000252: 35,2067           72044                                   INTLOOP                               
020734,000253: 35,2070           01310                                   ETPIFLAG                              
020735,000254: 35,2071           72100                                   P34/P74D                              #  DISPLAY TTPI
020736,000255: 35,2072           77776                          EXIT                                           
020737,000256: 35,2073           34533                          CAF      V06N55                                
020738,000257: 35,2074           05535                          TC       VNFLASH                               
020739,000258: 35,2075           06006                          TC       INTPRET                               
020740,000259: 35,2076           77650                          GOTO                                           
020741,000260: 35,2077           72120                                   P34/74E                               
020742,000261: 35,2100           77776        P34/P74D          EXIT                                           
020743,000262: 35,2101           34532                          CAF      V06N37                                #  TTPI
020744,000263: 35,2102           05535                          TC       VNFLASH                               
020745,000264: 35,2103           06006        P34/P74E          TC       INTPRET                               
020746,000265: 35,2104           43014                          BOFF     BOFF                                  
020747,000266: 35,2105           01351                                   FINALFLG                              
020748,000267: 35,2106           72120                                   P34/74E                               #  LAST PASS
020749,000268: 35,2107           05350                                   AUTOSEQ                               
020750,000269: 35,2110           72120                                   P34/74E                               
020751,000270: 35,2111           43145                          DLOAD    CLEAR                                 #  IT IS FINAL COMP IN MINKEY
020752,000271: 35,2112           15336                                   ZEROVECS                              #    SET UP FOR TIG OPTION
020753,000272: 35,2113           01270                                   ETPIFLAG                              
020754,000273: 35,2114           17744                          STODL    ELEV                                  

Page 468

020756,000275: 35,2115           03663                                   TTPI                                  
020757,000276: 35,2116           37413                          STCALL   TIG                                   
020758,000277: 35,2117           72034                                   P34/P74C                              
020759,000278: 35,2120           71201        P34/74E           SETPD    DLOAD                                 
020760,000279: 35,2121           00001                                   0D                                    
020761,000280: 35,2122           03746                                   RTX1                                  
020762,000281: 35,2123           14047                          STODL    X1                                    
020763,000282: 35,2124           03754                                   CENTANG                               
020764,000283: 35,2125           71406                          PUSH     COS                                   
020765,000284: 35,2126           16734                          STODL    CSTH                                  
020766,000285: 35,2127           77756                          SIN                                            
020767,000286: 35,2130           26732                          STOVL    SNTH                                  
020768,000287: 35,2131           03554                                   RPASS3                                
020769,000288: 35,2132           77657                          VSR*                                           
020770,000289: 35,2133           57176                                   0,2                                   
020771,000290: 35,2134           26657                          STOVL    RVEC                                  
020772,000291: 35,2135           03562                                   VPASS3                                
020773,000292: 35,2136           43057                          VSR*     SET                                   
020774,000293: 35,2137           57176                                   0,2                                   
020775,000294: 35,2140           03466                                   RVSW                                  
020776,000295: 35,2141           36746                          STCALL   VVEC                                  
020777,000296: 35,2142           25002                                   TIMETHET                              
020778,000297: 35,2143           77745                          DLOAD                                          
020779,000298: 35,2144           03663                                   TTPI                                  
020780,000299: 35,2145           03503                          STORE    INTIME                                #  FOR INITVEL
020781,000300: 35,2146           77615                          DAD                                            
020782,000301: 35,2147           00037                                   T                                     #  RENDEZVOUS TIME
020783,000302: 35,2150           37656                          STCALL   TPASS4                                #  FOR INITVEL
020784,000303: 35,2151           72561                                   S34/35.2                              
020785,000304: 35,2152           51575                          VLOAD    ABVAL                                 
020786,000305: 35,2153           03646                                   DELVEET3                              
020787,000306: 35,2154           26635                          STOVL    DELVTPI                               
020788,000307: 35,2155           03640                                   VPASS4                                
020789,000308: 35,2156           51451                          VSU      ABVAL                                 
020790,000309: 35,2157           03620                                   VTPRIME                               
020791,000310: 35,2160           26637                          STOVL    DELVTPF                               
020792,000311: 35,2161           03540                                   RACT3                                 
020793,000312: 35,2162           45115                          PDVL     CALL                                  
020794,000313: 35,2163           03612                                   VIPRIME                               
020795,000314: 35,2164           45174                                   PERIAPO1                              
020796,000315: 35,2165           77624                          CALL                                           
020797,000316: 35,2166           45330                                   SHIFTR1                               
020798,000317: 35,2167           16641                          STODL    POSTTPI                               
020799,000318: 35,2170           03663                                   TTPI                                  
020800,000319: 35,2171           03413                          STORE    TIG                                   
020801,000320: 35,2172           77776                          EXIT                                           
020802,000321: 35,2173           34534                          CAF      V06N58                                
020803,000322: 35,2174           05535                          TC       VNFLASH                               
020804,000323: 35,2175           06006                          TC       INTPRET                               
020805,000324: 35,2176           77624                          CALL                                           

Page 469

020807,000326: 35,2177           72774                                   S34/35.5                              
020808,000327: 35,2200           77624                          CALL                                           
020809,000328: 35,2201           73027                                   VN1645                                
020810,000329: 35,2202           77650                          GOTO                                           
020811,000330: 35,2203           72034                                   P34/P74C                              
020812,000331: 35,2204           13434        130DEG            OCT      13434                                 #  13  DEG - CENTANG
020813,000332: 35,2205           16163                          OCT      16163                                 
020814,000333: 

Page 470

020816,000335:                                                                                                 #  RENDEZVOUS MID-COURSE MANEUVER PROGRAMS (P35 AND P75)
020817,000336: 
020818,000337:                                                                                                 #  MOD NO -1              LOG SECTION - P32-P35, P72-P75
020819,000338:                                                                                                 #  MOD BY WHITE.P DATE  1JUNE67
020820,000339: 
020821,000340:                                                                                                 #  PURPOSE
020822,000341: 
020823,000342:                                                                                                 #         (1) TO CALCULATE THE REQUIRED DELTA V AND OTHER INITIAL CONDITIONS
020824,000343:                                                                                                 #             REQUIRED BY THE ACTIVE VEHICLE FOR EXECUTION OF THE NEXT
020825,000344:                                                                                                 #             MID-COURSE CORRECTION OF THE TRANSFER PHASE OF AN ACTIVE
020826,000345:                                                                                                 #             VEHICLE RENDEZVOUS.
020827,000346: 
020828,000347:                                                                                                 #         (2) TO DISPLAY TO THE ASTRONAUT AND THE GROUND CERTAIN DEPENDENT
020829,000348:                                                                                                 #             VARIABLES ASSOCIATED WITH THE MANEUVER FOR APPROVAL BY THE
020830,000349:                                                                                                 #             ASTRONAUT/GROUND.
020831,000350: 
020832,000351:                                                                                                 #         (3) TO STORE THE TPM TARGET PARAMETERS FOR USE BY THE DESIRED
020833,000352:                                                                                                 #             THRUSTING PROGRAM.
020834,000353: 
020835,000354:                                                                                                 #  ASSUMPTIONS
020836,000355: 
020837,000356:                                                                                                 #         (1) THE ISS NEED NOT BE ON TO COMPLETE THIS PROGRAM.
020838,000357: 
020839,000358:                                                                                                 #         (2) STATE VECTOR UPDATES BY P27 ARE DISALLOWED DURING AUTOMATIC
020840,000359:                                                                                                 #             STATE VECTOR UPDATING INITIATED BY P20 (SEE ASSUMPTION (3)).
020841,000360: 
020842,000361:                                                                                                 #         (3) THE RENDEZVOUS RADAR IS ON AND IS LOCKED ON THE CSM.  THIS WAS
020843,000362:                                                                                                 #             DONE DURING PREVIOUS SELECTION OF P20.  RADAR SIGHTING MARKS
020844,000363:                                                                                                 #             WILL BE MADE AUTOMATICALLY APPROXIMATELY ONCE A MINUTE WHEN
020845,000364:                                                                                                 #             ENABLED BY THE TRACK AND UPDATE FLAGS (SEE P20). THE
020846,000365:                                                                                                 #             RENDEZVOUS TRACKING MARK COUNTER IS ZEROED BY THE SELECTION OF
020847,000366:                                                                                                 #             P20 AND AFTER EACH THRUSTING MANEUVER.
020848,000367: 
020849,000368:                                                                                                 #         (4) THE OPERATION OF THE PROGRAM UTILIZES THE FOLLOWING FLAGS -
020850,000369: 
020851,000370:                                                                                                 #                 ACTIVE VEHICLE FLAG - DESIGNATES THE VEHICLE WHICH IS
020852,000371:                                                                                                 #                 DOING RENDEZVOUS THRUSTING MANEUVERS TO THE PROGRAM WHICH
020853,000372:                                                                                                 #                 CALCULATES THE MANEUVER PARAMETERS.  SET AT THE START OF
020854,000373:                                                                                                 #                 EACH RENDEZVOUS PRE-THRUSTING PROGRAM.
020855,000374: 
020856,000375:                                                                                                 #                 FINAL FLAG - SELECTS FINAL PROGRAM DISPLAYS AFTER CREW HAS
020857,000376:                                                                                                 #                 SELECTED THE FINAL MANEUVER COMPUTATION CYCLE.
020858,000377: 
020859,000378:                                                                                                 #                 EXTERNAL DELTA V FLAG - DESIGNATES THE TYPE OF STEERING
020860,000379:                                                                                                 #                 REQUIRED FOR EXECUTION OF THIS MANEUVER BY THE THRUSTING
020861,000380:                                                                                                 #                 PROGRAM SELECTED AFTER COMPLETION OF THIS PROGRAM.
020862,000381: 
020863,000382:                                                                                                 #         (5) THE TIME OF INTERCEPT (T(INT)) WAS DEFINED BY PREVIOUS
020864,000383:                                                                                                 #             COMPLETION OF THE TRANSFER PHASE INITIATION (TPI) PROGRAM
020865,000384:                                                                                                 #             (P34/P74) AND IS PRESENTLY AVAILABLE IN STORAGE.
020866,000385: 

Page 471

020868,000387:                                                                                                 #         (6) ONCE THE PARAMETERS REQUIRED FOR COMPUTATION OF THE MANEUVER
020869,000388:                                                                                                 #             HAVE BEEN COMPLETELY SPECIFIED, THE VALUE OF THE ACTIVE
020870,000389:                                                                                                 #             VEHICLE CENTRAL ANGLE OF TRANSFER IS COMPUTED AND STORED.
020871,000390:                                                                                                 #             THIS NUMBER WILL BE AVAILABLE FOR DISPLAY TO THE ASTRONAUT
020872,000391:                                                                                                 #             THROUGH THE USE OF V06N52.
020873,000392: 
020874,000393:                                                                                                 #             THE ASTRONAUT WILL CALL THIS DISPLAY TO VERIFY THAT THE
020875,000394:                                                                                                 #             CENTRAL ANGLE OF TRANSFER OF THE ACTIVE VEHICLE IS NOT WITHIN
020876,000395:                                                                                                 #             170 TO 190 DEGREES.  IF THE ANGLE IS WITHIN THIS ZONE THE
020877,000396:                                                                                                 #             ASTRONAUT SHOULD REASSESS THE INPUT TARGETING PARAMETERS BASED
020878,000397:                                                                                                 #             UPON DELTA V AND EXPECTED MANEUVER TIME.
020879,000398: 
020880,000399:                                                                                                 #         (7) THIS PROGRAM IS SELECTED BY THE ASTRONAUT BY DSKY ENTRY -
020881,000400: 
020882,000401:                                                                                                 #                 P35 IF THIS VEHICLE IS ACTIVE VEHICLE.
020883,000402: 
020884,000403:                                                                                                 #                 P75 IF THIS VEHICLE IS PASSIVE VEHICLE.
020885,000404: 
020886,000405:                                                                                                 #  INPUT
020887,000406: 
020888,000407:                                                                                                 #         (1) TPASS4      TIME OF INTERCEPT - SAVED FROM P34/P74
020889,000408: 
020890,000409:                                                                                                 #  OUTPUT
020891,000410: 
020892,000411:                                                                                                 #         (1) TRKMKCNT    NUMBER OF MARKS
020893,000412:                                                                                                 #         (2) TTOGO       TIME TO GO
020894,000413:                                                                                                 #         (3) +MGA        MIDDLE GIMBAL ANGLE
020895,000414:                                                                                                 #         (4) DVLOS       DELTA VELOCITY AT MID - LINE OF SIGHT
020896,000415:                                                                                                 #         (5) DELVLVC     DELTA VELOCITY AT MID - LOCAL VERTICAL COORDINATES
020897,000416: 
020898,000417:                                                                                                 #  DOWNLINK
020899,000418: 
020900,000419:                                                                                                 #         (1) TIG         TIME OF THE TPM MANEUVER
020901,000420:                                                                                                 #         (2) DELVEET3    DELTA VELOCITY AT TPM - REFERENCE COORDINATES
020902,000421:                                                                                                 #         (3) TPASS4      TIME OF INTERCEPT
020903,000422: 
020904,000423:                                                                                                 #  COMMUNICATION TO THRUSTING PROGRAMS
020905,000424: 
020906,000425:                                                                                                 #         (1) TIG         TIME OF THE TPM MANEUVER
020907,000426:                                                                                                 #         (2) RTARG       OFFSET TARGET POSITION
020908,000427:                                                                                                 #         (3) TPASS4      TIME OF INTERCEPT
020909,000428:                                                                                                 #         (4) XDELVFLG    RESET TO INDICATE LAMBERT (AIMPOINT) VG COMPUTATION.
020910,000429: 
020911,000430:                                                                                                 #  SUBROUTINES USED
020912,000431: 
020913,000432:                                                                                                 #         AVFLAGA
020914,000433:                                                                                                 #         AVFLAGP
020915,000434:                                                                                                 #         LOADTIME
020916,000435:                                                                                                 #         SELECTMU
020917,000436:                                                                                                 #         PRECSET
020918,000437:                                                                                                 #         S34/35.1
020919,000438:                                                                                                 #         S34/35.2

Page 472

020921,000440:                                                                                                 #         S34/35.5
020922,000441:                                                                                                 #         VN1645
020923,000442: 
020924,000443: 35,2206                                          COUNT*   $$/P3575                              
020925,000444: 35,2206  E4,1754                                 EBANK=   KT                                    
020926,000445: 
020927,000446: 35,2206           04553        P35               TC       AVFLAGA                               
020928,000447: 35,2207           00006                          EXTEND                                         
020929,000448: 35,2210           31422                          DCA      ATIGINC                               
020930,000449: 35,2211           02215                          TC       P35/P75A                              
020931,000450: 35,2212           04565        P75               TC       AVFLAGP                               
020932,000451: 35,2213           00006                          EXTEND                                         
020933,000452: 35,2214           31424                          DCA      PTIGINC                               
020934,000453: 35,2215           53755        P35/P75A          DXCH     KT                                    
020935,000454: 35,2216           04572                          TC       P20FLGON                              #  SET UPDATFLG, TRACKFLG
020936,000455: 35,2217           06006                          TC       INTPRET                               
020937,000456: 35,2220           77624                          CALL                                           
020938,000457: 35,2221           11217                                   SELECTMU                              
020939,000458: 35,2222           77634        P35/P75B          RTB                                            
020940,000459: 35,2223           51751                                   LOADTIME                              
020941,000460: 35,2224           03665                          STORE    TSTRT                                 
020942,000461: 35,2225           77615                          DAD                                            
020943,000462: 35,2226           02355                                   KT                                    
020944,000463: 35,2227           03413                          STORE    TIG                                   
020945,000464: 35,2230           03503                          STORE    INTIME                                #  FOR INITVEL
020946,000465: 35,2231           34041                          STCALL   TDEC1                                 
020947,000466: 35,2232           45236                                   PRECSET                               #  ADVANCE BOTH VEHICLES
020948,000467: 35,2233           77624                          CALL                                           
020949,000468: 35,2234           74000                                   S34/35.1                              #  GET NORM AND LOS FOR TRANSFORM
020950,000469: 35,2235           77624                          CALL                                           
020951,000470: 35,2236           72561                                   S34/35.2                              #  GET DELTA V(LV)
020952,000471: 35,2237           77624                          CALL                                           
020953,000472: 35,2240           72774                                   S34/35.5                              
020954,000473: 35,2241           43014                          BOFF     SET                                   
020955,000474: 35,2242           01351                                   FINALFLG                              
020956,000475: 35,2243           72245                                   +2                                    
020957,000476: 35,2244           05067                                   P35FLAG                               
020958,000477: 35,2245           77624                          CALL                                           
020959,000478: 35,2246           73027                                   VN1645                                
020960,000479: 35,2247           77650                          GOTO                                           
020961,000480: 35,2250           72222                                   P35/P75B                              

Page 473

020963,000482:                                                                                                 #  ..... S33/34.1  .....
020964,000483: 
020965,000484: 35,2251           66220        S33/34.1          STQ      SSP                                   
020966,000485: 35,2252           01023                                   NORMEX                                
020967,000486: 35,2253           03665                                   TITER                                 
020968,000487: 35,2254           40000                          OCT      40000                                 
020969,000488: 35,2255           40345                          DLOAD    SETPD                                 
020970,000489: 35,2256           33145                                   MAX250                                
020971,000490: 35,2257           00001                                   0D                                    
020972,000491: 35,2260           27454                          STOVL    SECMAX                                
020973,000492: 35,2261           03540                                   RACT3                                 
020974,000493: 35,2262           27576                          STOVL    RAPREC                                
020975,000494: 35,2263           03546                                   VACT3                                 
020976,000495: 35,2264           27570                          STOVL    VAPREC                                
020977,000496: 35,2265           03554                                   RPASS3                                
020978,000497: 35,2266           27620                          STOVL    RPPREC                                
020979,000498: 35,2267           03562                                   VPASS3                                
020980,000499: 35,2270           03612                          STORE    VPPREC                                
020981,000500: 35,2271           77624        ELCALC            CALL                                           
020982,000501: 35,2272           74000                                   S34/35.1                              #  NORMAL AND LOS
020983,000502: 35,2273           63235                          VXV      PDVL                                  
020984,000503: 35,2274           03540                                   RACT3                                 #  (RA*VA)*RA 0D
020985,000504: 35,2275           53515                          PDVL     UNIT                                  #  ULOS AT 6D
020986,000505: 35,2276           03540                                   RACT3                                 
020987,000506: 35,2277           46315                          PDVL     VPROJ                                 #  XCHNJ AND UP
020988,000507: 35,2300           51352                          VSL2     BVSU                                  
020989,000508: 35,2301           02625                                   ULOS                                  
020990,000509: 35,2302           63256                          UNIT     PDVL                                  #  UP AT 0D
020991,000510: 35,2303           63241                          DOT      PDVL                                  #  UP.UN*RA AT 0D
020992,000511: 35,2304           00001                                   0D                                    #  UP IN MPAC
020993,000512: 35,2305           75241                          DOT      SIGN                                  
020994,000513: 35,2306           02625                                   ULOS                                  
020995,000514: 35,2307           65552                          SL1      ACOS                                  
020996,000515: 35,2310           50315                          PDVL     DOT                                   #  EA AT 0D
020997,000516: 35,2311           02625                                   ULOS                                  
020998,000517: 35,2312           03540                                   RACT3                                 
020999,000518: 35,2313           71244                          BPL      DLOAD                                 
021000,000519: 35,2314           72317                                   TESTY                                 
021001,000520: 35,2315           15344                                   DPPOSMAX                              
021002,000521: 35,2316           41425                          DSU      PUSH                                  
021003,000522: 35,2317           71214        TESTY             BOFF     DLOAD                                 
021004,000523: 35,2320           03741                                   ITSWICH                               
021005,000524: 35,2321           72546                                   ELEX                                  
021006,000525: 35,2322           03452                                   DELEL                                 
021007,000526: 35,2323           14033                          STODL    DELELO                                
021008,000527: 35,2324           77625                          DSU                                            
021009,000528: 35,2325           03744                                   ELEV                                  
021010,000529: 35,2326           03452                          STORE    DELEL                                 
021011,000530: 35,2327           45246                          ABS      DSU                                   
021012,000531: 35,2330           33151                                   ELEPS                                 

Page 474

021014,000533: 35,2331           77640                          BMN                                            
021015,000534: 35,2332           72556                                   TIMEX                                 #  COMMERCIALS EVERYWHERE
021016,000535: 35,2333           70535        FIGTIME           SLOAD    SR1                                   
021017,000536: 35,2334           03665                                   TITER                                 
021018,000537: 35,2335           72030                          BHIZ     LXA,1                                 
021019,000538: 35,2336           01023                                   NORMEX                                #  TOO MANY ITERATIONS
021020,000539: 35,2337           00154                                   MPAC                                  
021021,000540: 35,2340           77330                          SXA,1    VLOAD                                 
021022,000541: 35,2341           03664                                   TITER                                 
021023,000542: 35,2342           03554                                   RPASS3                                
021024,000543: 35,2343           65256                          UNIT     PDDL                                  
021025,000544: 35,2344           00045                                   36D                                   
021026,000545: 35,2345           53515                          PDVL     UNIT                                  
021027,000546: 35,2346           03540                                   RACT3                                 
021028,000547: 35,2347           77725                          PDDL                                           
021029,000548: 35,2350           41525                          PDDL     PUSH                                  
021030,000549: 35,2351           00045                                   36D                                   
021031,000550: 35,2352           77621                          BDSU                                           
021032,000551: 35,2353           00015                                   12D                                   
021033,000552: 35,2354           14037                          STODL    30D                                   #  RP - RA MAGNITUDES
021034,000553: 35,2355           15334                                   DPHALF                                
021035,000554: 35,2356           41425                          DSU      PUSH                                  
021036,000555: 35,2357           03744                                   ELEV                                  
021037,000556: 35,2360           50165                          SIGN     BMN                                   
021038,000557: 35,2361           00037                                   30D                                   
021039,000558: 35,2362           01023                                   NORMEX                                
021040,000559: 35,2363           71545                          DLOAD    COS                                   
021041,000560: 35,2364           56205                          DMP      DDV                                   
021042,000561: 35,2365           00017                                   14D                                   
021043,000562: 35,2366           00015                                   12D                                   
021044,000563: 35,2367           77676                          DCOMP                                          #  SINCE COS(180-A)=-COS A
021045,000564: 35,2370           00035                          STORE    28D                                   
021046,000565: 35,2371           44246                          ABS      BDSU                                  
021047,000566: 35,2372           15334                                   DPHALF                                
021048,000567: 35,2373           77240                          BMN      VLOAD                                 
021049,000568: 35,2374           01023                                   NORMEX                                
021050,000569: 35,2375           02617                                   UNRM                                  
021051,000570: 35,2376           53435                          VXV      UNIT                                  
021052,000571: 35,2377           00007                                   6D                                    #  UN*RA
021053,000572: 35,2400           41241                          DOT      DMP                                   
021054,000573: 35,2401           03546                                   VACT3                                 
021055,000574: 35,2402           00015                                   12D                                   
021056,000575: 35,2403           47315                          PDVL     VXV                                   
021057,000576: 35,2404           00001                                   0D                                    
021058,000577: 35,2405           03562                                   VPASS3                                
021059,000578: 35,2406           53435                          VXV      UNIT                                  
021060,000579: 35,2407           00001                                   0D                                    #  (RP*VP)*RP
021061,000580: 35,2410           41241                          DOT      DMP                                   
021062,000581: 35,2411           03562                                   VPASS3                                
021063,000582: 35,2412           00017                                   14D                                   

Page 475

021065,000584: 35,2413           77621                          BDSU                                           
021066,000585: 35,2414           63301                          NORM     PDVL                                  #  NORMALIZED WA - WP 12D
021067,000586: 35,2415           00047                                   X1                                    
021068,000587: 35,2416           00007                                   6D                                    
021069,000588: 35,2417           50235                          VXV      DOT                                   
021070,000589: 35,2420           00001                                   0D                                    
021071,000590: 35,2421           02617                                   UNRM                                  #  RA*RP.UN 14D
021072,000591: 35,2422           50315                          PDVL     DOT                                   
021073,000592: 35,2423           00001                                   0D                                    
021074,000593: 35,2424           00007                                   6D                                    
021075,000594: 35,2425           65552                          SL1      ACOS                                  
021076,000595: 35,2426           77765                          SIGN                                           
021077,000596: 35,2427           43225                          DSU      DAD                                   #    ALPHA   PI
021078,000597: 35,2430           15334                                   DPHALF                                
021079,000598: 35,2431           03744                                   ELEV                                  
021080,000599: 35,2432           65525                          PDDL     ACOS                                  
021081,000600: 35,2433           00035                                   28D                                   
021082,000601: 35,2434           75221                          BDSU     SIGN                                  
021083,000602: 35,2435           15334                                   DPHALF                                
021084,000603: 35,2436           00037                                   30D                                   #  CONTAINS RP-RA
021085,000604: 35,2437           77615                          DAD                                            
021086,000605: 35,2440           56205                          DMP      DDV                                   
021087,000606: 35,2441           33143                                   TWOPI                                 
021088,000607: 35,2442           77605                          DMP                                            
021089,000608: 35,2443           41257                          SL*      DMP                                   
021090,000609: 35,2444           20176                                   0          -3,1                       
021091,000610: 35,2445           51406                          PUSH     ABS                                   
021092,000611: 35,2446           50025                          DSU      BMN                                   
021093,000612: 35,2447           03454                                   SECMAX                                
021094,000613: 35,2450           72454                                   OKMAX                                 
021095,000614: 35,2451           75345                          DLOAD    SIGN                                  #  REPLACE TIME WITH MAX TIME SIGNED
021096,000615: 35,2452           03454                                   SECMAX                                
021097,000616: 35,2453           77606                          PUSH                                           
021098,000617: 35,2454           51135        OKMAX             SLOAD    BPL                                   #  TEST FIRST ITERATION
021099,000618: 35,2455           03665                                   TITER                                 
021100,000619: 35,2456           72464                                   REPETE                                
021101,000620: 35,2457           71331                          SSP      DLOAD                                 
021102,000621: 35,2460           03665                                   TITER                                 
021103,000622: 35,2461           37777                          OCT      37777                                 
021104,000623: 35,2462           77650                          GOTO                                           
021105,000624: 35,2463           72522                                   STORDELT                              
021106,000625: 35,2464           41345        REPETE            DLOAD    DMP                                   
021107,000626: 35,2465           03452                                   DELEL                                 
021108,000627: 35,2466           00033                                   DELELO                                
021109,000628: 35,2467           71244                          BPL      DLOAD                                 
021110,000629: 35,2470           72500                                   NEXTES                                
021111,000630: 35,2471           03454                                   SECMAX                                
021112,000631: 35,2472           77605                          DMP                                            
021113,000632: 35,2473           33147                                   THIRD                                 
021114,000633: 35,2474           17454                          STODL    SECMAX                                

Page 476

021116,000635: 35,2475           70446                          ABS      SR1                                   #  CROSSED OVER SOLUTION
021117,000636: 35,2476           52076                          DCOMP    GOTO                                  #  DT=(-SIGN(DTO)//DT//)/2
021118,000637: 35,2477           72510                                   RESIGN                                
021119,000638: 35,2500           51545        NEXTES            DLOAD    ABS                                   
021120,000639: 35,2501           03452                                   DELEL                                 
021121,000640: 35,2502           51525                          PDDL     ABS                                   
021122,000641: 35,2503           00033                                   DELELO                                
021123,000642: 35,2504           77625                          DSU                                            
021124,000643: 35,2505           71240                          BMN      DLOAD                                 
021125,000644: 35,2506           72513                                   REVERS                                #  WRONG DIRECTION
021126,000645: 35,2507           77646                          ABS                                            
021127,000646: 35,2510           52165        RESIGN            SIGN     GOTO                                  
021128,000647: 35,2511           03450                                   DELTEEO                               
021129,000648: 35,2512           72522                                   STORDELT                              
021130,000649: 35,2513           57545        REVERS            DLOAD    DCOMP                                 
021131,000650: 35,2514           03450                                   DELTEEO                               
021132,000651: 35,2515           70406                          PUSH     SR1                                   
021133,000652: 35,2516           03450                          STORE    DELTEEO                               
021134,000653: 35,2517           77615                          DAD                                            
021135,000654: 35,2520           77650                          GOTO                                           
021136,000655: 35,2521           72523                                   ADTIME                                
021137,000656: 35,2522           03450        STORDELT          STORE    DELTEEO                               
021138,000657: 35,2523           77615        ADTIME            DAD                                            
021139,000658: 35,2524           02355                                   NOMTPI                                #  SUM OF DELTA T'S
021140,000659: 35,2525           02355                          STORE    NOMTPI                                
021141,000660: 35,2526           63375                          VLOAD    PDVL                                  
021142,000661: 35,2527           03570                                   VAPREC                                
021143,000662: 35,2530           03576                                   RAPREC                                
021144,000663: 35,2531           77624                          CALL                                           
021145,000664: 35,2532           72734                                   GOINT                                 
021146,000665: 35,2533           77624                          CALL                                           
021147,000666: 35,2534           45304                                   ACTIVE                                #  STORE NEW RACT3 VACT3
021148,000667: 35,2535           63375                          VLOAD    PDVL                                  
021149,000668: 35,2536           03612                                   VPPREC                                
021150,000669: 35,2537           03620                                   RPPREC                                
021151,000670: 35,2540           77624                          CALL                                           
021152,000671: 35,2541           72734                                   GOINT                                 
021153,000672: 35,2542           77624                          CALL                                           
021154,000673: 35,2543           45314                                   PASSIVE                               #  STORE NEW RPASS3 VPASS3
021155,000674: 35,2544           77650                          GOTO                                           
021156,000675: 35,2545           72271                                   ELCALC                                
021157,000676: 35,2546           43345        ELEX              DLOAD    DAD                                   
021158,000677: 35,2547           03663                                   TTPI                                  
021159,000678: 35,2550           02355                                   NOMTPI                                
021160,000679: 35,2551           17663                          STODL    TTPI                                  
021161,000680: 35,2552           77614                          BON                                            
021162,000681: 35,2553           01310                                   ETPIFLAG                              
021163,000682: 35,2554           72556                                   TIMEX                                 
021164,000683: 35,2555           03744                          STORE    ELEV                                  
021165,000684: 35,2556           52145        TIMEX             DLOAD    GOTO                                  

Page 477

021167,000686: 35,2557           15336                                   ZEROVECS                              
021168,000687: 35,2560           01023                                   NORMEX                                
021169,000688: 

Page 478

021171,000690:                                                                                                 #  ..... S34/35.1  .....
021172,000691: 
021173,000692:                                                                                                 #  COMPUTE UNIT NORMAL AND LINE OF SIGHT VECTORS GIVEN THE ACTIVE AND
021174,000693:                                                                                                 #  PASSIVE POS AND VEL AT TIME T3
021175,000694: 
021176,000695: 36,2000                                          SETLOC   S3435LOC                              
021177,000696: 36,2000                                          BANK                                           
021178,000697: 
021179,000698: 36,2000                                          COUNT*   $$/P3474                              
021180,000699: 36,2000           52375        S34/35.1          VLOAD    VSU                                   
021181,000700: 36,2001           03554                                   RPASS3                                
021182,000701: 36,2002           03540                                   RACT3                                 
021183,000702: 36,2003           41456                          UNIT     PUSH                                  
021184,000703: 36,2004           26625                          STOVL    ULOS                                  
021185,000704: 36,2005           03540                                   RACT3                                 
021186,000705: 36,2006           53435                          VXV      UNIT                                  
021187,000706: 36,2007           03546                                   VACT3                                 
021188,000707: 36,2010           02617                          STORE    UNRM                                  
021189,000708: 36,2011           77616                          RVQ                                            
021190,000709: 

Page 479

021192,000711:                                                                                                 #  ..... S34/35.2  .....
021193,000712: 
021194,000713:                                                                                                 #  ADVANCE PASSIVE VEH TO RENDEZVOUS TIME AND GET REQ VEL FROM LAMBERT
021195,000714: 
021196,000715: 35,2000                                          SETLOC   CSI/CDH                               
021197,000716: 35,2000                                          BANK                                           
021198,000717: 
021199,000718: 35,2561                                          COUNT*   $$/P3474                              
021200,000719: 35,2561           77220        S34/35.2          STQ      VLOAD                                 
021201,000720: 35,2562           02360                                   SUBEXIT                               
021202,000721: 35,2563           03562                                   VPASS3                                
021203,000722: 35,2564           65315                          PDVL     PDDL                                  
021204,000723: 35,2565           03554                                   RPASS3                                
021205,000724: 35,2566           03503                                   INTIME                                
021206,000725: 35,2567           65325                          PDDL     PDDL                                  
021207,000726: 35,2570           03656                                   TPASS4                                
021208,000727: 35,2571           33143                                   TWOPI                                 #  CONIC
021209,000728: 35,2572           46125                          PDDL     BHIZ                                  
021210,000729: 35,2573           03766                                   NN                                    
021211,000730: 35,2574           72577                                   S3435.23                              
021212,000731: 35,2575           65345                          DLOAD    PDDL                                  
021213,000732: 35,2576           15336                                   ZEROVECS                              #  PRECISION
021214,000733: 35,2577           77624        S3435.23          CALL                                           
021215,000734: 35,2600           72740                                   INTINT                                #  GET TARGET VECTOR
021216,000735: 35,2601           27415        S3435.25          STOVL    RTARG                                 
021217,000736: 35,2602           00007                                   VATT                                  
021218,000737: 35,2603           27640                          STOVL    VPASS4                                
021219,000738: 35,2604           03415                                   RTARG                                 
021220,000739:                                                                                                 #  COMPUTE PHI = PI + (ACOS(UNIT RA.UNIT RP)-PI)SIGN(RA*RP.U)
021221,000740: 35,2605           63256                          UNIT     PDVL                                  #  UNIT RP
021222,000741: 35,2606           03540                                   RACT3                                 
021223,000742: 35,2607           41456                          UNIT     PUSH                                  #  UNIT RA
021224,000743: 35,2610           50235                          VXV      DOT                                   
021225,000744: 35,2611           00001                                   0D                                    
021226,000745: 35,2612           02617                                   UNRM                                  #  RA*RP.U
021227,000746: 35,2613           77715                          PDVL                                           
021228,000747: 35,2614           72441                          DOT      SL1                                   #  UNIT RA.UNIT RP
021229,000748: 35,2615           00001                                   0D                                    
021230,000749: 35,2616           75326                          ACOS     SIGN                                  
021231,000750: 35,2617           43244                          BPL      DAD                                   
021232,000751: 35,2620           72622                                   NOPIE                                 
021233,000752: 35,2621           15344                                   DPPOSMAX                              #  REASONABLE TWO PI
021234,000753: 35,2622           16633        NOPIE             STODL    ACTCENT                               
021235,000754: 35,2623           03656                                   TPASS4                                
021236,000755: 35,2624           77625                          DSU                                            
021237,000756: 35,2625           03503                                   INTIME                                
021238,000757: 35,2626           03423                          STORE    DELLT4                                
021239,000758: 35,2627           40335                          SLOAD    SETPD                                 
021240,000759: 35,2630           03766                                   NN                                    #  NUMBER OF OFFSETS
021241,000760: 35,2631           00001                                   0D                                    
021242,000761: 35,2632           63325                          PDDL     PDVL                                  

Page 480

021244,000763: 35,2633           33156                                   EPSFOUR                               
021245,000764: 35,2634           03540                                   RACT3                                 
021246,000765: 35,2635           27570                          STOVL    RINIT                                 
021247,000766: 35,2636           03546                                   VACT3                                 
021248,000767: 35,2637           37576                          STCALL   VINIT                                 
021249,000768: 35,2640           22000                                   INITVEL                               
021250,000769: 35,2641           77624                          CALL                                           
021251,000770: 35,2642           72721                                   LOMAT                                 
021252,000771: 35,2643           64375                          VLOAD    MXV                                   
021253,000772: 35,2644           03646                                   DELVEET3                              
021254,000773: 35,2645           00001                                   0D                                    
021255,000774: 35,2646           77772                          VSL1                                           
021256,000775: 35,2647           37405                          STCALL   DELVLVC                               
021257,000776: 35,2650           02360                                   SUBEXIT                               
021258,000777: 

Page 481

021260,000779:                                                                                                 #  ..... S34/35.3  .....
021261,000780: 
021262,000781: 35,2651           45020        S34/35.3          STQ      CALL                                  
021263,000782: 35,2652           01023                                   NORMEX                                
021264,000783: 35,2653           72721                                   LOMAT                                 #  GET MATRIX IN PUSH LIST
021265,000784: 35,2654           61375                          VLOAD    VXM                                   
021266,000785: 35,2655           03405                                   DELVLVC                               #  NEW DEL V TPI
021267,000786: 35,2656           00001                                   0D                                    
021268,000787: 35,2657           77772                          VSL1                                           
021269,000788: 35,2660           03646                          STORE    DELVEET3                              #  SAVE FOR TRANSFORM
021270,000789: 35,2661           63255                          VAD      PDVL                                  
021271,000790: 35,2662           03546                                   VACT3                                 #  NEW V REQ
021272,000791: 35,2663           03540                                   RACT3                                 
021273,000792: 35,2664           65325                          PDDL     PDDL                                  
021274,000793: 35,2665           03413                                   TIG                                   
021275,000794: 35,2666           03656                                   TPASS4                                
021276,000795: 35,2667           41525                          PDDL     PUSH                                  
021277,000796: 35,2670           15344                                   DPPOSMAX                              
021278,000797: 35,2671           77624                          CALL                                           #  INTEG. FOR NEW TARGET VEC
021279,000798: 35,2672           72740                                   INTINT                                
021280,000799: 35,2673           77775                          VLOAD                                          
021281,000800: 35,2674           00001                                   RATT                                  
021282,000801: 35,2675           03415                          STORE    RTARG                                 
021283,000802: 35,2676           41575        NOVRWRT           VLOAD    PUSH                                  
021284,000803: 35,2677           02625                                   ULOS                                  
021285,000804: 35,2700           57435                          VXV      VCOMP                                 
021286,000805: 35,2701           02617                                   UNRM                                  
021287,000806: 35,2702           41456                          UNIT     PUSH                                  
021288,000807: 35,2703           76435                          VXV      VSL1                                  
021289,000808: 35,2704           02625                                   ULOS                                  
021290,000809: 35,2705           77715                          PDVL                                           
021291,000810: 35,2706           64315                          PDVL     MXV                                   
021292,000811: 35,2707           03646                                   DELVEET3                              
021293,000812: 35,2710           00001                                   0D                                    
021294,000813: 35,2711           77772                          VSL1                                           
021295,000814: 35,2712           36611                          STCALL   DVLOS                                 
021296,000815: 35,2713           01023                                   NORMEX                                
021297,000816: 

Page 482

021299,000818:                                                                                                 #  ..... S34/35.4  .....
021300,000819: 
021301,000820: 35,2714           40220        S34/35.4          STQ      SETPD                                 #  NO ASTRONAUT OVERWRITE
021302,000821: 35,2715           01023                                   NORMEX                                
021303,000822: 35,2716           00001                                   0D                                    
021304,000823: 35,2717           77650                          GOTO                                           
021305,000824: 35,2720           72676                                   NOVRWRT                               
021306,000825: 

Page 483

021308,000827:                                                                                                 #  ..... LOMAT     .....
021309,000828: 
021310,000829: 35,2721           57575        LOMAT             VLOAD    VCOMP                                 
021311,000830: 35,2722           02617                                   UNRM                                  
021312,000831: 35,2723           24007                          STOVL    6D                                    #  Y
021313,000832: 35,2724           03540                                   RACT3                                 
021314,000833: 35,2725           57456                          UNIT     VCOMP                                 
021315,000834: 35,2726           00015                          STORE    12D                                   
021316,000835: 35,2727           76435                          VXV      VSL1                                  
021317,000836: 35,2730           02617                                   UNRM                                  #  Z*-Y
021318,000837: 35,2731           00001                          STORE    0D                                    
021319,000838: 35,2732           43401                          SETPD    RVQ                                   
021320,000839: 35,2733           00023                                   18D                                   
021321,000840: 35,2734           65325        GOINT             PDDL     PDDL                                  #  DO
021322,000841: 35,2735           15336                                   ZEROVECS                              #    NOT
021323,000842: 35,2736           02355                                   NOMTPI                                
021324,000843: 35,2737           41406                          PUSH     PUSH                                  #                 ORDER OR INSERT BEFORE INTINT
021325,000844: 35,2740           45020        INTINT            STQ      CALL                                  
021326,000845: 35,2741           02357                                   RTRN                                  
021327,000846: 35,2742           27516                                   INTSTALL                              
021328,000847: 35,2743           71214                          CLEAR    DLOAD                                 
021329,000848: 35,2744           01673                                   INTYPFLG                              
021330,000849: 35,2745           43054                          BZE      SET                                   
021331,000850: 35,2746           72750                                   +2                                    
021332,000851: 35,2747           01473                                   INTYPFLG                              
021333,000852: 35,2750           45545                          DLOAD    STADR                                 
021334,000853: 35,2751           63736                          STODL    TDEC1                                 
021335,000854: 35,2752           73014                          SET      LXA,2                                 
021336,000855: 35,2753           00063                                   MOONFLAG                              
021337,000856: 35,2754           03746                                   RTX2                                  
021338,000857: 35,2755           43014                          BON      CLEAR                                 
021339,000858: 35,2756           04303                                   CMOONFLG                              
021340,000859: 35,2757           72761                                   ALLSET                                
021341,000860: 35,2760           00263                                   MOONFLAG                              
021342,000861: 35,2761           25517        ALLSET            STOVL    TET                                   
021343,000862: 35,2762           77657                          VSR*                                           
021344,000863: 35,2763           57176                                   0,2                                   
021345,000864: 35,2764           25535                          STOVL    RCV                                   
021346,000865: 35,2765           77657                          VSR*                                           
021347,000866: 35,2766           57176                                   0,2                                   
021348,000867: 35,2767           35543                          STCALL   VCV                                   
021349,000868: 35,2770           27211                                   INTEGRVS                              
021350,000869: 35,2771           52175                          VLOAD    GOTO                                  
021351,000870: 35,2772           00001                                   RATT                                  
021352,000871: 35,2773           02357                                   RTRN                                  
021353,000872: 

Page 484

021355,000874:                                                                                                 #  ..... S34/35.5  .....
021356,000875: 
021357,000876:                                                                                                 #  SUBROUTINES USED
021358,000877: 
021359,000878:                                                                                                 #         BANKCALL
021360,000879:                                                                                                 #         GOFLASH
021361,000880:                                                                                                 #         GOTOPOOH
021362,000881:                                                                                                 #         S34/35.3
021363,000882:                                                                                                 #         S34.35.4
021364,000883:                                                                                                 #         VNPOOH
021365,000884: 
021366,000885: 35,2774           43020        S34/35.5          STQ      BON                                   
021367,000886: 35,2775           02360                                   SUBEXIT                               
021368,000887: 35,2776           01311                                   FINALFLG                              
021369,000888: 35,2777           73003                                   FLAGON                                
021370,000889: 35,3000           52014                          SET      GOTO                                  
021371,000890: 35,3001           00470                                   UPDATFLG                              
021372,000891: 35,3002           73005                                   FLAGON     +2                         
021373,000892: 35,3003           77614        FLAGON            SET                                            
021374,000893: 35,3004           05074                                   TPIMNFLG                              #  INDICATE TPI MANEUVER DONE
021375,000894: 35,3005           77775                 +2       VLOAD                                          
021376,000895: 35,3006           03405                                   DELVLVC                               
021377,000896: 35,3007           03620                          STORE    VTPRIME                               #  SAVE DELTA V BEFORE DISPLAY
021378,000897: 35,3010           77776                          EXIT                                           
021379,000898: 35,3011           34535                          CAF      V06N81                                
021380,000899: 35,3012           05535                          TC       VNFLASH                               
021381,000900: 35,3013           06006                          TC       INTPRET                               
021382,000901: 35,3014           52375                          VLOAD    VSU                                   #  TEST FOR OVERWRITE OF COMPUTED
021383,000902: 35,3015           03405                                   DELVLVC                               #                       DELTA V
021384,000903: 35,3016           03620                                   VTPRIME                               
021385,000904: 35,3017           53046                          ABVAL    BZE                                   
021386,000905: 35,3020           73023                                   FLAGOFF                               
021387,000906: 35,3021           77624                          CALL                                           
021388,000907: 35,3022           72651                                   S34/35.3                              #  COMPUTE NEW TARGET VECTOR
021389,000908:                                                                                                 #  TRANSFER OF DELVEET3 TO DELVSIN OUT...THEY SHARE SAME ERASABLE.
021390,000909: 35,3023           77624        FLAGOFF           CALL                                           
021391,000910: 35,3024           72714                                   S34/35.4                              
021392,000911: 35,3025           77650        FLAGEND           GOTO                                           
021393,000912: 35,3026           02360                                   SUBEXIT                               
021394,000913: 

Page 485

021396,000915:                                                                                                 #  ..... VN1645    .....
021397,000916: 
021398,000917:                                                                                                 #  SUBROUTINES USED
021399,000918: 
021400,000919:                                                                                                 #         P3XORP7X
021401,000920:                                                                                                 #         GET+MGA
021402,000921:                                                                                                 #         BANKCALL
021403,000922:                                                                                                 #         DELAYJOB
021404,000923:                                                                                                 #         COMPTGO
021405,000924:                                                                                                 #         GOFLASHR
021406,000925:                                                                                                 #         GOTOPOOH
021407,000926:                                                                                                 #         FLAGUP
021408,000927: 
021409,000928: 35,3027           71220        VN1645            STQ      DLOAD                                 
021410,000929: 35,3030           02360                                   SUBEXIT                               
021411,000930: 35,3031           33154                                   DP-.01                                
021412,000931: 35,3032           03626                          STORE    +MGA                                  #  MGA = -.01
021413,000932: 35,3033           71214                          BOFF     DLOAD                                 
021414,000933: 35,3034           01351                                   FINALFLG                              
021415,000934: 35,3035           73055                                   GET45                                 
021416,000935: 35,3036           33154                                   DP-.01                                
021417,000936: 35,3037           77615                          DAD                                            
021418,000937: 35,3040           33154                                   DP-.01                                
021419,000938: 35,3041           03626                          STORE    +MGA                                  #  MGA = -.02
021420,000939: 35,3042           77414                          BOFF     EXIT                                  
021421,000940: 35,3043           01742                                   REFSMFLG                              
021422,000941: 35,3044           73055                                   GET45                                 
021423,000942: 35,3045           03137                          TC       P3XORP7X                              
021424,000943: 35,3046           03050                          TC       +2                                    #  P3X
021425,000944: 35,3047           03056                          TC       GET45      +1                         #  P7X
021426,000945: 35,3050           06006                          TC       INTPRET                               
021427,000946: 35,3051           41575                          VLOAD    PUSH                                  
021428,000947: 35,3052           03646                                   DELVSIN                               
021429,000948: 35,3053           77624                          CALL                                           #  COMPUTE MGA
021430,000949: 35,3054           56444                                   GET+MGA                               
021431,000950: 35,3055           77776        GET45             EXIT                                           
021432,000951: 35,3056           03525                 +1       TC       COMPTGO                               #  INITIATE TASK TO UPDATE TTOGO
021433,000952: 35,3057           31760                          CA       SUBEXIT                               
021434,000953: 35,3060           55756                          TS       QSAVED                                
021435,000954: 35,3061           04636                          TC       BANKCALL                              
021436,000955: 35,3062           01730                          CADR     1SECDELY                              
021437,000956: 35,3063           34536                          CAF      V16N45                                #  TRKMKCNT, TTOGO, +MGA
021438,000957: 35,3064           04636                          TC       BANKCALL                              
021439,000958: 35,3065           20743                          CADR     GOFLASH                               
021440,000959: 35,3066           04103                          TC       GOTOPOOH                              #  TERMINATE
021441,000960: 35,3067           03071                          TC       N45PROC                               #  PROCEED
021442,000961: 35,3070           03101                          TC       CLUPDATE                              #  RECYCLE - RETURN FOR INITIAL COMPUTATION
021443,000962: 35,3071           40076        N45PROC           CS       FLAGWRD2                              
021444,000963: 35,3072           74763                          MASK     FINALBIT                              
021445,000964: 35,3073           00006                          EXTEND                                         

Page 486

021447,000966: 35,3074           13113                          BZF      N45ENAJ                               #  FINAL FLAG SET - FINAL PASS
021448,000967: 35,3075           05402        N45NORM           TC       PHASCHNG                              
021449,000968: 35,3076           04024                          OCT      04024                                 
021450,000969: 35,3077           05547                          TC       UPFLAG                                #  SET
021451,000970: 35,3100           00047                          ADRES    FINALFLG                              #  FINALFLG
021452,000971: 35,3101           05561        CLUPDATE          TC       DOWNFLAG                              
021453,000972: 35,3102           00155                          ADRES    TIMRFLAG                              #  TERMINATE CLOKTASK
021454,000973: 35,3103           33136                          CAF      VN1645AD                              #  CHANGE BACK TO 4.1 FOR
021455,000974: 35,3104           54373                          TS       TEMPFLSH                              #  FUTURE DISPLAYS
021456,000975: 35,3105           05402                          TC       PHASCHNG                              
021457,000976: 35,3106           00014                          OCT      14                                    
021458,000977: 
021459,000978: 35,3107           06006        VN1645R           TC       INTPRET                               
021460,000979: 35,3110           52014                          CLEAR    GOTO                                  
021461,000980: 35,3111           00670                                   UPDATFLG                              
021462,000981: 35,3112           02356                 +3                QSAVED                                
021463,000982: 35,3113           05402        N45ENAJ           TC       PHASCHNG                              #  PROTECT MANEVFLG, WRENDPOS
021464,000983: 35,3114           04024                          OCT      04024                                 
021465,000984: 35,3115           06006                          TC       INTPRET                               
021466,000985: 35,3116           77745                          DLOAD                                          
021467,000986: 35,3117           03413                                   TIG                                   
021468,000987: 35,3120           03450                          STORE    NOMTIG                                
021469,000988: 35,3121           43014                          BON      SET                                   
021470,000989: 35,3122           05316                                   PCFLAG                                
021471,000990: 35,3123           73125                                   CHGRMS                                
021472,000991: 35,3124           05072                                   MANEUFLG                              #  DONT SET FLAG IF PC MANEUVER
021473,000992: 35,3125           71214        CHGRMS            BOFF     DLOAD                                 
021474,000993: 35,3126           05350                                   AUTOSEQ                               
021475,000994: 35,3127           73132                                   SAMERMS                               
021476,000995: 35,3130           33135                                   POSVEL2                               #  CHANGE RMS ONLY IN MINKEY
021477,000996: 35,3131           02001                          STORE    WRENDPOS                              
021478,000997: 35,3132           77776        SAMERMS           EXIT                                           
021479,000998: 35,3133           14105                          TCF      MNKGOPOO                              
021480,000999: 35,3134           00023        POSVEL2           DEC      608        B-19                       #  2000 FT IN METERS
021481,001000: 35,3135           00144        POSVEL3           DEC      .00608                                #  2 FT/SEC IN M/CS
021482,001001: 35,3136           73112        VN1645AD          CADR     VN1645R    +3                         
021483,001002: 

Page 487

021485,001004:                                                                                                 #  ..... P3XORP7X  .....
021486,001005: 
021487,001006: 35,3137           37677        P3XORP7X          CAF      HIGH9                                 
021488,001007: 35,3140           71214                          MASK     MODREG                                
021489,001008: 35,3141           15651                          TCF      INCRQCK                               
021490,001009:    4000                                          SETLOC   P30SUBS                               
021491,001010:    4000                                          BANK                                           
021492,001011: 
021493,001012:    4532                                          COUNT*   $$/P3474                              
021494,001013: 

Page 488

021496,001015:                                                                                                 #  ..... CONSTANTS .....
021497,001016: 
021498,001017:    4532           01445        V06N37            VN       0637                                  
021499,001018:    4533           01467        V06N55            VN       0655                                  
021500,001019:    4534           01472        V06N58            VN       0658                                  
021501,001020:    4535           01521        V06N81            VN       0681                                  
021502,001021:    4536           04055        V16N45            VN       1645                                  
021503,001022:    4537           01006        V04N06            VN       0406                                  
021504,001023: 
021505,001024: 35,2000                                          SETLOC   CSI/CDH                               
021506,001025: 35,2000                                          BANK                                           
021507,001026: 
021508,001027: 35,3142                                          COUNT*   $$/P3474                              
021509,001028: 35,3142           14441 37325  TWOPI             2DEC     6.283185307 B-4                        
021510,001029: 35,3144           00001 20650  MAX250            2DEC     25         E3         B-28            # # RSB 2004 added the B-28. 
021511,001030: 35,3146           12525 12525  THIRD             2DEC     .333333333                            
021512,001031: 35,3150           00004 21505  ELEPS             2DEC     .27777777  E-3                        
021513,001032: 35,3152           00002        DECTWO            DEC      2          B-14                       
021514,001033: 35,3153           77777        DP-.01            OCT      77777                                 #  CONSTANTS
021515,001034: 35,3154           61337                          OCT      61337                                 #  ADJACENT       -.01 FOR MGA DSP
021516,001035: 35,3155           01252 25253  EPSFOUR           2DEC     .0416666666                            
021517,001036: 35,3157           01473        V06N59            VN       0659                                  
021518,001037: 

Page 489

021520,001039:                                                                                                 #  ..... INITVEL .....
021521,001040: 
021522,001041:                                                                                                 #  MOD NO -1              LOG SECTION - P34-P35, P74-P75
021523,001042:                                                                                                 #  MOD BY WHITE.P DATE  21NOV67
021524,001043: 
021525,001044:                                                                                                 #  FUNCTIONAL DESCRIPTION
021526,001045: 
021527,001046:                                                                                                 #         THIS SUBROUTINE COMPUTES THE REQUIRED INITIAL VELOCITY VECTOR FOR
021528,001047:                                                                                                 #         A TRAJECTORY OF SPECIFIC TRANSFER TIME BETWEEN SPECIFIED INITIAL
021529,001048:                                                                                                 #         AND TARGET POSITIONS.  THE TRAJECTORY MAY BE EITHER CONIC OR
021530,001049:                                                                                                 #         PRECISION DEPENDING ON AN INPUT PARAMETER (NAMELY, NUMBER OF
021531,001050:                                                                                                 #         OFFSETS).  IN ADDITION, IN THE PRECISION TRAJECTORY CASE, THE
021532,001051:                                                                                                 #         SUBROUTINE ALSO COMPUTES AN OFFSET TARGET VECTOR, TO BE USED
021533,001052:                                                                                                 #         DURING PURE-CONIC CROSS-PRODUCT STEERING.  THE OFFSET TARGET
021534,001053:                                                                                                 #         VECTOR IS THE TERMINAL POSITION VECTOR OF A CONIC TRAJECTORY WHICH
021535,001054:                                                                                                 #         HAS THE SAME INITIAL STATE AS A PRECISION TRAJECTORY WHOSE
021536,001055:                                                                                                 #         TERMINAL POSITION VECTOR IS THE SPECIFIED TARGET VECTOR.
021537,001056: 
021538,001057:                                                                                                 #         IN ORDER TO AVOID THE INHERENT SINGULARITIES IN THE 180 DEGREE
021539,001058:                                                                                                 #         TRANSFER CASE WHEN THE (TRUE OR OFFSET) TARGET VECTOR MAY BE
021540,001059:                                                                                                 #         SLIGHTLYOUT OF THE ORBITAL PLANE, THIS SUBROUTINE ROTATES THIS
021541,001060:                                                                                                 #         VECTOR INTO A PLANE DEFINED BY THE INPUT INITIAL POSITION VECTOR
021542,001061:                                                                                                 #         AND ANOTHER INPUT VECTOR (USUALLY THE INITIAL VELOCITY VECTOR),
021543,001062:                                                                                                 #         WHENEVER THE INPUT TARGET VECTOR LIES INSIDE A CONE WHOSE VERTEX
021544,001063:                                                                                                 #         IS THE ORIGIN OF COORDINATES, WHOSE AXIS IS THE 180 DEGREE
021545,001064:                                                                                                 #         TRANSFER DIRECTION, AND WHOSE CONE ANGLE IS SPECIFIED BY THE USER.
021546,001065: 
021547,001066:                                                                                                 #         THE LAMBERT SUBROUTINE IS UTILIZED FOR THE CONIC COMUTATIONS AND
021548,001067:                                                                                                 #         THE COASTING INTEGRATION SUBROUTINE IS UTILIZED FOR THE PRECISION
021549,001068:                                                                                                 #         TRAJECTORY COMPUTATIONS.
021550,001069: 
021551,001070:                                                                                                 #  CALLING SEQUENCE
021552,001071: 
021553,001072:                                                                                                 #         L       CALL
021554,001073:                                                                                                 #         L+1             INITVEL
021555,001074:                                                                                                 #         L+2     (RETURN - ALWAYS)
021556,001075: 
021557,001076:                                                                                                 #  INPUT
021558,001077: 
021559,001078:                                                                                                 #         (1) RINIT       INITIAL POSITION RADIUS VECTOR
021560,001079:                                                                                                 #         (2) VINIT       INITIAL POSITION VELOCITY VECTOR
021561,001080:                                                                                                 #         (3) RTARG       TARGET POSITION RADIUS VECTOR
021562,001081:                                                                                                 #         (4) DELLT4      DESIRED TIME OF FLIGHT FROM RINIT TO RTARG
021563,001082:                                                                                                 #         (5) INTIME      TIME OF RINIT
021564,001083:                                                                                                 #         (6) 0D          NUMBER OF ITERATIONS OF LAMBERT/INTEGRVS
021565,001084:                                                                                                 #         (7) 2D          ANGLE TO 180 DEGREES WHEN ROTATION STARTS
021566,001085:                                                                                                 #         (8) RTX1        -2 FOR EARTH, -10D FOR LUNAR
021567,001086:                                                                                                 #         (9) RTX2        COORDINATE SYSTEM ORIGIN - 0 FOR EARTH, 2 FOR LUNAR
021568,001087:                                                                                                 #         PUSHLOC SET AT 4D
021569,001088: 

Page 490

021571,001090:                                                                                                 #  OUTPUT
021572,001091: 
021573,001092:                                                                                                 #         (1) RTARG       OFFSET TARGET POSITION VECTOR
021574,001093:                                                                                                 #         (2) VIPRIME     MANEUVER VELOCITY REQUIRED
021575,001094:                                                                                                 #         (3) VTPRIME     VELOCITY AT TARGET AFTER MANEUVER
021576,001095:                                                                                                 #         (4) DELVEET3    DELTA VELOCITY REQUIRED FOR MANEUVER
021577,001096: 
021578,001097:                                                                                                 #  SUBROUTINES USED
021579,001098: 
021580,001099:                                                                                                 #         LAMBERT
021581,001100:                                                                                                 #         INTSTALL
021582,001101:                                                                                                 #         INTEGRVS
021583,001102: 
021584,001103: 11,2000                                          SETLOC   INTVEL                                
021585,001104: 11,2000                                          BANK                                           
021586,001105: 
021587,001106: 11,2000                                          COUNT*   $$/INITV                              
021588,001107: 11,2000           77614        INITVEL           SET                                            #  COGA GUESS NOT AVAILABLE
021589,001108: 11,2001           00475                                   GUESSW                                
021590,001109: 11,2002           44175        HAVEGUES          VLOAD    STQ                                   
021591,001110: 11,2003           03415                                   RTARG                                 
021592,001111: 11,2004           01023                                   NORMEX                                
021593,001112: 11,2005           03604                          STORE    RTARG1                                
021594,001113: 11,2006           46135                          SLOAD    BHIZ                                  
021595,001114: 11,2007           03747                                   RTX2                                  
021596,001115: 11,2010           22022                                   INITVEL1                              
021597,001116: 11,2011           72575                          VLOAD    VSL2                                  
021598,001117: 11,2012           03570                                   RINIT                                 #  B29
021599,001118: 11,2013           27570                          STOVL    RINIT                                 #  B27
021600,001119: 11,2014           03576                                   VINIT                                 #  B7
021601,001120: 11,2015           77752                          VSL2                                           
021602,001121: 11,2016           27576                          STOVL    VINIT                                 #  B5
021603,001122: 11,2017           03604                                   RTARG1                                
021604,001123: 11,2020           77752                          VSL2                                           
021605,001124: 11,2021           03604                          STORE    RTARG1                                
021606,001125: 
021607,001126:                                                                                                 #  INITIALIZATION
021608,001127: 
021609,001128: 11,2022           71331        INITVEL1          SSP      DLOAD                                 #  SET ITCTR TO -1,LOAD MPAC WITH E4(PL 2D)
021610,001129: 11,2023           03505                                   ITCTR                                 
021611,001130: 11,2024           77776                                   0          -1                         
021612,001131: 11,2025           70546                          COSINE   SR1                                   #  CALCULATE COSINE (E4) (+2)
021613,001132: 11,2026           17630                          STODL    COZY4                                 #  SET COZY4 TO COSINE (E4)          (PL 0D)
021614,001133: 11,2027           67154                          LXA,2    SXA,2                                 
021615,001134: 11,2030           00154                                   MPAC                                  
021616,001135: 11,2031           02703                                   VTARGTAG                              #  SET VTARGTAG TO 0D (SP)
021617,001136: 11,2032           77775                          VLOAD                                          
021618,001137: 11,2033           03570                                   RINIT                                 
021619,001138: 11,2034           26657                          STOVL    R1VEC                                 #  R1VEC EQ RINIT
021620,001139: 11,2035           03604                                   RTARG1                                
021621,001140: 11,2036           16665                          STODL    R2VEC                                 #  R2VEC EQ RTARG

Page 491

021623,001142: 11,2037           03423                                   DELLT4                                
021624,001143: 11,2040           02673                          STORE    TDESIRED                              #  TDESIRED EQ DELLT4
021625,001144: 11,2041           77201                          SETPD    VLOAD                                 
021626,001145: 11,2042           00001                                   0D                                    #  INITIALIZE PL TO 0D
021627,001146: 11,2043           03570                                   RINIT                                 #  MPAC EQ RINIT (+29)
021628,001147: 11,2044           41456                          UNIT     PUSH                                  #  UNIT(RI)  (+1)            (PL 6D)
021629,001148: 11,2045           53435                          VXV      UNIT                                  
021630,001149: 11,2046           03576                                   VINIT                                 #  MPAC EQ UNIT(RI) X VI   (+8)
021631,001150: 11,2047           26676                          STOVL    UN                                    
021632,001151: 11,2050           03604                                   RTARG1                                
021633,001152: 11,2051           50256                          UNIT     DOT                                   #  TEMP=URT.URI (+2)                 (PL 0D)
021634,001153: 11,2052           43015                          DAD      CLEAR                                 
021635,001154: 11,2053           03630                                   COZY4                                 
021636,001155: 11,2054           03665                                   NORMSW                                
021637,001156: 11,2055           03630                          STORE    COZY4                                 
021638,001157: 11,2056           43044        INITVEL2          BPL      SET                                   
021639,001158: 11,2057           22101                                   INITVEL3                              #  UN CALCULATED IN LAMBERT
021640,001159: 11,2060           03465                                   NORMSW                                
021641,001160: 
021642,001161:                                                                                                 #  ROTATE RC INTO YC PLANE - SET UNIT NORMAL TO YC
021643,001162: 
021644,001163: 11,2061           41575                          VLOAD    PUSH                                  #                                    (PL 6D)
021645,001164: 11,2062           02665                                   R2VEC                                 #  RC TO 6D (+29)
021646,001165: 11,2063           63246                          ABVAL    PDVL                                  #  RC TO MPAC, ABVAL(RC) (+29) TO OD(PL 2D)
021647,001166: 11,2064           46206                          PUSH     VPROJ                                 #                                   (PL 8D)
021648,001167: 11,2065           02676                                   UN                                    
021649,001168: 11,2066           51352                          VSL2     BVSU                                  
021650,001169: 11,2067           74256                          UNIT     VXSC                                  #                                   (PL 0D)
021651,001170: 11,2070           77772                          VSL1                                           
021652,001171: 11,2071           02665                          STORE    R2VEC                                 
021653,001172: 11,2072           67351                          TLOAD    SLOAD                                 
021654,001173: 11,2073           11762                                   ZEROVEC                               
021655,001174: 11,2074           03505                                   ITCTR                                 
021656,001175: 11,2075           77244                          BPL      VLOAD                                 
021657,001176: 11,2076           22101                                   INITVEL3                              
021658,001177: 11,2077           02665                                   R2VEC                                 
021659,001178: 11,2100           03604                          STORE    RTARG1                                
021660,001179: 11,2101           63345        INITVEL3          DLOAD    PDVL                                  #                                    (PL 2D)
021661,001180: 11,2102           27740                                   MUEARTH                               #  POSITIVE VALUE
021662,001181: 11,2103           02665                                   R2VEC                                 
021663,001182: 11,2104           63256                          UNIT     PDVL                                  #  2D = UNIT(R2VEC)                  (PL 8D)
021664,001183: 11,2105           02657                                   R1VEC                                 
021665,001184: 11,2106           41456                          UNIT     PUSH                                  #  8D = UNIT(R1VEC)                  (PL14D)
021666,001185: 11,2107           57435                          VXV      VCOMP                                 #  -N = UNIT(R2VEC) X UNIT(R1VEC)
021667,001186: 11,2110           00003                                   2D                                    
021668,001187: 11,2111           77606                          PUSH                                           #                                    (PL20D)
021669,001188: 11,2112           71350                          LXA,1    DLOAD                                 
021670,001189: 11,2113           03745                                   RTX1                                  
021671,001190: 11,2114           00023                                   18D                                   
021672,001191: 11,2115           62040                          BMN      INCR,1                                
021673,001192: 11,2116           22120                                   +2                                    

Page 492

021675,001194: 11,2117           77767                          DEC      -8         B-14                       
021676,001195: 11,2120           67310                          INCR,1   SLOAD                                 
021677,001196: 11,2121           00012                                   10D                                   
021678,001197: 11,2122           00047                                   X1                                    
021679,001198: 11,2123           77230                          BHIZ     VLOAD                                 #                                    (PL14D)
021680,001199: 11,2124           22126                                   +2                                    
021681,001200: 11,2125           41476                          VCOMP    PUSH                                  #                                    (PL20D)
021682,001201: 11,2126           77775                          VLOAD                                          #                                    (PL14D)
021683,001202: 11,2127           50235                          VXV      DOT                                   #                                    (PL 2D)
021684,001203: 11,2130           71244                          BPL      DLOAD                                 #                                    (PL 0D)
021685,001204: 11,2131           22133                                   INITVEL4                              
021686,001205: 11,2132           41476                          DCOMP    PUSH                                  #                                    (PL 2D)
021687,001206: 11,2133           67154        INITVEL4          LXA,2    SXA,2                                 
021688,001207: 11,2134           00000                                   0D                                    
021689,001208: 11,2135           02674                                   GEOMSGN                               
021690,001209: 
021691,001210:                                                                                                 #  SET INPUTS UP FOR LAMBERT
021692,001211: 
021693,001212: 11,2136           45150                          LXA,1    CALL                                  
021694,001213: 11,2137           03745                                   RTX1                                  
021695,001214: 
021696,001215:                                                                                                 #   OPERATE THE LAMBERT CONIC ROUTINE (COASTFLT SUBROUTINE)
021697,001216: 
021698,001217: 11,2140           25255                                   LAMBERT                               
021699,001218: 
021700,001219: 11,2141           77214                          CLEAR    VLOAD                                 
021701,001220: 11,2142           00675                                   GUESSW                                
021702,001221: 11,2143           02746                                   VVEC                                  
021703,001222: 
021704,001223:                                                                                                 #  STORE CALCULATED INITIAL VELOCITY REQUIRED IN VIPRIME
021705,001224: 
021706,001225: 11,2144           17612                          STODL    VIPRIME                               #  INITIAL VELOCITY REQUIRED (+7)
021707,001226: 
021708,001227:                                                                                                 #  IF NUMIT IS ZERO, CONTINUE AT INITVELB, OTHERWISE
021709,001228:                                                                                                 #  SET UP INPUTS FOR ENCKE INTEGRATION (INTEGRVS).
021710,001229: 
021711,001230: 11,2145           02704                                   VTARGTAG                              
021712,001231: 11,2146           45030                          BHIZ     CALL                                  
021713,001232: 11,2147           34003                                   INITVEL7                              
021714,001233: 11,2150           27516                                   INTSTALL                              
021715,001234: 11,2151           43135                          SLOAD    CLEAR                                 
021716,001235: 11,2152           03747                                   RTX2                                  
021717,001236: 11,2153           00263                                   MOONFLAG                              
021718,001237: 11,2154           43030                          BHIZ     SET                                   
021719,001238: 11,2155           22157                                   INITVEL5                              
021720,001239: 11,2156           00063                                   MOONFLAG                              
021721,001240: 11,2157           77775        INITVEL5          VLOAD                                          
021722,001241: 11,2160           03570                                   RINIT                                 
021723,001242: 11,2161           02657                          STORE    R1VEC                                 
021724,001243: 11,2162           25535                          STOVL    RCV                                   
021725,001244: 11,2163           03612                                   VIPRIME                               
021726,001245: 11,2164           15543                          STODL    VCV                                   
021727,001246: 11,2165           03503                                   INTIME                                

Page 493

021729,001248: 11,2166           01517                          STORE    TET                                   
021730,001249: 11,2167           43015                          DAD      CLEAR                                 
021731,001250: 11,2170           03423                                   DELLT4                                
021732,001251: 11,2171           01673                                   INTYPFLG                              
021733,001252: 11,2172           34041                          STCALL   TDEC1                                 
021734,001253: 11,2173           27211                                   INTEGRVS                              
021735,001254: 11,2174           77775                          VLOAD                                          
021736,001255: 11,2175           00025                                   VATT1                                 
021737,001256: 11,2176           02705                          STORE    VTARGET                               
021738,001257: 
021739,001258:                                                                                                 #  IF ITERATION COUNTER (ITCTR) EQ NO. ITERATIONS (NUMIT), CONTINUE AT
021740,001259:                                                                                                 #  INITVELC, OTHERWISE REITERATE LAMBERT AND ENCKE
021741,001260: 
021742,001261: 11,2177           63154                          LXA,2    INCR,2                                
021743,001262: 11,2200           03504                                   ITCTR                                 
021744,001263: 11,2201           00001                                   1D                                    #  INCREMENT ITCTR
021745,001264: 11,2202           55134                          SXA,2    XSU,2                                 
021746,001265: 11,2203           03504                                   ITCTR                                 
021747,001266: 11,2204           02703                                   VTARGTAG                              
021748,001267: 11,2205           46135                          SLOAD    BHIZ                                  #  IF SP(MPAC) EQ 0, CONTINUE AT INITVELC
021749,001268: 11,2206           00050                                   X2                                    
021750,001269: 11,2207           34000                                   INITVEL6                              
021751,001270: 
021752,001271:                                                                                                 #  OFFSET CONIC TARGET VECTOR
021753,001272: 
021754,001273: 11,2210           52375                          VLOAD    VSU                                   
021755,001274: 11,2211           03604                                   RTARG1                                
021756,001275: 11,2212           00017                                   RATT1                                 
021757,001276: 11,2213           77655                          VAD                                            
021758,001277: 11,2214           02665                                   R2VEC                                 
021759,001278: 11,2215           16665                          STODL    R2VEC                                 
021760,001279: 11,2216           03630                                   COZY4                                 
021761,001280: 11,2217           77650                          GOTO                                           
021762,001281: 11,2220           22056                                   INITVEL2                              #  CONTINUE ITERATING AT INITVEL2
021763,001282: 16,2000                                          SETLOC   INTVEL1                               
021764,001283: 16,2000                                          BANK                                           
021765,001284: 
021766,001285: 16,2000                                          COUNT*   $$/INITV                              
021767,001286: 
021768,001287:                                                                                                 #  COMPUTE THE DELTA VELOCITY
021769,001288: 
021770,001289: 16,2000           77775        INITVEL6          VLOAD                                          
021771,001290: 16,2001           02665                                   R2VEC                                 
021772,001291: 16,2002           03604                          STORE    RTARG1                                
021773,001292: 16,2003           52375        INITVEL7          VLOAD    VSU                                   
021774,001293: 16,2004           03612                                   VIPRIME                               
021775,001294: 16,2005           03576                                   VINIT                                 
021776,001295: 16,2006           27646                          STOVL    DELVEET3                              #  DELVEET3 = VIPRIME-VINIT  (+7)
021777,001296: 16,2007           02705                                   VTARGET                               
021778,001297: 16,2010           37620                          STCALL   VTPRIME                               
021779,001298: 16,2011           22221                                   INITVEL8                              
021780,001299: 11,2000                                          SETLOC   INTVEL                                

Page 494

021782,001301: 11,2000                                          BANK                                           
021783,001302: 
021784,001303: 11,2221                                          COUNT*   $$/INITV                              
021785,001304: 11,2221           46135        INITVEL8          SLOAD    BHIZ                                  
021786,001305: 11,2222           03747                                   RTX2                                  
021787,001306: 11,2223           22240                                   INITVELX                              
021788,001307: 11,2224           70575                          VLOAD    VSR2                                  
021789,001308: 11,2225           03620                                   VTPRIME                               
021790,001309: 11,2226           27620                          STOVL    VTPRIME                               
021791,001310: 11,2227           03612                                   VIPRIME                               
021792,001311: 11,2230           77742                          VSR2                                           
021793,001312: 11,2231           27612                          STOVL    VIPRIME                               
021794,001313: 11,2232           03604                                   RTARG1                                
021795,001314: 11,2233           77742                          VSR2                                           
021796,001315: 11,2234           27604                          STOVL    RTARG1                                
021797,001316: 11,2235           03646                                   DELVEET3                              
021798,001317: 11,2236           77742                          VSR2                                           
021799,001318: 11,2237           03646                          STORE    DELVEET3                              
021800,001319: 11,2240           77201        INITVELX          SETPD    VLOAD                                 
021801,001320: 11,2241           00001                                   0D                                    
021802,001321: 11,2242           03604                                   RTARG1                                
021803,001322: 11,2243           03415                          STORE    RTARG                                 
021804,001323: 11,2244           77614                          CLRGO                                          
021805,001324: 11,2245           01227                                   XDELVFLG                              
021806,001325: 11,2246           01023                                   NORMEX                                
021807,001326: 
021808,001327:                                                                                                 #  ..... END OF INITVEL ROUTINE .....
021809,001328: 

Page 495

021811,001330: 
021812,001331:                                                                                                 #  MIDDLE GIMBAL ANGLE COMPUTATION.
021813,001332: 
021814,001333: 27,2000                                          SETLOC   MGIM                                  
021815,001334: 27,2000                                          BANK                                           
021816,001335: 
021817,001336: 27,2442                                          COUNT*   $$/MIDG                               
021818,001337: 
021819,001338: 27,2442           20000 00000  HALFREV           2DEC     1          B-1                        
021820,001339: 
021821,001340: 27,2444           53575        GET+MGA           VLOAD    UNIT                                  #  (PL 0D) V (+7) TO MPAC, UNITIZE  UV (+1)
021822,001341: 27,2445           72441                          DOT      SL1                                   #  DOT UV WITH Y(STABLE MEMBER) AND RESCALE
021823,001342: 27,2446           01742                                   REFSMMAT   +6                         #   FROM +2 TO +1 FOR ASIN ROUTINE
021824,001343: 27,2447           51136                          ARCSIN   BPL                                   
021825,001344: 27,2450           56454                                   SETMGA                                
021826,001345: 27,2451           43215                          DAD      DAD                                   #  CONVERT -MGA TO +MGA BY
021827,001346: 27,2452           16443                                   HALFREV                               #  ADDING ONE REVOLUTION
021828,001347: 27,2453           16443                                   HALFREV                               
021829,001348: 27,2454           03626        SETMGA            STORE    +MGA                                  
021830,001349: 27,2455           77616                          RVQ                                            
021831,001350: 
021832,001351: 04,2000                                          SETLOC   MIDDGIM                               
021833,001352: 04,2000                                          BANK                                           
021834,001353: 
021835,001354: 04,3200                                          COUNT*   $$/MIDG                               
021836,001355: 
021837,001356:                                                                                                 #  TRANSFORM INPUT VECTOR INTO LOCAL VERTICAL COORDINATES.
021838,001357: 
021839,001358: 04,3200           53575        GET.LVC           VLOAD    UNIT                                  #  (PL 6D)   R (+29) IN MPAC UNITZE  UR
021840,001359: 04,3201           03570                                   RINIT                                 
021841,001360: 04,3202           77676                          VCOMP                                          #  U(-R)
021842,001361: 04,3203           00023                          STORE    18D                                   #  U(-R) TO 18D
021843,001362: 04,3204           53435                          VXV      UNIT                                  #  U(-R)*V EQ V*U(R), U(V*R)
021844,001363: 04,3205           03576                                   VINIT                                 
021845,001364: 04,3206           00015                          STORE    12D                                   #  U(V*R) TO 12D
021846,001365: 04,3207           53435                          VXV      UNIT                                  #  U(V*R)*U(-R), U((V*R)*(-R))
021847,001366: 04,3210           00023                                   18D                                   
021848,001367: 04,3211           24007                          STOVL    6D                                    #  TRANSFORMATION MATRIX IS IN 6D (+1)
021849,001368: 04,3212           00001                                   0D                                    #  DELTA V (+7) IN 0D
021850,001369: 04,3213           76521                          MXV      VSL1                                  #  CONVERT FROM INER COOR TO LV COOR (+8)
021851,001370: 04,3214           00007                                   6D                                    #   AND SCALE +7 IN MPAC
021852,001371: 04,3215           03405                          STORE    DELVLVC                               #  STORE IN DELVLVC (+7)
021853,001372: 04,3216           77616                          RVQ                                            
021854,001373: 

Page 496

021856,001375: 04,3217           77160        SELECTMU          AXC,1    AXT,2                                 
021857,001376: 04,3220           00002                                   2D                                    
021858,001377: 04,3221           00000                                   0D                                    
021859,001378: 04,3222           77614                          BOFF                                           
021860,001379: 04,3223           04343                                   CMOONFLG                              
021861,001380: 04,3224           11230                                   SETMUER                               
021862,001381: 04,3225           77160                          AXC,1    AXT,2                                 
021863,001382: 04,3226           00012                                   10D                                   
021864,001383: 04,3227           00002                                   2D                                    
021865,001384: 04,3230           66143        SETMUER           DLOAD*   SXA,1                                 
021866,001385: 04,3231           22305                                   MUTABLE    +4,1                       
021867,001386: 04,3232           03745                                   RTX1                                  
021868,001387: 04,3233           23752                          STODL*   RTSR1/MU                              
021869,001388: 04,3234           22277                                   MUTABLE    -2,1                       
021870,001389: 04,3235           54214                          BOFF     SR                                    
021871,001390: 04,3236           04343                                   CMOONFLG                              
021872,001391: 04,3237           11241                                   RTRNMU                                
021873,001392: 04,3240           20607                                   6D                                    
021874,001393: 04,3241           03750        RTRNMU            STORE    RTMU                                  
021875,001394: 04,3242           43134                          SXA,2    CLEAR                                 
021876,001395: 04,3243           03746                                   RTX2                                  
021877,001396: 04,3244           01271                                   FINALFLG                              
021878,001397: 04,3245           52014                          BON      GOTO                                  
021879,001398: 04,3246           05316                                   PCFLAG                                
021880,001399: 04,3247           45343                                   P36A                                  
021881,001400: 04,3250           73027                                   VN1645                                
021882,001401: 

Page 497

021884,001403:                                                                                                 #  ..... PERIAPO .....
021885,001404:                                                                                                 #  MOD NO -1              LOG SECTION - P34-P35, P74-P75
021886,001405:                                                                                                 #  MOD BY WHITE.P DATE  18JAN68
021887,001406: 
021888,001407:                                                                                                 #  FUNCTIONAL DESCRIPTION
021889,001408: 
021890,001409:                                                                                                 #         THIS SUBROUTINE COMPUTES THE TWO BODY APOCENTER AND PERICENTER
021891,001410:                                                                                                 #         ALTITUDES GIVEN THE POSITION AND VELOCITY VECTORS FOR A POINT ON
021892,001411:                                                                                                 #         THE TRAJECTORY AND THE PRIMARY BODY.
021893,001412: 
021894,001413:                                                                                                 #         SETRAD IS CALLED TO DETERMINE THE RADIUS OF THE PRIMARY BODY.
021895,001414: 
021896,001415:                                                                                                 #         APSIDES IS CALLED TO SOVE FOR THE TWO BODY RADII OF APOCENTER AND
021897,001416:                                                                                                 #         PERICENTER AND THE ECCENTRICITY OF THE TRAJECTORY.
021898,001417: 
021899,001418:                                                                                                 #  CALLING SEQUENCE
021900,001419: 
021901,001420:                                                                                                 #         L       CALL
021902,001421:                                                                                                 #         L+1             PERIAPO
021903,001422:                                                                                                 #         L+2     (RETURN - ALWAYS)
021904,001423: 
021905,001424:                                                                                                 #  INPUT
021906,001425: 
021907,001426:                                                                                                 #         (1) RVEC        POSITION VECTOR IN METERS
021908,001427:                                                                                                 #                         SCALE FACTOR - EARTH +29, MOON +27
021909,001428:                                                                                                 #         (2) VVEC        VELOCITY VECTOR IN METERS/CENTISECOND
021910,001429:                                                                                                 #                         SCALE FACTOR - EARTH +7, MOON +5
021911,001430:                                                                                                 #         (3) X1          PRIMARY BODY INDICATOR
021912,001431:                                                                                                 #                         EARTH -2, MOON -10
021913,001432: 
021914,001433:                                                                                                 #  OUTPUT
021915,001434: 
021916,001435:                                                                                                 #         (1) 2D          APOCENTER RADIUS IN METERS
021917,001436:                                                                                                 #                         SCALE FACTOR - EARTH +29, MOON +27
021918,001437:                                                                                                 #         (2) 4D          APOCENTER ALTITUDE IN METERS
021919,001438:                                                                                                 #                         SCALE FACTOR - EARTH +29, MOON P27
021920,001439:                                                                                                 #         (3) 6D          PERICENTER RADIUS IN METERS
021921,001440:                                                                                                 #                         SCALE FACTOR - EARTH +29, MOON +27
021922,001441:                                                                                                 #         (4) 8D          PERICENTER ALTITUDE IN METERS
021923,001442:                                                                                                 #                         SCALE FACTOR - EARTH +29, MOON +27
021924,001443:                                                                                                 #         (5) ECC         ECCENTRICITY OF CONIC TRAJECTORY
021925,001444:                                                                                                 #                         SCALE FACTOR - +3
021926,001445:                                                                                                 #         (6) XXXALT      RADIUS OF THE PRIMARY BODY IN METERS
021927,001446:                                                                                                 #                         SCALE FACTOR - EARTH +29, MOON +27
021928,001447:                                                                                                 #         (7) PUSHLOC     EQUALS 10D
021929,001448: 
021930,001449:                                                                                                 #  SUBROUTINES USED
021931,001450: 
021932,001451:                                                                                                 #         SETRAD

Page 498

021934,001453:                                                                                                 #         APSIDES
021935,001454: 
021936,001455: 22,2000                                          SETLOC   APOPERI                               
021937,001456: 22,2000                                          BANK                                           
021938,001457: 
021939,001458: 22,3172                                          COUNT*   $$/PERAP                              
021940,001459: 
021941,001460: 22,3172           00302 17755  RPAD              2DEC     6373338    B-29                       #  STANDARD RADIUS  OF PAD 37-B.
021942,001461:                                                                                                 #  = 20 909 901.57 FT
021943,001462: 
021944,001463: 22,3174           53754        PERIAPO1          LXA,2    VSR*                                  
021945,001464: 22,3175           03746                                   RTX2                                  
021946,001465: 22,3176           57176                                   0,2                                   
021947,001466: 22,3177           26746                          STOVL    VVEC                                  
021948,001467: 22,3200           53750                          LXA,1    VSR*                                  
021949,001468: 22,3201           03745                                   RTX1                                  
021950,001469: 22,3202           57176                                   0,2                                   
021951,001470: 22,3203           02657                          STORE    RVEC                                  
021952,001471: 22,3204           45020        PERIAPO           STQ      CALL                                  
021953,001472: 22,3205           01023                                   NORMEX                                
021954,001473: 22,3206           45222                                   SETRAD                                
021955,001474: 22,3207           37456                          STCALL   XXXALT                                
021956,001475: 22,3210           25717                                   APSIDES                               
021957,001476: 22,3211           41401                          SETPD    PUSH                                  #  2D = APOCENTER RADIUS          B29 OR B27
021958,001477: 22,3212           00003                                   2D                                    
021959,001478: 22,3213           65225                          DSU      PDDL                                  #  4D = APOGEE ALTITUDE           B29 OR B27
021960,001479: 22,3214           03456                                   XXXALT                                
021961,001480: 22,3215           00001                                   0D                                    
021962,001481: 22,3216           45206                          PUSH     DSU                                   #  6D = PERICENTER RADIUS B29 OR B27
021963,001482: 22,3217           03456                                   XXXALT                                
021964,001483: 22,3220           52006                          PUSH     GOTO                                  #  8D = PERIGEE ALTITUDE  B29 OR B27
021965,001484: 22,3221           01023                                   NORMEX                                

Page 499

021967,001486:                                                                                                 #  SETRAD
021968,001487: 22,3222           41545        SETRAD            DLOAD    PUSH                                  
021969,001488: 22,3223           05173                                   RPAD                                  
021970,001489: 22,3224           63130                          SXA,1    INCR,2                                
021971,001490: 22,3225           00047                                   X2                                    
021972,001491: 22,3226           00002                                   2D                                    
021973,001492: 22,3227           46135                          SLOAD    BHIZ                                  
021974,001493: 22,3230           00050                                   X2                                    
021975,001494: 22,3231           45235                                   SETRADX                               
021976,001495: 22,3232           51575                          VLOAD    ABVAL                                 
021977,001496: 22,3233           02026                                   RLS                                   
021978,001497: 22,3234           77725                          PDDL                                           
021979,001498: 22,3235           43545        SETRADX           DLOAD    RVQ                                   
021980,001499: 

Page 500

021982,001501:                                                                                                 #  PRECSET
021983,001502: 22,3236           77620        PRECSET           STQ                                            
021984,001503: 22,3237           01023                                   NORMEX                                
021985,001504: 22,3240           36635                          STCALL   TDEC2                                 
021986,001505: 22,3241           27202                                   LEMCONIC                              #  CONIC INTEG
021987,001506: 22,3242           77624                          CALL                                           
021988,001507: 22,3243           45300                                   LEMSTORE                              
021989,001508: 22,3244           77745                          DLOAD                                          
021990,001509: 22,3245           02635                                   TDEC2                                 
021991,001510: 22,3246           34041                          STCALL   TDEC1                                 
021992,001511: 22,3247           27170                                   CSMCONIC                              #  CONIC INTEG
021993,001512: 22,3250           77624                          CALL                                           
021994,001513: 22,3251           45310                                   CSMSTORE                              
021995,001514: 22,3252           53575                          VLOAD    UNIT                                  
021996,001515: 22,3253           03554                                   RPASS3                                
021997,001516: 22,3254           53435                          VXV      UNIT                                  
021998,001517: 22,3255           03562                                   VPASS3                                
021999,001518: 22,3256           26611                          STOVL    UP1                                   #  UNIT(RPASS3) X VPASS3
022000,001519: 22,3257           03546                                   VACT3                                 
022001,001520: 22,3260           72441                          DOT      SL1                                   
022002,001521: 22,3261           02611                                   UP1                                   
022003,001522: 22,3262           26603                          STOVL    CMYDOT                                #  -YDOT (CSM)
022004,001523: 22,3263           03540                                   RACT3                                 
022005,001524: 22,3264           72441                          DOT      SL1                                   
022006,001525: 22,3265           02611                                   UP1                                   
022007,001526: 22,3266           26601                          STOVL    AUTOY                                 #  -Y(CSM)
022008,001527: 22,3267           03540                                   RACT3                                 
022009,001528: 22,3270           53435                          VXV      UNIT                                  
022010,001529: 22,3271           03546                                   VACT3                                 
022011,001530: 22,3272           26617                          STOVL    UNRM                                  
022012,001531: 22,3273           03562                                   VPASS3                                
022013,001532: 22,3274           72441                          DOT      SL1                                   
022014,001533: 22,3275           02617                                   UNRM                                  #  RACT3 X VACT3
022015,001534: 22,3276           36605                          STCALL   LMYDOT                                #  -YDOT(LM)
022016,001535: 22,3277           01023                                   NORMEX                                
022017,001536: 22,3300           43175        LEMSTORE          VLOAD    BOFF                                  
022018,001537: 22,3301           00001                                   RATT                                  
022019,001538: 22,3302           01352                                   AVFLAG                                
022020,001539: 22,3303           45314                                   PASSIVE                               
022021,001540: 22,3304           27540        ACTIVE            STOVL    RACT3                                 
022022,001541: 22,3305           00007                                   VATT                                  
022023,001542: 22,3306           03546                          STORE    VACT3                                 
022024,001543: 22,3307           77616                          RVQ                                            
022025,001544: 22,3310           43175        CSMSTORE          VLOAD    BOFF                                  
022026,001545: 22,3311           00001                                   RATT                                  
022027,001546: 22,3312           01352                                   AVFLAG                                
022028,001547: 22,3313           45304                                   ACTIVE                                
022029,001548: 22,3314           27554        PASSIVE           STOVL    RPASS3                                
022030,001549: 22,3315           00007                                   VATT                                  
022031,001550: 22,3316           03562                          STORE    VPASS3                                

Page 501

022033,001552: 22,3317           77616                          RVQ                                            
022034,001553: 

Page 502

022036,001555: 
022037,001556:                                                                                                 #  VECSHIFT
022038,001557: 22,3320           53754        VECSHIFT          LXA,2    VSR*                                  
022039,001558: 22,3321           03746                                   RTX2                                  
022040,001559: 22,3322           57176                                   0,2                                   
022041,001560: 22,3323           63350                          LXA,1    PDVL                                  
022042,001561: 22,3324           03745                                   RTX1                                  
022043,001562: 22,3325           63257                          VSR*     PDVL                                  
022044,001563: 22,3326           57176                                   0,2                                   
022045,001564: 22,3327           77616                          RVQ                                            
022046,001565: 

Page 503

022048,001567:                                                                                                 #  SHIFTR1
022049,001568: 22,3330           53754        SHIFTR1           LXA,2    SL*                                   
022050,001569: 22,3331           03746                                   RTX2                                  
022051,001570: 22,3332           57576                                   0,2                                   
022052,001571: 22,3333           77616                          RVQ                                            
022053,001572: 

Page 504

022055,001574:                                                                                                 #  PROGRAM DESCRIPTION
022056,001575:                                                                                                 #  SUBROUTINE NAME        R36  OUT-OF-PLANE RENDEZVOUS ROUTINE
022057,001576:                                                                                                 #  MOD NO.  3       DATE    18 NOVEMBER 1969
022058,001577:                                                                                                 #  MOD BY   T.E.CROCKER
022059,001578: 
022060,001579:                                                                                                 #  FUNCTIONAL DESCRIPTION
022061,001580: 
022062,001581:                                                                                                 #  TO DISPLAY AT ASTRONAUT REQUEST LGC CALCULATED RENDEZVOUS
022063,001582:                                                                                                 #         OUT-OF-PLANE PARAMETERS (YDOT CSM,YDOT LEM,Y).  
022064,001583: 
022065,001584:                                                                                                 #  CALLING SEQUENCE
022066,001585: 
022067,001586:                                                                                                 #  ASTRONAUT REQUEST THROUGH DSKY  V 90 E
022068,001587: 
022069,001588:                                                                                                 #  SUBROUTINES CALLED
022070,001589: 
022071,001590:                                                                                                 #  EXDSPRET  TIMEOPT
022072,001591:                                                                                                 #  GOMARKF   VEHOPT
022073,001592:                                                                                                 #  CSMCONIC
022074,001593:                                                                                                 #  LEMCONIC
022075,001594:                                                                                                 #  LOADTIME
022076,001595: 
022077,001596:                                                                                                 #  NORMAL EXIT MODES
022078,001597: 
022079,001598:                                                                                                 #  ASTRONAUT REQUEST THROUGH DSKY TO TERMINATE PROGRAM V 34 E
022080,001599: 
022081,001600:                                                                                                 #  ALARM OR ABORT EXIT MODES
022082,001601: 
022083,001602:                                                                                                 #  NONE
022084,001603: 
022085,001604:                                                                                                 #  OUTPUT
022086,001605:                                                                                                 #  
022087,001606:                                                                                                 #  DECIMAL DISPLAY OF YDOT CSM, YDOT LEM, Y, TIME.
022088,001607:                                                                                                 #  DISPLAYED VALUES YDOT, YDOT, Y ARE STORED IN ERASABLE
022089,001608:                                                                                                 #  REGISTERS RRATE, RRATE2, RANGE RESPECTIVELY.
022090,001609: 
022091,001610:                                                                                                 #  ERASABLE INITIALIZATION REQUIRED
022092,001611: 
022093,001612:                                                                                                 #  CSM AND LEM STATE VECTORS
022094,001613: 
022095,001614:                                                                                                 #  DEBRIS
022096,001615: 
022097,001616:                                                                                                 #  CENTRALS A,Q,L
022098,001617: 
022099,001618:                                                                                                 #  OTHER:  THOSE USED BY THE ABOVE LISTED SUBROUTINES
022100,001619: 
022101,001620: 24,2000                                          SETLOC   R36CM                                 
022102,001621: 24,2000                                          BANK                                           
022103,001622: 
022104,001623: 24,2000  E7,1412                                 EBANK=   TIG                                   
022105,001624: 24,2000                                          COUNT*   $$/R36                                
022106,001625: 
022107,001626: 24,2000           06006        R36               TC       INTPRET                               

Page 505

022109,001628: 
022110,001629: 24,2001           45145                          DLOAD    CALL                                  
022111,001630: 24,2002           03413                                   TIG                                   
022112,001631: 24,2003           46424                                   TIMEOPT                               
022113,001632: 24,2004           77624        R36A              CALL                                           
022114,001633: 24,2005           27202                                   LEMCONIC                              
022115,001634: 24,2006           63375                          VLOAD    PDVL                                  #  VL TO PDLO
022116,001635: 24,2007           00007                                   VATT                                  
022117,001636: 24,2010           00001                                   RATT                                  
022118,001637: 24,2011           63256                          UNIT     PDVL                                  #  UNIT RL TO PDL0, VL TO MPAC
022119,001638: 24,2012           77626                          STADR                                          
022120,001639: 24,2013           75457                          STORE    VPASS36                               #  VL TO VPASS36
022121,001640: 24,2014           53435                          VXV      UNIT                                  #  VL(MPAC) X RL(PDL0)
022122,001641: 24,2015           77626                          STADR                                          
022123,001642: 24,2016           61451                          STODL    UNP36                                 #  UNIT(VL X RL) TO UNP36
022124,001643: 24,2017           00015                                   TAT                                   
022125,001644: 24,2020           34041                          STCALL   TDEC1                                 
022126,001645: 24,2021           27170                                   CSMCONIC                              
022127,001646: 24,2022           63375                          VLOAD    PDVL                                  #  VC TO PDL0
022128,001647: 24,2023           00007                                   VATT                                  
022129,001648: 24,2024           00001                                   RATT                                  
022130,001649: 24,2025           00007                          STORE    6D                                    #  RC TO PDL6
022131,001650: 24,2026           63256                          UNIT     PDVL                                  #  UNIT(RC) TO PDL0, VC TO MPAC
022132,001651: 24,2027           77626                          STADR                                          
022133,001652: 24,2030           77762                          STORE    12D                                   #  VC TO PDL12
022134,001653: 24,2031           53435                          VXV      UNIT                                  #  VC(MPAC) X RC(PDL0)
022135,001654: 24,2032           77626                          STADR                                          
022136,001655: 24,2033           51443                          STOVL    UNA36                                 #  UNIT(VC X RC) TO UNA36
022137,001656: 24,2034           00007                                   6D                                    #  RC TO MPAC
022138,001657: 24,2035           72441                          DOT      SL1                                   
022139,001658: 24,2036           02326                                   UNP36                                 #  RC . UNIT(VL X RL)
022140,001659: 24,2037           26312                          STOVL    RANGE                                 #   EQUALS RANGE
022141,001660: 24,2040           00015                                   12D                                   #  VC TO MPAC
022142,001661: 24,2041           72441                          DOT      SL1                                   
022143,001662: 24,2042           02326                                   UNP36                                 #  VC . UNIT(VL X RL)
022144,001663: 24,2043           26314                          STOVL    RRATE                                 #   EQUALS R. RATE OF CSM
022145,001664: 24,2044           02320                                   VPASS36                               #  VL TO MPAC
022146,001665: 24,2045           72441                          DOT      SL1                                   
022147,001666: 24,2046           02334                                   UNA36                                 
022148,001667: 24,2047           02316                          STORE    RRATE2                                #  VL . UNIT(VC X RC)
022149,001668: 24,2050           77776                          EXIT                                           #   EQUALS R. RATE OF LEM
022150,001669: 24,2051           32103                          CAF      V06N96                                #  DISPLAY Y, YDOTCM,YDOTLM
022151,001670: 24,2052           04636                          TC       BANKCALL                              
022152,001671: 24,2053           20576                          CADR     GOMARKF                               
022153,001672: 24,2054           15524                          TCF      ENDEXT                                #  T OR
022154,001673: 24,2055           15524                          TCF      ENDEXT                                #   P....EXIT R36
022155,001674:                                                                                                 #    R...DISPLAY TIME
022156,001675: 24,2056           06006                          TC       INTPRET                               
022157,001676: 24,2057           77624                          CALL                                           
022158,001677: 24,2060           46425                                   TIMEOPT    +1                         
022159,001678: 24,2061           77650                          GOTO                                           

Page 506

022161,001680: 24,2062           50004                                   R36A                                  
022162,001681: 24,2063           01420        V06N16N           VN       0616                                  
022163,001682: 24,2064           77420        VEHOPT            STQ      EXIT                                  #  ALLOW VEHICLE OPTION
022164,001683: 24,2065           00734                                   VEHRET                                
022165,001684: 24,2066           00006                          EXTEND                                         
022166,001685: 24,2067           34770                          DCA      TWO                                   
022167,001686: 24,2070           53256                          DXCH     OPTIONX                               
022168,001687: 24,2071           32102                          CAF      OPTIONVN                              
022169,001688: 24,2072           04636                          TC       BANKCALL                              
022170,001689: 24,2073           20576                          CADR     GOXDSPF                               
022171,001690: 24,2074           05524                          TC       ENDEXT                                
022172,001691: 24,2075           02077                          TC       +2                                    
022173,001692: 24,2076           02071                          TC       -5                                    
022174,001693: 
022175,001694: 24,2077           06006                          TC       INTPRET                               
022176,001695: 24,2100           77650                          GOTO                                           
022177,001696: 24,2101           00734                                   VEHRET                                
022178,001697: 24,2102           01014        OPTIONVN          VN       0412                                  
022179,001698: 24,2103           01540        V06N96            VN       0696                                  
022180,001699: 
022181,001700: 24,2104  30,2000                                 SBANK=   LOWSUPER                              

End of include-file P34-P35_P74-P75.agc.  Parent file is MAIN.agc