Source Code
These source-code files are part of a reconstructed copy of Luminary 173, the
second (unflown) release of the Apollo 14 Lunar Module (LM) Apollo Guidance
Computer (AGC) software.
The reconstruction began with reconstructed source code for Luminary 178. Changes between revision 173 and 178 were backed out, as described by Luminary memo 167 (revision 1). The reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152N. Note that page numbers in the reconstructed code match those for the baseline log section mentioned in each file's changelog; the page numbers for a real Luminary 173 listing would be different. 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. |
050860,000002: ## Copyright: Public domain.
050861,000003: ## Filename: INTEGRATION_INITIALIZATION.agc
050862,000004: ## Purpose: A section of Luminary revision 173.
050863,000005: ## It is part of the reconstructed source code for the second
050864,000006: ## (unflown) release of the flight software for the Lunar
050865,000007: ## Module's (LM) Apollo Guidance Computer (AGC) for Apollo 14.
050866,000008: ## The code has been recreated from a reconstructed copy of
050867,000009: ## Luminary 178, as well as Luminary memo 167 (revision 1).
050868,000010: ## It has been adapted such that the resulting bugger words
050869,000011: ## exactly match those specified for Luminary 173 in NASA
050870,000012: ## drawing 2021152N, which gives relatively high confidence
050871,000013: ## that the reconstruction is correct.
050872,000014: ## Reference: pp. 1195-1216
050873,000015: ## Assembler: yaYUL
050874,000016: ## Contact: Ron Burkey <info@sandroid.org>.
050875,000017: ## Website: www.ibiblio.org/apollo/index.html
050876,000018: ## Mod history: 2019-09-18 MAS Created from Luminary 178.
050877,000019:
Page 1195 |
050879,000021: # 1.0 INTRODUCTION
050880,000022: # ----------------
050881,000023:
050882,000024: # FROM A USERS POINT OF VIEW, ORBITAL INTEGRATION IS ESSENTIALLY THE SAME AS THE 278 INTEGRATION
050883,000025: # PROGRAM. THE SAME ENTRANCES TO THE PROGRAM WILL BE MAINTAINED, THE SAME STALLING ROUTINE WILL BE USED AND
050884,000026: # OUTPUT WILL STILL BE VIA THE PUSHLIST. THE PRIMARY DIFFERENCES TO A USER INVOLVE THE ADDED CAPABILITY OF
050885,000027: # TERMINATING INTEGRATION AT A SPECIFIC FINAL RADIUS AND THE DIFFERENCE IN STATE VECTOR SCALING INSIDE AND OUT-
050886,000028: # SIDE THE LUNAR SPHERE OF INFLUENCE.
050887,000029:
050888,000030: # IN ORDER TO MAKE THE CSM(LEM)PREC AND CSM(LEM)CONIC ENTRANCES SIMILAR TO FLIGHT 278, THE INTEGRATION PROGRAM
050889,000031: # WILL ITSELF SET THE FINAL RADIUS (RFINAL) TO 0 SO THAT REACHING THE DESIRED TIME ONLY WILL TERMINATE
050890,000032: # INTEGRATION. THE DP REGISTER RFINAL MUST BE SET BY USERS OF INTEGRVS AND INTEGRV, AND MUST BE DONE AFTER THE
050891,000033: # CALL TC INTSTALL.
050892,000034:
050893,000035: # WHEN THE LM IS ON THE LUNAR SURFACE (INDICATED BY LUNAR SURFACE FLAG SET) CALLS TO LEMCONIC, LEMPREC, AND
050894,000036: # INTEGRV WITH VINFLAG = 0 WILL RESULT IN THE USE OF THE PLANETARY INERTIAL ORIENTATION SUBROUTINES TO PROVIDE
050895,000037: # BOTH THE LMS POSITION AND VELOCITY IN THE REFERENCE COORDINATE SYSTEM.
050896,000038: # THE PROGRAM WILL PROVIDE OUTPUT AS IF INTEGRATION WAS USED. THAT IS, THE PUSHLIST WILL BE SET AS NOTED BELOW AND
050897,000039: # THE PERMANENT STATE VECTOR UPDATED WHEN SPECIFIED BY AN INTEGRV CALL.
050898,000040:
050899,000041: # USERS OF INTEGRVS DESIRING INTEGRATION (INTYPFLG = 0) SHOULD NOTE THAT THE OBLATENESS PERTURBATION COMPUTATION
050900,000042: # IN LUNAR ORBIT IS TIME DEPENDENT. THEREFORE, THE USER SHOULD SUPPLY AN INITIAL STATE VECTOR VALID AT SOME REAL
050901,000043: # TIME AND THE DESIRED TIME (TDEC1) ALSO AT SOME REAL TIME. FOR CONIC ,,INTEGRATION,, THE USER MAY STILL USE ZERO
050902,000044: # AS THE INITIAL TIME AND DELTA TIME AS THE DESIRED TIME.
050903,000045:
050904,000046: # 2.0 GENERAL DESCRIPTION
050905,000047: # -----------------------
050906,000048:
050907,000049: # THE INTEGRATION PROGRAM OPERATES AS A CLOSED INTERPRETIVE SUBROUTINE AND PERFORMS THESE FUNCTIONS---
050908,000050: # 1) INTEGRATES (PRECISION OR CONIC) EITHER CSM OR LM STATE VECTOR
050909,000051: # 2) INTEGRATES THE W-MATRIX
050910,000052: # 3) PERMANENT OR TEMPORARY UPDATE OF THE STATE VECTOR
050911,000053:
050912,000054: # THERE ARE SIX ENTRANCES TO THE INTEGRATION PROGRAM. FOUR OF THESE (CSMPREC, LEMPREC, CSMCONIC, LEMCONIC) SET
050913,000055: # ALL THE FLAGS REQUIRED IN THE INTEGRATION PROGRAM ITSELF TO CAUSE THE PRECISION OR CONIC INTEGRATION (KEPLER) OF
050914,000056: # THE LM OR CSM STATE VECTOR, AS THE NAMES SUGGEST. ONE ENTRANCE (INTEGRVS) PERMITS THE CALLING PROGRAM TO
050915,000057: # PROVIDE A STATE VECTOR TO BE INTEGRATED. THE CALLING PROGRAM MUST SET THE FLAGS INDICATING (1) PRECISION OR
050916,000058: # CONIC INTEGRATION, (2) IN OR OUT OF LUNAR SPHERE, (3) MIDCOURSE OR NOT, AND THE INTEGRATION PROGRAM COMPLETES
050917,000059: # THE FLAG SETTING TO BYPASS W-MATRIX INTEGRATION. THE LAST ENTRANCE (INTEGRV, USED IN GENERAL BY THE
050918,000060: # NAVIGATION PROGRAMS) PERMITS THE CALLER TO SET FIVE FLAGS (NOT MOONFLAG OR MIDFLAG) BUT NOT TO INPUT A STATE
050919,000061: # VECTOR. ANY PROGRAM WHICH CALLS INTEGRVS OR INTEGRV MUST CALL INTSTALL BEFORE IT SETS THE INTEGRATION FLAGS
050920,000062: # AND/OR STATE VECTOR.
050921,000063:
050922,000064: # THREE SETS OF 42 REGISTERS AND 2 FLAGS ARE USED FOR THE STATE VECTORS. TWO SETS, WHICH MAY NOT BE OVERLAYED, ARE
050923,000065: # USED FOR THE PERMANENT STATE VECTORS FOR THE CSM AND LM. THE THIRD SET, WHICH MAY BE OVERLAYED WHEN INTEGRATION
050924,000066: # IS NOT BEING DONE, IS USED IN THE COMPUTATIONS.
050925,000067:
050926,000068: # THE PERMANENT STATE VECTORS WILL BE PERIODICALLY UPDATED SO THAT THE VECTORS WILL NOT BE OLDER THAN 4 TIMESTEPS.
050927,000069: # THE PERMANENT STATE VECTORS WILL ALSO BE UPDATED WHENEVER THE W-MATRIX IS INTEGRATED OR WHEN A CALLER OF INTEGRV
050928,000070: # SETS STATEFLG (THE NAVIGATION PROGRAMS P20, P22.)
050929,000071:
Page 1196 |
050931,000073: # APPENDIX B OF THE USERS GUIDE LISTS THE STATE VECTOR QUANTITIES.
050932,000074:
050933,000075: # 2.1 RESTARTS
050934,000076:
050935,000077: # PHASE CHANGES WILL BE MADE IN THE INTEGRATION PROGRAM ONLY FOR THE INTEGRV ENTRANCE (I.E., WHEN THE W-MATRIX IS
050936,000078: # INTEGRATED OR PERMANENT STATE VECTOR IS UPDATED.) THE GROUP NUMBER USED WILL BE THAT FOR THE P20-25 PROGRAMS
050937,000079: # (I.E., GROUP2) SINCE THE INTEGRV ENTRANCE WILL ONLY BE USED BY THESE PROGRAMS. IF A RESTART OCCURS DURING AN
050938,000080: # INTEGRATION OF THE STATE VECTOR ONLY, THE RECOVERY WILL BE TO THE LAST PHASE IN THE CALLING PROGRAM. CALLING
050939,000081: # PROGRAMS WHICH USE THE INTEGRV OR INTEGRVS ENTRANCE OF INTEGRATION SHOULD ENSURE THAT IF PHASE CHANGING IS DONE
050940,000082: # THAT IT IS PRIOR TO SETTING THE INTEGRATION INPUTS IN THE PUSHLIST.
050941,000083: # THIS IS BECAUSE THE PUSHLIST IS LOST DURING A RESTART.
050942,000084:
050943,000085: # 2.2 SCALING
050944,000086:
050945,000087: # THE INTEGRATION ROUTINE WILL MAINTAIN THE PERMANENT MEMORY STATE VECTORS IN THE SCALING AND UNITS DEFINED IN
050946,000088: # APPENDIX B OF THE USERS GUIDE. THE SCALING OF THE OUTPUT POSITION VECTORDEPENDS ON THE ORIGIN OF THE COORDINATE
050947,000089: # SYSTEM AT THE DESIRED INTEGRATION TIME. THE COORDINATE SYSTEM TRANSFORMATION WILL BE DONE AUTOMATICALLY ON
050948,000090: # MULTIPLE TIMESTEP ENCKE INTEGRATION ONLY. THUS IT IS POSSIBLE TO HAVE OUTPUT FROM SUCCESSIVE INTEGRATIONS IN
050949,000091: # DIFFERENT SCALING.
050950,000092: # HOWEVER, RATT, VATT WILL ALWAYS BE SCALED THE SAME.
050951,000093:
050952,000094: # 3.0 INPUT/OUTPUT
050953,000095: # ----------------
050954,000096:
050955,000097: # PROGRAM INPUTS ARE THE FLAGS DESCRIBED IN APPENDIX A AND THE PERMANENT STATE VECTOR QUANTITIES DESCRIBED IN AP-
050956,000098: # PENDIX B OF THE USERS GUIDE, PLUS THE DESIRED TIME TO INTEGRATE TO IN TDEC1 (A PUSH LIST LOCATION).
050957,000099: # FOR INTEGRVS, THE RCV,VCV, TET OF THE TEMPORARY STATE VECTOR MUST BE SET, PLUS MOONFLAG AND MIDFLAG
050958,000100:
050959,000101: # FOR SIMULATION THE FOLLOWING QUANTITIES MUST BE PRESET ---
050960,000102: # EARTH MOON
050961,000103: # 29 27
050962,000104: # RRECTCSM(LEM) - RECTIFIED POSITION VECTOR METERS 2 2
050963,000105:
050964,000106: # 7 5
050965,000107: # VRECTCSM(LEM) - RECTIFIED VELOCITY VECTOR M/CSEC 2 2
050966,000108:
050967,000109: # 28 28
050968,000110: # TETCSM(LEM) - TIME STATE VECTOR IS VALID CSEC 2 2
050969,000111: # CUSTOMARILY 0, BUT NOTE LUNAR
050970,000112: # ORBIT DEPENDENCE ON REAL TIME.
050971,000113:
050972,000114: # 22 18
050973,000115: # DELTAVCSM(LEM) - POSITION DEVIATION METERS 2 2
050974,000116: # 0 IF TCCSM(LEM) = 0
050975,000117:
050976,000118: # 3 -1
050977,000119: # NUVCSM(LEM) - VELOCITY DEVIATION M/CSEC 2 2
050978,000120: # 0 IF TCCSM(LEM) = 0
050979,000121:
Page 1197 |
050981,000123: # 29 27
050982,000124: # RCVCSM(LEM) - CONIC POSITION METERS 2 2
050983,000125: # EQUALS RRECTCSM(LEM) IF
050984,000126: # TCCSM(LEM) = 0
050985,000127:
050986,000128: # 7 5
050987,000129: # VCVCSM(LEM) - CONIC VELOCITY M/CSEC 2 2
050988,000130: # EQUALS VRECTCSM(LEM) IF
050989,000131: # TCCSM(LEM) = 0
050990,000132:
050991,000133: # 28 28
050992,000134: # TCCSM(LEM) - TIME SINCE RECTIFICATION CSECS 2 2
050993,000135: # CUSTOMARILY 0
050994,000136:
050995,000137: # 1/2 17 16
050996,000138: # XKEPCSM(LEM) - ROOT OF KEPLERS EQUATION M 2 2
050997,000139: # 0 IF TCCSM(LEM) = 0
050998,000140:
050999,000141: # CMOONFLG - PERMANENT FLAGS CORRESPONDING 0 0
051000,000142: # CMIDFLAG TO MOONFLAG AND MIDFLAG 0,1 0,1
051001,000143: # LMOONFLG C = CSM, L = LM 0 0
051002,000144: # LMIDFLG 0,1 0,1
051003,000145:
051004,000146: # SURFFLAG - LUNAR SURFACE FLAG 0,1 0,1
051005,000147:
051006,000148: # IN ADDITION, IF (L)CMIDFLAG IS SET, THE INITIAL INPUT VALUES FOR LUNAR
051007,000149: # SOLAR EPHEMERIDES SUBROUTINE AND PLANETARY INERTIAL ORIENTATION SUB-
051008,000150: # ROUTINE MUST BE PRESET.
051009,000151:
051010,000152: # OUTPUT
051011,000153: # AFTER EVERY CALL TO INTEGRATION
051012,000154: # EARTH MOON
051013,000155: # 29 29
051014,000156: # 0D RATT POSITION METERS 2 2
051015,000157: # 7 7
051016,000158: # 6D VATT VELOCITY M/CSEC 2 2
051017,000159: # 28 28
051018,000160: # 12D TAT TIME 2 2
051019,000161: # 29 27
051020,000162: # 14D RATT1 POSITION METERS 2 2
051021,000163: # 7 5
051022,000164: # 20D VATT1 VELOCITY M/CSEC 2 2
051023,000165: # 3 2 36 30
051024,000166: # 26D MU(P) MU M /CS 2 2
051025,000167:
051026,000168: # X1 MUTABLE ENTRY -2 -10D
051027,000169:
051028,000170: # X2 COORDINT
051029,000171: # X2 COORDINATE SYSTEM ORIGEN 0 2
051030,000172: # (THIS, NOT MOONFLAG, SHOULD BE
Page 1198 |
051032,000174: # USED TO DETERMINE ORIGIN.)
051033,000175:
051034,000176: # IN ADDITION TO THE ABOVE, THE PERMANENT STATE VECTOR IS UPDATED WHENEVER
051035,000177: # STATEFLG WAS SET AND WHENEVER A W-MATRIX IS TO BE INTEGRATED. THE PUSH
051036,000178: # COUNTER IS SET TO 0 AND OVERFLOW IS CLEARED BEFORE RETURNING TO THE
051037,000179: # CALLING PROGRAM.
051038,000180:
051039,000181: # 4.0 CALLING SEQUENCES AND SAMPLE CODE
051040,000182: # -------------------------------------
051041,000183:
051042,000184: # A) PRECISION ORBITAL INTEGRATION. CSMPREC,LEMPREC ENTRANCES
051043,000185: # L-X STORE TIME TO 95T5791T5 T 95 PUS L9ST (T4531)
051044,000186: # L CALL
051045,000187: # L+1 CSMPREC (OR LEMPREC)
051046,000188: # L+2 RETURN
051047,000189: # INPUT 28
051048,000190: # TDEC1 (PD 32D) TIME TO INTEGRATE TO...CENTISECONDS SCALED 2
051049,000191: # OUTPUT
051050,000192: # THE DATA LISTED IN SECTION 3.0 PLUS
051051,000193: # RQVV POSITION VECTOR OF VEHICLE WITH RESPECT TO SECONDARY
051052,000194: # BODY... METERS B-29 ONLY IF MIDFLAG = DIM0FLAG = 1
051053,000195: # B) CONIC INTEGRATION. CSMCONIC, LEMCONIC ENTRANCES
051054,000196: # L-X STORE TIME IN PUSH LIST (TDEC1)
051055,000197: # L CALL
051056,000198: # L+1 CSMCONIC (OR LEMCONIC)
051057,000199: # INPUT/OUTPUT
051058,000200: # SAME AS PRECISION INTEGRATION, EXCEPT RQVV NOT SET
051059,000201: # C) INTEGRATE GIVEN STATE VECTOR. INTEGRVS ENTRANCE
051060,000202: # CALL
051061,000203: # INTSTALL
051062,000204: # VLOAD
051063,000205: # POSITION VECTOR
051064,000206: # STOVL RCV
051065,000207: # VELOCITY VECTOR
051066,000208: # STODL VCV
051067,000209: # TIME STATE VECTOR VALID
051068,000210: # STODL TET
051069,000211: # FINAL RADIUS
051070,000212: # STORE RFINAL
051071,000213: # SET(CLEAR) SET(CLEAR)
051072,000214: # INTYPFLAG
051073,000215: # MOONFLAG
051074,000216: # SET(CLEAR) DLOAD
051075,000217: # DESIRED TIME
051076,000218: # STCALL TDEC1
051077,000219: # INTEGRVS
051078,000220: # INPUT
051079,000221: # RCV POSITION VECTOR METERS
051080,000222: # VCV VELOCITY VECTOR M/CSEC
051081,000223: # TET TIME OF STATE VECTOR(MAY = 0) CSEC B-28
Page 1199 |
051083,000225: # TDEC1 TIME TO INTEGRATE TO CSEC B-28 (PD 32D)
051084,000226: # (MAY BE INCREMENT IF TET=0)
051085,000227: # OUTPUT
051086,000228: # SAME AS FOR PRECISION OR CONIC INTEGRATION,
051087,000229: # DEPENDING ON INTYPFLG.
051088,000230: # D) INTEGRATE STATE VECTOR.INTGRV ENTRANCE
051089,000231: # L-X STORE TIME IN PUSH LIST (TDEC1)(MAY BE DONE AFTER CALL TO INTSTALL)
051090,000232: # L-8 CALL
051091,000233: # L-7
051092,000234: # L-6 SET(CLEAR) SET(CLEAR)
051093,000235: # L-5 VINTFLAG 1=CSM, 0=LM
051094,000236: # L-4 INTYPFLAG 1=CONIC, 0=PRECISION
051095,000237: # L-3 SET(CLEAR) SET(CLEAR)
051096,000238: # L-2 DIM0FLAG 1=W-MATRIX, 0=NO W-MATRIX
051097,000239: # L-1 D6OR9FLG 1=9X9, 0=6X6
051098,000240: # L SET DLOAD
051099,000241: # L+1 STATEFLG DESIRE PERMANENT UPDATE
051100,000242: # L+2 FINAL RAD. OF STATE VECTOR
051101,000243: # L+3 STCALL RFINAL
051102,000244: # L+4 INTEGRV
051103,000245: # L CALL NORMAL USE -- WILL UPDATE STATE
051104,000246: # L+1 INTEGRV VECTOR IF DIM0FLAG=1.(STATEFLG IS
051105,000247: # L+2 RETURN ALWAYS RESET IN INTEGRATION AFTER
051106,000248: # IT IS USED.)
051107,000249: # INPUT
051108,000250: # TDEC1 (PD 32D) TIME TO INTEGRATE TO CSEC B-28
051109,000251: # OUTPUT
051110,000252: # SAME AS FOR PRECISION OR CONIC INTEGRATION
051111,000253: # THE PROGRAM WILL SET MOONFLAG, MIDFLAG DEPENDING ON
051112,000254: # THE PERMANENT STATE VECTOR REPRESENTATION.
051113,000255:
051114,000256: 11,2404 BANK 11
051115,000257: 13,2000 SETLOC INTINIT
051116,000258: 13,2000 BANK
051117,000259: 13,2602 E3,1554 EBANK= RRECTCSM
051118,000260: 13,2602 COUNT* $$/INTIN
051119,000261: 13,2602 05364 STATEINT TC PHASCHNG
051120,000262: 13,2603 00052 OCT 00052
051121,000263: 13,2604 35017 CAF PRIO5
051122,000264: 13,2605 05105 TC FINDVAC
051123,000265: 13,2606 E3,1554 EBANK= RRECTCSM
051124,000266: 13,2606 02611 26063 2CADR STATINT1
051125,000267:
051126,000268: 13,2610 05272 TC TASKOVER
051127,000269: 13,2611 06042 STATINT1 TC INTPRET
051128,000270: 13,2612 47014 BON RTB
051129,000271: 13,2613 04712 QUITFLAG # KILL INTEGRATION UNTIL NEXT POO.
051130,000272: 13,2614 26652 NOINT
051131,000273: 13,2615 21574 LOADTIME
051132,000274: 13,2616 00041 STORE TDEC1
051133,000275:
Page 1200 |
051135,000277: 13,2617 77624 CALL
051136,000278: 13,2620 27410 INTSTALL
051137,000279: 13,2621 45014 SET CALL
051138,000280: 13,2622 01076 NODOFLAG
051139,000281: 13,2623 26643 SETIFLGS
051140,000282: 13,2624 52014 SET GOTO
051141,000283: 13,2625 01460 POOHFLAG
051142,000284: 13,2626 26026 STATEUP
051143,000285: 13,2627 00003 25140 600SECS 2DEC 60000 B-28
051144,000286:
051145,000287: 13,2631 77414 ENDINT CLEAR EXIT
051146,000288: 13,2632 01672 STATEFLG
051147,000289: 13,2633 05364 TC PHASCHNG
051148,000290: 13,2634 20032 OCT 20032
051149,000291: 13,2635 00006 EXTEND
051150,000292: 13,2636 32630 DCA 600SECS
051151,000293: 13,2637 05310 TC LONGCALL
051152,000294: 13,2640 E3,1626 EBANK= RRECTHIS
051153,000295: 13,2640 02602 26063 2CADR STATEINT
051154,000296:
051155,000297: 13,2642 05155 TC ENDOFJOB
051156,000298: 13,2643 43014 SETIFLGS SET CLEAR
051157,000299: 13,2644 01472 STATEFLG
051158,000300: 13,2645 01673 INTYPFLG
051159,000301: 13,2646 43014 CLEAR CLEAR
051160,000302: 13,2647 01676 DIM0FLAG
051161,000303: 13,2650 01675 D6OR9FLG
051162,000304: 13,2651 77616 RVQ
051163,000305: 13,2652 77776 NOINT EXIT
051164,000306: 13,2653 05364 TC PHASCHNG
051165,000307: 13,2654 00002 OCT 00002
051166,000308:
051167,000309: 13,2655 05527 TC DOWNFLAG
051168,000310: 13,2656 00221 ADRES QUITFLAG
051169,000311: 13,2657 05155 TC ENDOFJOB
051170,000312:
051171,000313: # ATOPCSM TRANSFERS RRECT TO RRECT +41 TO RRECTCSM TO RRECTCSM +41
051172,000314:
051173,000315: # CALLING SEQUENCE
051174,000316: # L CALL
051175,000317: # L+1 ATOPCSM
051176,000318:
051177,000319: # NORMAL EXIT AT L+2
051178,000320:
051179,000321: 13,2660 47020 ATOPCSM STQ RTB
051180,000322: 13,2661 00051 S2
051181,000323: 13,2662 26673 MOVEACSM
051182,000324: 13,2663 45014 SET CALL
051183,000325: 13,2664 04063 CMOONFLG
051184,000326: 13,2665 26114 SVDWN1
051185,000327:
Page 1201 |
051187,000329: 13,2666 43014 BON CLRGO
051188,000330: 13,2667 00303 MOONFLAG
051189,000331: 13,2670 00051 S2
051190,000332: 13,2671 04223 CMOONFLG
051191,000333: 13,2672 00051 S2
051192,000334: 13,2673 03035 MOVEACSM TC SETBANK
051193,000335: 13,2674 55500 TS DIFEQCNT # INITIALIZE INDEX
051194,000336: 13,2675 51500 INDEX DIFEQCNT
051195,000337: 13,2676 31502 CA RRECT
051196,000338: 13,2677 51500 INDEX DIFEQCNT
051197,000339: 13,2700 55554 TS RRECTCSM
051198,000340: 13,2701 11500 CCS DIFEQCNT # IS TRANSFER COMPLETE
051199,000341: 13,2702 12674 TCF MOVEACSM +1 # NO-LOOP
051200,000342: 13,2703 06064 TC DANZIG # COMPLETE- RETURN
051201,000343:
051202,000344:
051203,000345: # PTOACSM TRANSFERS RRECTCSM TO RRECTCSM +41 TO RRECT TO RRECT +41
051204,000346:
051205,000347: # CALLING SEQUENCE
051206,000348: # L CALL
051207,000349: # PTOACSM
051208,000350:
051209,000351: # NORMAL EXIT AT L+2
051210,000352:
051211,000353: 13,2704 43034 PTOACSM RTB BON
051212,000354: 13,2705 26722 MOVEPCSM
051213,000355: 13,2706 04303 CMOONFLG
051214,000356: 13,2707 26715 SETMOON
051215,000357: 13,2710 66214 CLRMOON CLEAR SSP
051216,000358: 13,2711 00263 MOONFLAG
051217,000359: 13,2712 02031 PBODY
051218,000360: 13,2713 00000 0
051219,000361: 13,2714 77616 RVQ
051220,000362: 13,2715 66214 SETMOON SET SSP
051221,000363: 13,2716 00063 MOONFLAG
051222,000364: 13,2717 02031 PBODY
051223,000365: 13,2720 00002 2
051224,000366: 13,2721 77616 RVQ
051225,000367: 13,2722 03035 MOVEPCSM TC SETBANK
051226,000368: 13,2723 55500 TS DIFEQCNT
051227,000369: 13,2724 51500 INDEX DIFEQCNT
051228,000370: 13,2725 31554 CA RRECTCSM
051229,000371: 13,2726 51500 INDEX DIFEQCNT
051230,000372: 13,2727 55502 TS RRECT
051231,000373: 13,2730 11500 CCS DIFEQCNT
051232,000374: 13,2731 12723 TCF MOVEPCSM +1
051233,000375: 13,2732 06064 TC DANZIG
051234,000376:
051235,000377:
051236,000378: # ATOPLEM TRANSFERS RRECT TO RRECT +41 TO RRECTLEM TO RRECTLEM +41
051237,000379:
Page 1202 |
051239,000381: 13,2733 47020 ATOPLEM STQ RTB
051240,000382: 13,2734 00051 S2
051241,000383: 13,2735 26746 MOVEALEM
051242,000384: 13,2736 45014 SET CALL
051243,000385: 13,2737 04064 LMOONFLG
051244,000386: 13,2740 26070 SVDWN2
051245,000387: 13,2741 43014 BON CLRGO
051246,000388: 13,2742 00303 MOONFLAG
051247,000389: 13,2743 00051 S2
051248,000390: 13,2744 04224 LMOONFLG
051249,000391: 13,2745 00051 S2
051250,000392: 13,2746 03035 MOVEALEM TC SETBANK
051251,000393: 13,2747 55500 TS DIFEQCNT
051252,000394: 13,2750 51500 INDEX DIFEQCNT
051253,000395: 13,2751 31502 CA RRECT
051254,000396: 13,2752 51500 INDEX DIFEQCNT
051255,000397: 13,2753 55626 TS RRECTLEM
051256,000398: 13,2754 11500 CCS DIFEQCNT
051257,000399: 13,2755 12747 TCF MOVEALEM +1
051258,000400: 13,2756 06064 TC DANZIG
051259,000401:
051260,000402:
051261,000403: # PTOALEM TRANSFERS RRECTLEM TO RRECTLEM +41 TO RRECT TO RRECT +41
051262,000404:
051263,000405: 13,2757 47014 PTOALEM BON RTB
051264,000406: 13,2760 04307 SURFFLAG
051265,000407: 13,2761 27000 USEPIOS
051266,000408: 13,2762 26767 MOVEPLEM
051267,000409: 13,2763 52014 BON GOTO
051268,000410: 13,2764 04304 LMOONFLG
051269,000411: 13,2765 26715 SETMOON
051270,000412: 13,2766 26710 CLRMOON
051271,000413: 13,2767 03035 MOVEPLEM TC SETBANK
051272,000414: 13,2770 55500 TS DIFEQCNT
051273,000415: 13,2771 51500 INDEX DIFEQCNT
051274,000416: 13,2772 31626 CA RRECTLEM
051275,000417: 13,2773 51500 INDEX DIFEQCNT
051276,000418: 13,2774 55502 TS RRECT
051277,000419: 13,2775 11500 CCS DIFEQCNT
051278,000420: 13,2776 12770 TCF MOVEPLEM +1
051279,000421: 13,2777 06064 TC DANZIG
051280,000422:
051281,000423:
051282,000424: 13,3000 77201 USEPIOS SETPD VLOAD
051283,000425: 13,3001 00001 0
051284,000426: 13,3002 02021 RLS
051285,000427: 13,3003 41525 PDDL PUSH
051286,000428: 13,3004 00041 TDEC1
051287,000429: 13,3005 15517 STODL TET
051288,000430: 13,3006 27733 5/8
051289,000431:
Page 1203 |
051291,000433: 13,3007 77624 CALL
051292,000434: 13,3010 55720 RP-TO-R
051293,000435: 13,3011 25535 STOVL RCV
051294,000436: 13,3012 24001 ZUNIT
051295,000437: 13,3013 14001 STODL 0D
051296,000438: 13,3014 01517 TET
051297,000439: 13,3015 14007 STODL 6D
051298,000440: 13,3016 27733 5/8
051299,000441: 13,3017 45014 SET CALL # NEEDED FOR SETTING X1 ON EXIT
051300,000442: 13,3020 00063 MOONFLAG
051301,000443: 13,3021 55720 RP-TO-R
051302,000444: 13,3022 74235 VXV VXSC
051303,000445: 13,3023 01535 RCV
051304,000446: 13,3024 26001 OMEGMOON
051305,000447: 13,3025 25543 STOVL VCV
051306,000448: 13,3026 24007 ZEROVEC
051307,000449: 13,3027 01521 STORE TDELTAV
051308,000450: 13,3030 67174 AXT,2 SXA,2
051309,000451: 13,3031 00002 2
051310,000452: 13,3032 02030 PBODY
051311,000453: 13,3033 35527 STCALL TNUV
051312,000454: 13,3034 27156 A-PCHK
051313,000455: 13,3035 33041 SETBANK CAF INTBANK
051314,000456: 13,3036 54006 TS BBANK
051315,000457: 13,3037 33446 CAF FORTYONE
051316,000458: 13,3040 00002 TC Q
051317,000459: 13,3041 E3,1554 EBANK= RRECTCSM
051318,000460: 13,3041 26063 INTBANK BBCON INTEGRV
051319,000461:
051320,000462:
051321,000463: # SPECIAL PURPOSE ENTRIES TO ORBITAL INTEGRATION. THESE ROUTINES PROVIDE ENTRANCES TO INTEGRATION WITH
051322,000464: # APPROPRIATE SWITCHES SET OR CLEARED FOR THE DESIRED INTEGRATION.
051323,000465:
051324,000466: # CSMPREC AND LEMPREC PERFORM ORBIT INTEGRATION BY THE ENCKE METHOD TO THE TIME INDICATED IN TDEC1
051325,000467: # ACCELERATIONS DUE TO OBLATENESS ARE INCLUDED. NO W-MATRIX INT. IS DONE.
051326,000468: # THE PERMANENT STATE VECTOR IS NOT UPDATED.
051327,000469: # CSMCONIC AND LEMCONIC PERFORM ORBIT INTEG. BY KEPLERS METHOD TO THE TIME INDICATED IN TDEC1
051328,000470: # NO DISTURBING ACCELERATIONS ARE INCLUDED. IN THE PROGRAM FLOW THE GIVEN
051329,000471: # STATE VECTOR IS RECTIFIED BEFORE SOLUTION OF KEPLERS EQUATION
051330,000472:
051331,000473: # THE ROUTINES ASSUME THAT THE CSM (LEM) STATE VECTOR IN P-MEM IS VALID.
051332,000474: # SWITCHES SET PRIOR TO ENTRY TO THE MAIN INTEG. PROG ARE AS FOLLOWS
051333,000475: # CSMPREC CSMCONIC LEMPREC LEMCONIC
051334,000476: # VINTFLAG SET SET CLEAR CLEAR
051335,000477: # INTYPFLG CLEAR SET CLEAR SET
051336,000478: # DIM0FLAG CLEAR CLEAR CLEAR CLEAR
051337,000479:
051338,000480:
051339,000481: # CALLING SEQUENCE
051340,000482: # L-X STORE TDEC1
Page 1204 |
051342,000484: # L CALL (STCALL TDEC1)
051343,000485: # L+1 CSMPREC (CSMCONIC, LEMPREC, LEMCONIC)
051344,000486:
051345,000487: # NORMAL EXIT TO L+2
051346,000488:
051347,000489:
051348,000490: # SUBROUTINES CALLED
051349,000491: # INTEGRV1
051350,000492: # PRECOUT FOR CSMPREC AND LEMPREC
051351,000493: # CONICOUT FOR CSMCONIC AND LEMCONIC
051352,000494:
051353,000495:
051354,000496: # OUTPUT - SEE PAGE 2 OF THIS LOG SECTION
051355,000497: # INPUT
051356,000498: # TDEC1 TIME TO INTEGRATE TO . CSECS B-28
051357,000499: 13,3042 45020 CSMPREC STQ CALL
051358,000500: 13,3043 00046 X1
051359,000501: 13,3044 27410 INTSTALL
051360,000502: 13,3045 43130 SXA,1 SET
051361,000503: 13,3046 02102 IRETURN
051362,000504: 13,3047 01474 VINTFLAG
051363,000505:
051364,000506: 13,3050 43014 IFLAGP SET CLEAR
051365,000507: 13,3051 01467 PRECIFLG
051366,000508: 13,3052 01676 DIM0FLAG
051367,000509: 13,3053 77614 CLRGO
051368,000510: 13,3054 01633 INTYPFLG
051369,000511: 13,3055 27135 INTEGRV1
051370,000512: 13,3056 45020 LEMPREC STQ CALL
051371,000513: 13,3057 00046 X1
051372,000514: 13,3060 27410 INTSTALL
051373,000515: 13,3061 43130 SXA,1 CLRGO
051374,000516: 13,3062 02102 IRETURN
051375,000517: 13,3063 01634 VINTFLAG
051376,000518: 13,3064 27050 IFLAGP
051377,000519:
051378,000520: 13,3065 45020 CSMCONIC STQ CALL
051379,000521: 13,3066 00046 X1
051380,000522: 13,3067 27410 INTSTALL
051381,000523: 13,3070 43130 SXA,1 SET
051382,000524: 13,3071 02102 IRETURN
051383,000525: 13,3072 01474 VINTFLAG
051384,000526: 13,3073 43014 IFLAGC CLEAR SETGO
051385,000527: 13,3074 01676 DIM0FLAG
051386,000528: 13,3075 01433 INTYPFLG
051387,000529: 13,3076 27135 INTEGRV1
051388,000530: 13,3077 45020 LEMCONIC STQ CALL
051389,000531: 13,3100 00046 X1
051390,000532: 13,3101 27410 INTSTALL
051391,000533: 13,3102 43130 SXA,1 CLRGO
Page 1205 |
051393,000535: 13,3103 02102 IRETURN
051394,000536: 13,3104 01634 VINTFLAG
051395,000537: 13,3105 27073 IFLAGC
051396,000538:
051397,000539: 13,3106 66214 INTEGRVS SET SSP
051398,000540: 13,3107 01467 PRECIFLG
051399,000541: 13,3110 02031 PBODY
051400,000542: 13,3111 00000 0
051401,000543: 13,3112 66214 BOF SSP
051402,000544: 13,3113 00343 MOONFLAG
051403,000545: 13,3114 27117 +3
051404,000546: 13,3115 02031 PBODY
051405,000547: 13,3116 00002 2
051406,000548: 13,3117 77220 STQ VLOAD
051407,000549: 13,3120 02102 IRETURN
051408,000550: 13,3121 24007 ZEROVEC
051409,000551: 13,3122 01521 STORE TDELTAV
051410,000552: 13,3123 35527 STCALL TNUV
051411,000553: 13,3124 27671 RECTIFY
051412,000554: 13,3125 43014 CLEAR SET
051413,000555: 13,3126 01676 DIM0FLAG
051414,000556: 13,3127 04062 NEWIFLG
051415,000557: 13,3130 77614 SETGO
051416,000558: 13,3131 04020 RPQFLAG
051417,000559: 13,3132 27147 ALOADED
051418,000560: # INTEGRV IS AN ENTRY TO ORBIT INTEGRATION WHICH PERMITS THE CALLER ,
051419,000561: # NORMALLY THE NAVIGATION PROGRAM ,TO SET THE INTEG. FLAGS. THE ROUTINE
051420,000562: # IS ENTERED AT INTEGRV1 BY CSMPREC ET.AL. AND AT ALOADED BY INTEGRVS.
051421,000563: # THE ROUTINE SETS UP A-MEMORY IF ENTERED AT INTEGRV,1 AND SETS THE INTEG.
051422,000564: # PROGRAM FOR PRECISION OR CONIC
051423,000565:
051424,000566: # THE CALLER MUST FIRST CALL INTSTALL TO CHECK IF INTEG. IS IN USE BEFORE
051425,000567: # SETTING ANY FLAGS.
051426,000568: # THE FLAGS WHICH SHOULD BE SET OR CLEARED ARE
051427,000569: # VINTFLAG (IGNORED WHEN ENTERED FROM INTEGRVS)
051428,000570: # INTYPFLG
051429,000571: # DIM0FLAG
051430,000572: # D6OR9FLG
051431,000573: # CALLING SEQUENCE
051432,000574: # L-X CALL
051433,000575: # L-Y INTSTALL
051434,000576: # L-1 SET OR CLEAR ALL FOUR FLAGS. ALSO CAN SET STATEFLG IF DESIRED
051435,000577: # AND DIM0FLAG IS CLEAR.
051436,000578: # L CALL
051437,000579: # L+1 INTEGRV
051438,000580: # INITIALIZATION
051439,000581: # FLAGS AS ABOVE
051440,000582: # STORE TIME TO INTEGRATE TO IN TDEC1
051441,000583: # OUTPUT
051442,000584: # RATT AS
Page 1206 |
051444,000586: # VATT DEFINED
051445,000587: # TAT BEFORE
051446,000588:
051447,000589:
051448,000590: 13,3133 77620 INTEGRV STQ
051449,000591: 13,3134 02102 IRETURN
051450,000592: 13,3135 43014 INTEGRV1 SET SET
051451,000593: 13,3136 04060 RPQFLAG
051452,000594: 13,3137 04062 NEWIFLG
051453,000595: 13,3140 77731 INTEGRV2 SSP
051454,000596: 13,3141 00053 QPRET
051455,000597: 13,3142 27147 ALOADED
051456,000598: 13,3143 52014 BON GOTO
051457,000599: 13,3144 01714 VINTFLAG
051458,000600: 13,3145 26704 PTOACSM
051459,000601: 13,3146 26757 PTOALEM
051460,000602: 13,3147 77745 ALOADED DLOAD
051461,000603: 13,3150 00041 TDEC1
051462,000604: 13,3151 01115 STORE TDEC
051463,000605: 13,3152 52014 BOFF GOTO
051464,000606: 13,3153 01753 INTYPFLG
051465,000607: 13,3154 27256 TESTLOOP
051466,000608: 13,3155 27242 RVCON
051467,000609: 13,3156 77414 A-PCHK BOF EXIT
051468,000610: 13,3157 01752 STATEFLG
051469,000611: 13,3160 27177 RECTOUT
051470,000612: 13,3161 05364 TC PHASCHNG
051471,000613: 13,3162 04022 OCT 04022
051472,000614: 13,3163 05515 TC UPFLAG # PHASE CHANGE HAS OCCURRED BETWEEN
051473,000615: 13,3164 00236 ADRES REINTFLG # INTSTALL AND INTWAKE
051474,000616: 13,3165 06042 TC INTPRET
051475,000617: 13,3166 77731 SSP
051476,000618: 13,3167 00053 QPRET
051477,000619: 13,3170 27175 PHEXIT
051478,000620: 13,3171 52014 BON GOTO
051479,000621: 13,3172 01714 VINTFLAG
051480,000622: 13,3173 26660 ATOPCSM
051481,000623: 13,3174 26733 ATOPLEM
051482,000624: 13,3175 77624 PHEXIT CALL
051483,000625: 13,3176 11216 GRP2PC
051484,000626: 13,3177 45001 RECTOUT SETPD CALL
051485,000627: 13,3200 00001 0
051486,000628: 13,3201 27671 RECTIFY
051487,000629: 13,3202 53775 VLOAD VSL*
051488,000630: 13,3203 01503 RRECT
051489,000631: 13,3204 57576 0,2
051490,000632: 13,3205 53715 PDVL VSL* # RATT TO PD0
051491,000633: 13,3206 01511 VRECT
051492,000634: 13,3207 57576 0,2
051493,000635: 13,3210 63325 PDDL PDVL # VATT TO PD6 TAT TO PD12
Page 1207 |
051495,000637: 13,3211 01517 TET
051496,000638: 13,3212 01503 RRECT
051497,000639: 13,3213 64715 PDVL PDDL*
051498,000640: 13,3214 01511 VRECT
051499,000641: 13,3215 51770 MUEARTH,2
051500,000642: 13,3216 76006 PUSH AXT,1
051501,000643: 13,3217 77765 DEC -10 B-14
051502,000644: 13,3220 76014 BON AXT,1
051503,000645: 13,3221 00303 MOONFLAG
051504,000646: 13,3222 27224 +2
051505,000647: 13,3223 77775 DEC -2 B-14
051506,000648: 13,3224 40001 INTEXIT SETPD BOV
051507,000649: 13,3225 00001 0
051508,000650: 13,3226 27227 +1
051509,000651: 13,3227 43014 CLEAR CLEAR
051510,000652: 13,3230 04676 AVEMIDSW # ALLOW UPDATE OF DOWNLINK STATE VECTOR
051511,000653: 13,3231 01667 PRECIFLG
051512,000654: 13,3232 77614 CLEAR
051513,000655: 13,3233 01672 STATEFLG
051514,000656: 13,3234 77535 SLOAD EXIT
051515,000657: 13,3235 02103 IRETURN
051516,000658: 13,3236 30154 CA MPAC
051517,000659: 13,3237 50120 INDEX FIXLOC
051518,000660: 13,3240 54052 TS QPRET
051519,000661: 13,3241 03421 TC INTWAKE
051520,000662: # RVCON SETS UP ORBIT INTEGRATION TO DO A CONIC SOLUTION FOR POSITION AND
051521,000663: # VELOCITY FOR THE INTERVAL (TET-TDEC)
051522,000664:
051523,000665: 13,3242 45345 RVCON DLOAD DSU
051524,000666: 13,3243 01115 TDEC
051525,000667: 13,3244 01517 TET
051526,000668: 13,3245 36074 STCALL TAU.
051527,000669: 13,3246 27671 RECTIFY
051528,000670: 13,3247 77624 CALL
051529,000671: 13,3250 22404 KEPPREP
051530,000672: 13,3251 43345 DLOAD DAD
051531,000673: 13,3252 01551 TC
051532,000674: 13,3253 01517 TET
051533,000675: 13,3254 35517 STCALL TET
051534,000676: 13,3255 27177 RECTOUT
051535,000677:
Page 1208 |
051537,000679: # TESTLOOP
051538,000680:
051539,000681: 13,3256 43014 TESTLOOP BOF CLRGO
051540,000682: 13,3257 04752 QUITFLAG
051541,000683: 13,3260 27263 +3
051542,000684: 13,3261 01632 STATEFLG
051543,000685: 13,3262 27224 INTEXIT # STOP INTEGRATION
051544,000686: 13,3263 73001 +3 SETPD LXA,2
051545,000687: 13,3264 00013 10D
051546,000688: 13,3265 02030 PBODY
051547,000689: 13,3266 51575 VLOAD ABVAL
051548,000690: 13,3267 01535 RCV
051549,000691: 13,3270 43006 PUSH CLEAR # RC TO 10D
051550,000692: 13,3271 00262 MIDFLAG
051551,000693: 13,3272 50023 DSU* BMN # MIDFLAG=0 IF R G.T. RMP
051552,000694: 13,3273 53755 RME,2
051553,000695: 13,3274 27277 +3
051554,000696: 13,3275 77614 SET
051555,000697: 13,3276 00062 MIDFLAG
051556,000698: 13,3277 41345 NORFINAL DLOAD DMP
051557,000699: 13,3300 00013 10D
051558,000700: 13,3301 00043 34D
051559,000701: 13,3302 55762 SR1R DDV*
051560,000702: 13,3303 51770 MUEARTH,2
051561,000703: 13,3304 41366 SQRT DMP
051562,000704: 13,3305 25762 .3D
051563,000705: 13,3306 40442 SR3 SR4 # DT IS TRUNCATED TO A MULTIPLE
051564,000706: 13,3307 54345 DLOAD SL
051565,000707: 13,3310 00155 MPAC
051566,000708: 13,3311 20220 15D # OF 128 CSECS.
051567,000709: 13,3312 40006 PUSH BOV
051568,000710: 13,3313 27340 MAXDT
051569,000711: 13,3314 50021 BDSU BMN
051570,000712: 13,3315 27407 DT/2MAX
051571,000713: 13,3316 27340 MAXDT
051572,000714: 13,3317 45345 DT/2COMP DLOAD DSU
051573,000715: 13,3320 01115 TDEC
051574,000716: 13,3321 01517 TET
051575,000717: 13,3322 54234 RTB SL
051576,000718: 13,3323 21613 SGNAGREE
051577,000719: 13,3324 20211 8D
051578,000720: 13,3325 02076 STORE DT/2 # B-19
051579,000721: 13,3326 51400 BOV ABS
051580,000722: 13,3327 27344 GETMAXDT
051581,000723: 13,3330 50025 DSU BMN # IS TIME TO INTEG. TO GR THAN MAXTIME
051582,000724: 13,3331 00015 12D
051583,000725: 13,3332 27350 P00HCHK
051584,000726: 13,3333 75345 USEMAXDT DLOAD SIGN
051585,000727: 13,3334 00015 12D
051586,000728: 13,3335 02076 DT/2
Page 1209 |
051588,000730: 13,3336 36076 STCALL DT/2
051589,000731: 13,3337 27350 P00HCHK
051590,000732: 13,3340 65345 MAXDT DLOAD PDDL # EXCHANGE DT/2MAX WITH COMPUTED MAX.
051591,000733: 13,3341 27407 DT/2MAX
051592,000734: 13,3342 77650 GOTO
051593,000735: 13,3343 27317 DT/2COMP
051594,000736: 13,3344 77634 GETMAXDT RTB
051595,000737: 13,3345 21713 SIGNMPAC
051596,000738: 13,3346 36076 STCALL DT/2
051597,000739: 13,3347 27333 USEMAXDT
051598,000740: 13,3350 51545 P00HCHK DLOAD ABS
051599,000741: 13,3351 02076 DT/2
051600,000742: 13,3352 50025 DSU BMN
051601,000743: 13,3353 27405 DT/2MIN
051602,000744: 13,3354 27156 A-PCHK
051603,000745: 13,3355 43014 BOFF BON # NO BACKWARDS INTEGRATION
051604,000746: 13,3356 01740 POOHFLAG # WHEN IN POO
051605,000747: 13,3357 23311 TIMESTEP
051606,000748: 13,3360 01707 PRECIFLG
051607,000749: 13,3361 23311 TIMESTEP
051608,000750: 13,3362 45345 DLOAD DSU
051609,000751: 13,3363 02076 DT/2
051610,000752: 13,3364 00015 12D
051611,000753: 13,3365 43040 BMN BOFCLR
051612,000754: 13,3366 27156 A-PCHK
051613,000755: 13,3367 04242 NEWIFLG
051614,000756: 13,3370 23311 TIMESTEP
051615,000757: 13,3371 45345 DLOAD DSU
051616,000758: 13,3372 01115 TDEC
051617,000759: 13,3373 01517 TET
051618,000760: 13,3374 77640 BMN # NO BACKWARD INTEGRATION
051619,000761: 13,3375 27224 INTEXIT
051620,000762: 13,3376 40525 PDDL SR4
051621,000763: 13,3377 02076 DT/2 # IS 4(DT) LS(TDEC - TET)
051622,000764: 13,3400 44322 SR2R BDSU # NO
051623,000765: 13,3401 52040 BMN GOTO
051624,000766: 13,3402 27224 INTEXIT
051625,000767: 13,3403 23311 TIMESTEP
051626,000768: 13,3404 00000 01400 DT/2MIN 2DEC 3 B-20
051627,000769:
051628,000770: 13,3406 14152 00000 DT/2MAX 2DEC 4000 E2 B-20
051629,000771:
051630,000772: 13,3410 77776 INTSTALL EXIT
051631,000773: 13,3411 30106 CA RASFLAG
051632,000774: 13,3412 73462 MASK INTBITAB # IS THIS STALL AREA FREE
051633,000775: 13,3413 00006 EXTEND
051634,000776: 13,3414 13454 BZF OKTOGRAB # YES
051635,000777: 13,3415 33461 CAF WAKESTAL
051636,000778: 13,3416 05133 TC JOBSLEEP
051637,000779: 13,3417 77776 INTWAKE0 EXIT
Page 1210 |
051639,000781: 13,3420 13441 TCF INTWAKE1
051640,000782:
051641,000783: 13,3421 40106 INTWAKE CS RASFLAG # IS THIS INTSTALLED ROUTINE TO BE
051642,000784: 13,3422 74745 MASK REINTBIT # RESTARTED
051643,000785: 13,3423 10000 CCS A
051644,000786: 13,3424 03441 TC INTWAKE1 # NO
051645,000787:
051646,000788: 13,3425 50120 INDEX FIXLOC
051647,000789: 13,3426 30052 CA QPRET
051648,000790: 13,3427 55054 TS TBASE2 # YES, DONT RESTART WITH SOMEONE ELSES Q
051649,000791:
051650,000792: 13,3430 05364 TC PHASCHNG
051651,000793: 13,3431 04022 OCT 04022
051652,000794:
051653,000795: 13,3432 31054 CA TBASE2
051654,000796: 13,3433 50120 INDEX FIXLOC
051655,000797: 13,3434 54052 TS QPRET
051656,000798:
051657,000799: 13,3435 34745 CAF REINTBIT
051658,000800: 13,3436 70106 MASK RASFLAG
051659,000801: 13,3437 00006 EXTEND
051660,000802: 13,3440 13457 BZF GOBAC # DONT INTWAKE IF WE CAME HERE VIA RESTART
051661,000803:
051662,000804: 13,3441 33461 INTWAKE1 CAF WAKESTAL
051663,000805: 13,3442 00004 INHINT
051664,000806: 13,3443 05137 TC JOBWAKE
051665,000807: 13,3444 10064 CCS LOCCTR
051666,000808: 13,3445 13441 TCF INTWAKE1
051667,000809: 13,3446 00051 FORTYONE DEC 41 B-14
051668,000810: 13,3447 43462 CS INTBITAB
051669,000811: 13,3450 70106 MASK RASFLAG
051670,000812: 13,3451 54106 TS RASFLAG # RELEASE STALL AREA
051671,000813: 13,3452 00003 RELINT
051672,000814: 13,3453 13457 TCF GOBAC
051673,000815: 13,3454 34736 OKTOGRAB CAF INTFLBIT
051674,000816: 13,3455 00004 INHINT
051675,000817: 13,3456 26106 ADS RASFLAG
051676,000818: 13,3457 06042 GOBAC TC INTPRET
051677,000819: 13,3460 77616 RVQ
051678,000820: 13,3461 27411 WAKESTAL CADR INTSTALL +1
051679,000821: 13,3462 20100 INTBITAB OCT 20100
051680,000822:
Page 1211 |
051682,000824: # AVETOMID
051683,000825:
051684,000826: # THIS ROUTINE PERFORMS THE TRANSITION FROM A THRUSTING PHASE TO THE COAST
051685,000827: # PHASE BY INITIALIZING THIS VEHICLES PERMANENT STATE VECTOR WITH THE
051686,000828: # VALUES LEFT BY THE AVERAGEG ROUTINE IN RN,VN,PIPTIME.
051687,000829:
051688,000830: # BEFORE THIS IS DONE THE W-MATRIX, IF ITS VALID (ORWFLAG OR RENDWFLG IS
051689,000831: # SET) IS INTEGRATED FORWARD TO PIPTIME WITH THE PRE-THRUST STATE VECTOR.
051690,000832:
051691,000833: # IN ADDITION, THE OTHER VEHICLE IS INTEGRATED (PERMANENT) TO PIPTIME.
051692,000834:
051693,000835: # FINALLY TRKMKCNT IS ZEROED
051694,000836:
051695,000837:
051696,000838: 13,2000 SETLOC INTINIT
051697,000839: 13,2000 BANK
051698,000840:
051699,000841: 13,3463 COUNT* $$/INTIN
051700,000842: 13,3463 43020 AVETOMID STQ BON
051701,000843: 13,3464 02772 EGRESS
051702,000844: 13,3465 02716 RENDWFLG
051703,000845: 13,3466 27532 INT/W # W-MATRIX VALID ,GO INTEGRATE IT
051704,000846: 13,3467 77614 BON
051705,000847: 13,3470 01711 ORBWFLAG
051706,000848: 13,3471 27532 INT/W # W-MATRIX VALID ,GO INTEGRATE IT
051707,000849:
051708,000850: 13,3472 45145 OTHERS DLOAD CALL # GET SET FOR OTHER VEHICLE INTEGRATION
051709,000851: 13,3473 01234 PIPTIME # DESIRED TIME
051710,000852: 13,3474 27410 INTSTALL
051711,000853: 13,3475 45014 SET CALL
051712,000854: 13,3476 01474 VINTFLAG # CM
051713,000855: 13,3477 26643 SETIFLGS # SETS UP NONE W-MAT. PERMANENT INTEG.
051714,000856: 13,3500 34041 STCALL TDEC1
051715,000857: 13,3501 27133 INTEGRV
051716,000858:
051717,000859: 13,3502 45174 AXT,2 CALL # NOW MOVE PROPERLY SCALE RN,UN AS WELL AS
051718,000860: 13,3503 00002 2 # PIPTIME TO INTEGRATION ERASABLES.
051719,000861: 13,3504 27410 INTSTALL
051720,000862: 13,3505 77014 BON AXT,2
051721,000863: 13,3506 04304 MOONTHIS
051722,000864: 13,3507 27511 +2
051723,000865: 13,3510 00000 0
051724,000866: 13,3511 53775 VLOAD VSR*
051725,000867: 13,3512 01220 RN
051726,000868: 13,3513 57176 0,2
051727,000869: 13,3514 01503 STORE RRECT
051728,000870: 13,3515 15535 STODL RCV
051729,000871: 13,3516 01234 PIPTIME
051730,000872: 13,3517 25517 STOVL TET
051731,000873: 13,3520 01226 VN
Page 1212 |
051733,000875: 13,3521 45057 VSR* CALL
051734,000876: 13,3522 57176 0,2
051735,000877: 13,3523 27705 MINIRECT # FINISH SETTING UP STATE VECTOR
051736,000878: 13,3524 66234 RTB SSP
051737,000879: 13,3525 26746 MOVATHIS # PUT TEMP STATE VECTOR INTO PERMANENT
051738,000880: 13,3526 03463 TRKMKCNT
051739,000881: 13,3527 00000 0
051740,000882: 13,3530 77650 GOTO
051741,000883: 13,3531 47224 FAZAB5
051742,000884:
051743,000885: 13,3532 45145 INT/W DLOAD CALL
051744,000886: 13,3533 01234 PIPTIME # INTEGRATE W THRU BURN
051745,000887: 13,3534 27410 INTSTALL
051746,000888: 13,3535 43014 SET SET
051747,000889: 13,3536 01476 DIM0FLAG # DO W-MATRIX
051748,000890: 13,3537 04476 AVEMIDSW # SO WONT CLOBBER RN,VN,PIPTIME
051749,000891: 13,3540 43014 SET CLEAR
051750,000892: 13,3541 01475 D6OR9FLG # 9X9 FOR LM
051751,000893: 13,3542 01674 VINTFLAG # LM
051752,000894: 13,3543 34041 STCALL TDEC1
051753,000895: 13,3544 27133 INTEGRV
051754,000896: 13,3545 77650 GOTO
051755,000897: 13,3546 27472 OTHERS # NOW GO DO THE OTHER VEHICLE
051756,000898:
Page 1213 |
051758,000900: # MIDTOAV1
051759,000901:
051760,000902: # THIS ROUTINE INTEGRATES (PRECISION) TO THE TIME SPECIFIED IN TDEC1.
051761,000903: # IF, AT THE END OF AN INTEGRATION TIME STEP, CURRENT TIME PLUS A DELTA
051762,000904: # TIME (SEE TIMEDELT.....BASED ON THE COMPUTATUON TIME FOR ONE TIME STEP)
051763,000905: # IS GREATER THAN THE DESIRED TIME, ALARM 1703 IS SET AND THE INTEGRATION
051764,000906: # IS DONE TO THE CURRENT TIME.
051765,000907: # RETURN IS IN BASIC TO THE RETURN ADDRESS PLUS ONE.
051766,000908:
051767,000909: # IF THE INTEGRATION IS FINISHED TO THE DESIRED TIME, RETURN IS IN BASIC
051768,000910: # TO THE RETURN ADDRESS
051769,000911:
051770,000912: # IN EITHER CASE , BEFORE RETURNING, THE EXTRAPOLATED STATE VECTOR IS TRAN
051771,000913: # FERRED FROM R,VATT TO R,VN1-PIPTIME1 IS SET TO THE FINISHING INTEGRA-
051772,000914: # TION TIME AND MPAC IS SET TO THE DELTA TIME---
051773,000915: # TAT MINUS CURRENT TIME.
051774,000916:
051775,000917:
051776,000918: # MIDTOAV2
051777,000919:
051778,000920: # THIS ROUTINE INTEGRATES THIS VEHICLES STATE VECTOR TO THE CURRENT TIME.
051779,000921: # NO INPUTS ARE REQUIRED OF THE CALLER. RETURN IS IN BASIC TO THE RETURN
051780,000922: # ADDRESS WITH THE ABOVE TRANSFERS TO R,VN1-PIPTIME1-AND MPAC DONE
051781,000923:
051782,000924: 13,3547 E7,1744 EBANK= IRETURN1
051783,000925: 13,3547 43020 MIDTOAV2 STQ CLRGO # INTEGRATE TO PRESENT TIME PLUS TIMEDELT
051784,000926: 13,3550 03744 IRETURN1
051785,000927: 13,3551 04634 MID1FLAG
051786,000928: 13,3552 27566 ENTMID2
051787,000929:
051788,000930: 13,3553 43020 MIDTOAV1 STQ SET # INTEGRATE TO TDEC1
051789,000931: 13,3554 03744 IRETURN1
051790,000932: 13,3555 04474 MID1FLAG
051791,000933: 13,3556 43234 RTB DAD # INITIAL CHECK, IS TDEC1 IN THE FUTURE
051792,000934: 13,3557 21574 LOADTIME
051793,000935: 13,3560 27670 TIMEDELT
051794,000936: 13,3561 51021 BDSU BPL
051795,000937: 13,3562 00041 TDEC1
051796,000938: 13,3563 27572 ENTMID1 # Y5S
051797,000939: 13,3564 77624 CALL
051798,000940: 13,3565 27656 NOTIME # NO, SET ALARM, SWITCH TO MIDTOAV2
051799,000941:
051800,000942: 13,3566 43234 ENTMID2 RTB DAD
051801,000943: 13,3567 21574 LOADTIME
051802,000944: 13,3570 27670 TIMEDELT
051803,000945: 13,3571 00041 STORE TDEC1
051804,000946:
051805,000947: 13,3572 77624 ENTMID1 CALL
051806,000948: 13,3573 27410 INTSTALL
051807,000949: 13,3574 45014 CLEAR CALL
Page 1214 |
051809,000951: 13,3575 01676 DIM0FLAG # NO W-MATRIX
051810,000952: 13,3576 26066 THISVINT
051811,000953: 13,3577 43014 CLEAR SET
051812,000954: 13,3600 01673 INTYPFLG
051813,000955: 13,3601 04475 MIDAVFLG # LET INTEG. KNOW THE CALL IS FOR MIDTOAV.
051814,000956: 13,3602 77624 CALL
051815,000957: 13,3603 27133 INTEGRV # GO INTEGRATE
051816,000958: 13,3604 77214 CLEAR VLOAD
051817,000959: 13,3605 04675 MIDAVFLG
051818,000960: 13,3606 00001 RATT
051819,000961: 13,3607 27545 STOVL RN1
051820,000962: 13,3610 00007 VATT
051821,000963: 13,3611 17553 STODL VN1
051822,000964: 13,3612 00015 TAT
051823,000965: 13,3613 03561 STORE PIPTIME1
051824,000966: 13,3614 66134 SXA,2 SXA,1
051825,000967: 13,3615 02777 RTX2
051826,000968: 13,3616 02776 RTX1
051827,000969: 13,3617 77776 EXIT
051828,000970:
051829,000971: 13,3620 00004 INHINT
051830,000972: 13,3621 00006 EXTEND
051831,000973: 13,3622 40025 DCS TIME2
051832,000974: 13,3623 20155 DAS MPAC
051833,000975: 13,3624 07262 TC TPAGREE
051834,000976:
051835,000977: 13,3625 31744 CA IRETURN1
051836,000978: 13,3626 04640 TC BANKJUMP
051837,000979: 13,3627 47014 CKMID2 BOF RTB
051838,000980: 13,3630 04754 MID1FLAG
051839,000981: 13,3631 27646 MID2
051840,000982: 13,3632 21574 LOADTIME
051841,000983: 13,3633 44215 DAD BDSU
051842,000984: 13,3634 27670 TIMEDELT
051843,000985: 13,3635 01115 TDEC
051844,000986: 13,3636 45044 BPL CALL
051845,000987: 13,3637 27256 TESTLOOP # YES
051846,000988: 13,3640 27656 NOTIME
051847,000989:
051848,000990: 13,3641 43234 TIMEINC RTB DAD
051849,000991: 13,3642 21574 LOADTIME
051850,000992: 13,3643 27670 TIMEDELT
051851,000993: 13,3644 35115 STCALL TDEC
051852,000994: 13,3645 27256 TESTLOOP
051853,000995:
051854,000996: 13,3646 45345 MID2 DLOAD DSU
051855,000997: 13,3647 01115 TDEC
051856,000998: 13,3650 01517 TET
051857,000999: 13,3651 45246 ABS DSU
051858,001000: 13,3652 27666 3CSECS
Page 1215 |
051860,001002: 13,3653 52040 BMN GOTO
051861,001003: 13,3654 27156 A-PCHK
051862,001004: 13,3655 27641 TIMEINC
051863,001005:
051864,001006: 13,3656 77414 NOTIME CLEAR EXIT # TOO LATE
051865,001007: 13,3657 04674 MID1FLAG
051866,001008: 13,3660 25744 INCR IRETURN1 # SET ERROR EXIT (CALLOC +2)
051867,001009: 13,3661 05600 TC ALARM # INSUFFICIENT TIME FOR INTEGRATION --
051868,001010: 13,3662 01703 OCT 1703 # TIG WILL BE SLIPPED...
051869,001011: 13,3663 06042 TC INTPRET
051870,001012: 13,3664 77616 RVQ
051871,001013:
051872,001014: 13,3665 00000 00003 3CSECS 2DEC 3 B-28
051873,001015:
051874,001016: 13,3667 00000 03720 TIMEDELT 2DEC 2000 B-28
051875,001017:
051876,001018: 27,3357 BANK 27
051877,001019: 04,2000 SETLOC UPDATE2
051878,001020: 04,2000 BANK
051879,001021: 04,3137 E3,1706 EBANK= TEPHEM
051880,001022: 04,3137 COUNT* $$/INTIN
051881,001023:
051882,001024: 04,3137 06042 INTWAKEU TC INTPRET
051883,001025:
051884,001026: 04,3140 53135 SLOAD BZE # IS THIS A CSM/LEM STATE VECTOR UPDATE
051885,001027: 04,3141 01502 UPSVFLAG # REQUEST. IF NOT GO TO INTWAKUP.
051886,001028: 04,3142 11206 INTWAKUP
051887,001029:
051888,001030: 04,3143 77775 VLOAD # MOVE RRECT(6) AND VRECT(6) INTO
051889,001031: 04,3144 01503 RRECT # RCV(6) AND VCV(6) RESPECTIVELY.
051890,001032: 04,3145 25535 STOVL RCV
051891,001033: 04,3146 01511 VRECT # NOW GO TO 'RECTIFY +13D' TO
051892,001034: 04,3147 77624 CALL # STORE VRECT INTO VCV AND ZERO OUT
051893,001035: 04,3150 27706 RECTIFY +13D # TDELTAV(6),TNUV(6),TC(2) AND XKEP(2)
051894,001036: 04,3151 51535 SLOAD ABS # COMPARE ABSOLUTE VALUE OF 'UPSVFLAG'
051895,001037: 04,3152 01502 UPSVFLAG # TO 'UPDATE MOON STATE VECTOR CODE'
051896,001038: 04,3153 53025 DSU BZE # TO DETERMINE WHETHER THE STATE VECTOR TO
051897,001039: 04,3154 11215 UPMNSVCD # BE UPDATED IS IN THE EARTH OR LUNAR
051898,001040: 04,3155 11162 INTWAKEM # SPHERE OF INFLUENCE.........
051899,001041: 04,3156 43174 AXT,2 CLRGO # EARTH SPHERE OF INFLUENCE.
051900,001042: 04,3157 00000 DEC 0 B-14
051901,001043: 04,3160 00223 MOONFLAG
051902,001044: 04,3161 11165 INTWAKEC
051903,001045: 04,3162 43174 INTWAKEM AXT,2 SET # LUNAR SPHERE OF INFLUENCE.
051904,001046: 04,3163 00002 DEC 2 B-14
051905,001047: 04,3164 00063 MOONFLAG
051906,001048: 04,3165 50135 INTWAKEC SLOAD BMN # COMMON CODING AFTER X2 INITIALIZED AND
051907,001049: # MOONFLAG SET(OR CLEARED).
051908,001050: 04,3166 01502 UPSVFLAG # IS THIS A REQUEST FOR A LEM OR CSM
051909,001051: 04,3167 11175 INTWAKLM # STATE VECTOR UPDATE......
Page 1216 |
051911,001053: 04,3170 77624 CALL # UPDATE CSM STATE VECTOR
051912,001054: 04,3171 26660 ATOPCSM
051913,001055:
051914,001056: 04,3172 52014 CLEAR GOTO
051915,001057: 04,3173 01671 ORBWFLAG
051916,001058: 04,3174 11177 INTWAKEX
051917,001059:
051918,001060: 04,3175 77624 INTWAKLM CALL # UPDATE LM STATE VECTOR
051919,001061: 04,3176 26733 ATOPLEM
051920,001062:
051921,001063: 04,3177 77414 INTWAKEX CLEAR EXIT
051922,001064: 04,3200 02676 RENDWFLG
051923,001065:
051924,001066: 04,3201 34755 CAF ZERO
051925,001067: 04,3202 00006 EXTEND
051926,001068: 04,3203 01077 WRITE CHAN77 # ZERO CHANNEL 77
051927,001069: 04,3204 E3,1501 EBANK= UPSVFLAG
051928,001070: 04,3204 55501 TS UPSVFLAG
051929,001071:
051930,001072: 04,3205 06042 TC INTPRET
051931,001073: 04,3206 77624 INTWAKUP CALL
051932,001074: 04,3207 27417 INTWAKE0 # RELEASE :GRAB: OF ORBIT INTEG
051933,001075: 04,3210 77776 EXIT
051934,001076:
051935,001077: 04,3211 05364 TC PHASCHNG
051936,001078: 04,3212 04026 OCT 04026
051937,001079: 04,3213 03716 TC UPOUT +1
051938,001080:
051939,001081: 04,3214 00002 UPMNSVCD OCT 2
051940,001082: 04,3215 00000 OCT 0
051941,001083:
051942,001084:
051943,001085: 04,3216 77420 GRP2PC STQ EXIT
051944,001086: 04,3217 02711 GRP2SVQ
051945,001087: 04,3220 05364 TC PHASCHNG
051946,001088: 04,3221 04022 OCT 04022
051947,001089: 04,3222 06042 TC INTPRET
051948,001090: 04,3223 77650 GOTO
051949,001091: 04,3224 02711 GRP2SVQ
End of include-file INTEGRATION_INITIALIZATION.agc. Parent file is MAIN.agc