Source Code

These source-code files were derived from scans of the Colossus 237 (Apollo 8 Command Module) program listing from the private collection of original AGC developer Fred Martin. Scanning was by Ron Burkey. Pre-existing Colossus 249 (Apollo 9 CM) source files were used as a template, and changes between Colossus 249 and Colossus 237 were manually transcribed by a team of volunteers. Note that the page images presented online are of reduced quality, and that additional images are available. Report any conversion errors or legibility problems in page images to info@sandroid.org. Notations on the program listing read, in part:

	GAP: ASSEMBLE REVISION 237 OF AGC PROGRAM COLOSSUS 
	BY NASA 2021111-031  1:17 AUG. 24, 1968
Note that the date is the date of the printout, not the date of the program revision.

019739,000002:                                                                                                  ## Copyright:   Public domain.
019740,000003:                                                                                                  ## Filename:    P34-P35,_P74-P75.agc
019741,000004:                                                                                                  ## Purpose:     Part of the source code for Colossus build 237.
019742,000005:                                                                                                  ##              This is for the Command Module's (CM) Apollo Guidance
019743,000006:                                                                                                  ##              Computer (AGC), for Apollo 8.
019744,000007:                                                                                                  ## Assembler:   yaYUL
019745,000008:                                                                                                  ## Contact:     Jim Lawton <jim DOT lawton AT gmail DOT com>
019746,000009:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
019747,000010:                                                                                                  ## Page Scans:  www.ibiblio.org/apollo/ScansForConversion/Colossus237/
019748,000011:                                                                                                  ## Mod history: 2011-02-03 JL   Adapted from corresponding Colossus 249 file.
019749,000012:                                                                                                  ##              2016-12-31 RSB  Proofed comment text using octopus/ProoferComments,
019750,000013:                                                                                                  ##                              and corrected errors found.
019751,000014:                                                                                                  ##              2017-01-17 RSB  Fixed comment-text errors noted while diff'ing
019752,000015:                                                                                                  ##                              vs Colossus 249.
019753,000016:                                                                                                  ##              2017-01-28 RSB  Back-ported some comment fixes I noticed while
019754,000017:                                                                                                  ##                              proofing Artemis 72.
019755,000018: 

Page 450

019757,000020:                                                                                                  #  TRANSFER PHASE INITIATION (TPI) PROGRAMS (P34 AND P74)
019758,000021: 
019759,000022:                                                                                                  #  MOD NO -1       LOG SECTION - P32-P35, P72-P75
019760,000023:                                                                                                  #  MOD BY WHITE.P  DATE 1JUNE67
019761,000024: 
019762,000025:                                                                                                  #  PURPOSE
019763,000026: 
019764,000027:                                                                                                  #        (1) TO CALCULATE THE REQUIRED DELTA V AND OTHER INITIAL CONDITIONS
019765,000028:                                                                                                  #            REQUIRED BY THE ACTIVE VEHICLE FOR EXECUTION OF THE TRANSFER
019766,000029:                                                                                                  #            PHASE INITIATION (TPI) MANEUVER, GIVEN -
019767,000030: 
019768,000031:                                                                                                  #            (A) TIME OF IGNITION TIG (TPI) OR THE ELEVATION ANGLE (E) OF
019769,000032:                                                                                                  #                THE ACTIVE/PASSIVE VEHICLE LOS AT TIG (TPI).
019770,000033: 
019771,000034:                                                                                                  #            (B) CENTRAL ANGLE OF TRANSFER (CENTANG) FROM TIG (TPI) TO
019772,000035:                                                                                                  #                INTERCEPT TIME (TIG (TPF)).
019773,000036: 
019774,000037:                                                                                                  #        (2) TO CALCULATE TIG (TPI) GIVEN E OR E GIVEN TIG (TPI).
019775,000038: 
019776,000039:                                                                                                  #        (3) TO CALCULATE THESE PARAMETERS BASED UPON MANEUVER DATA
019777,000040:                                                                                                  #            APPROVED AND KEYED INTO THE DSKY BY THE ASTRONAUT.
019778,000041: 
019779,000042:                                                                                                  #        (4) TO DISPLAY TO THE ASTRONAUT AND THE GROUND CERTAIN DEPENDENT
019780,000043:                                                                                                  #            VARIABLES ASSOCIATED WITH THE MANEUVER FOR APPROVAL BY THE
019781,000044:                                                                                                  #            ASTRONAUT/GROUND.
019782,000045: 
019783,000046:                                                                                                  #        (5) TO STORE THE TPI TARGET PARAMETERS FOR USE BY THE DESIRED
019784,000047:                                                                                                  #            THRUSTING PROGRAM.
019785,000048: 
019786,000049:                                                                                                  #  ASSUMPTIONS
019787,000050: 
019788,000051:                                                                                                  #        (1) LM ONLY - THIS PROGRAM IS BASED UPON PREVIOUS COMPLETION OF
019789,000052:                                                                                                  #            THE CONSTANT DELTA ALTITUDE (CDH) PROGRAM (P33/P73).
019790,000053:                                                                                                  #            THEREFORE -
019791,000054: 
019792,000055:                                                                                                  #            (A) AT A SELECTED TPI TIME (NOW IN STORAGE) THE LINE OF SIGHT
019793,000056:                                                                                                  #                BETWEEN THE ACTIVE AND PASSIVE VEHICLES WAS SELECTED TO BE
019794,000057:                                                                                                  #                A PRESCRIBED ANGLE (E) (NOW IN STORAGE) FROM THE
019795,000058:                                                                                                  #                HORIZONTAL PLANE DEFINED BY THE ACTIVE VEHICLE POSITION.
019796,000059: 
019797,000060:                                                                                                  #            (B) THE TIME BETWEEN CDH IGNITION AND TPI IGNITION WAS
019798,000061:                                                                                                  #                COMPUTED TO BE GREATER THAN 10 MINUTES.
019799,000062: 
019800,000063:                                                                                                  #            (C) THE VARIATION OF THE ALTITUDE DIFFERENCE BETWEEN THE
019801,000064:                                                                                                  #                ORBITS WAS MINIMIZED.
019802,000065: 
019803,000066:                                                                                                  #            (D) THE PERICENTER ALTITUDES OF ORBITS FOLLOWING CSI AND
019804,000067: 
019805,000068:                                                                                                  #                CDH WERE COMPUTED TO BE GREATER THAN 35,000 FT FOR LUNAR

Page 451

019807,000070:                                                                                                  #                ORBIT OR 85 NM FOR EARTH ORBIT.
019808,000071: 
019809,000072:                                                                                                  #            (E) THE CSI AND CDH MANEUVERS WERE ASSUMED TO BE PARALLEL TO
019810,000073:                                                                                                  #                THE PLANE OF THE PASSIVE VEHICLE ORBIT.  HOWEVER, CREW
019811,000074:                                                                                                  #                MODIFICATION OF DELTA V (LV) COMPONENTS MAY HAVE RESULTED
019812,000075:                                                                                                  #                IN AN OUT-OF-PLANE MANEUVER.
019813,000076: 
019814,000077:                                                                                                  #        (2) STATE VECTOR UPDATED BY P27 ARE DISALLOWED DURING AUTOMATIC
019815,000078:                                                                                                  #            STATE VECTOR UPDATING INITIATED BY P20 (SEE ASSUMPTION (4)).
019816,000079: 
019817,000080:                                                                                                  #        (3) THIS PROGRAM MUST BE DONE OVER A TRACKING STATION FOR REAL
019818,000081:                                                                                                  #            TIME GROUND PARTICIPATION IN DATA INPUT AND OUTPUT.  COMPUTED
019819,000082:                                                                                                  #            VARIABLES MAY BE STORED FOR LATER VERIFICATION BY THE GROUND.
019820,000083:                                                                                                  #            THESE STORAGE CAPABILITIES ARE LIMITED ONLY TO THE PARAMETERS
019821,000084:                                                                                                  #            FOR ONE THRUSTING MANEUVER AT A TIME EXCEPT FOR CONCENTRIC
019822,000085:                                                                                                  #            FLIGHT PLAN MANEUVER SEQUENCES.
019823,000086: 
019824,000087:                                                                                                  #        (4) THE RENDEZVOUS RADAR MAY OR MAY NOT BE USED TO UPDATE THE LM
019825,000088:                                                                                                  #            OR CSM STATE VECTORS FOR THIS PROGRAM.  IF RADAR USE IS
019826,000089:                                                                                                  #            DESIRED THE RADAR WAS TURNED ON AND LOCKED ON THE CSM BY
019827,000090:                                                                                                  #            PREVIOUS SELECTION OF P20.  RADAR SIGHTING MARKS WILL BE MADE
019828,000091:                                                                                                  #            AUTOMATICALLY APPROXIMATELY ONCE A MINUTE WHEN ENABLED BY THE
019829,000092:                                                                                                  #            TRACK AND UPDATE FLAGS (SEE P20).  THE RENDEZVOUS TRACKING
019830,000093:                                                                                                  #            MARK COUNTER IS ZEROED BY THE SELECTION OF P20 AND AFTER EACH
019831,000094:                                                                                                  #            THRUSTING MANEUVER.
019832,000095: 
019833,000096:                                                                                                  #        (5) THE ISS NEED NOT BE ON TO COMPLETE THIS PROGRAM.
019834,000097: 
019835,000098:                                                                                                  #        (6) THE OPERATION OF THE PROGRAM UTILIZES THE FOLLOWING FLAGS -
019836,000099: 
019837,000100:                                                                                                  #                ACTIVE VEHICLE FLAG - DESIGNATES THE VEHICLE WHICH IS
019838,000101:                                                                                                  #                DOING RENDEZVOUS THRUSTING MANEUVERS TO THE PROGRAM WHICH
019839,000102:                                                                                                  #                CALCULATES THE MANEUVER PARAMETERS.  SET AT THE START OF
019840,000103:                                                                                                  #                EACH RENDEZVOUS PRE-THRUSTING PROGRAM.
019841,000104: 
019842,000105:                                                                                                  #                FINAL FLAG - SELECTS FINAL PROGRAM DISPLAYS AFTER CREW HAS
019843,000106:                                                                                                  #                SELECTED THE FINAL MANEUVER COMPUTATION CYCLE.
019844,000107: 
019845,000108:                                                                                                  #                EXTERNAL DELTA V FLAG - DESIGNATES THE TYPE OF STEERING
019846,000109:                                                                                                  #                REQUIRED FOR EXECUTION OF THIS MANEUVER BY THE THRUSTING
019847,000110:                                                                                                  #                PROGRAM SELECTED AFTER COMPLETION OF THIS PROGRAM.
019848,000111: 
019849,000112:                                                                                                  #        (7) ONCE THE PARAMETWRS REQUIRED FOR COMPUTION OF THE MANEUVER
019850,000113:                                                                                                  #            HAVE BEEN COMPLETELY SPECIFIED, THE VALUE OF THE ACTIVE
019851,000114:                                                                                                  #            VEHICLE CENTRAL ANGLE OF TRANSFER IS COMPUTED AND STORED.
019852,000115:                                                                                                  #            THIS NUMBER WILL BE AVAILABLE FOR DISPLAY TO THE ASTRONAUT
019853,000116:                                                                                                  #            THROUGH THE USE OF V06N52.
019854,000117: 
019855,000118:                                                                                                  #            THE ASTRONAUT WILL CALL THIS DISPLAY TO VERIFY THAT THE
019856,000119:                                                                                                  #            CENTRAL ANGLE OF TRANSFER OF THE ACTIVE VEHICLE IS NOT WITHIN

Page 452

019858,000121:                                                                                                  #            170 TO 190 DEGREES.  IF THE ANGLE IS WITHIN THIS ZONE THE
019859,000122:                                                                                                  #            ASTRONAUT SHOULD REASSESS THE INPUT TARGETING PARAMETERS BASED
019860,000123:                                                                                                  #            UPON DELTA V AND EXPECTED MANEUVER TIME.
019861,000124: 
019862,000125:                                                                                                  #        (8) THIS PROGRAM IS SELECTED BY THE ASTRONAUT BY DSKY ENTRY -
019863,000126: 
019864,000127:                                                                                                  #                P34 IF THIS VEHICLE IS ACTIVE VEHICLE.
019865,000128: 
019866,000129:                                                                                                  #                P74 IF THIS VEHICLE IS PASSIVE VEHICLE.
019867,000130: 
019868,000131:                                                                                                  #  INPUT
019869,000132: 
019870,000133:                                                                                                  #        (1) TTPI     TIME OF THE TPI MANEUVER
019871,000134:                                                                                                  #        (2) ELEV     DESIRED LOS ANGLE AT TPI
019872,000135:                                                                                                  #        (3) CENTANG  ORBITAL CENTRAL ANGLE OF THE PASSIVE VEHICLE DURING
019873,000136:                                                                                                  #                     TRANSFER FROM TPI TO TIME OF INTERCEPT
019874,000137: 
019875,000138:                                                                                                  #  OUTPUT
019876,000139: 
019877,000140:                                                                                                  #        (1) TRKMKCNT NUMBER OF MARKS
019878,000141:                                                                                                  #        (2) TTOGO    TIME TO GO
019879,000142:                                                                                                  #        (3) +MGA     MIDDLE GIMBAL ANGLE
019880,000143:                                                                                                  #        (4) TTPI     COMPUTED TIME OF TPI MANEUVER
019881,000144:                                                                                                  #             OR
019882,000145:                                                                                                  #            ELEV     COMPUTED LOS ANGLE AT TPI
019883,000146:                                                                                                  #        (5) POSTTPI  PERIGEE ALTITUDE AFTER THE TPI MANEUVER
019884,000147:                                                                                                  #        (6) DELVTPI  MAGNITUDE OF DELTA V AT TPI
019885,000148:                                                                                                  #        (7) DELVTPF  MAGNITUDE OF DELTA V AT INTERCEPT
019886,000149:                                                                                                  #        (8) DVLOS    DELTA VELOCITY AT TPI - LINE OF SIGHT
019887,000150:                                                                                                  #        (9) DELVLVC  DELTA VELOCITY AT TPI - LOCAL VERTICAL COORDINATES
019888,000151: 
019889,000152:                                                                                                  #  DOWNLINK
019890,000153: 
019891,000154:                                                                                                  #        (1) TTPI     TIME OF THE TPI MANEUVER
019892,000155:                                                                                                  #        (2) TIG      TIME OF THE TPI MANEUVER
019893,000156:                                                                                                  #        (3) ELEV     DESIRED LOS ANGLE AT TPI
019894,000157:                                                                                                  #        (4) CENTANG  ORBITAL CENTRAL ANGLE OF THE PASSIVE VEHICLE DURING
019895,000158:                                                                                                  #                     TRANSFER FROM TPI TO TIME OF INTERCEPT
019896,000159:                                                                                                  #        (5) DELVEET3 DELTA VELOCITY AT TPI - REFERENCE COORDINATES
019897,000160:                                                                                                  #        (6) TPASS4   TIME OF INTERCEPT
019898,000161:                                                                                                  #  COMMUNICATION TO THRUSTING PROGRAMS
019899,000162: 
019900,000163:                                                                                                  #        (1) TIG      TIME OF THE TPI MANEUVER
019901,000164:                                                                                                  #        (2) RTARG    OFFSET TARGET POSITION
019902,000165:                                                                                                  #        (3) TPASS4   TIME OF INTERCEPT
019903,000166:                                                                                                  #        (4) XDELVFLG RESET TO INDICATE LAMBERT (AIMPOINT) VG COMPUTATION
019904,000167: 
019905,000168:                                                                                                  #  SUBROUTINES USED
019906,000169: 
019907,000170:                                                                                                  #        AVFLAGA

Page 453

019909,000172:                                                                                                  #        AVFLAGP
019910,000173:                                                                                                  #        VNPOOH
019911,000174:                                                                                                  #        DISPLAYE
019912,000175:                                                                                                  #        SELECTMU
019913,000176:                                                                                                  #        PRECSET
019914,000177:                                                                                                  #        S33/34.1
019915,000178:                                                                                                  #        ALARM
019916,000179:                                                                                                  #        BANKCALL
019917,000180:                                                                                                  #        GOFLASH
019918,000181:                                                                                                  #        GOTOPOOH
019919,000182:                                                                                                  #        TIMETHET
019920,000183:                                                                                                  #        S34/35.2
019921,000184:                                                                                                  #        PERIAPO1
019922,000185:                                                                                                  #        SHIFTR1
019923,000186:                                                                                                  #        S34/35.5
019924,000187:                                                                                                  #        VN1645
019925,000188: 
019926,000189: 35,2000                                           SETLOC   CSI/CDH                               
019927,000190: 35,2000                                           BANK                                           
019928,000191: 35,2000  E4,1770                                  EBANK=   SUBEXIT                               
019929,000192: 35,2000                                           COUNT    35/P3474                              
019930,000193: 
019931,000194: 35,2000           03726        P34                TC       AVFLAGA                               
019932,000195: 35,2001           02003                           TC       P34/P74A                              
019933,000196: 35,2002           03741        P74                TC       AVFLAGP                               
019934,000197: 35,2003           03746        P34/P74A           TC       P20FLGON                              #  SET UPDATFLG, TRACKFLG
019935,000198: 35,2004           33125                           CAF      V06N37                                #  TTPI
019936,000199: 35,2005           03114                           TC       VNPOOH                                
019937,000200: 35,2006           03073                           TC       DISPLAYE                              #  ELEV AND CENTANG
019938,000201: 35,2007           06006                           TC       INTPRET                               
019939,000202: 35,2010           71214                           CLEAR    DLOAD                                 
019940,000203: 35,2011           01270                                    ETPIFLAG                              
019941,000204: 35,2012           03663                                    TTPI                                  
019942,000205: 35,2013           17413                           STODL    TIG                                   
019943,000206: 35,2014           03744                                    ELEV                                  
019944,000207: 35,2015           43054                           BZE      SET                                   
019945,000208: 35,2016           72020                                    P34/P74B                              
019946,000209: 35,2017           01070                                    ETPIFLAG                              
019947,000210: 35,2020           77624        P34/P74B           CALL                                           
019948,000211: 35,2021           10716                                    SELECTMU                              
019949,000212: 35,2022                        DELELO             EQUALS   26D                                   
019950,000213: 35,2022           43145        P34/P74C           DLOAD    SET                                   
019951,000214: 35,2023           15332                                    ZEROVECS                              
019952,000215: 35,2024           03461                                    ITSWICH                               
019953,000216: 35,2025           43014                           BON      CLEAR                                 
019954,000217: 35,2026           01310                                    ETPIFLAG                              
019955,000218: 35,2027           72031                                    SWCHSET                               
019956,000219: 35,2030           03661                                    ITSWICH                               
019957,000220: 35,2031           02364        SWCHSET            STORE    NOMTPI                                
019958,000221: 35,2032           43345        INTLOOP            DLOAD    DAD                                   

Page 454

019960,000223: 35,2033           03663                                    TTPI                                  
019961,000224: 35,2034           02364                                    NOMTPI                                
019962,000225: 35,2035           34041                           STCALL   TDEC1                                 
019963,000226: 35,2036           45354                                    PRECSET                               
019964,000227: 35,2037           77624                           CALL                                           
019965,000228: 35,2040           72212                                    S33/34.1                              
019966,000229: 35,2041           77454                           BZE      EXIT                                  
019967,000230: 35,2042           72053                                    SWCHCLR                               
019968,000231: 35,2043           05537                           TC       ALARM                                 
019969,000232: 35,2044           00611                           OCT      611                                   
019970,000233: 35,2045           34743                           CAF      V05N09                                
019971,000234: 35,2046           04555                           TC       BANKCALL                              
019972,000235: 35,2047           20624                           CADR     GOFLASH                               
019973,000236: 35,2050           04106                           TC       GOTOPOOH                              
019974,000237: 35,2051           02003                           TC       P34/P74A                              #  PROCEED
019975,000238: 35,2052           02043                           TC       -7                                    #  V32
019976,000239: 
019977,000240: 35,2053           43014        SWCHCLR            BONCLR   BON                                   
019978,000241: 35,2054           03601                                    ITSWICH                               
019979,000242: 35,2055           72032                                    INTLOOP                               
019980,000243: 35,2056           01310                                    ETPIFLAG                              
019981,000244: 35,2057           72063                                    P34/P74D                              #  DISPLAY TTPI
019982,000245: 35,2060           77776                           EXIT                                           
019983,000246: 35,2061           03073                           TC       DISPLAYE                              #  DISPLAY ELEV AND CENTANG
019984,000247: 35,2062           02066                           TC       P34/P74E                              
019985,000248: 35,2063           77776        P34/P74D           EXIT                                           
019986,000249: 35,2064           33125                           CAF      V06N37                                #  TTPI
019987,000250: 35,2065           03114                           TC       VNPOOH                                
019988,000251: 35,2066           06006        P34/P74E           TC       INTPRET                               
019989,000252: 35,2067           71201                           SETPD    DLOAD                                 
019990,000253: 35,2070           00001                                    0D                                    
019991,000254: 35,2071           03746                                    RTX1                                  
019992,000255: 35,2072           14047                           STODL    X1                                    
019993,000256: 35,2073           03754                                    CENTANG                               
019994,000257: 35,2074           71406                           PUSH     COS                                   
019995,000258: 35,2075           16734                           STODL    CSTH                                  
019996,000259: 35,2076           77756                           SIN                                            
019997,000260: 35,2077           26732                           STOVL    SNTH                                  
019998,000261: 35,2100           03554                                    RPASS3                                
019999,000262: 35,2101           77657                           VSR*                                           
020000,000263: 35,2102           57176                                    0,2                                   
020001,000264: 35,2103           26657                           STOVL    RVEC                                  
020002,000265: 35,2104           03562                                    VPASS3                                
020003,000266: 35,2105           43057                           VSR*     SET                                   
020004,000267: 35,2106           57176                                    0,2                                   
020005,000268: 35,2107           03466                                    RVSW                                  
020006,000269: 35,2110           36746                           STCALL   VVEC                                  
020007,000270: 35,2111           24737                                    TIMETHET                              
020008,000271: 35,2112           77745                           DLOAD                                          
020009,000272: 35,2113           03663                                    TTPI                                  

Page 455

020011,000274: 35,2114           03503                           STORE    INTIME                                #  FOR INITVEL
020012,000275: 35,2115           77615                           DAD                                            
020013,000276: 35,2116           00037                                    T                                     #  RENDEZVOUS TIME
020014,000277: 35,2117           37656                           STCALL   TPASS4                                #  FOR INITVEL
020015,000278: 35,2120           72534                                    S34/35.2                              
020016,000279: 35,2121           51575                           VLOAD    ABVAL                                 
020017,000280: 35,2122           03646                                    DELVEET3                              
020018,000281: 35,2123           26635                           STOVL    DELVTPI                               
020019,000282: 35,2124           03640                                    VPASS4                                
020020,000283: 35,2125           51451                           VSU      ABVAL                                 
020021,000284: 35,2126           03620                                    VTPRIME                               
020022,000285: 35,2127           26637                           STOVL    DELVTPF                               
020023,000286: 35,2130           03540                                    RACT3                                 
020024,000287: 35,2131           45115                           PDVL     CALL                                  
020025,000288: 35,2132           03612                                    VIPRIME                               
020026,000289: 35,2133           45312                                    PERIAPO1                              
020027,000290: 35,2134           77624                           CALL                                           
020028,000291: 35,2135           45422                                    SHIFTR1                               
020029,000292: 35,2136           16641                           STODL    POSTTPI                               
020030,000293: 35,2137           03663                                    TTPI                                  
020031,000294: 35,2140           03413                           STORE    TIG                                   
020032,000295: 35,2141           77776                           EXIT                                           
020033,000296: 35,2142           33127                           CAF      V06N58                                
020034,000297: 35,2143           03114                           TC       VNPOOH                                
020035,000298: 35,2144           06006                           TC       INTPRET                               
020036,000299: 35,2145           77624                           CALL                                           
020037,000300: 35,2146           72742                                    S34/35.5                              
020038,000301: 35,2147           77624                           CALL                                           
020039,000302: 35,2150           73005                                    VN1645                                
020040,000303: 35,2151           77650                           GOTO                                           
020041,000304: 35,2152           72022                                    P34/P74C                              
020042,000305: 

Page 456

020044,000307:                                                                                                  #  RENDEZVOUS MID-COURSE MANEUVER PROGRAMS (P35 AND P75)
020045,000308: 
020046,000309:                                                                                                  #  MOD NO -1       LOG SECTION - P32-P35, P72-P75
020047,000310:                                                                                                  #  MOD BY WHITE.P  DATE  1JUNE67
020048,000311: 
020049,000312:                                                                                                  #  PURPOSE
020050,000313: 
020051,000314:                                                                                                  #        (1) TO CALCULATE THE REQUIRED DELTA V AND OTHER INITIAL CONDITIONS
020052,000315:                                                                                                  #            REQUIRED BY THE ACTIVE VEHICLE FOR EXECUTION OF THE NEXT
020053,000316:                                                                                                  #            MIDCOURSE CORRECTION OF THE TRANSFER PHASE OF AN ACTIVE
020054,000317:                                                                                                  #            VEHICLE RENDEZVOUS.
020055,000318: 
020056,000319:                                                                                                  #        (2) TO DISPLAY TO THE ASTRONAUT AND THE GROUND CERTAIN DEPENDENT
020057,000320:                                                                                                  #            VARIABLES ASSOCIATED WITH THE MANEUVER FOR APPROVAL BY THE
020058,000321:                                                                                                  #            ASTRONAUT/GROUND.
020059,000322: 
020060,000323:                                                                                                  #        (3) TO STORE THE TPM TARGET PARAMETERS FOR USE BY THE DESIRED
020061,000324:                                                                                                  #            THRUSTING PROGRAM.
020062,000325: 
020063,000326:                                                                                                  #  ASSUMPTIONS
020064,000327: 
020065,000328:                                                                                                  #        (1) THE ISS NEED NOT BE ON TO COMPLETE THIS PROGRAM.
020066,000329: 
020067,000330:                                                                                                  #        (2) STATE VECTOR UPDATES BY P27 ARE DISALLOWED DURING AUTOMATIC
020068,000331:                                                                                                  #            STATE VECTOR UPDATING INITIATED BY P20 (SEE ASSUMPTION (3)).
020069,000332: 
020070,000333:                                                                                                  #        (3) THE RENDEZVOUS RADAR IS ON AND IS LOCKED ON THE CSM.  THIS WAS
020071,000334:                                                                                                  #            DONE DURING PREVIOUS SELECTION OF P20.  RADAR SIGHTING MARKS
020072,000335:                                                                                                  #            WILL BE MADE AUTOMATICALLY APPROXIMATELY ONCE A MINUTE WHEN
020073,000336:                                                                                                  #            ENABLED BY THE TRACK AND UPDATE FLAGS (SEE P20). THE
020074,000337:                                                                                                  #            RENDEZVOUS TRACKING MARK COUNTER IS ZEROED BY THE SELECTION OF
020075,000338:                                                                                                  #            P20 AND AFTER EACH THRUSTING MANEUVER.
020076,000339: 
020077,000340:                                                                                                  #        (4) THE OPERATION OF THE PROGRAM UTILIZES THE FOLLOWING FLAGS -
020078,000341: 
020079,000342:                                                                                                  #                ACTIVE VEHICLE FLAG - DESIGNATES THE VEHICLE WHICH IS
020080,000343:                                                                                                  #                DOING RENDEZVOUS THRUSTING MANEUVERS TO THE PROGRAM WHICH
020081,000344:                                                                                                  #                CALCULATES THE MANEUVER PARAMETERS.  SET AT THE START OF
020082,000345:                                                                                                  #                EACH RENDEZVOUS PRE-THRUSTING PROGRAM.
020083,000346: 
020084,000347:                                                                                                  #                FINAL FLAG - SELECTS FINAL PROGRAM DISPLAYS AFTER CREW HAS
020085,000348:                                                                                                  #                SELECTED THE FINAL MANEUVER COMPUTATION CYCLE.
020086,000349: 
020087,000350:                                                                                                  #                EXTERNAL DELTA V FLAG - DESIGNATES THE TYPE OF STEERING
020088,000351:                                                                                                  #                REQUIRED FOR EXECUTION OF THIS MANEUVER BY THE THRUSTING
020089,000352:                                                                                                  #                PROGRAM SELECTED AFTER COMPLETION OF THIS PROGRAM.
020090,000353: 
020091,000354:                                                                                                  #        (5) THE TIME OF INTERCEPT (T(INT)) WAS DEFINED BY PREVIOUS
020092,000355:                                                                                                  #            COMPLETION OF THE TRANSFER PHASE INITIATION (TPI) PROGRAM
020093,000356:                                                                                                  #            (P34/P74) AND IS PRESENTLY AVAILABLE IN STORAGE.
020094,000357: 

Page 457

020096,000359:                                                                                                  #        (6) ONCE THE PARAMETERS REQUIRED FOR COMPUTION OF THE MANEUVER
020097,000360:                                                                                                  #            HAVE BEEN COMPLETELY SPECIFIED, THE VALUE OF THE ACTIVE
020098,000361:                                                                                                  #            VEHICLE CENTRAL ANGLE OF TRANSFER IS COMPUTED AND STORED.
020099,000362:                                                                                                  #            THIS NUMBER WILL BE AVAILABLE FOR DISPLAY TO THE ASTRONAUT
020100,000363:                                                                                                  #            THROUGH THE USE OF V06N52.
020101,000364: 
020102,000365:                                                                                                  #            THE ASTRONAUT WILL CALL THIS DISPLAY TO VERIFY THAT THE
020103,000366:                                                                                                  #            CENTRAL ANGLE OF TRANSFER OF THE ACTIVE VEHICLE IS NOT WITHIN
020104,000367:                                                                                                  #            170 TO 190 DEGREES.  IF THE ANGLE IS WITHIN THIS ZONE THE
020105,000368:                                                                                                  #            ASTRONAUT SHOULD REASSESS THE INPUT TARGETING PARAMETERS BASED
020106,000369:                                                                                                  #            UPON DELTA V AND EXPECTED MANEUVER TIME.
020107,000370: 
020108,000371:                                                                                                  #        (7) THIS PROGRAM IS SELECTED BY THE ASTRONAUT BY DSKY ENTRY -
020109,000372: 
020110,000373:                                                                                                  #                P35 IF THIS VEHICLE IS ACTIVE VEHICLE.
020111,000374: 
020112,000375:                                                                                                  #                P75 IF THIS VEHICLE IS PASSIVE VEHICLE.
020113,000376: 
020114,000377:                                                                                                  #  INPUT
020115,000378: 
020116,000379:                                                                                                  #        (1) TPASS4   TIME OF INTERCEPT - SAVED FROM P34/P74
020117,000380:                                                                                                  #  OUTPUT
020118,000381: 
020119,000382:                                                                                                  #        (1) TRKMKCNT NUMBER OF MARKS
020120,000383:                                                                                                  #        (2) TTOGO    TIME TO GO
020121,000384:                                                                                                  #        (3) +MGA     MIDDLE GIMBAL ANGLE
020122,000385:                                                                                                  #        (4) DVLOS    DELTA VELOCITY AT MID - LINE OF SIGHT
020123,000386:                                                                                                  #        (5) DELVLVC  DELTA VELOCITY AT MID - LOCAL VERTICAL COORDINATES
020124,000387: 
020125,000388:                                                                                                  #  DOWNLINK
020126,000389: 
020127,000390:                                                                                                  #        (1) TIG      TIME OF THE TPM MANEUVER
020128,000391:                                                                                                  #        (2) DELVEET3 DELTA VELOCITY AT TPM - REFERENCE COORDINATES
020129,000392:                                                                                                  #        (3) TPASS4   TIME OF INTERCEPT
020130,000393:                                                                                                  #  COMMUNICATION TO THRUSTING PROGRAMS
020131,000394: 
020132,000395:                                                                                                  #        (1) TIG      TIME OF THE TPM MANEUVER
020133,000396:                                                                                                  #        (2) RTARG    OFFSET TARGET POSITION
020134,000397:                                                                                                  #        (3) TPASS4   TIME OF INTERCEPT
020135,000398:                                                                                                  #        (4) XDELVFLG RESET TO INDICATE LAMBERT (AIMPOINT) VG COMPUTATION
020136,000399: 
020137,000400:                                                                                                  #  SUBROUTINES USED
020138,000401: 
020139,000402:                                                                                                  #        AVFLAGA
020140,000403:                                                                                                  #        AVFLAGP
020141,000404:                                                                                                  #        LOADTIME
020142,000405:                                                                                                  #        SELECTMU
020143,000406:                                                                                                  #        PRECSET
020144,000407:                                                                                                  #        S34/35.1
020145,000408:                                                                                                  #        S34/35.2

Page 458

020147,000410:                                                                                                  #        S34/35.5
020148,000411:                                                                                                  #        VN1645
020149,000412: 
020150,000413: 35,2153                                           COUNT    35/P3575                              
020151,000414: 35,2153  E4,1763                                  EBANK=   KT                                    
020152,000415: 
020153,000416: 35,2153           03726        P35                TC       AVFLAGA                               
020154,000417: 35,2154           00006                           EXTEND                                         
020155,000418: 35,2155           31422                           DCA      ATIGINC                               
020156,000419: 35,2156           02162                           TC       P35/P75A                              
020157,000420: 35,2157           03741        P75                TC       AVFLAGP                               
020158,000421: 35,2160           00006                           EXTEND                                         
020159,000422: 35,2161           31424                           DCA      PTIGINC                               
020160,000423: 35,2162           53764        P35/P75A           DXCH     KT                                    
020161,000424: 35,2163           03746                           TC       P20FLGON                              #  SET UPDATFLG, TRACKFLG
020162,000425: 35,2164           06006                           TC       INTPRET                               
020163,000426: 35,2165           77624                           CALL                                           
020164,000427: 35,2166           10716                                    SELECTMU                              
020165,000428: 35,2167           77634        P35/P75B           RTB                                            
020166,000429: 35,2170           45505                                    LOADTIME                              
020167,000430: 35,2171           03665                           STORE    TSTRT                                 
020168,000431: 35,2172           77615                           DAD                                            
020169,000432: 35,2173           02364                                    KT                                    
020170,000433: 35,2174           03413                           STORE    TIG                                   
020171,000434: 35,2175           03503                           STORE    INTIME                                #  FOR INITVEL
020172,000435: 35,2176           34041                           STCALL   TDEC1                                 
020173,000436: 35,2177           45354                                    PRECSET                               #  ADVANCE BOTH VEHICLES
020174,000437: 35,2200           77624                           CALL                                           
020175,000438: 35,2201           72522                                    S34/35.1                              #  GET NORM AND LOS FOR TRANSFORM
020176,000439: 35,2202           77624                           CALL                                           
020177,000440: 35,2203           72534                                    S34/35.2                              #  GET DELTA V(LV)
020178,000441: 35,2204           77624                           CALL                                           
020179,000442: 35,2205           72742                                    S34/35.5                              
020180,000443: 35,2206           77624                           CALL                                           
020181,000444: 35,2207           73005                                    VN1645                                
020182,000445: 35,2210           77650                           GOTO                                           
020183,000446: 35,2211           72167                                    P35/P75B                              
020184,000447: 

Page 459

020186,000449:                                                                                                  #  ..... S33/34.1  .....
020187,000450: 
020188,000451: 35,2212           66220        S33/34.1           STQ      SSP                                   
020189,000452: 35,2213           01340                                    NORMEX                                
020190,000453: 35,2214           03665                                    TITER                                 
020191,000454: 35,2215           40000                           OCT      40000                                 
020192,000455: 35,2216           40345                           DLOAD    SETPD                                 
020193,000456: 35,2217           33136                                    MAX250                                
020194,000457: 35,2220           00001                                    0D                                    
020195,000458: 35,2221           27454                           STOVL    SECMAX                                
020196,000459: 35,2222           03540                                    RACT3                                 
020197,000460: 35,2223           27576                           STOVL    RAPREC                                
020198,000461: 35,2224           03546                                    VACT3                                 
020199,000462: 35,2225           27570                           STOVL    VAPREC                                
020200,000463: 35,2226           03554                                    RPASS3                                
020201,000464: 35,2227           27620                           STOVL    RPPREC                                
020202,000465: 35,2230           03562                                    VPASS3                                
020203,000466: 35,2231           03612                           STORE    VPPREC                                
020204,000467: 35,2232           77624        ELCALC             CALL                                           
020205,000468: 35,2233           72522                                    S34/35.1                              #  NORMAL AND LOS
020206,000469: 35,2234           63235                           VXV      PDVL                                  
020207,000470: 35,2235           03540                                    RACT3                                 #  (RA*VA)*RA 0D
020208,000471: 35,2236           53515                           PDVL     UNIT                                  #  ULOS AT 6D
020209,000472: 35,2237           03540                                    RACT3                                 
020210,000473: 35,2240           46315                           PDVL     VPROJ                                 #  XCHNJ AND UP
020211,000474: 35,2241           51352                           VSL2     BVSU                                  
020212,000475: 35,2242           02625                                    ULOS                                  
020213,000476: 35,2243           63256                           UNIT     PDVL                                  #  UP AT 0D
020214,000477: 35,2244           63241                           DOT      PDVL                                  #  UP.UN*RA AT 0D
020215,000478: 35,2245           00001                                    0D                                    #  UP IN MPAC
020216,000479: 35,2246           75241                           DOT      SIGN                                  
020217,000480: 35,2247           02625                                    ULOS                                  
020218,000481: 35,2250           65552                           SL1      ACOS                                  
020219,000482: 35,2251           50315                           PDVL     DOT                                   #  EA AT 0D
020220,000483: 35,2252           02625                                    ULOS                                  
020221,000484: 35,2253           03540                                    RACT3                                 
020222,000485: 35,2254           71244                           BPL      DLOAD                                 
020223,000486: 35,2255           72260                                    TESTY                                 
020224,000487: 35,2256           15340                                    DPPOSMAX                              
020225,000488: 35,2257           41425                           DSU      PUSH                                  
020226,000489: 35,2260           71214        TESTY              BOFF     DLOAD                                 
020227,000490: 35,2261           03741                                    ITSWICH                               
020228,000491: 35,2262           72507                                    ELEX                                  
020229,000492: 35,2263           03452                                    DELEL                                 
020230,000493: 35,2264           14033                           STODL    DELELO                                
020231,000494: 35,2265           77625                           DSU                                            
020232,000495: 35,2266           03744                                    ELEV                                  
020233,000496: 35,2267           03452                           STORE    DELEL                                 
020234,000497: 35,2270           45246                           ABS      DSU                                   
020235,000498: 35,2271           33142                                    ELEPS                                 

Page 460

020237,000500: 35,2272           77640                           BMN                                            
020238,000501: 35,2273           72517                                    TIMEX                                 #  COMMERCIALS EVERYWHERE
020239,000502: 35,2274           70535        FIGTIME            SLOAD    SR1                                   
020240,000503: 35,2275           03665                                    TITER                                 
020241,000504: 35,2276           72030                           BHIZ     LXA,1                                 
020242,000505: 35,2277           01340                                    NORMEX                                #  TOO MANY ITERATIONS
020243,000506: 35,2300           00154                                    MPAC                                  
020244,000507: 35,2301           77330                           SXA,1    VLOAD                                 
020245,000508: 35,2302           03664                                    TITER                                 
020246,000509: 35,2303           03554                                    RPASS3                                
020247,000510: 35,2304           65256                           UNIT     PDDL                                  
020248,000511: 35,2305           00045                                    36D                                   
020249,000512: 35,2306           53515                           PDVL     UNIT                                  
020250,000513: 35,2307           03540                                    RACT3                                 
020251,000514: 35,2310           77725                           PDDL                                           
020252,000515: 35,2311           41525                           PDDL     PUSH                                  
020253,000516: 35,2312           00045                                    36D                                   
020254,000517: 35,2313           77621                           BDSU                                           
020255,000518: 35,2314           00015                                    12D                                   
020256,000519: 35,2315           14037                           STODL    30D                                   #  RP - RA MAGNITUDES
020257,000520: 35,2316           15330                                    DPHALF                                
020258,000521: 35,2317           41425                           DSU      PUSH                                  
020259,000522: 35,2320           03744                                    ELEV                                  
020260,000523: 35,2321           50165                           SIGN     BMN                                   
020261,000524: 35,2322           00037                                    30D                                   
020262,000525: 35,2323           01340                                    NORMEX                                
020263,000526: 35,2324           71545                           DLOAD    COS                                   
020264,000527: 35,2325           56205                           DMP      DDV                                   
020265,000528: 35,2326           00017                                    14D                                   
020266,000529: 35,2327           00015                                    12D                                   
020267,000530: 35,2330           77676                           DCOMP                                          #  SINCE COS(180-A)=-COS A
020268,000531: 35,2331           00035                           STORE    28D                                   
020269,000532: 35,2332           44246                           ABS      BDSU                                  
020270,000533: 35,2333           15330                                    DPHALF                                
020271,000534: 35,2334           77240                           BMN      VLOAD                                 
020272,000535: 35,2335           01340                                    NORMEX                                
020273,000536: 35,2336           02617                                    UNRM                                  
020274,000537: 35,2337           53435                           VXV      UNIT                                  
020275,000538: 35,2340           00007                                    6D                                    #  UN*RA
020276,000539: 35,2341           41241                           DOT      DMP                                   
020277,000540: 35,2342           03546                                    VACT3                                 
020278,000541: 35,2343           00015                                    12D                                   
020279,000542: 35,2344           47315                           PDVL     VXV                                   
020280,000543: 35,2345           00001                                    0D                                    
020281,000544: 35,2346           03562                                    VPASS3                                
020282,000545: 35,2347           53435                           VXV      UNIT                                  
020283,000546: 35,2350           00001                                    0D                                    #  (RP*VP)*RP
020284,000547: 35,2351           41241                           DOT      DMP                                   
020285,000548: 35,2352           03562                                    VPASS3                                
020286,000549: 35,2353           00017                                    14D                                   

Page 461

020288,000551: 35,2354           77621                           BDSU                                           
020289,000552: 35,2355           63301                           NORM     PDVL                                  #  NORMALIZED WA - WP 12D
020290,000553: 35,2356           00047                                    X1                                    
020291,000554: 35,2357           00007                                    6D                                    
020292,000555: 35,2360           50235                           VXV      DOT                                   
020293,000556: 35,2361           00001                                    0D                                    
020294,000557: 35,2362           02617                                    UNRM                                  #  RA*RP.UN 14D
020295,000558: 35,2363           50315                           PDVL     DOT                                   
020296,000559: 35,2364           00001                                    0D                                    
020297,000560: 35,2365           00007                                    6D                                    
020298,000561: 35,2366           65552                           SL1      ACOS                                  
020299,000562: 35,2367           77765                           SIGN                                           
020300,000563: 35,2370           43225                           DSU      DAD                                   #    ALPHA   PI
020301,000564: 35,2371           15330                                    DPHALF                                
020302,000565: 35,2372           03744                                    ELEV                                  
020303,000566: 35,2373           65525                           PDDL     ACOS                                  
020304,000567: 35,2374           00035                                    28D                                   
020305,000568: 35,2375           75221                           BDSU     SIGN                                  
020306,000569: 35,2376           15330                                    DPHALF                                
020307,000570: 35,2377           00037                                    30D                                   #  CONTAINS RP-RA
020308,000571: 35,2400           77615                           DAD                                            
020309,000572: 35,2401           56205                           DMP      DDV                                   
020310,000573: 35,2402           33134                                    TWOPI                                 
020311,000574: 35,2403           77605                           DMP                                            
020312,000575: 35,2404           41257                           SL*      DMP                                   
020313,000576: 35,2405           20176                                    0          -3,1                       
020314,000577: 35,2406           51406                           PUSH     ABS                                   
020315,000578: 35,2407           50025                           DSU      BMN                                   
020316,000579: 35,2410           03454                                    SECMAX                                
020317,000580: 35,2411           72415                                    OKMAX                                 
020318,000581: 35,2412           75345                           DLOAD    SIGN                                  #   REPLACE TIME WITH MAX TIME SIGNED
020319,000582: 35,2413           03454                                    SECMAX                                
020320,000583: 35,2414           77606                           PUSH                                           
020321,000584: 35,2415           51135        OKMAX              SLOAD    BPL                                   #  TEST FIRST ITERATION
020322,000585: 35,2416           03665                                    TITER                                 
020323,000586: 35,2417           72425                                    REPETE                                
020324,000587: 35,2420           71331                           SSP      DLOAD                                 
020325,000588: 35,2421           03665                                    TITER                                 
020326,000589: 35,2422           37777                           OCT      37777                                 
020327,000590: 35,2423           77650                           GOTO                                           
020328,000591: 35,2424           72463                                    STORDELT                              
020329,000592: 35,2425           41345        REPETE             DLOAD    DMP                                   
020330,000593: 35,2426           03452                                    DELEL                                 
020331,000594: 35,2427           00033                                    DELELO                                
020332,000595: 35,2430           71244                           BPL      DLOAD                                 
020333,000596: 35,2431           72441                                    NEXTES                                
020334,000597: 35,2432           03454                                    SECMAX                                
020335,000598: 35,2433           77605                           DMP                                            
020336,000599: 35,2434           33140                                    THIRD                                 
020337,000600: 35,2435           17454                           STODL    SECMAX                                

Page 462

020339,000602: 35,2436           70446                           ABS      SR1                                   #  CROSSED OVER SOLUTION
020340,000603: 35,2437           52076                           DCOMP    GOTO                                  #  DT=(-SIGN(DTO)//DT//)/2
020341,000604: 35,2440           72451                                    RESIGN                                
020342,000605: 35,2441           51545        NEXTES             DLOAD    ABS                                   
020343,000606: 35,2442           03452                                    DELEL                                 
020344,000607: 35,2443           51525                           PDDL     ABS                                   
020345,000608: 35,2444           00033                                    DELELO                                
020346,000609: 35,2445           77625                           DSU                                            
020347,000610: 35,2446           71240                           BMN      DLOAD                                 
020348,000611: 35,2447           72454                                    REVERS                                #   WRONG DIRECTION
020349,000612: 35,2450           77646                           ABS                                            
020350,000613: 35,2451           52165        RESIGN             SIGN     GOTO                                  
020351,000614: 35,2452           03450                                    DELTEEO                               
020352,000615: 35,2453           72463                                    STORDELT                              
020353,000616: 35,2454           57545        REVERS             DLOAD    DCOMP                                 
020354,000617: 35,2455           03450                                    DELTEEO                               
020355,000618: 35,2456           70406                           PUSH     SR1                                   
020356,000619: 35,2457           03450                           STORE    DELTEEO                               
020357,000620: 35,2460           77615                           DAD                                            
020358,000621: 35,2461           77650                           GOTO                                           
020359,000622: 35,2462           72464                                    ADTIME                                
020360,000623: 35,2463           03450        STORDELT           STORE    DELTEEO                               
020361,000624: 35,2464           77615        ADTIME             DAD                                            
020362,000625: 35,2465           02364                                    NOMTPI                                #  SUM OF DELTA T:S
020363,000626: 35,2466           02364                           STORE    NOMTPI                                
020364,000627: 35,2467           63375                           VLOAD    PDVL                                  
020365,000628: 35,2470           03570                                    VAPREC                                
020366,000629: 35,2471           03576                                    RAPREC                                
020367,000630: 35,2472           77624                           CALL                                           
020368,000631: 35,2473           72702                                    GOINT                                 
020369,000632: 35,2474           77624                           CALL                                           
020370,000633: 35,2475           45376                                    ACTIVE                                #  STORE NEW RACT3 VACT3
020371,000634: 35,2476           63375                           VLOAD    PDVL                                  
020372,000635: 35,2477           03612                                    VPPREC                                
020373,000636: 35,2500           03620                                    RPPREC                                
020374,000637: 35,2501           77624                           CALL                                           
020375,000638: 35,2502           72702                                    GOINT                                 
020376,000639: 35,2503           77624                           CALL                                           
020377,000640: 35,2504           45406                                    PASSIVE                               #  STORE NEW RPASS3 VPASS3
020378,000641: 35,2505           77650                           GOTO                                           
020379,000642: 35,2506           72232                                    ELCALC                                
020380,000643: 35,2507           43345        ELEX               DLOAD    DAD                                   
020381,000644: 35,2510           03663                                    TTPI                                  
020382,000645: 35,2511           02364                                    NOMTPI                                
020383,000646: 35,2512           17663                           STODL    TTPI                                  
020384,000647: 35,2513           77614                           BON                                            
020385,000648: 35,2514           01310                                    ETPIFLAG                              
020386,000649: 35,2515           72517                                    TIMEX                                 
020387,000650: 35,2516           03744                           STORE    ELEV                                  
020388,000651: 35,2517           52145        TIMEX              DLOAD    GOTO                                  

Page 463

020390,000653: 35,2520           15332                                    ZEROVECS                              
020391,000654: 35,2521           01340                                    NORMEX                                
020392,000655: 

Page 464

020394,000657:                                                                                                  #  ..... S34/35.1  .....
020395,000658: 
020396,000659:                                                                                                  #  COMPUTE UNIT NORMAL AND LINE OF SIGHT VECTORS GIVEN THE ACTIVE AND
020397,000660:                                                                                                  #  PASSIVE POS AND VEL AT TIME T3
020398,000661: 
020399,000662: 35,2522           52375        S34/35.1           VLOAD    VSU                                   
020400,000663: 35,2523           03554                                    RPASS3                                
020401,000664: 35,2524           03540                                    RACT3                                 
020402,000665: 35,2525           41456                           UNIT     PUSH                                  
020403,000666: 35,2526           26625                           STOVL    ULOS                                  
020404,000667: 35,2527           03540                                    RACT3                                 
020405,000668: 35,2530           53435                           VXV      UNIT                                  
020406,000669: 35,2531           03546                                    VACT3                                 
020407,000670: 35,2532           02617                           STORE    UNRM                                  
020408,000671: 35,2533           77616                           RVQ                                            
020409,000672: 

Page 465

020411,000674:                                                                                                  #  ..... S34/35.2  .....
020412,000675: 
020413,000676:                                                                                                  #  ADVANCE PASSIVE VEH TO RENDEZVOUS TIME AND GET REQ VEL FROM LAMBERT
020414,000677: 35,2534           77220        S34/35.2           STQ      VLOAD                                 
020415,000678: 35,2535           02370                                    SUBEXIT                               
020416,000679: 35,2536           03562                                    VPASS3                                
020417,000680: 35,2537           65315                           PDVL     PDDL                                  
020418,000681: 35,2540           03554                                    RPASS3                                
020419,000682: 35,2541           03503                                    INTIME                                
020420,000683: 35,2542           65325                           PDDL     PDDL                                  
020421,000684: 35,2543           03656                                    TPASS4                                
020422,000685: 35,2544           15332                                    ZEROVECS                              
020423,000686: 35,2545           45006                           PUSH     CALL                                  
020424,000687: 35,2546           72706                                    INTINT                                #  GET TARGET VECTOR
020425,000688: 35,2547           27415        S3435.25           STOVL    RTARG                                 
020426,000689: 35,2550           00007                                    VATT                                  
020427,000690: 35,2551           27640                           STOVL    VPASS4                                
020428,000691: 35,2552           03415                                    RTARG                                 
020429,000692:                                                                                                  #  COMPUTE PHI = PI +(ACOS(UNIT RA.UNIT RP)-PI)SIGN(RA*RP.U)
020430,000693: 35,2553           63256                           UNIT     PDVL                                  #  UNIT RP
020431,000694: 35,2554           03540                                    RACT3                                 
020432,000695: 35,2555           41456                           UNIT     PUSH                                  #  UNIT RA
020433,000696: 35,2556           50235                           VXV      DOT                                   
020434,000697: 35,2557           00001                                    0D                                    
020435,000698: 35,2560           02617                                    UNRM                                  #  RA*RP.U
020436,000699: 35,2561           77715                           PDVL                                           
020437,000700: 35,2562           72441                           DOT      SL1                                   #  UNIT RA.UNIT RP
020438,000701: 35,2563           00001                                    0D                                    
020439,000702: 35,2564           75326                           ACOS     SIGN                                  
020440,000703: 35,2565           43244                           BPL      DAD                                   
020441,000704: 35,2566           72570                                    NOPIE                                 
020442,000705: 35,2567           15340                                    DPPOSMAX                              #  REASONABLE TWO PI
020443,000706: 35,2570           16633        NOPIE              STODL    ACTCENT                               
020444,000707: 35,2571           03656                                    TPASS4                                
020445,000708: 35,2572           77625                           DSU                                            
020446,000709: 35,2573           03503                                    INTIME                                
020447,000710: 35,2574           03423                           STORE    DELLT4                                
020448,000711: 35,2575           40335                           SLOAD    SETPD                                 
020449,000712: 35,2576           33144                                    DECTWO                                
020450,000713: 35,2577           00001                                    0D                                    
020451,000714: 35,2600           63325                           PDDL     PDVL                                  
020452,000715: 35,2601           33147                                    EPSFOUR                               
020453,000716: 35,2602           03540                                    RACT3                                 
020454,000717: 35,2603           27570                           STOVL    RINIT                                 
020455,000718: 35,2604           03546                                    VACT3                                 
020456,000719: 35,2605           37576                           STCALL   VINIT                                 
020457,000720: 35,2606           22000                                    INITVEL                               
020458,000721: 35,2607           77624                           CALL                                           
020459,000722: 35,2610           72667                                    LOMAT                                 
020460,000723: 35,2611           64375                           VLOAD    MXV                                   

Page 466

020462,000725: 35,2612           03646                                    DELVEET3                              
020463,000726: 35,2613           00001                                    0D                                    
020464,000727: 35,2614           77772                           VSL1                                           
020465,000728: 35,2615           37405                           STCALL   DELVLVC                               
020466,000729: 35,2616           02370                                    SUBEXIT                               
020467,000730: 

Page 467

020469,000732:                                                                                                  #  ..... S34/35.3  .....
020470,000733: 
020471,000734: 35,2617           45020        S34/35.3           STQ      CALL                                  
020472,000735: 35,2620           01340                                    NORMEX                                
020473,000736: 35,2621           72667                                    LOMAT                                 #  GET MATRIX IN PUSH LIST
020474,000737: 35,2622           61375                           VLOAD    VXM                                   
020475,000738: 35,2623           03405                                    DELVLVC                               #  NEW DEL V TPI
020476,000739: 35,2624           00001                                    0D                                    
020477,000740: 35,2625           77772                           VSL1                                           
020478,000741: 35,2626           03646                           STORE    DELVEET3                              #  SAVE FOR TRANSFORM
020479,000742: 35,2627           63255                           VAD      PDVL                                  
020480,000743: 35,2630           03546                                    VACT3                                 #  NEW V REQ
020481,000744: 35,2631           03540                                    RACT3                                 
020482,000745: 35,2632           65325                           PDDL     PDDL                                  
020483,000746: 35,2633           03413                                    TIG                                   
020484,000747: 35,2634           03656                                    TPASS4                                
020485,000748: 35,2635           41525                           PDDL     PUSH                                  
020486,000749: 35,2636           15340                                    DPPOSMAX                              
020487,000750: 35,2637           77624                           CALL                                           #  INTEG. FOR NEW TARGET VEC
020488,000751: 35,2640           72706                                    INTINT                                
020489,000752: 35,2641           77775                           VLOAD                                          
020490,000753: 35,2642           00001                                    RATT                                  
020491,000754: 35,2643           03415                           STORE    RTARG                                 
020492,000755: 35,2644           41575        NOVRWRT            VLOAD    PUSH                                  
020493,000756: 35,2645           02625                                    ULOS                                  
020494,000757: 35,2646           57435                           VXV      VCOMP                                 
020495,000758: 35,2647           02617                                    UNRM                                  
020496,000759: 35,2650           41456                           UNIT     PUSH                                  
020497,000760: 35,2651           76435                           VXV      VSL1                                  
020498,000761: 35,2652           02625                                    ULOS                                  
020499,000762: 35,2653           77715                           PDVL                                           
020500,000763: 35,2654           64315                           PDVL     MXV                                   
020501,000764: 35,2655           03646                                    DELVEET3                              
020502,000765: 35,2656           00001                                    0D                                    
020503,000766: 35,2657           77772                           VSL1                                           
020504,000767: 35,2660           36611                           STCALL   DVLOS                                 
020505,000768: 35,2661           01340                                    NORMEX                                
020506,000769: 

Page 468

020508,000771:                                                                                                  #  ..... S34/35.4  .....
020509,000772: 
020510,000773: 35,2662           40220        S34/35.4           STQ      SETPD                                 #  NO ASTRONAUT OVERWRITE
020511,000774: 35,2663           01340                                    NORMEX                                
020512,000775: 35,2664           00001                                    0D                                    
020513,000776: 35,2665           77650                           GOTO                                           
020514,000777: 35,2666           72644                                    NOVRWRT                               
020515,000778: 

Page 469

020517,000780:                                                                                                  #  ..... LOMAT     .....
020518,000781: 
020519,000782: 35,2667           57575        LOMAT              VLOAD    VCOMP                                 
020520,000783: 35,2670           02617                                    UNRM                                  
020521,000784: 35,2671           24007                           STOVL    6D                                    #  Y
020522,000785: 35,2672           03540                                    RACT3                                 
020523,000786: 35,2673           57456                           UNIT     VCOMP                                 
020524,000787: 35,2674           00015                           STORE    12D                                   
020525,000788: 35,2675           76435                           VXV      VSL1                                  
020526,000789: 35,2676           02617                                    UNRM                                  #  Z*-Y
020527,000790: 35,2677           00001                           STORE    0D                                    
020528,000791: 35,2700           43401                           SETPD    RVQ                                   
020529,000792: 35,2701           00023                                    18D                                   
020530,000793: 35,2702           65325        GOINT              PDDL     PDDL                                  #  DO
020531,000794: 35,2703           15332                                    ZEROVECS                              #    NOT
020532,000795: 35,2704           02364                                    NOMTPI                                #  
020533,000796: 35,2705           41406                           PUSH     PUSH                                  #             ORDER OR INSERT BEFORE INTINT
020534,000797: 35,2706           45020        INTINT             STQ      CALL                                  
020535,000798: 35,2707           02367                                    RTRN                                  
020536,000799: 35,2710           27371                                    INTSTALL                              
020537,000800: 35,2711           71214                           CLEAR    DLOAD                                 
020538,000801: 35,2712           01673                                    INTYPFLG                              
020539,000802: 35,2713           43054                           BZE      SET                                   
020540,000803: 35,2714           72716                                    +2                                    
020541,000804: 35,2715           01473                                    INTYPFLG                              
020542,000805: 35,2716           45545                           DLOAD    STADR                                 
020543,000806: 35,2717           63736                           STODL    TDEC1                                 
020544,000807: 35,2720           73014                           SET      LXA,2                                 
020545,000808: 35,2721           00063                                    MOONFLAG                              
020546,000809: 35,2722           03746                                    RTX2                                  
020547,000810: 35,2723           43014                           BON      CLEAR                                 
020548,000811: 35,2724           04303                                    CMOONFLG                              
020549,000812: 35,2725           72727                                    ALLSET                                
020550,000813: 35,2726           00263                                    MOONFLAG                              
020551,000814: 35,2727           25517        ALLSET             STOVL    TET                                   
020552,000815: 35,2730           77657                           VSR*                                           
020553,000816: 35,2731           57176                                    0,2                                   
020554,000817: 35,2732           25535                           STOVL    RCV                                   
020555,000818: 35,2733           77657                           VSR*                                           
020556,000819: 35,2734           57176                                    0,2                                   
020557,000820: 35,2735           35543                           STCALL   VCV                                   
020558,000821: 35,2736           27066                                    INTEGRVS                              
020559,000822: 35,2737           52175                           VLOAD    GOTO                                  
020560,000823: 35,2740           00001                                    RATT                                  
020561,000824: 35,2741           02367                                    RTRN                                  
020562,000825: 

Page 470

020564,000827:                                                                                                  #  ..... S34/35.5  .....
020565,000828:                                                                                                  #  SUBROUTINES USED
020566,000829: 
020567,000830:                                                                                                  #        BANKCALL
020568,000831:                                                                                                  #        GOFLASH
020569,000832:                                                                                                  #        GOTOPOOH
020570,000833:                                                                                                  #        S34/35.3
020571,000834:                                                                                                  #        S34/35.4
020572,000835:                                                                                                  #        VNPOOH
020573,000836: 
020574,000837: 35,2742           43020        S34/35.5           STQ      BON                                   
020575,000838: 35,2743           02370                                    SUBEXIT                               
020576,000839: 35,2744           01311                                    FINALFLG                              
020577,000840: 35,2745           72751                                    FLAGON                                
020578,000841: 35,2746           52014                           SET      GOTO                                  
020579,000842: 35,2747           00470                                    UPDATFLG                              
020580,000843: 35,2750           72775                                    FLAGOFF                               
020581,000844: 35,2751           77414        FLAGON             CLEAR    EXIT                                  
020582,000845: 35,2752           03274                                    NTARGFLG                              
020583,000846: 35,2753           33131                           CAF      V06N81                                
020584,000847: 35,2754           04555                           TC       BANKCALL                              
020585,000848: 35,2755           20624                           CADR     GOFLASH                               
020586,000849: 35,2756           04106                           TC       GOTOPOOH                              
020587,000850: 35,2757           02764                           TC       +5                                    
020588,000851: 35,2760           06006                           TC       INTPRET                               
020589,000852: 35,2761           77414                           SET      EXIT                                  
020590,000853: 35,2762           03074                                    NTARGFLG                              
020591,000854: 35,2763           02753                           TC       FLAGON     +2                         
020592,000855: 35,2764           06006                           TC       INTPRET                               
020593,000856: 35,2765           45014                           BOFF     CALL                                  
020594,000857: 35,2766           03354                                    NTARGFLG                              
020595,000858: 35,2767           72771                                    NOCHG                                 
020596,000859: 35,2770           72617                                    S34/35.3                              
020597,000860: 35,2771           77214        NOCHG              CLEAR    VLOAD                                 
020598,000861: 35,2772           01267                                    XDELVFLG                              
020599,000862: 35,2773           03646                                    DELVEET3                              
020600,000863: 35,2774           03646                           STORE    DELVSIN                               
020601,000864: 35,2775           77624        FLAGOFF            CALL                                           
020602,000865: 35,2776           72662                                    S34/35.4                              
020603,000866: 35,2777           77776                           EXIT                                           
020604,000867: 35,3000           33130                           CAF      V06N59                                
020605,000868: 35,3001           03114                           TC       VNPOOH                                
020606,000869: 35,3002           06006                           TC       INTPRET                               
020607,000870: 35,3003           77650                           GOTO                                           
020608,000871: 35,3004           02370                                    SUBEXIT                               
020609,000872: 

Page 471

020611,000874:                                                                                                  #  ..... VN1645    .....
020612,000875: 
020613,000876:                                                                                                  #  SUBROUTINES USED
020614,000877: 
020615,000878:                                                                                                  #        P3XORP7X
020616,000879:                                                                                                  #        GET+MGA
020617,000880:                                                                                                  #        BANKCALL
020618,000881:                                                                                                  #        DELAYJOB
020619,000882:                                                                                                  #        COMPTGO
020620,000883:                                                                                                  #        GOFLASHR
020621,000884:                                                                                                  #        GOTOPOOH
020622,000885:                                                                                                  #        FLAGUP
020623,000886: 
020624,000887: 35,3005           71220        VN1645             STQ      DLOAD                                 
020625,000888: 35,3006           02370                                    SUBEXIT                               
020626,000889: 35,3007           33145                                    DP-.01                                
020627,000890: 35,3010           03626                           STORE    +MGA                                  #  MGA = -.01
020628,000891: 35,3011           71214                           BOFF     DLOAD                                 
020629,000892: 35,3012           01351                                    FINALFLG                              
020630,000893: 35,3013           73033                                    GET45                                 
020631,000894: 35,3014           33145                                    DP-.01                                
020632,000895: 35,3015           77615                           DAD                                            
020633,000896: 35,3016           33145                                    DP-.01                                
020634,000897: 35,3017           03626                           STORE    +MGA                                  #  MGA = -.02
020635,000898: 35,3020           77414                           BOFF     EXIT                                  
020636,000899: 35,3021           01742                                    REFSMFLG                              
020637,000900: 35,3022           73033                                    GET45                                 
020638,000901: 35,3023           03106                           TC       P3XORP7X                              
020639,000902: 35,3024           03026                           TC       +2                                    #  P3X
020640,000903: 35,3025           03034                           TC       GET45      +1                         #  P7X
020641,000904: 35,3026           06006                           TC       INTPRET                               
020642,000905: 35,3027           41575                           VLOAD    PUSH                                  
020643,000906: 35,3030           03646                                    DELVSIN                               
020644,000907: 35,3031           77624                           CALL                                           #  COMPUTE MGA
020645,000908: 35,3032           10660                                    GET+MGA                               
020646,000909: 35,3033           77776        GET45              EXIT                                           
020647,000910: 35,3034           03564                           TC       COMPTGO                               #  INITIATE TASK TO UPDATE TTOGO
020648,000911: 35,3035           31770                           CA       SUBEXIT                               
020649,000912: 35,3036           55766                           TS       QSAVED                                
020650,000913: 35,3037           34734                           CAF      1SEC                                  
020651,000914: 35,3040           04555                           TC       BANKCALL                              
020652,000915: 35,3041           01730                           CADR     DELAYJOB                              
020653,000916: 35,3042           33132                           CAF      V16N45                                #  TRKMKCNT, TTOGO, +MGA
020654,000917: 35,3043           04555                           TC       BANKCALL                              
020655,000918: 35,3044           20624                           CADR     GOFLASH                               
020656,000919: 35,3045           03050                           TC       KILCLOCK                              #  TERMINATE
020657,000920: 35,3046           03053                           TC       N45PROC                               #  PROCEED
020658,000921: 35,3047           03063                           TC       CLUPDATE                              #  RECYCLE - RETURN FOR INITIAL COMPUTATION
020659,000922: 35,3050           30005        KILCLOCK           CA       Z                                     
020660,000923: 35,3051           54000                           TS       DISPDEX                               

Page 472

020662,000925: 35,3052           04106                           TC       GOTOPOOH                              
020663,000926: 35,3053           40076        N45PROC            CS       FLAGWRD2                              
020664,000927: 35,3054           74705                           MASK     BIT6                                  
020665,000928: 35,3055           00006                           EXTEND                                         
020666,000929: 35,3056           13050                           BZF      KILCLOCK                              #  FINALFLG IS SET-FLASH V37-AWAIT NEW PGM
020667,000930: 35,3057           05301                           TC       PHASCHNG                              
020668,000931: 35,3060           04024                           OCT      04024                                 
020669,000932: 35,3061           05435                           TC       UPFLAG                                #  SET
020670,000933: 35,3062           00047                           ADRES    FINALFLG                              #  FINALFLG
020671,000934: 35,3063           30005        CLUPDATE           CA       Z                                     
020672,000935: 35,3064           54000                           TS       DISPDEX                               
020673,000936: 35,3065           05301                           TC       PHASCHNG                              
020674,000937: 35,3066           04024                           OCT      04024                                 
020675,000938: 35,3067           06006                           TC       INTPRET                               
020676,000939: 35,3070           52014                           CLEAR    GOTO                                  
020677,000940: 35,3071           00670                                    UPDATFLG                              
020678,000941: 35,3072           02366                                    QSAVED                                
020679,000942: 

Page 473

020681,000944:                                                                                                  #  ..... DISPLAYE  .....
020682,000945: 
020683,000946:                                                                                                  #  SUBROUTINES USED
020684,000947: 
020685,000948:                                                                                                  #        BANKCALL
020686,000949:                                                                                                  #        GOFLASHR
020687,000950:                                                                                                  #        GOTOPOOH
020688,000951:                                                                                                  #        BLANKET
020689,000952:                                                                                                  #        ENDOFJOB
020690,000953: 
020691,000954: 35,3073           00006        DISPLAYE           EXTEND                                         
020692,000955: 35,3074           23340                           QXCH     NORMEX                                
020693,000956: 35,3075           33126                           CAF      V06N55                                
020694,000957: 35,3076           04555                           TCR      BANKCALL                              
020695,000958: 35,3077           20763                           CADR     GOFLASHR                              
020696,000959: 35,3100           14106                           TCF      GOTOPOOH                              
020697,000960: 35,3101           01340                           TC       NORMEX                                
020698,000961: 35,3102           13075                           TCF      -5                                    
020699,000962: 35,3103           34712                           CAF      BIT1                                  #  BLANK R1
020700,000963: 35,3104           05415                           TCR      BLANKET                               
020701,000964: 35,3105           15112                           TCF      ENDOFJOB                              
020702,000965: 

Page 474

020704,000967:                                                                                                  #  ..... P3XORP7X  .....
020705,000968: 
020706,000969: 35,3106           37713        P3XORP7X           CAF      HIGH9                                 
020707,000970: 35,3107           71011                           MASK     MODREG                                
020708,000971: 35,3110           00006                           EXTEND                                         
020709,000972: 35,3111           13113                           BZF      +2                                    
020710,000973: 35,3112           24002                           INCR     Q                                     
020711,000974: 35,3113           00002                           RETURN                                         
020712,000975: 
020713,000976:                                                                                                  #  ..... VNPOOH    .....
020714,000977: 
020715,000978:                                                                                                  #  SUBROUTINES USED
020716,000979: 
020717,000980:                                                                                                  #        BANKCALL
020718,000981:                                                                                                  #        GOFLASH
020719,000982:                                                                                                  #        GOTOPOOH
020720,000983: 
020721,000984: 35,3114           00006        VNPOOH             EXTEND                                         
020722,000985: 35,3115           23767                           QXCH     RTRN                                  
020723,000986: 35,3116           55765                           TS       VERBNOUN                              
020724,000987: 35,3117           31765                           CA       VERBNOUN                              
020725,000988: 35,3120           04555                           TCR      BANKCALL                              
020726,000989: 35,3121           20624                           CADR     GOFLASH                               
020727,000990: 35,3122           14106                           TCF      GOTOPOOH                              
020728,000991: 35,3123           01767                           TC       RTRN                                  
020729,000992: 35,3124           13117                           TCF      -5                                    
020730,000993: 

Page 475

020732,000995:                                                                                                  #  ..... CONSTANTS .....
020733,000996: 
020734,000997: 35,3125           01445        V06N37             VN       0637                                  
020735,000998: 35,3126           01467        V06N55             VN       0655                                  
020736,000999: 35,3127           01472        V06N58             VN       0658                                  
020737,001000: 35,3130           01473        V06N59             VN       0659                                  
020738,001001: 35,3131           01521        V06N81             VN       0681                                  
020739,001002: 35,3132           04055        V16N45             VN       1645                                  
020740,001003: 35,3133           14441 37325  TWOPI              2DEC     6.283185307 B-4                        
020741,001004: 35,3135           00001 20650  MAX250             2DEC     25         E3                         
020742,001005: 35,3137           12525 12525  THIRD              2DEC     .333333333                            
020743,001006: 35,3141           00004 21505  ELEPS              2DEC     .27777777  E-3                        
020744,001007: 35,3143           00002        DECTWO             OCT      2                                     
020745,001008: 35,3144           77777        DP-.01             OCT      77777                                 #  CONSTANTS
020746,001009: 35,3145           61337                           OCT      61337                                 #  ADJACENT       -.01 FOR MGA DSP
020747,001010: 35,3146           01252 25253  EPSFOUR            2DEC     .0416666666                            
020748,001011: 

Page 476

020750,001013:                                                                                                  #  ..... INITVEL .....
020751,001014: 
020752,001015:                                                                                                  #  MOD NO -1       LOG SECTION - P34-P35, P74-P75
020753,001016:                                                                                                  #  MOD BY WHITE.P  DATE  21NOV67
020754,001017: 
020755,001018:                                                                                                  #  FUNCTIONAL DESCRIPTION
020756,001019: 
020757,001020:                                                                                                  #        THIS SUBROUTINE COMPUTES THE REQUIRED INITIAL VELOCITY VECTOR FOR
020758,001021:                                                                                                  #        A TRAJECTORY OF SPECIFIED TRANSFER TIME BETWEEN SPECIFIED INITIAL
020759,001022:                                                                                                  #        AND TARGET POSITIONS.  THE TRAJECTORY MAY BE EITHER CONIC OR
020760,001023:                                                                                                  #        PRECISION DEPENDING ON AN INPUT PARAMETER (NAMELY, NUMBER OF
020761,001024:                                                                                                  #        OFFSETS).  IN ADDITION, IN TH EPRECISION TRAJECTORY CASE, THE
020762,001025:                                                                                                  #        SUBROUTINE ALSO COMPUTES AN OFFSET TARGET VECTOR, TO BE USED
020763,001026:                                                                                                  #        DURING PURE-CONIC CROSS-PRODUCT STEERING.  THE OFFSET TARGET
020764,001027:                                                                                                  #        VECTOR IS THE TERMINAL POSITION VECTOR OF A CONIC TRAJECTORY WHICH
020765,001028:                                                                                                  #        HAS THE SAME INITIAL STATE AS A PRECISION TRAJECTORY WHOSE
020766,001029:                                                                                                  #        TERMINAL POSITION VECTOR IS THE SPECIFIED TARGET VECTOR.
020767,001030: 
020768,001031:                                                                                                  #        IN ORDER TO AVOID THE INHERENT SINGULARITIES IN THE 180 DEGREE
020769,001032:                                                                                                  #        TRANSFER CASE WHEN THE (TRUE OR OFFSET) TARGET VECTOR MAY BE
020770,001033:                                                                                                  #        SLIGHTLY OUT OF THE ORBITAL PLANE, THIS SUBROUTINE ROTATES THIS
020771,001034:                                                                                                  #        VECTOR INTO A PLANE DEFINED BY THE INPUT INITIAL POSITION VECTOR
020772,001035:                                                                                                  #        AND ANOTHER INPUT VECTOR (USUALLY THE INITIAL VELOCITY VECTOR),
020773,001036:                                                                                                  #        WHENEVER THE INPUT TARGET VECTOR LIES INSIDE A CONE WHOSE VERTEX
020774,001037:                                                                                                  #        IS THE ORIGIN OF COORDINATES, WHOSE AXIS IS THE 180 DEGREE
020775,001038:                                                                                                  #        TRANSFER DIRECTION, AND WHOSE CONE ANGLE IS SPECIFIED BY THE USER.
020776,001039: 
020777,001040:                                                                                                  #        THE LAMBERT SUBROUTINE IS UTILIZED FOR THE CONIC COMPUTATIONS AND
020778,001041:                                                                                                  #        THE COASTING INTEGRATION SUBROUTINE IS UTILIZED FOR THE PRECISION
020779,001042:                                                                                                  #        TRAJECTORY COMPUTATIONS.
020780,001043: 
020781,001044:                                                                                                  #  CALLING SEQUENCE
020782,001045: 
020783,001046:                                                                                                  #        L         CALL
020784,001047:                                                                                                  #        L+1               INITVEL
020785,001048:                                                                                                  #        L+2       (RETURN - ALWAYS)
020786,001049: 
020787,001050:                                                                                                  #  INPUT
020788,001051: 
020789,001052:                                                                                                  #        (1) RINIT    INITIAL POSITION RADIUS VECTOR
020790,001053:                                                                                                  #        (2) VINIT    INITIAL POSITION VELOCITY VECTOR
020791,001054:                                                                                                  #        (3) RTARG    TARGET POSITION RADIUS VECTOR
020792,001055:                                                                                                  #        (4) DELLT4   DESIRED TIME OF FLIGHT FROM RINIT TO RTARG
020793,001056:                                                                                                  #        (5) INTIME   TIME OF RINIT
020794,001057:                                                                                                  #        (6) 0D       NUMBER OF ITERATIONS OF LAMBERT/INTEGRVS
020795,001058:                                                                                                  #        (7) 2D       ANGLE TO 180 DEGREES WHEN ROTATION STARTS
020796,001059:                                                                                                  #        (8) RTX1     -2 FOR EARTH, -10D FOR LUNAR
020797,001060:                                                                                                  #        (9) RTX2     COORDINATE SYSTEM ORIGIN - 0 FOR EARTH, 2 FOR LUNAR
020798,001061:                                                                                                  #        PUSHLOC SET AT 4D
020799,001062: 

Page 477

020801,001064:                                                                                                  #  OUTPUT
020802,001065: 
020803,001066:                                                                                                  #        (1) RTARG    OFFSET TARGET POSITION VECTOR
020804,001067:                                                                                                  #        (2) VIPRIME  MANEUVER VELOCITY REQUIRED
020805,001068:                                                                                                  #        (3) VTPRIME  VELOCITY AT TARGET AFTER MANEUVER
020806,001069:                                                                                                  #        (4) DELVEET3 DELTA VELOCITY REQUIRED FOR MANEUVER
020807,001070: 
020808,001071:                                                                                                  #  SUBROUTINES USED
020809,001072: 
020810,001073:                                                                                                  #        LAMBERT
020811,001074:                                                                                                  #        INTSTALL
020812,001075:                                                                                                  #        INTEGRVS
020813,001076: 
020814,001077: 11,2000                                           SETLOC   INTVEL                                
020815,001078: 11,2000                                           BANK                                           
020816,001079: 
020817,001080: 11,2000                                           COUNT    11/INITV                              
020818,001081: 
020819,001082: 11,2000           77614        INITVEL            SET                                            #  COGA GUESS NOT AVAILABLE
020820,001083: 11,2001           00475                                    GUESSW                                
020821,001084: 11,2002           44175        HAVEGUES           VLOAD    STQ                                   
020822,001085: 11,2003           03415                                    RTARG                                 
020823,001086: 11,2004           01340                                    NORMEX                                
020824,001087: 11,2005           03604                           STORE    RTARG1                                
020825,001088: 11,2006           46135                           SLOAD    BHIZ                                  
020826,001089: 11,2007           03747                                    RTX2                                  
020827,001090: 11,2010           22022                                    INITVEL1                              
020828,001091: 11,2011           72575                           VLOAD    VSL2                                  
020829,001092: 11,2012           03570                                    RINIT                                 #  B29
020830,001093: 11,2013           27570                           STOVL    RINIT                                 #  B27
020831,001094: 11,2014           03576                                    VINIT                                 #  B7
020832,001095: 11,2015           77752                           VSL2                                           
020833,001096: 11,2016           27576                           STOVL    VINIT                                 #  B5
020834,001097: 11,2017           03604                                    RTARG1                                
020835,001098: 11,2020           77752                           VSL2                                           
020836,001099: 11,2021           03604                           STORE    RTARG1                                
020837,001100:                                                                                                  #       INITIALIZATION
020838,001101: 
020839,001102: 11,2022           71331        INITVEL1           SSP      DLOAD                                 #  SET ITCTR TO -1,LOAD MPAC WITH E4(PL 2D)
020840,001103: 11,2023           03505                                    ITCTR                                 
020841,001104: 11,2024           77776                                    0          -1                         
020842,001105: 11,2025           70546                           COSINE   SR1                                   #  CALCULATE COSINE (E4)  (+2)
020843,001106: 11,2026           17630                           STODL    COZY4                                 #  SET COZY4 TO COSINE(E4)          (PL 0D)
020844,001107: 11,2027           67154                           LXA,2    SXA,2                                 
020845,001108: 11,2030           00154                                    MPAC                                  
020846,001109: 11,2031           02703                                    VTARGTAG                              #  SET VTARGTAG TO 0D (SP)
020847,001110: 11,2032           77775                           VLOAD                                          
020848,001111: 11,2033           03570                                    RINIT                                 
020849,001112: 11,2034           26657                           STOVL    R1VEC                                 #  R1VEC EQ RINIT
020850,001113: 11,2035           03604                                    RTARG1                                

Page 478

020852,001115: 11,2036           16665                           STODL    R2VEC                                 #  R2VEC EQ RTARG
020853,001116: 11,2037           03423                                    DELLT4                                
020854,001117: 11,2040           02673                           STORE    TDESIRED                              #  TDESIRED EQ DELLT4
020855,001118: 11,2041           77201                           SETPD    VLOAD                                 
020856,001119: 11,2042           00001                                    0D                                    #  INITIALIZE PL TO 0D
020857,001120: 11,2043           03570                                    RINIT                                 #  MPAC EQ RINIT (+29)
020858,001121: 11,2044           41456                           UNIT     PUSH                                  #  UNIT(RI)  (+1)                   (PL 6D)
020859,001122: 11,2045           53435                           VXV      UNIT                                  
020860,001123: 11,2046           03576                                    VINIT                                 #  MPAC EQ UNIT(RI) X VI   (+8)
020861,001124: 11,2047           26676                           STOVL    UN                                    
020862,001125: 11,2050           03604                                    RTARG1                                
020863,001126: 11,2051           50256                           UNIT     DOT                                   #  TEMP=URT.URI  (+2)               (PL 0D)
020864,001127: 11,2052           43015                           DAD      CLEAR                                 
020865,001128: 11,2053           03630                                    COZY4                                 
020866,001129: 11,2054           03665                                    NORMSW                                
020867,001130: 11,2055           03630                           STORE    COZY4                                 
020868,001131: 11,2056           43044        INITVEL2           BPL      SET                                   
020869,001132: 11,2057           22101                                    INITVEL3                              #  UN CALCULATED IN LAMBERT
020870,001133: 11,2060           03465                                    NORMSW                                
020871,001134:                                                                                                  #     ROTATE  RC INTO YC PLANE - SET UNIT NORMAL TO YC
020872,001135: 
020873,001136: 11,2061           41575                           VLOAD    PUSH                                  #                                   (PL 6D)
020874,001137: 11,2062           02665                                    R2VEC                                 #  RC TO 6D  (+29)
020875,001138: 11,2063           63246                           ABVAL    PDVL                                  #  RC TO MPAC, ABVAL(RC) (+29) TO OD(PL 2D)
020876,001139: 11,2064           46206                           PUSH     VPROJ                                 #                                   (PL 8D)
020877,001140: 11,2065           02676                                    UN                                    
020878,001141: 11,2066           51352                           VSL2     BVSU                                  
020879,001142: 11,2067           74256                           UNIT     VXSC                                  #                                   (PL 0D)
020880,001143: 11,2070           77772                           VSL1                                           
020881,001144: 11,2071           02665                           STORE    R2VEC                                 
020882,001145: 11,2072           67351                           TLOAD    SLOAD                                 
020883,001146: 11,2073           11453                                    ZEROVEC                               
020884,001147: 11,2074           03505                                    ITCTR                                 
020885,001148: 11,2075           77244                           BPL      VLOAD                                 
020886,001149: 11,2076           22101                                    INITVEL3                              
020887,001150: 11,2077           02665                                    R2VEC                                 
020888,001151: 11,2100           03604                           STORE    RTARG1                                
020889,001152: 11,2101           63345        INITVEL3           DLOAD    PDVL                                  #                                   (PL 2D)
020890,001153: 11,2102           27733                                    MUEARTH                               #  POSITIVE VALUE
020891,001154: 11,2103           02665                                    R2VEC                                 
020892,001155: 11,2104           63256                           UNIT     PDVL                                  #  2D = UNIT(R2VEC)                 (PL 8D)
020893,001156: 11,2105           02657                                    R1VEC                                 
020894,001157: 11,2106           41456                           UNIT     PUSH                                  #  8D = UNIT(R1VEC)                 (PL14D)
020895,001158: 11,2107           57435                           VXV      VCOMP                                 #  -N = UNIT(R2VEC) X UNIT(R1VEC)
020896,001159: 11,2110           00003                                    2D                                    
020897,001160: 11,2111           77606                           PUSH                                           #                                   (PL20D)
020898,001161: 11,2112           71350                           LXA,1    DLOAD                                 
020899,001162: 11,2113           03745                                    RTX1                                  
020900,001163: 11,2114           00023                                    18D                                   
020901,001164: 11,2115           62040                           BMN      INCR,1                                

Page 479

020903,001166: 11,2116           22120                                    +2                                    
020904,001167: 11,2117           77767                           DEC      -8         B-14                       
020905,001168: 11,2120           67310                           INCR,1   SLOAD                                 
020906,001169: 11,2121           00012                                    10D                                   
020907,001170: 11,2122           00047                                    X1                                    
020908,001171: 11,2123           77230                           BHIZ     VLOAD                                 #                                   (PL14D)
020909,001172: 11,2124           22126                                    +2                                    
020910,001173: 11,2125           41476                           VCOMP    PUSH                                  #                                   (PL20D)
020911,001174: 11,2126           77775                           VLOAD                                          #                                   (PL14D)
020912,001175: 11,2127           50235                           VXV      DOT                                   #                                   (PL 2D)
020913,001176: 11,2130           71244                           BPL      DLOAD                                 #                                   (PL 0D)
020914,001177: 11,2131           22133                                    INITVEL4                              
020915,001178: 11,2132           41476                           DCOMP    PUSH                                  #                                   (PL 2D)
020916,001179: 11,2133           67154        INITVEL4           LXA,2    SXA,2                                 
020917,001180: 11,2134           00000                                    0D                                    
020918,001181: 11,2135           02674                                    GEOMSGN                               
020919,001182:                                                                                                  #    SET INPUTS UP FOR LAMBERT
020920,001183: 
020921,001184: 11,2136           45150                           LXA,1    CALL                                  
020922,001185: 11,2137           03745                                    RTX1                                  
020923,001186:                                                                                                  #     OPERATE THE LAMBERT CONIC ROUTINE (COASTFLT SUBROUTINE)
020924,001187: 
020925,001188: 11,2140           25215                                    LAMBERT                               
020926,001189: 
020927,001190:                                                                                                  #        DELETE THRU 4521
020928,001191:                                                                                                  #  ARRIVED AT SOLUTION IS GOOD ENOUGH ACCORDING TO SLIGHTLY WIDER BOUNDS.
020929,001192: 
020930,001193: 11,2141           77214                           CLEAR    VLOAD                                 
020931,001194: 11,2142           00675                                    GUESSW                                
020932,001195: 11,2143           02746                                    VVEC                                  
020933,001196:                                                                                                  #  STORE CALCULATED INITIAL VELOCITY REQUIRED IN VIPRIME
020934,001197: 
020935,001198: 11,2144           17612                           STODL    VIPRIME                               #  INITIAL VELOCITY REQUIRED  (+7)
020936,001199: 
020937,001200:                                                                                                  #     IF NUMIT IS ZERO, CONTINUE AT INITVELB, OTHERWISE
020938,001201:                                                                                                  #  SET UP INPUTS FOR ENCKE INTEGRATION (INTEGRVS).
020939,001202: 
020940,001203: 11,2145           02704                                    VTARGTAG                              
020941,001204: 11,2146           45030                           BHIZ     CALL                                  
020942,001205: 11,2147           22224                                    INITVEL7                              
020943,001206: 11,2150           27371                                    INTSTALL                              
020944,001207: 11,2151           43135                           SLOAD    CLEAR                                 
020945,001208: 11,2152           03747                                    RTX2                                  
020946,001209: 11,2153           00263                                    MOONFLAG                              
020947,001210: 11,2154           43030                           BHIZ     SET                                   
020948,001211: 11,2155           22157                                    INITVEL5                              
020949,001212: 11,2156           00063                                    MOONFLAG                              
020950,001213: 11,2157           77775        INITVEL5           VLOAD                                          
020951,001214: 11,2160           03570                                    RINIT                                 
020952,001215: 11,2161           02657                           STORE    R1VEC                                 

Page 480

020954,001217: 11,2162           25535                           STOVL    RCV                                   
020955,001218: 11,2163           03612                                    VIPRIME                               
020956,001219: 11,2164           15543                           STODL    VCV                                   
020957,001220: 11,2165           03503                                    INTIME                                
020958,001221: 11,2166           01517                           STORE    TET                                   
020959,001222: 11,2167           43015                           DAD      CLEAR                                 
020960,001223: 11,2170           03423                                    DELLT4                                
020961,001224: 11,2171           01673                                    INTYPFLG                              
020962,001225: 11,2172           34041                           STCALL   TDEC1                                 
020963,001226: 11,2173           27066                                    INTEGRVS                              
020964,001227: 11,2174           77775                           VLOAD                                          
020965,001228: 11,2175           00025                                    VATT1                                 
020966,001229: 11,2176           02705                           STORE    VTARGET                               
020967,001230:                                                                                                  #   IF ITERATION COUNTER (ITCTR) EQ NO. ITERATIONS (NUMIT), CONTINUE AT
020968,001231:                                                                                                  #  INITVELC, OTHERWISE REITERATE LAMBERT AND ENCKE
020969,001232: 
020970,001233: 11,2177           63154                           LXA,2    INCR,2                                
020971,001234: 11,2200           03504                                    ITCTR                                 
020972,001235: 11,2201           00001                                    1D                                    #  INCREMENT ITCTR
020973,001236: 11,2202           55134                           SXA,2    XSU,2                                 
020974,001237: 11,2203           03504                                    ITCTR                                 
020975,001238: 11,2204           02703                                    VTARGTAG                              
020976,001239: 11,2205           46135                           SLOAD    BHIZ                                  #  IF SP(MPAC) EQ 0, CONTINUE AT INITVELC
020977,001240: 11,2206           00050                                    X2                                    
020978,001241: 11,2207           22221                                    INITVEL6                              
020979,001242: 
020980,001243:                                                                                                  #    OFFSET CONIC TARGET VECTOR
020981,001244: 
020982,001245: 11,2210           52375                           VLOAD    VSU                                   
020983,001246: 11,2211           03604                                    RTARG1                                
020984,001247: 11,2212           00017                                    RATT1                                 
020985,001248: 11,2213           77655                           VAD                                            
020986,001249: 11,2214           02665                                    R2VEC                                 
020987,001250: 11,2215           16665                           STODL    R2VEC                                 
020988,001251: 11,2216           03630                                    COZY4                                 
020989,001252: 11,2217           77650                           GOTO                                           
020990,001253: 11,2220           22056                                    INITVEL2                              #  CONTINUE ITERATING AT INITVEL2
020991,001254:                                                                                                  #  COMPUTE THE DELTA VELOCITY
020992,001255: 
020993,001256: 11,2221           77775        INITVEL6           VLOAD                                          
020994,001257: 11,2222           02665                                    R2VEC                                 
020995,001258: 11,2223           03604                           STORE    RTARG1                                
020996,001259: 11,2224           52375        INITVEL7           VLOAD    VSU                                   
020997,001260: 11,2225           03612                                    VIPRIME                               
020998,001261: 11,2226           03576                                    VINIT                                 
020999,001262: 11,2227           27646                           STOVL    DELVEET3                              #  DELVEET3 = VIPRIME-VINIT  (+7)
021000,001263: 11,2230           02705                                    VTARGET                               
021001,001264: 11,2231           03620                           STORE    VTPRIME                               
021002,001265: 11,2232           46135                           SLOAD    BHIZ                                  
021003,001266: 11,2233           03747                                    RTX2                                  

Page 481

021005,001268: 11,2234           22251                                    INITVELX                              
021006,001269: 11,2235           70575                           VLOAD    VSR2                                  
021007,001270: 11,2236           03620                                    VTPRIME                               
021008,001271: 11,2237           27620                           STOVL    VTPRIME                               
021009,001272: 11,2240           03612                                    VIPRIME                               
021010,001273: 11,2241           77742                           VSR2                                           
021011,001274: 11,2242           27612                           STOVL    VIPRIME                               
021012,001275: 11,2243           03604                                    RTARG1                                
021013,001276: 11,2244           77742                           VSR2                                           
021014,001277: 11,2245           27604                           STOVL    RTARG1                                
021015,001278: 11,2246           03646                                    DELVEET3                              
021016,001279: 11,2247           77742                           VSR2                                           
021017,001280: 11,2250           03646                           STORE    DELVEET3                              
021018,001281: 11,2251           77201        INITVELX           SETPD    VLOAD                                 
021019,001282: 11,2252           00001                                    0D                                    
021020,001283: 11,2253           03604                                    RTARG1                                
021021,001284: 11,2254           37415                           STCALL   RTARG                                 
021022,001285: 11,2255           01340                                    NORMEX                                
021023,001286: 
021024,001287:                                                                                                  #  ..... END OF INITVEL ROUTINE .....
021025,001288: 

Page 482

021027,001290:                                                                                                  #  ..... MIDGIM .....
021028,001291: 
021029,001292:                                                                                                  #  MOD NO. 0, BY WILLMAN, SUBROUTINE RENDGUID, LOG P34-P35, P74-P75
021030,001293:                                                                                                  #   REVISION 03, 17 FEB 67
021031,001294: 
021032,001295:                                                                                                  #           IF THE ACTIVE VEHICLE IS DOING THE COMPUTATION, MIDGIM COMPUTES
021033,001296:                                                                                                  #  THE POSITIVE MIDDLE GIMBAL ANGLE OF THE ACTIVE VEHICLE TO THE INPUT
021034,001297:                                                                                                  #  DELTA VELOCITY VECTOR (0D IN PUSH LIST),  OTHERWISE
021035,001298:                                                                                                  #  MIDGIM CONVERTS THE INPUT DELTA VELOCITY VECTOR FROM INERTIAL COORDIN-
021036,001299:                                                                                                  #  ATES TO LOCAL VERTICAL COORDINATES OF THE ACTIVE VEHICLE.
021037,001300: 
021038,001301:                                                                                                  #    .. INPUTS ..
021039,001302: 
021040,001303:                                                                                                  #      NAME        MEANING                              UNITS/SCALING/MODE
021041,001304: 
021042,001305:                                                                                                  #     AVFLAG  INT FLAG - 0 IS CSM ACTIVE, 1 IS LEM ACTIVE             BIT
021043,001306:                                                                                                  #    COMPUTER INT FLAG - 0 IS LEM COMPUTER, 1 IS CSM COMPUTER         BIT
021044,001307:                                                                                                  #     RINIT   ACTIVE VEHICLE RADIUS VECTOR            METERS/CSEC (+7) VT
021045,001308:                                                                                                  #     VINIT   ACTIVE VEHICLE VELOCITY VECTOR          METERS/CSEC (+7) VT
021046,001309:                                                                                                  #     0D (PL) ACTIVE VEHICLE DELTA VELOCITY VECTOR    METERS/CSEC (+7) VT
021047,001310: 
021048,001311:                                                                                                  #    .. OUTPUTS ..
021049,001312: 
021050,001313:                                                                                                  #      NAME        MEANING                              UNITS/SCALING/MODE
021051,001314: 
021052,001315:                                                                                                  #       +MGA  + MIDDLE GIMBAL ANGLE                  REVOLUTIONS (+0)  DP
021053,001316:                                                                                                  #     DELVLVC DELTA VELOCITY VECTOR IN LV COORD.     METERS/CSEC (+7)  VT
021054,001317:                                                                                                  #    MGLVFLAG INT FLAG - 0 IS +MGA COMPUTED, 1 IS DELVLVC COMP.  -    BIT
021055,001318: 
021056,001319:                                                                                                  #    .. CALLING SEQUENCE ..
021057,001320: 
021058,001321:                                                                                                  #  L        CALL
021059,001322:                                                                                                  #  L+1             MIDGIM
021060,001323:                                                                                                  #  L+2      (RETURN - ALWAYS)
021061,001324: 
021062,001325:                                                                                                  #    .. NO SUBROUTINES CALLED ..
021063,001326: 
021064,001327:                                                                                                  #    .. DEBRIS - ERASEABLE TEMPORARY USAGE
021065,001328: 
021066,001329:                                                                                                  #         A,Q,L, PUSH LIST, MPAC.
021067,001330: 
021068,001331:                                                                                                  #    .. ALARMS - NONE ..
021069,001332: 

Page 483

021071,001334:                                                                                                  #  MIDDLE GIMBAL ANGLE COMPUTATION.
021072,001335: 
021073,001336: 04,2000                                           SETLOC   MIDDGIM                               
021074,001337: 04,2000                                           BANK                                           
021075,001338: 
021076,001339: 04,2651                                           COUNT*   $$/MIDG                               
021077,001340: 
021078,001341: 04,2651           20000 00000  HALFREV            2DEC     1          B-1                        
021079,001342: 
021080,001343: 04,2653           43014        MIDGIM             BON      BOFF                                  
021081,001344: 04,2654           01312                                    AVFLAG                                
021082,001345: 04,2655           10673                                    MIDGIM1                               
021083,001346: 04,2656           02747                                    COMPUTER                              
021084,001347: 04,2657           10676                                    GET.LVC                               
021085,001348:                                                                                                  #  COMPUTE +MGA IF AVFLAG AND COMPUTER HAVE OPPOSITE VALUES.
021086,001349: 04,2660           53575        GET+MGA            VLOAD    UNIT                                  #  (PL 0D) V (+7) TO MPAC, UNITIZE  UV (+1)
021087,001350: 04,2661           72441                           DOT      SL1                                   #  DOT UV WITH Y(STABLE MEMBER) AND RESCALE
021088,001351: 04,2662           01744                                    REFSMMAT   +6                         #   FROM +2 TO +1 FOR ASIN ROUTINE
021089,001352: 04,2663           51136                           ARCSIN   BPL                                   
021090,001353: 04,2664           10670                                    SETMGA                                
021091,001354: 04,2665           43215                           DAD      DAD                                   #  CONVERT -MGA TO +MGA BY
021092,001355: 04,2666           10652                                    HALFREV                               #  ADDING ONE REVOLUTION
021093,001356: 04,2667           10652                                    HALFREV                               
021094,001357: 04,2670           03626        SETMGA             STORE    +MGA                                  
021095,001358: 04,2671           43414                           CLR      RVQ                                   #  CLEAR MGLVFLAG TO INDICATE +MGA CALC
021096,001359: 04,2672           02675                                    MGLVFLAG                              #      AND EXIT
021097,001360: 04,2673           77614        MIDGIM1            BOFF                                           
021098,001361: 04,2674           02747                                    COMPUTER                              
021099,001362: 04,2675           10660                                    GET+MGA                               
021100,001363:                                                                                                  #  COMPUTE DELVLVC IF AVFLAG AND COMPUTER HAVE SAME VALUES.
021101,001364: 04,2676           53575        GET.LVC            VLOAD    UNIT                                  #  (PL 6D)   R (+29) IN MPAC, UNITIZE UR
021102,001365: 04,2677           03570                                    RINIT                                 
021103,001366: 04,2700           77676                           VCOMP                                          #  U(-R)
021104,001367: 04,2701           00023                           STORE    18D                                   #  U(-R) TO 18D
021105,001368: 04,2702           53435                           VXV      UNIT                                  #  U(-R)*V EQ V*U(R), U(V*R)
021106,001369: 04,2703           03576                                    VINIT                                 
021107,001370: 04,2704           00015                           STORE    12D                                   #  U(V*R) TO 12D
021108,001371: 04,2705           53435                           VXV      UNIT                                  #  U(V*R)*U(-R), U((V*R)*(-R))
021109,001372: 04,2706           00023                                    18D                                   
021110,001373: 04,2707           24007                           STOVL    6D                                    #  TRANSFORMATION MATRIX IS IN 6D (+1)
021111,001374: 04,2710           00001                                    0D                                    #  DELTA V (+7) IN 0D
021112,001375: 04,2711           76521                           MXV      VSL1                                  #  CONVERT FROM INER COOR TO LV COOR (+8)
021113,001376: 04,2712           00007                                    6D                                    #   AND SCALE +7 IN MPAC
021114,001377: 04,2713           03405                           STORE    DELVLVC                               #  STORE IN DELVLVC (+7)
021115,001378: 04,2714           43414                           SET      RVQ                                   #  SET MGLVFLAG TO INDICATE LVC CALC
021116,001379: 04,2715           02475                                    MGLVFLAG                              #      AND EXIT
021117,001380:                                                                                                  #    ..... END OF MIDGIM ROUTINE .....
021118,001381: 

Page 484

021120,001383: 04,2716           77160        SELECTMU           AXC,1    AXT,2                                 
021121,001384: 04,2717           00002                                    2D                                    
021122,001385: 04,2720           00000                                    0D                                    
021123,001386: 04,2721           77614                           BOFF                                           
021124,001387: 04,2722           04343                                    CMOONFLG                              
021125,001388: 04,2723           10727                                    SETMUER                               
021126,001389: 04,2724           77160                           AXC,1    AXT,2                                 
021127,001390: 04,2725           00012                                    10D                                   
021128,001391: 04,2726           00002                                    2D                                    
021129,001392: 04,2727           66143        SETMUER            DLOAD*   SXA,1                                 
021130,001393: 04,2730           11632                                    MUTABLE    +4,1                       
021131,001394: 04,2731           03745                                    RTX1                                  
021132,001395: 04,2732           23752                           STODL*   RTSR1/MU                              
021133,001396: 04,2733           11624                                    MUTABLE    -2,1                       
021134,001397: 04,2734           54214                           BOFF     SR                                    
021135,001398: 04,2735           04343                                    CMOONFLG                              
021136,001399: 04,2736           10740                                    RTRNMU                                
021137,001400: 04,2737           20607                                    6D                                    
021138,001401: 04,2740           03750        RTRNMU             STORE    RTMU                                  
021139,001402: 04,2741           43134                           SXA,2    CLEAR                                 
021140,001403: 04,2742           03746                                    RTX2                                  
021141,001404: 04,2743           01271                                    FINALFLG                              
021142,001405: 04,2744           77650                           GOTO                                           
021143,001406: 04,2745           73005                                    VN1645                                
021144,001407: 

Page 485

021146,001409:                                                                                                  #  ..... PERIAPO .....
021147,001410: 
021148,001411:                                                                                                  #  MOD NO -1       LOG SECTION - P34-P35, P74-P75
021149,001412:                                                                                                  #  MOD BY WHITE.P  DATE  18JAN68
021150,001413: 
021151,001414:                                                                                                  #  FUNCTIONAL DESCRIPTION
021152,001415: 
021153,001416:                                                                                                  #        THIS SUBROUTINE COMPUTES THE TWO BODY APOCENTER AND PERICENTER
021154,001417:                                                                                                  #        ALTITUDES GIVEN THE POSITION AND VELOCITY VECTORS FOR A POINT ON
021155,001418:                                                                                                  #        THE TRAJECTORY AND THE PRIMARY BODY.
021156,001419: 
021157,001420:                                                                                                  #        SETRAD IS CALLED TO  DETERMINE THE RADIUS OF THE PRIMARY BODY.
021158,001421: 
021159,001422:                                                                                                  #        APSIDES IS CALLED TO SOLVE FOR THE TWO BODY RADII OF APOCENTER AND
021160,001423:                                                                                                  #        PERICENTER AND THE ECCENTRICITY OF THE TRAJECTORY.
021161,001424: 
021162,001425:                                                                                                  #  CALLING SEQUENCE
021163,001426: 
021164,001427:                                                                                                  #        L         CALL
021165,001428:                                                                                                  #        L+1               PERIAPO
021166,001429:                                                                                                  #        L+2       (RETURN - ALWAYS)
021167,001430: 
021168,001431:                                                                                                  #  INPUT
021169,001432: 
021170,001433:                                                                                                  #        (1) RVEC     POSITION VECTOR IN METERS
021171,001434:                                                                                                  #                     SCALE FACTOR - EARTH +29, MOON +27
021172,001435:                                                                                                  #        (2) VVEC     VELOCITY VECTOR IN METERS/CENTISECOND
021173,001436:                                                                                                  #                     SCALE FACTOR - EARTH +7, MOON +5
021174,001437:                                                                                                  #        (3) X1       PRIMARY BODY INDICATOR
021175,001438:                                                                                                  #                     EARTH -2, MOON -10
021176,001439: 
021177,001440:                                                                                                  #  OUTPUT
021178,001441: 
021179,001442:                                                                                                  #        (1) 2D       APOCENTER RADIUS IN METERS
021180,001443:                                                                                                  #                     SCALE FACTOR - EARTH +29, MOON +27
021181,001444:                                                                                                  #        (2) 4D       APOCENTER ALTITUDE IN METERS
021182,001445:                                                                                                  #                     SCALE FACTOR - EARTH +29, MOON P27
021183,001446:                                                                                                  #        (3) 6D       PERICENTER RADIUS IN METERS
021184,001447:                                                                                                  #                     SCALE FACTOR - EARTH +29, MOON +27
021185,001448:                                                                                                  #        (4) 8D       PERICENTER ALTITUDE IN METERS
021186,001449:                                                                                                  #                     SCALE FACTOR - EARTH +29, MOON +27
021187,001450:                                                                                                  #        (5) ECC      ECCENTRICITY OF CONIC TRAJECTORY
021188,001451:                                                                                                  #                     SCALE FACTOR - +3
021189,001452:                                                                                                  #        (6) XXXALT   RADIUS OF THE PRIMARY BODY IN METERS
021190,001453:                                                                                                  #                     SCALE FACTOR - EARTH +29, MOON +27
021191,001454:                                                                                                  #        (7) PUSHLOC  EQUALS 10D
021192,001455: 
021193,001456:                                                                                                  #  SUBROUTINES USED
021194,001457: 
021195,001458:                                                                                                  #        SETRAD

Page 486

021197,001460:                                                                                                  #        APSIDES
021198,001461: 
021199,001462: 22,2000                                           SETLOC   APOPERI                               
021200,001463: 22,2000                                           BANK                                           
021201,001464: 
021202,001465: 22,3310                                           COUNT*   $$/PERAP                              
021203,001466: 
021204,001467: 22,3310           00302 17755  RPAD               2DEC     6373338    B-29                       #  STANDARD RADIUS  OF PAD 37-B.
021205,001468:                                                                                                  #                                          = 20 909 901.57 FT
021206,001469: 
021207,001470: 22,3312           53754        PERIAPO1           LXA,2    VSR*                                  
021208,001471: 22,3313           03746                                    RTX2                                  
021209,001472: 22,3314           57176                                    0,2                                   
021210,001473: 22,3315           26746                           STOVL    VVEC                                  
021211,001474: 22,3316           53750                           LXA,1    VSR*                                  
021212,001475: 22,3317           03745                                    RTX1                                  
021213,001476: 22,3320           57176                                    0,2                                   
021214,001477: 22,3321           02657                           STORE    RVEC                                  
021215,001478: 22,3322           45020        PERIAPO            STQ      CALL                                  
021216,001479: 22,3323           01340                                    NORMEX                                
021217,001480: 22,3324           45340                                    SETRAD                                
021218,001481: 22,3325           37456                           STCALL   XXXALT                                
021219,001482: 22,3326           25671                                    APSIDES                               
021220,001483: 22,3327           41401                           SETPD    PUSH                                  #  2D = APOCENTER RADIUS   B29 OR B27
021221,001484: 22,3330           00003                                    2D                                    
021222,001485: 22,3331           65225                           DSU      PDDL                                  #  4D = APOGEE ALTITUDE    B29 OR B27
021223,001486: 22,3332           03456                                    XXXALT                                
021224,001487: 22,3333           00001                                    0D                                    
021225,001488: 22,3334           45206                           PUSH     DSU                                   #  6D = PERICENTER RADIUS  B29 OR B27
021226,001489: 22,3335           03456                                    XXXALT                                
021227,001490: 22,3336           52006                           PUSH     GOTO                                  #  8D = PERIGEE ALTITUDE   B29 OR B27
021228,001491: 22,3337           01340                                    NORMEX                                

Page 487

021230,001493:                                                                                                  #  SETRAD
021231,001494: 22,3340           41545        SETRAD             DLOAD    PUSH                                  
021232,001495: 22,3341           05311                                    RPAD                                  
021233,001496: 22,3342           63130                           SXA,1    INCR,2                                
021234,001497: 22,3343           00047                                    X2                                    
021235,001498: 22,3344           00002                                    2D                                    
021236,001499: 22,3345           46135                           SLOAD    BHIZ                                  
021237,001500: 22,3346           00050                                    X2                                    
021238,001501: 22,3347           45353                                    SETRADX                               
021239,001502: 22,3350           51575                           VLOAD    ABVAL                                 
021240,001503: 22,3351           02026                                    RLS                                   
021241,001504: 22,3352           77725                           PDDL                                           
021242,001505: 22,3353           43545        SETRADX            DLOAD    RVQ                                   
021243,001506: 

Page 488

021245,001508:                                                                                                  #  PRECSET
021246,001509: 22,3354           77620        PRECSET            STQ                                            
021247,001510: 22,3355           01340                                    NORMEX                                
021248,001511: 22,3356           36635                           STCALL   TDEC2                                 
021249,001512: 22,3357           27036                                    LEMPREC                               
021250,001513: 22,3360           77624                           CALL                                           
021251,001514: 22,3361           45372                                    LEMSTORE                              
021252,001515: 22,3362           77745                           DLOAD                                          
021253,001516: 22,3363           02635                                    TDEC2                                 
021254,001517: 22,3364           34041                           STCALL   TDEC1                                 
021255,001518: 22,3365           27022                                    CSMPREC                               
021256,001519: 22,3366           77624                           CALL                                           
021257,001520: 22,3367           45402                                    CSMSTORE                              
021258,001521: 22,3370           77650                           GOTO                                           
021259,001522: 22,3371           01340                                    NORMEX                                
021260,001523: 22,3372           43175        LEMSTORE           VLOAD    BOFF                                  
021261,001524: 22,3373           00001                                    RATT                                  
021262,001525: 22,3374           01352                                    AVFLAG                                
021263,001526: 22,3375           45406                                    PASSIVE                               
021264,001527: 22,3376           27540        ACTIVE             STOVL    RACT3                                 
021265,001528: 22,3377           00007                                    VATT                                  
021266,001529: 22,3400           03546                           STORE    VACT3                                 
021267,001530: 22,3401           77616                           RVQ                                            
021268,001531: 22,3402           43175        CSMSTORE           VLOAD    BOFF                                  
021269,001532: 22,3403           00001                                    RATT                                  
021270,001533: 22,3404           01352                                    AVFLAG                                
021271,001534: 22,3405           45376                                    ACTIVE                                
021272,001535: 22,3406           27554        PASSIVE            STOVL    RPASS3                                
021273,001536: 22,3407           00007                                    VATT                                  
021274,001537: 22,3410           03562                           STORE    VPASS3                                
021275,001538: 22,3411           77616                           RVQ                                            
021276,001539: 

Page 489

021278,001541:                                                                                                  #  VECSHIFT
021279,001542: 22,3412           53754        VECSHIFT           LXA,2    VSR*                                  
021280,001543: 22,3413           03746                                    RTX2                                  
021281,001544: 22,3414           57176                                    0,2                                   
021282,001545: 22,3415           63350                           LXA,1    PDVL                                  
021283,001546: 22,3416           03745                                    RTX1                                  
021284,001547: 22,3417           63257                           VSR*     PDVL                                  
021285,001548: 22,3420           57176                                    0,2                                   
021286,001549: 22,3421           77616                           RVQ                                            
021287,001550: 

Page 490

021289,001552:                                                                                                  #  SHIFTR1
021290,001553: 22,3422           53754        SHIFTR1            LXA,2    SL*                                   
021291,001554: 22,3423           03746                                    RTX2                                  
021292,001555: 22,3424           57576                                    0,2                                   
021293,001556: 22,3425           77616                           RVQ                                            
021294,001557: 

Page 491

021296,001559:                                                                                                  #  PROGRAM DESCRIPTION
021297,001560:                                                                                                  #  SUBROUTINE NAME       R36  OUT-OF-PLANE RENDEZVOUS ROUTINE
021298,001561:                                                                                                  #  MOD NO.  0                      DATE      22 DECEMBER 67
021299,001562:                                                                                                  #  MOD BY   N.M.NEVILLE            LOG SECTION  EXTENDED VERBS
021300,001563:                                                                                                  #  FUNCTIONAL DESCRIPTION
021301,001564: 
021302,001565:                                                                                                  #  TO DISPLAY AT ASTRONAUT REQUEST LGC CALCULATED RENDEZVOUS
021303,001566:                                                                                                  #  OUT-OF-PLANE PARAMETERS (Y , YDOT , PSI). (REQUESTED BY DSKY).
021304,001567: 
021305,001568:                                                                                                  #  CALLING SEQUENCE
021306,001569: 
021307,001570:                                                                                                  #  ASTRONAUT REQUEST THROUGH DSKY V 90 E
021308,001571: 
021309,001572:                                                                                                  #  SUBROUTINES CALLED
021310,001573: 
021311,001574:                                                                                                  #  EXDSPRET
021312,001575:                                                                                                  #  GOMARKF
021313,001576:                                                                                                  #  CSMPREC
021314,001577:                                                                                                  #  LEMPREC
021315,001578:                                                                                                  #  SGNAGREE
021316,001579:                                                                                                  #  LOADTIME
021317,001580: 
021318,001581:                                                                                                  #  NORMAL EXIT MODES
021319,001582: 
021320,001583:                                                                                                  #  ASTRONAUT REQUEST THROUGH DSKY TO TERMINATE PROGRAM V 34 E
021321,001584: 
021322,001585:                                                                                                  #  ALARM OR ABORT EXIT MODES
021323,001586: 
021324,001587:                                                                                                  #  NONE
021325,001588: 
021326,001589:                                                                                                  #  OUTPUT
021327,001590: 
021328,001591:                                                                                                  #  DECIMAL DISPLAY OF TIME , Y , YDOT AND PSI
021329,001592: 
021330,001593:                                                                                                  #  DISPLAYED VALUES Y , YDOT , AND PSI , ARE STORED IN ERASABLE
021331,001594:                                                                                                  #  REGISTERS RANGE , RRATE AND RTHETA RESPECTIVELY.
021332,001595: 
021333,001596:                                                                                                  #  ERASABLE INITIALIZATION REQUIRED
021334,001597: 
021335,001598:                                                                                                  #  CSM AND LEM STATE VECTORS
021336,001599: 
021337,001600:                                                                                                  #  DEBRIS
021338,001601: 
021339,001602:                                                                                                  #  CENTRALS A,Q,L
021340,001603: 
021341,001604:                                                                                                  #  OTHER THOSE USED BY THE ABOVE LISTED SUBROUTINES
021342,001605: 
021343,001606: 20,2000                                           BANK     20                                    
021344,001607: 04,2000                                           SETLOC   R36LM                                 
021345,001608: 04,2000                                           BANK                                           
021346,001609: 

Page 492

021348,001611: 04,2746  E4,1726                                  EBANK=   RPASS36                               
021349,001612: 04,2746                                           COUNT*   $$/R36                                
021350,001613: 
021351,001614: 04,2746           22007        R36                ZL                                             
021352,001615: 04,2747           34714                           CAF      ZERO                                  #  SET TIME OF EVENT TO ZERO FOR FIRST
021353,001616: 04,2750           53052                           DXCH     DSPTEMX                               #  DISPLAY
021354,001617: 04,2751           33101                           CAF      V06N16N                               
021355,001618: 04,2752           04555                           TC       BANKCALL                              
021356,001619: 04,2753           20465                           CADR     GOMARKF                               
021357,001620: 04,2754           15423                           TCF      ENDEXT                                #  TERMINATE
021358,001621: 04,2755           12757                           TCF      +2                                    #  PROCEED
021359,001622: 04,2756           12751                           TCF      -5                                    #  RECYCLE FOR ASTRONAUT INPUT TIME
021360,001623: 04,2757           53052                           DXCH     DSPTEMX                               
021361,001624: 04,2760           00006                           EXTEND                                         
021362,001625: 04,2761           13070                           BZF      LREGCHK                               #  A-REG ZERO GOTO CHECK L-REG FOR ZERO
021363,001626: 04,2762           52155        ASTROTIM           DXCH     MPAC                                  #  A-REG NON-ZERO, TIME = ASTRO INPUT TIME
021364,001627: 04,2763           06006                           TC       INTPRET                               
021365,001628: 04,2764           77634                           RTB                                            
021366,001629: 04,2765           45713                                    DPMODE                                
021367,001630: 04,2766           34041        R36INT             STCALL   TDEC1                                 
021368,001631: 04,2767           27036                                    OTHPREC                               
021369,001632: 04,2770           63375                           VLOAD    PDVL                                  
021370,001633: 04,2771           00007                                    VATT                                  
021371,001634: 04,2772           00001                                    RATT                                  #   -
021372,001635: 04,2773           02327                           STORE    RPASS36                               #   R
021373,001636: 04,2774           63256                           UNIT     PDVL                                  #    P
021374,001637: 04,2775           53435                           VXV      UNIT                                  #   -
021375,001638: 04,2776           77626                           STADR                                          
021376,001639: 04,2777           61442                           STODL    UNP36                                 #   U
021377,001640: 04,3000           00015                                    TAT                                   
021378,001641: 04,3001           34041                           STCALL   TDEC1                                 
021379,001642: 04,3002           27022                                    THISPREC                              
021380,001643: 04,3003           63375                           VLOAD    PDVL                                  #                    -
021381,001644: 04,3004           00007                                    VATT                                  #   VELOCITY VECTOR  V               00D
021382,001645: 04,3005           00001                                    RATT                                  #                     A
021383,001646: 04,3006           77725                           PDDL                                           
021384,001647: 04,3007           00015                                    TAT                                   #   SAVE TIME IN LOCATION 30D FOR REDISPLAY
021385,001648: 04,3010           24037                           STOVL    30D                                   #                    -
021386,001649: 04,3011           41406                           PUSH     PUSH                                  #   POSITION VECTOR  R   IN  06D AND 12D
021387,001650: 04,3012           63245                           BVSU     PDVL                                  #                     A  -   -
021388,001651: 04,3013           02327                                    RPASS36                               #   LINE OF SIGHT VECTOR R - R       12D
021389,001652: 04,3014           72441                           DOT      SL1                                   #                         P   A
021390,001653: 04,3015           02335                                    UNP36                                 #      -  -
021391,001654: 04,3016           26321                           STOVL    RANGE                                 #  Y = U .R
021392,001655: 04,3017           00001                                    00D                                   #          A
021393,001656: 04,3020           72441                           DOT      SL1                                   
021394,001657: 04,3021           02335                                    UNP36                                 #   .   -  -
021395,001658: 04,3022           26323                           STOVL    RRATE                                 #   Y = U .V
021396,001659: 04,3023           00007                                    06D                                   #   -       A  -

Page 493

021398,001661: 04,3024           41456                           UNIT     PUSH                                  #   U   = UNIT( R )                  18D
021399,001662: 04,3025           47235                           VXV      VXV                                   #    RA          A
021400,001663: 04,3026           00001                                    00D                                   #    -   -   -     -
021401,001664: 04,3027           00023                                    18D                                   #   (U  XV )XU    =U
021402,001665: 04,3030           53552                           VSL2     UNIT                                  #     RA  A   RA    A
021403,001666: 04,3031           77656                           UNIT                                           
021404,001667: 04,3032           24001                           STOVL    00D                                   #   UNIT HORIZONTAL IN FORWARD DIR.  00D
021405,001668: 04,3033           00023                                    18D                                   
021406,001669: 04,3034           74241                           DOT      VXSC                                  #   -
021407,001670: 04,3035           00015                                    12D                                   #   U
021408,001671: 04,3036           77752                           VSL2                                           #    L
021409,001672: 04,3037           53445                           BVSU     UNIT                                  
021410,001673: 04,3040           77656                           UNIT                                           
021411,001674: 04,3041           50206                           PUSH     DOT                                   #   LOS PROJECTED INTO HORIZONTAL    12D
021412,001675: 04,3042           00001                                    00D                                   #   PLANE
021413,001676: 04,3043           65552                           SL1      ARCCOS                                #               -  -
021414,001677: 04,3044           26325                           STOVL    RTHETA                                #   PSI= ARCCOS(U .U )
021415,001678: 04,3045           50235                           VXV      DOT                                   #                A  L
021416,001679: 04,3046           00001                                    00D                                   
021417,001680: 04,3047           71244                           BPL      DLOAD                                 
021418,001681: 04,3050           11055                                    R36TAG2                               
021419,001682: 04,3051           11464                                    LODPMAX                               
021420,001683: 04,3052           77625                           DSU                                            
021421,001684: 04,3053           02325                                    RTHETA                                
021422,001685: 04,3054           02325                           STORE    RTHETA                                
021423,001686: 04,3055           47145        R36TAG2            DLOAD    RTB                                   
021424,001687: 04,3056           00037                                    30D                                   
021425,001688: 04,3057           45541                                    SGNAGREE                              
021426,001689: 04,3060           01052                           STORE    DSPTEMX                               
021427,001690: 04,3061           77776                           EXIT                                           
021428,001691: 04,3062           33102                           CAF      V06N90N                               #   DISPLAY Y , YDOT , AND PSI
021429,001692: 04,3063           04555                           TC       BANKCALL                              
021430,001693: 04,3064           20465                           CADR     GOMARKF                               
021431,001694: 04,3065           15423                           TCF      ENDEXT                                #  TERMINATE
021432,001695: 04,3066           15423                           TCF      ENDEXT                                #  PROCEED , END OF PROGRAM
021433,001696: 04,3067           12751                           TCF      R36        +3                         #  REDISPLAY OUTPUT
021434,001697: 04,3070           56001        LREGCHK            XCH      L                                     
021435,001698: 04,3071           00006                           EXTEND                                         
021436,001699: 04,3072           13075                           BZF      ENTTIM2                               #  L-REG ZERO ,SET TIME = PRESENT TIME
021437,001700: 04,3073           56001                           XCH      L                                     #  L-REG NON ZERO, TIME = ASTRO INPUT TIME
021438,001701: 04,3074           12762                           TCF      ASTROTIM                              
021439,001702: 04,3075           06006        ENTTIM2            TC       INTPRET                               
021440,001703: 04,3076           52034                           RTB      GOTO                                  
021441,001704: 04,3077           45505                                    LOADTIME                              
021442,001705: 04,3100           10766                                    R36INT                                
021443,001706: 04,3101           01420        V06N16N            VN       00616                                 
021444,001707: 04,3102           01532        V06N90N            VN       00690                                 

End of include-file P34-P35,_P74-P75.agc.  Parent file is MAIN.agc