Source Code

These source-code files are part of a reconstructed copy of Artemis 071, the first release of the Apollo 15 through 17 Command Module (CM) Apollo Guidance Computer (AGC) software.

The reconstruction began with source code of Artemis 072 previously transcribed from a digitized copy of that program. The code was then updated by undoing changes between the two versions. The reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021154-. Note that page numbers in the reconstructed code match those on the Artemis 072 printout, although the changed code would likely have changed page numbers for a real Artemis 071 listing.

Comments from the original source code are prefixed with a single '#' symbol, whereas comments added later are prefixed by "##" or "###". Report any errors noted by creating an issue report at the Virtual AGC project's GitHub repository.

020466,000002:                                                                                                  ## Copyright:   Public domain.
020467,000003:                                                                                                  ## Filename:    P34-P35,_P74-P75.agc
020468,000004:                                                                                                  ## Purpose:     A section of Artemis revision 071.
020469,000005:                                                                                                  ##              It is part of the reconstructed source code for the first
020470,000006:                                                                                                  ##              release of the flight software for the Command Module's
020471,000007:                                                                                                  ##              (CM) Apollo Guidance Computer (AGC) for Apollo 15 through
020472,000008:                                                                                                  ##              17. The code has been recreated from a copy of Artemis 072.
020473,000009:                                                                                                  ##              It has been adapted such that the resulting bugger words
020474,000010:                                                                                                  ##              exactly match those specified for Artemis 071 in NASA
020475,000011:                                                                                                  ##              drawing 2021154-, which gives relatively high confidence
020476,000012:                                                                                                  ##              that the reconstruction is correct.
020477,000013:                                                                                                  ## Reference:   463
020478,000014:                                                                                                  ## Assembler:   yaYUL
020479,000015:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
020480,000016:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
020481,000017:                                                                                                  ## Mod history: 2019-08-14 MAS  Created from Artemis 072.
020482,000018: 

Page 463

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

Page 464

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

Page 465

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

Page 466

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

Page 467

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

Page 468

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

Page 469

020790,000326: 35,2177           72774                                    S34/35.5                              
020791,000327: 35,2200           77624                           CALL                                           
020792,000328: 35,2201           73027                                    VN1645                                
020793,000329: 35,2202           77650                           GOTO                                           
020794,000330: 35,2203           72034                                    P34/P74C                              
020795,000331: 35,2204           13434        130DEG             OCT      13434                                 #  13  DEG - CENTANG
020796,000332: 35,2205           16163                           OCT      16163                                 
020797,000333: 

Page 470

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

Page 471

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

Page 472

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

Page 473

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

Page 474

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

Page 475

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

Page 476

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

Page 477

021150,000686: 35,2557           15336                                    ZEROVECS                              
021151,000687: 35,2560           01023                                    NORMEX                                
021152,000688: 

Page 478

021154,000690:                                                                                                  #  ..... S34/35.1  .....
021155,000691: 
021156,000692:                                                                                                  #  COMPUTE UNIT NORMAL AND LINE OF SIGHT VECTORS GIVEN THE ACTIVE AND
021157,000693:                                                                                                  #  PASSIVE POS AND VEL AT TIME T3
021158,000694: 
021159,000695: 36,2000                                           SETLOC   S3435LOC                              
021160,000696: 36,2000                                           BANK                                           
021161,000697: 
021162,000698: 36,2000                                           COUNT*   $$/P3474                              
021163,000699: 36,2000           52375        S34/35.1           VLOAD    VSU                                   
021164,000700: 36,2001           03554                                    RPASS3                                
021165,000701: 36,2002           03540                                    RACT3                                 
021166,000702: 36,2003           41456                           UNIT     PUSH                                  
021167,000703: 36,2004           26625                           STOVL    ULOS                                  
021168,000704: 36,2005           03540                                    RACT3                                 
021169,000705: 36,2006           53435                           VXV      UNIT                                  
021170,000706: 36,2007           03546                                    VACT3                                 
021171,000707: 36,2010           02617                           STORE    UNRM                                  
021172,000708: 36,2011           77616                           RVQ                                            
021173,000709: 

Page 479

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

Page 480

021227,000763: 35,2633           33156                                    EPSFOUR                               
021228,000764: 35,2634           03540                                    RACT3                                 
021229,000765: 35,2635           27570                           STOVL    RINIT                                 
021230,000766: 35,2636           03546                                    VACT3                                 
021231,000767: 35,2637           37576                           STCALL   VINIT                                 
021232,000768: 35,2640           22000                                    INITVEL                               
021233,000769: 35,2641           77624                           CALL                                           
021234,000770: 35,2642           72721                                    LOMAT                                 
021235,000771: 35,2643           64375                           VLOAD    MXV                                   
021236,000772: 35,2644           03646                                    DELVEET3                              
021237,000773: 35,2645           00001                                    0D                                    
021238,000774: 35,2646           77772                           VSL1                                           
021239,000775: 35,2647           37405                           STCALL   DELVLVC                               
021240,000776: 35,2650           02360                                    SUBEXIT                               
021241,000777: 

Page 481

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

Page 482

021282,000818:                                                                                                  #  ..... S34/35.4  .....
021283,000819: 
021284,000820: 35,2714           40220        S34/35.4           STQ      SETPD                                 #  NO ASTRONAUT OVERWRITE
021285,000821: 35,2715           01023                                    NORMEX                                
021286,000822: 35,2716           00001                                    0D                                    
021287,000823: 35,2717           77650                           GOTO                                           
021288,000824: 35,2720           72676                                    NOVRWRT                               
021289,000825: 

Page 483

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

Page 484

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

Page 485

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

Page 486

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

Page 487

021468,001004:                                                                                                  #  ..... P3XORP7X  .....
021469,001005: 
021470,001006: 35,3137           37677        P3XORP7X           CAF      HIGH9                                 
021471,001007: 35,3140           71214                           MASK     MODREG                                
021472,001008: 35,3141           15651                           TCF      INCRQCK                               
021473,001009:    4000                                           SETLOC   P30SUBS                               
021474,001010:    4000                                           BANK                                           
021475,001011: 
021476,001012:    4532                                           COUNT*   $$/P3474                              
021477,001013: 

Page 488

021479,001015:                                                                                                  #  ..... CONSTANTS .....
021480,001016: 
021481,001017:    4532           01445        V06N37             VN       0637                                  
021482,001018:    4533           01467        V06N55             VN       0655                                  
021483,001019:    4534           01472        V06N58             VN       0658                                  
021484,001020:    4535           01521        V06N81             VN       0681                                  
021485,001021:    4536           04055        V16N45             VN       1645                                  
021486,001022:    4537           01006        V04N06             VN       0406                                  
021487,001023: 
021488,001024: 35,2000                                           SETLOC   CSI/CDH                               
021489,001025: 35,2000                                           BANK                                           
021490,001026: 
021491,001027: 35,3142                                           COUNT*   $$/P3474                              
021492,001028: 35,3142           14441 37325  TWOPI              2DEC     6.283185307 B-4                        
021493,001029: 35,3144           00001 20650  MAX250             2DEC     25         E3                         
021494,001030: 35,3146           12525 12525  THIRD              2DEC     .333333333                            
021495,001031: 35,3150           00004 21505  ELEPS              2DEC     .27777777  E-3                        
021496,001032: 35,3152           00002        DECTWO             DEC      2          B-14                       
021497,001033: 35,3153           77777        DP-.01             OCT      77777                                 #  CONSTANTS
021498,001034: 35,3154           61337                           OCT      61337                                 #  ADJACENT      -.01 FOR MGA DSP
021499,001035: 35,3155           01252 25253  EPSFOUR            2DEC     .0416666666                            
021500,001036: 35,3157           01473        V06N59             VN       0659                                  
021501,001037: 

Page 489

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

Page 490

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

Page 491

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

Page 492

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

Page 493

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

Page 494

021765,001301: 11,2000                                           BANK                                           
021766,001302: 
021767,001303: 11,2221                                           COUNT*   $$/INITV                              
021768,001304: 11,2221           46135        INITVEL8           SLOAD    BHIZ                                  
021769,001305: 11,2222           03747                                    RTX2                                  
021770,001306: 11,2223           22240                                    INITVELX                              
021771,001307: 11,2224           70575                           VLOAD    VSR2                                  
021772,001308: 11,2225           03620                                    VTPRIME                               
021773,001309: 11,2226           27620                           STOVL    VTPRIME                               
021774,001310: 11,2227           03612                                    VIPRIME                               
021775,001311: 11,2230           77742                           VSR2                                           
021776,001312: 11,2231           27612                           STOVL    VIPRIME                               
021777,001313: 11,2232           03604                                    RTARG1                                
021778,001314: 11,2233           77742                           VSR2                                           
021779,001315: 11,2234           27604                           STOVL    RTARG1                                
021780,001316: 11,2235           03646                                    DELVEET3                              
021781,001317: 11,2236           77742                           VSR2                                           
021782,001318: 11,2237           03646                           STORE    DELVEET3                              
021783,001319: 11,2240           77201        INITVELX           SETPD    VLOAD                                 
021784,001320: 11,2241           00001                                    0D                                    
021785,001321: 11,2242           03604                                    RTARG1                                
021786,001322: 11,2243           03415                           STORE    RTARG                                 
021787,001323: 11,2244           77614                           CLRGO                                          
021788,001324: 11,2245           01227                                    XDELVFLG                              
021789,001325: 11,2246           01023                                    NORMEX                                
021790,001326: 
021791,001327:                                                                                                  #  ..... END OF INITVEL ROUTINE .....
021792,001328: 

Page 495

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

Page 496

021839,001375: 04,3217           77160        SELECTMU           AXC,1    AXT,2                                 
021840,001376: 04,3220           00002                                    2D                                    
021841,001377: 04,3221           00000                                    0D                                    
021842,001378: 04,3222           77614                           BOFF                                           
021843,001379: 04,3223           04343                                    CMOONFLG                              
021844,001380: 04,3224           11230                                    SETMUER                               
021845,001381: 04,3225           77160                           AXC,1    AXT,2                                 
021846,001382: 04,3226           00012                                    10D                                   
021847,001383: 04,3227           00002                                    2D                                    
021848,001384: 04,3230           66143        SETMUER            DLOAD*   SXA,1                                 
021849,001385: 04,3231           22305                                    MUTABLE    +4,1                       
021850,001386: 04,3232           03745                                    RTX1                                  
021851,001387: 04,3233           23752                           STODL*   RTSR1/MU                              
021852,001388: 04,3234           22277                                    MUTABLE    -2,1                       
021853,001389: 04,3235           54214                           BOFF     SR                                    
021854,001390: 04,3236           04343                                    CMOONFLG                              
021855,001391: 04,3237           11241                                    RTRNMU                                
021856,001392: 04,3240           20607                                    6D                                    
021857,001393: 04,3241           03750        RTRNMU             STORE    RTMU                                  
021858,001394: 04,3242           43134                           SXA,2    CLEAR                                 
021859,001395: 04,3243           03746                                    RTX2                                  
021860,001396: 04,3244           01271                                    FINALFLG                              
021861,001397: 04,3245           52014                           BON      GOTO                                  
021862,001398: 04,3246           05316                                    PCFLAG                                
021863,001399: 04,3247           45343                                    P36A                                  
021864,001400: 04,3250           73027                                    VN1645                                
021865,001401: 

Page 497

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

Page 498

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

Page 499

021950,001486:                                                                                                  #  SETRAD
021951,001487: 22,3222           41545        SETRAD             DLOAD    PUSH                                  
021952,001488: 22,3223           05173                                    RPAD                                  
021953,001489: 22,3224           63130                           SXA,1    INCR,2                                
021954,001490: 22,3225           00047                                    X2                                    
021955,001491: 22,3226           00002                                    2D                                    
021956,001492: 22,3227           46135                           SLOAD    BHIZ                                  
021957,001493: 22,3230           00050                                    X2                                    
021958,001494: 22,3231           45235                                    SETRADX                               
021959,001495: 22,3232           51575                           VLOAD    ABVAL                                 
021960,001496: 22,3233           02026                                    RLS                                   
021961,001497: 22,3234           77725                           PDDL                                           
021962,001498: 22,3235           43545        SETRADX            DLOAD    RVQ                                   
021963,001499: 

Page 500

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

Page 501

022016,001552: 22,3317           77616                           RVQ                                            
022017,001553: 

Page 502

022019,001555: 
022020,001556:                                                                                                  #  VECSHIFT
022021,001557: 22,3320           53754        VECSHIFT           LXA,2    VSR*                                  
022022,001558: 22,3321           03746                                    RTX2                                  
022023,001559: 22,3322           57176                                    0,2                                   
022024,001560: 22,3323           63350                           LXA,1    PDVL                                  
022025,001561: 22,3324           03745                                    RTX1                                  
022026,001562: 22,3325           63257                           VSR*     PDVL                                  
022027,001563: 22,3326           57176                                    0,2                                   
022028,001564: 22,3327           77616                           RVQ                                            
022029,001565: 

Page 503

022031,001567:                                                                                                  #  SHIFTR1
022032,001568: 22,3330           53754        SHIFTR1            LXA,2    SL*                                   
022033,001569: 22,3331           03746                                    RTX2                                  
022034,001570: 22,3332           57576                                    0,2                                   
022035,001571: 22,3333           77616                           RVQ                                            
022036,001572: 

Page 504

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

Page 505

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

Page 506

022144,001680: 24,2062           50004                                    R36A                                  
022145,001681: 24,2063           01420        V06N16N            VN       0616                                  
022146,001682: 24,2064           77420        VEHOPT             STQ      EXIT                                  #  ALLOW VEHICLE OPTION
022147,001683: 24,2065           00734                                    VEHRET                                
022148,001684: 24,2066           00006                           EXTEND                                         
022149,001685: 24,2067           34770                           DCA      TWO                                   
022150,001686: 24,2070           53256                           DXCH     OPTIONX                               
022151,001687: 24,2071           32102                           CAF      OPTIONVN                              
022152,001688: 24,2072           04636                           TC       BANKCALL                              
022153,001689: 24,2073           20576                           CADR     GOXDSPF                               
022154,001690: 24,2074           05524                           TC       ENDEXT                                
022155,001691: 24,2075           02077                           TC       +2                                    
022156,001692: 24,2076           02071                           TC       -5                                    
022157,001693: 
022158,001694: 24,2077           06006                           TC       INTPRET                               
022159,001695: 24,2100           77650                           GOTO                                           
022160,001696: 24,2101           00734                                    VEHRET                                
022161,001697: 24,2102           01014        OPTIONVN           VN       0412                                  
022162,001698: 24,2103           01540        V06N96             VN       0696                                  
022163,001699: 
022164,001700: 24,2104  30,2000                                  SBANK=   LOWSUPER                              

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