Source Code

These source-code files were obtained by digitally photographing an Artemis 72 (Apollo 15-17 Command Module) program listing from a private collection and then modifying pre-existing Comanche 55 (Apollo 11) source files to incorporate changes. Photography was by Ron Burkey, and transcription was performed by a team of volunteers. Note that the page images presented online are of reduced quality, and that additional images may be available. Report any conversion errors or legibility problems in page images to info@sandroid.org. Notations on the program listing read, in part:

	GAP: ASSEMBLE REVISION 072 OF AGC PROGRAM ARTEMIS 
	BY NASA 2021114-011 11:40 FEB. 26, 1971
Note that the date is the date of the printout, not the date of the program revision.

036446,000002:                                                                                                  ## Copyright:   Public domain.
036447,000003:                                                                                                  ## Filename:    SERVICER207.agc
036448,000004:                                                                                                  ## Purpose:     Part of the source code for Artemis (i.e., Colossus 3),
036449,000005:                                                                                                  ##              build 072.  This is for the Command Module's (CM)
036450,000006:                                                                                                  ##              Apollo Guidance Computer (AGC), for
036451,000007:                                                                                                  ##              Apollo 15-17.
036452,000008:                                                                                                  ## Assembler:   yaYUL
036453,000009:                                                                                                  ## Contact:     Jim Lawton <jim DOT lawton AT gmail DOT com>
036454,000010:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
036455,000011:                                                                                                  ## Page Scans:  www.ibiblio.org/apollo/ScansForConversion/Artemis072/
036456,000012:                                                                                                  ## Mod history: 2009-08-12 JL   Adapted from corresponding Comanche 055 file.
036457,000013:                                                                                                  ##              2010-02-01 JL   Fixed build error.
036458,000014:                                                                                                  ##              2010-02-13 JL   Fixed error on p827.
036459,000015:                                                                                                  ##              2010-02-20 RSB  Un-##'d this header.
036460,000016:                                                                                                  ##              2017-02-08 RSB  Proofed comment text by diff'ing vs Comanche 55
036461,000017:                                                                                                  ##                              and/or octopus/ProoferComments as most-appropriate.
036462,000018: 

Page 823

036464,000020: 
036465,000021:                                                                                                  #  PROGRAM NAME - PREREAD, READACCS, SERVICER, AVERAGE G.
036466,000022: 
036467,000023:                                                                                                  #  MOD NO. 00    BY M. HAMILTON  DEC. 12, 1966
036468,000024: 
036469,000025:                                                                                                  #  FUNCTIONAL DESCRIPTION
036470,000026: 
036471,000027:                                                                                                  #  THE ROUTINES DESCRIBED BELOW ARE USED TO CALCULATE VALUES OF RN, VN, AND GDT/2 DURING ACCELERATED FLIGHT.
036472,000028:                                                                                                  #  THE SEVERAL ROUTINES COMPRISE A PACKAGE AND ARE NOT MEANT TO BE USED AS SEPARATE SUBROUTINES.
036473,000029: 
036474,000030:                                                                                                  #  GENERAL REFERENCES TO  SERVICER  OR  AVERAGE G  ARE UNDERSTOOD TO REFER TO THE ENTIRE SET OF ROUTINES INCLUDING
036475,000031:                                                                                                  #  READACCS, SERVICER, AVERAGE G, INTEREAD, SMOOTHER, AND ANY ADDITIONAL ROUTINES ATTACHED AT AVGEXIT (SEE BELOW).
036476,000032: 
036477,000033:                                                                                                  #  PROGRAMS INITIATING SERVICER ARE REQUIRED TO MAKE A WAITLIST CALL FOR PREREAD (OR, IF LIFTOFF, FOR BIBIBIAS)
036478,000034:                                                                                                  #  AT 2 SECONDS BEFORE THE FIRST AVERAGE G UPDATE IN ORDER TO INITIALIZE THE SEQUENCE, WHICH WILL RECUR EVERY
036479,000035:                                                                                                  #  2 SECONDS FROM THAT TIME ON AS LONG AS AVEGFLAG REMAINS SET.
036480,000036: 
036481,000037:                                                                                                  #  THE USE OF ERASABLE AVGEXIT ALLOWS VARIOUS ROUTINES TO BE PERFORMED AS PART OF THE NORMAL CYCLE (SEE
036482,000038:                                                                                                  #  EXPLANATION OF AVGEXIT BELOW).
036483,000039: 
036484,000040:                                                                                                  #  DESCRIPTIONS OF INDIVIDUAL ROUTINES FOLLOW.
036485,000041: 
036486,000042:                                                                                                  #        PREREAD
036487,000043: 
036488,000044:                                                                                                  #                PREVIOUSLY EXTRAPOLATED VALUES COPIED FROM RN1, VN1, AND PIPTIME1 INTO RN, VN, AND PIPTIME.
036489,000045:                                                                                                  #                LASTBIAS JOB SCHEDULED.
036490,000046:                                                                                                  #                PIPS READ AND CLEARED VIA PIPASR SUBROUTINE.
036491,000047:                                                                                                  #                AVERAGE G FLAG SET ON.
036492,000048:                                                                                                  #                DRIFT FLAG SET OFF.
036493,000049:                                                                                                  #                V37 FLAG SET ON.
036494,000050:                                                                                                  #                INITIALIZATION OF       1) THRUST MONITOR (DVMON) - DVCNTR SET TO ONE.
036495,000051:                                                                                                  #                                        2) TOTAL ACCUMULATED DELV VALUE (DVTOTAL) - SET TO ZERO.
036496,000052:                                                                                                  #                                        3) AXIS VECTOR (AXIS) - SET TO (.5,0,0).
036497,000053:                                                                                                  #                NORMLIZE JOB SCHEDULED.
036498,000054:                                                                                                  #                READACCS TASK CALLED IN 2 SECONDS.
036499,000055: 
036500,000056:                                                                                                  #        NORMLIZE
036501,000057: 
036502,000058:                                                                                                  #                GDT/2 INITIALIZED VIA CALCGRAV SUBROUTINE.
036503,000059: 
036504,000060:                                                                                                  #        READACCS
036505,000061: 
036506,000062:                                                                                                  #                IF ONMON FLAG SET QUIKREAD ROUTINE IS PERFORMED BEFORE PIPASR ZEROS THE PIPA REGISTERS, AND THE 1/2 SEC
036507,000063:                                                                                                  #                ONMONITOR LOOP IS INITIATED TO PROVIDE DOWNLINK INFORMATION DURING ENTRY.
036508,000064:                                                                                                  #                PIPS READ AND CLEARED BY PIPASR SUBROUTINE.
036509,000065:                                                                                                  #                IF CM/DSTBY IS ON, ENTRY VARIABLES INITIALIZED AND SETJTAG TASK CALLED.

Page 824

036511,000067: 
036512,000068:                                                                                                  #                IF AVERAGEG FLAG ON     READACCS CALLED TO RECYCLE IN 2 SECONDS.
036513,000069:                                                                                                  #                IF AVERAGEG FLAG OFF    AVERAGE G EXIT (AVGEXIT) SET TO 2CADR AVGEND FOR FINAL PASS.
036514,000070:                                                                                                  #                SERVICER JOB SCHEDULED.
036515,000071: 
036516,000072:                                                                                                  #                TEST CONNECTOR OUTBIT TURNED ON.
036517,000073: 
036518,000074:                                                                                                  #        ONMNITOR
036519,000075: 
036520,000076:                                                                                                  #                A SEQUENCE OF THREE PASSES THROUGH QUICKREAD FOLLOWING A CALL TO READACCS WITH ONMONFLG SET AT 1/2 
036521,000077:                                                                                                  #                SEC INTERVALS. INTERVALS ARE COUNTED OUT BY PIPCTR, INITIALISED AT 3 BY READACCS
036522,000078: 
036523,000079:                                                                                                  #        QUIKREAD
036524,000080: 
036525,000081:                                                                                                  #                READS CURRENT PIPS INTO X,Y,ZPIPBUF. READS OLD X,Y,ZPIPBUF INTO X,Y,ZOLDBUF. VALUES ARE SENT TO
036526,000082:                                                                                                  #                DOWNLIST DURING ENTRY.
036527,000083: 
036528,000084:                                                                                                  #        SERVICER
036529,000085: 
036530,000086:                                                                                                  #                DELV VALUES CHECKED TO DETECT RUNAWAY PIP -
036531,000087:                                                                                                  #                        IF BAD PIP      1) ALARM SENT.
036532,000088:                                                                                                  #                                        2) COMPENSATION, DVTOTAL ACCUMULATION, AND DVMON BYPASSED.  CONTROL
036533,000089:                                                                                                  #                                           TRANSFERRED TO AVERAGE G.
036534,000090:                                                                                                  #                PIPS COMPENSATED VIA 1/PIPA SUBROUTINE.
036535,000091:                                                                                                  #                DVTOTAL INCREMENTED BY ABSOLUTE VALUE OF DELV.
036536,000092:                                                                                                  #                THRUST MONITOR (DVMON) PERFORMED UNLESS IDLE FLAG IS ON.
036537,000093:                                                                                                  #                CONTROL TRANSFERRED TO AVERAGE G.
036538,000094: 
036539,000095:                                                                                                  #        DVMON
036540,000096: 
036541,000097:                                                                                                  #                THRESHOLD VALUE (PLACED IN DVTHRUSH BY USER) CHECKED AGAINST ABSOLUTE VALUE OF DELV TO CHECK
036542,000098:                                                                                                  #                THRUST LEVEL.
036543,000099: 
036544,000100:                                                                                                  #                        IF THRUST       1) ULLAGE OFF ROUTINE PERFORMED.
036545,000101:                                                                                                  #                                        2) STEERING FLAG TURNED ON AT FIRST DETECTION OF THRUST.
036546,000102:                                                                                                  #                                        3) CONTROL TRANSFERRED TO AVERAGE G.
036547,000103:                                                                                                  #                        IF NO THRUST    1) ON FIRST PASS THROUGH MONITOR, CONTROL TRANSFERRED TO AVERAGE G.
036548,000104:                                                                                                  #                                        2) ON SUBSEQUENT PASSES, CONTROL TRANSFERRED TO ENGINE FAIL ROUTINE IF THRUST
036549,000105:                                                                                                  #                                           HAS FAILED FOR 3 CONSECUTIVE PASSES.
036550,000106: 
036551,000107:                                                                                                  #        ENGINE FAIL
036552,000108: 
036553,000109:                                                                                                  #                ENGFAIL1 TASK CALLED IN 2.5 SECONDS.  THIS WILL RETURN CONTROL TO TIG-5 SO THAT THE IGNITION
036554,000110:                                                                                                  #                        SEQUENCE MAY BE REPEATED.
036555,000111:                                                                                                  #                ENGINOF3 PERFORMED.
036556,000112:                                                                                                  #                DAP SET UP FOR RCS.
036557,000113:                                                                                                  #        
036558,000114:                                                                                                  #        AVERAGE G

Page 825

036560,000116:                                                                                                  #                RN1, VN1, GDT1/2 CALCULATED VIA CALCRVG ROUTINE BY UPDATING RN, VN WITH DELV AND AN AVERAGED VALUE
036561,000117:                                                                                                  #                OF GDT/2.
036562,000118:                                                                                                  #                RN1, VN1, GDT1/2, PIPTIME1 COPIED INTO RN, VN, GDT/2, PIPTIME FOR RESTART PROTECTION.
036563,000119:                                                                                                  #                CONTROL TRANSFERRED TO ADDRESS SPECIFIED BY USER (OR BY READACCS FOR LAST PASS) IN AVGEXIT.
036564,000120:                                                                                                  #                LAST PASS (AVGEND)      1) FREE FALL GYRO COMPENSATION SET UP.
036565,000121:                                                                                                  #                                        2) DRIFT FLAG TURNED ON.
036566,000122:                                                                                                  #                                        3) STATE VECTOR TRANSFERRED VIA AVETOMID ROUTINE.
036567,000123:                                                                                                  #                                        4) ONMONITOR FLAG RESET.
036568,000124:                                                                                                  #                                        5) V37 FLAG RESET.
036569,000125:                                                                                                  #                                        6) TEST CONNECTOR OUTBIT RESET.
036570,000126:                                                                                                  #                                        7) CONTROL TRANSFERRED TO CANV37 TO CONTINUE MM CHANGE ROUTINE (R00).
036571,000127: 
036572,000128:                                                                                                  #  CALLING SEQUENCE
036573,000129: 
036574,000130:                                                                                                  #        PREREAD ENTERED DIRECTLY FROM TIG-30 VIA POSTJUMP.
036575,000131:                                                                                                  #        READACCS CALLED AS WAITLIST TASK.                               .
036576,000132: 
036577,000133:                                                                                                  #  SUBROUTINES CALLED
036578,000134: 
036579,000135:                                                                                                  #        UTILITY ROUTINES - PHASCHNG FLAGUP FLAGDOWN NOVAC FINDVAC WAITLIST ALARM NEWPHASE 2PHSCHNG
036580,000136: 
036581,000137:                                                                                                  #        OTHER - PIPASR  1/PIPA  CALCGRAV  CALCRVG  AVETOMID
036582,000138: 
036583,000139:                                                                                                  #  NORMAL EXIT MODES
036584,000140: 
036585,000141:                                                                                                  #        ENDOFJOB        TASKOVER        CANV37
036586,000142: 
036587,000143:                                                                                                  #        AVGEXIT - THIS IS A DOUBLE PRECISION ERASABLE LOCATION BY WHICH CONTROL IS TRANSFERRED AT THE END
036588,000144:                                                                                                  #                  OF EACH CYCLE OF AVERAGE G.
036589,000145:                                                                                                  #                  THE 2CADR OF A ROUTINE TO BE PERFORMED AT THAT TIME (E.G., STEERING EQUATIONS TO BE PERFORMED
036590,000146:                                                                                                  #                  AT 2 SECOND INTERVALS) MAY BE SET BY THE USER INTO AVGEXIT.
036591,000147:                                                                                                  #                  ALL SUCH ROUTINES SHOULD RETURN TO SERVEXIT, WHICH IS THE NORMAL EXIT FROM AVERAGE G.
036592,000148: 
036593,000149:                                                                                                  #        SERVEXIT - DOES A PHASE CHANGE FOR RESTART PROTECTION AND GOES TO ENDOFJOB.
036594,000150:                                                                                                  #                   THE 2CADR OF SERVEXIT IS SET INTO AVGEXIT BY THE USER IF NO OTHER ROUTINE (SEE ABOVE).
036595,000151: 
036596,000152:                                                                                                  #        AVGEND - LAST PASS OF AVERAGE G EXITS HERE, BYPASSING SPECIAL ROUTINE (SEE ABOVE UNDER READACCS).
036597,000153:                                                                                                  #                 FINAL EXIT IS TO CANV37.                               F AVERAGE G).
036598,000154: 
036599,000155:                                                                                                  #  OUTPUT
036600,000156: 
036601,000157:                                                                                                  #        DVTOTAL(2)  PIPTIME(2)  XPIPBUF(2)  YPIPBUF(2)  ZPIPBUF(2)
036602,000158:                                                                                                  #        RN(6)           REFERENCE COORD.        SCALED AT 2(+29) M/CS
036603,000159:                                                                                                  #        VN(6)           REFERENCE COORD.        SCALED AT 2(+7) M/CS
036604,000160:                                                                                                  #        GDT/2(6)        REFERENCE COORD.        SCALED AT 2(+7) M/CS
036605,000161:                                                                                                  #        DELV(6)         STABLE MEMB. COORD.     SCALED AT 2(+14)*5.85*10(-4) M/CS (KPIP1 USED TO GET DV/2 AT 2(+7))

Page 826

036607,000163:                                                                                                  #        DELVREF(6)      REFERENCE COORD.        SCALED AT 2(+7) M/CS
036608,000164: 
036609,000165:                                                                                                  #  INITIALIZATION
036610,000166: 
036611,000167:                                                                                                  #        ONMONITOR FLAG SET BY ENTRY TO SHOW PIPBUF VALUES REQUIRED.
036612,000168:                                                                                                  #        IDLE FLAG ON IF DVMON TO BE BYPASSED.
036613,000169:                                                                                                  #        DVTHRUSH SET TO APPROPRIATE VALUE FOR DVMON.
036614,000170:                                                                                                  #        AVGEXIT SET TO 2CADR OF ROUTINE, IF ANY, TO BE PERFORMED AFTER EACH CYCLE OF AVERAGE G.  IF NO ROUTINE
036615,000171:                                                                                                  #                TO BE DONE, AVGEXIT SET TO SERVEXIT.
036616,000172:                                                                                                  #        VALUES NEEDED
036617,000173:                                                                                                  #                REFSMMAT
036618,000174:                                                                                                  #                UNITW - FULL UNIT VECTOR, IN REFERENCE COORD., OF EARTH S ROTATIONAL VECTOR
036619,000175:                                                                                                  #                RN1, VN1, PIPTIME1 - IN REFERENCE COORD., CONSISTENT WITH TIME OF EXECUTION OF PREREAD
036620,000176: 
036621,000177:                                                                                                  #  DEBRIS
036622,000178: 
036623,000179:                                                                                                  #        CENTRALS        A, L, Q
036624,000180:                                                                                                  #        OTHER           INTERNAL - DVCNTR(1)  PIPAGE(1)  PIPCTR(1)  AVGEXIT(2)
036625,000181:                                                                                                  #                        EXTERNAL - ITEMP1(1)  ITEMP2(1)  RUPTREG1(1)  TEMX(1)  TEMY(1)  TEMZ(1)
036626,000182:                                                                                                  #                        USEFUL DEBRIS
036627,000183:                                                                                                  #                                RN1(6)  VN1(6)  GDT1/2  PIPTIME1(2)
036628,000184:                                                                                                  #                                        THESE LOCATIONS USED AS BUFFER STORAGE FOR NEWLY CALCULATED VALUES OF RN, VN, GDT/2,
036629,000185:                                                                                                  #                                        AND PIPTIME DURING PERFORMANCE OF SERVICER ROUTINES.
036630,000186:                                                                                                  #                                UNITR - HALF UNIT VECTOR OF RN, REFERENCE COORD.
036631,000187:                                                                                                  #                                RMAG SCALED AT 2(+58) IN 36D.
036632,000188:                                                                                                  #                                RMAGSQ SCALED AT 2(+58) IN 34D.
036633,000189:                                                                                                  #                                (RE/RMAG)SQ IN 32D.
036634,000190: 
036635,000191: 37,2000                                           SETLOC   SERVICES                              
036636,000192: 37,2000                                           BANK                                           
036637,000193: 
036638,000194: 37,2607  E7,1425                                  EBANK=   DVTOTAL                               
036639,000195: 
036640,000196:                                                                                                  #  *************************************   PREREAD   **************************************************************
036641,000197: 
036642,000198: 37,2607                                           COUNT*   $$/SERV                               
036643,000199: 37,2607           35057        PREREAD            CAF      PRIO21                                #  CALLER MUST PROTECT PREREAD
036644,000200: 37,2610           05121                           TC       NOVAC                                 
036645,000201: 37,2611  E3,1460                                  EBANK=   NBDX                                  
036646,000202: 37,2611           03655 14063                     2CADR    LASTBIAS                              #  DO LAST GYRO COMPENSATION IN FREE FALL
036647,000203: 
036648,000204:                                                                                                  #  CALL-TO AND LASTBIAS ITSELF ARE NOT
036649,000205:                                                                                                  #        PROTECTED. REREADAC SETS 1/PIPADT
036650,000206:                                                                                                  #        TO 2.0 SECS IN CASE LASTBIAS LOST.
036651,000207:                                                                                                  #        (REDUNDANT IF LASTBIAS IS AOK)
036652,000208: 
036653,000209: 37,2613           02630        REDO5.31           TC       PREREAD1                              

Page 827

036655,000211: 37,2614           37654                           CAF      PRIO32                                
036656,000212: 37,2615           05135                           TC       FINDVAC                               #  SET UP NORMLIZE JOB REQUIRED PRIOR TO
036657,000213: 37,2616  E7,1425                                  EBANK=   DVTOTAL                               
036658,000214: 37,2616           03154 76067                     2CADR    NORMLIZE                              
036659,000215: 
036660,000216: 37,2620           35017                           CAF      2SECS                                 
036661,000217: 37,2621           05233                           TC       WAITLIST                              
036662,000218: 37,2622  E6,1661                                  EBANK=   AOG                                   
036663,000219: 37,2622           02652 76066                     2CADR    READACCS                              
036664,000220: 
036665,000221: 37,2624           44767                           CS       TWO                                   
036666,000222: 37,2625           04126                           TC       NEWPHASE                              
036667,000223: 37,2626           00005                           OCT      5                                     
036668,000224: 
036669,000225: 37,2627  01,2234               5P2SPT2            =        5.2SPOT                               
036670,000226: 37,2627           15314                           TCF      TASKOVER                              
036671,000227: 
036672,000228: 37,2630           00006        PREREAD1           EXTEND                                         
036673,000229: 37,2631           22070                           QXCH     RUPTREG1                              
036674,000230: 
036675,000231: 37,2632           03171                           TC       PIPASR                                #  CLEAR + READ PIPS LAST TIME IN FREE FALL
036676,000232: 
036677,000233: 37,2633           34770                           CAF      ONE                                   #  SET UP PIPAGE FOR REREADAC IN CASE A
036678,000234: 37,2634           55067                           TS       PIPAGE                                #        RESTART OCCURS BEFORE READACCS
036679,000235: 
036680,000236: 37,2635           40075                           CS       FLAGWRD1                              #  SET AVEG FLAG
036681,000237: 37,2636           74770                           MASK     AVEGBIT                               
036682,000238: 37,2637           26075                           ADS      FLAGWRD1                              
036683,000239: 
036684,000240: 37,2640           44752                           CS       DRFTBIT                               
036685,000241: 37,2641           70076                           MASK     FLAGWRD2                              
036686,000242: 37,2642           54076                           TS       FLAGWRD2                              #  KNOCK DOWN DRIFT FLAG
036687,000243: 
036688,000244: 37,2643           40103                           CS       FLAGWRD7                              #  SET V37 FLAG
036689,000245: 37,2644           74763                           MASK     V37FLBIT                              
036690,000246: 37,2645           26103                           ADS      FLAGWRD7                              
036691,000247: 
036692,000248: 37,2646           34772                           CAF      ZERO                                  
036693,000249: 37,2647           55425                           TS       DVTOTAL                               #  CLEAR DVTOTAL
036694,000250: 37,2650           55426                           TS       DVTOTAL    +1                         
036695,000251: 
036696,000252: 37,2651           00070                           TC       RUPTREG1                              
036697,000253: 

Page 828

036699,000255:                                                                                                  #  *************************************   READACCS   *************************************************************
036700,000256: 37,2652  E6,1661                                  EBANK=   AOG                                   
036701,000257: 37,2652           03171        READACCS           TC       PIPASR                                
036702,000258: 
036703,000259: 37,2653           34773        PIPSDONE           CAF      FIVE                                  
036704,000260: 37,2654           54001                           TS       L                                     
036705,000261: 37,2655           40000                           COM                                            
036706,000262: 37,2656           53166                           DXCH     -PHASE5                               
036707,000263: 
036708,000264: 37,2657  01,2253               5P5SPT1            =        5.5SPOT                               
036709,000265: 37,2657           34770        REDO5.5            CAF      ONE                                   #  SHOW PIPS HAVE BEEN READ
036710,000266: 37,2660           55067                           TS       PIPAGE                                
036711,000267: 
036712,000268: 37,2661           34767                           CA       TWO                                   #  SET PIPCTR FOR ONMINTOR
036713,000269: 37,2662           55066                           TS       PIPCTR                                #  AFTER ABOVE PHASCHNG
036714,000270: 
036715,000271: 37,2663           40102                           CS       CM/FLAGS                              
036716,000272: 37,2664           74767                           MASK     CM/DSBIT                              #  103D BIT2
036717,000273: 37,2665           10000                           CCS      A                                     
036718,000274: 37,2666           02740                           TC       CHEKAVEG                              
036719,000275: 
036720,000276: 37,2667           41105                           CS       PIPTIME1   +1                         
036721,000277: 37,2670           55271                           TS       TBASE6                                #  FOR RESTARTS
036722,000278: 37,2671           00006                           EXTEND                                         #  CONTINUE FOR ENTRY DAP
036723,000279: 37,2672           31662                           DCA      AOG                                   
036724,000280: 37,2673           53670                           DXCH     AOG/PIP                               
036725,000281: 37,2674           31663                           CA       AMG                                   
036726,000282: 37,2675           57671                           XCH      AMG/PIP                               
036727,000283: 37,2676           00006                           EXTEND                                         
036728,000284: 37,2677           31665                           DCA      ROLL/180                              
036729,000285: 37,2700           53673                           DXCH     ROLL/PIP                              
036730,000286: 37,2701           31666                           CA       BETA/180                              
036731,000287: 37,2702           57674                           XCH      BETA/PIP                              
036732,000288: 37,2703           30102                           CA       CM/FLAGS                              
036733,000289: 37,2704           74755                           MASK     CMARMBIT                              #  93D BIT12
036734,000290: 37,2705           00006                           EXTEND                                         #  DURING ENTRY, WHEN RCS DAP IS INACTIVE,
036735,000291: 37,2706           12723                           BZF      NOSAVPIP                              #  SAVE PIPAS EACH 0.5 SEC FOR TM.
036736,000292: 
036737,000293: 37,2707           35011                           CAF      .5SEC                                 
036738,000294: 37,2710           05223                           TC       TWIDDLE                               
036739,000295: 37,2711           02773                           ADRES    QUIKREAD                              
036740,000296:                                                                                                  #  NO NEED TO RESTART PROTECT THIS.
036741,000297: 37,2712           31314                           CA       DELVX                                 #  SAVE PIPAS AS READ (BUT NOT COMPENSATED)
036742,000298: 37,2713           57533                           XCH      XPIPBUF                               
036743,000299: 37,2714           55536                           TS       XOLDBUF                               
036744,000300: 
036745,000301: 37,2715           31316                           CA       DELVY                                 
036746,000302: 37,2716           57534                           XCH      YPIPBUF                               
036747,000303: 37,2717           55537                           TS       YOLDBUF                               

Page 829

036749,000305: 37,2720           31320                           CA       DELVZ                                 
036750,000306: 37,2721           57535                           XCH      ZPIPBUF                               
036751,000307: 37,2722           55540                           TS       ZOLDBUF                               
036752,000308: 
036753,000309: 37,2723           34773        NOSAVPIP           CA       FIVE                                  
036754,000310: 37,2724           55725                           TS       CM/GYMDT                              
036755,000311: 
036756,000312: 37,2725           33153                           CA       JTAGTIME                              #  ACTIVATE CM/RCS AFTER PIPUP TO GO
036757,000313:                                                                                                  #  IN JTAGTIME +5 CS.
036758,000314: 37,2726           05233                           TC       WAITLIST                              
036759,000315: 37,2727  E6,1661                                  EBANK=   AOG                                   
036760,000316: 37,2727           02636 32066                     2CADR    SETJTAG                               
036761,000317: 
036762,000318: 37,2731           46214                           CS       THREE                                 #  1.3SPOT FOR SETJTAG
036763,000319: 37,2732           04126                           TC       NEWPHASE                              
036764,000320: 37,2733           00001                           OCT      1                                     
036765,000321: 
036766,000322: 37,2734  01,2014               1P3SPT1            =        1.3SPOT                               
036767,000323: 37,2734           34125                           CAF      OCT31                                 #  5.31SPOT FOR CHEKAVEG
036768,000324: 37,2735           54001                           TS       L                                     
036769,000325: 37,2736           40000                           COM                                            
036770,000326: 37,2737           53166                           DXCH     -PHASE5                               
036771,000327: 
036772,000328: 37,2740  01,2311               5P31SPOT           =        5.31SPOT                              
036773,000329: 37,2740           40075        CHEKAVEG           CS       FLAGWRD1                              
036774,000330: 37,2741           74770                           MASK     AVEGBIT                               
036775,000331: 37,2742           10000                           CCS      A                                     #  IF AVEG FLAG DOWN SET FINAL EXIT AVEG
036776,000332: 37,2743           02762                           TC       AVEGOUT                               
036777,000333: 
036778,000334: 37,2744           35017                           CAF      2SECS                                 
036779,000335: 37,2745           05223                           TC       TWIDDLE                               
036780,000336: 37,2746           02652                           ADRES    READACCS                              
036781,000337: 37,2747           34753        MAKESERV           CAF      PRIO20                                #  ESTABLISH SERVICER ROUTINE
036782,000338: 37,2750           05135                           TC       FINDVAC                               
036783,000339: 37,2751  E7,1425                                  EBANK=   DVTOTAL                               
036784,000340: 37,2751           03010 76067                     2CADR    SERVICER                              
036785,000341: 
036786,000342: 37,2753           44766                           CS       FOUR                                  #  RESTART SERVICER AND READACCS
036787,000343: 37,2754           04126                           TC       NEWPHASE                              
036788,000344: 37,2755           00005                           OCT      5                                     
036789,000345: 
036790,000346: 37,2756  01,2242               5P4SPT1            =        5.4SPOT                               
036791,000347: 37,2756           34760                           CAF      BIT9                                  
036792,000348: 37,2757           00006                           EXTEND                                         
036793,000349: 37,2760           05011                           WOR      DSALMOUT                              #  TURN TEST CONNECTOR OUTBIT ON
036794,000350: 
036795,000351: 37,2761           15314                           TCF      TASKOVER                              #  END PREVIOUS READACCS WAITLIST TASK
036796,000352: 

Page 830

036798,000354: 37,2762           00006        AVEGOUT            EXTEND                                         
036799,000355: 37,2763           32767                           DCA      AVOUTCAD                              
036800,000356: 37,2764           53062                           DXCH     AVGEXIT                               
036801,000357: 37,2765           12747                           TCF      MAKESERV                              
036802,000358: 
036803,000359: 37,2766  E7,1425                                  EBANK=   DVTOTAL                               
036804,000360: 37,2766           03100 76067  AVOUTCAD           2CADR    AVGEND                                
036805,000361: 

Page 831

036807,000363:                                                                                                  #  ROUTINE NAME: ONMNITOR
036808,000364:                                                                                                  #  MOD 04 BY BAIRNSFATHER 30 APR 1968    REDO ONMNITOR TO SAVE PIPS EACH 0.5 SEC FOR TM,ENTRY.
036809,000365:                                                                                                  #  MOD 03 BY FISHER DECEMBER 1967
036810,000366:                                                                                                  #  MOD 02 BY RYE SEPT 1967
036811,000367:                                                                                                  #  MOD 01 BY KOSMALA 23 MAR 1967
036812,000368:                                                                                                  #  MOD 00 BY KOSMALA 27 FEB 1967
036813,000369: 
036814,000370:                                                                                                  #  FUNCTIONAL DESCRIPTION
036815,000371: 
036816,000372:                                                                                                  #        THE PURPOSE OF ONMONITOR IS TO PROVIDE 1/2 SEC. READING OF PIPAS FOR DOWNLIST DURING ENTRY.
036817,000373:                                                                                                  #        X,Y,ZPIPBUF CONTAIN PRESENT VALUES X,Y,ZOLDBUF CONTAIN VALUES FROM PREVIOUS READING.
036818,000374: 
036819,000375:                                                                                                  #  CALLING SEQUENCE
036820,000376: 
036821,000377:                                                                                                  #        CALL AS WAITLIST TASK. TERMINATES ITSELF IN TASKOVER
036822,000378: 
036823,000379:                                                                                                  #  INITIALISATION
036824,000380: 
036825,000381:                                                                                                  #        PIPCTR = 2 (FOR DT = 0.5 SEC)
036826,000382:                                                                                                  #        X,Y,ZPIPBUF SET TO PREVIOUS PIPAX,Y,Z
036827,000383: 
036828,000384:                                                                                                  #  OUTPUT
036829,000385: 
036830,000386:                                                                                                  #        X,Y,ZPIPBUF, X,Y,ZOLDBUF
036831,000387: 
036832,000388:                                                                                                  #  DEBRIS
036833,000389: 
036834,000390:                                                                                                  #        X,Y,ZPIPBUF CONTAIN LAST PIPAX,Y,Z VALUES
036835,000391:                                                                                                  #                X,Y,ZOLDBUF CONTAIN LAST-BUT-ONE PIPAX,Y,Z VALUES
036836,000392:                                                                                                  #        RUPTREG1
036837,000393:                                                                                                  #        PIPCTR
036838,000394: 
036839,000395: 37,2770           55066        ONMNITOR           TS       PIPCTR                                
036840,000396: 
036841,000397: 37,2771           05255                           TC       FIXDELAY                              #  WAIT
036842,000398: 37,2772           00062        0.5SEC             DEC      50         B-14                       
036843,000399: 
036844,000400: 37,2773           34767        QUIKREAD           CAF      TWO                                   
036845,000401: 37,2774           54070                 +1        TS       RUPTREG1                              
036846,000402: 37,2775           50000                           INDEX    A                                     
036847,000403: 37,2776           30037                           CA       PIPAX                                 #  SAVE ACTUAL PIPAS FOR TM.
036848,000404: 37,2777           50070                           INDEX    RUPTREG1                              
036849,000405: 37,3000           57533                           XCH      XPIPBUF                               #  UPDATE X,Y,ZPIPBUF
036850,000406: 37,3001           50070                           INDEX    RUPTREG1                              
036851,000407: 37,3002           55536                           TS       XOLDBUF                               #  AND X,Y,ZOLDBUF
036852,000408: 37,3003           10070        CHKCTR             CCS      RUPTREG1                              
036853,000409: 37,3004           12774                           TCF      QUIKREAD   +1                         #  LOOP AGAIN
036854,000410: 37,3005           11066                           CCS      PIPCTR                                
036855,000411: 37,3006           12770                           TCF      ONMNITOR                              
036856,000412: 37,3007           05314                           TC       TASKOVER                              
036857,000413: 

Page 832

036859,000415:                                                                                                  #  *************************************   SERVICER   *************************************************************
036860,000416: 
036861,000417: 37,2000                                           SETLOC   SERVICES                              
036862,000418: 37,2000                                           BANK                                           
036863,000419: 
036864,000420: 37,3010  E7,1425                                  EBANK=   DVTOTAL                               
036865,000421: 
036866,000422: 37,3010                                           COUNT*   $$/SERV                               
036867,000423: 37,3010           34767        SERVICER           CAF      TWO                                   
036868,000424: 37,3011           00004                           INHINT                                         
036869,000425: 37,3012           54070        PIPCHECK           TS       RUPTREG1                              
036870,000426: 
036871,000427: 37,3013           60000                           DOUBLE                                         
036872,000428: 37,3014           50000                           INDEX    A                                     
036873,000429: 37,3015           11314                           CCS      DELVX                                 
036874,000430: 37,3016           03020                           TC       +2                                    
036875,000431: 37,3017           03026                           TC       PIPLOOP                               
036876,000432: 
036877,000433: 37,3020           63152                           AD       -MAXDELV                              #  DO PIPA-SATURATION TEST BEFORE
036878,000434: 37,3021           00006                           EXTEND                                         
036879,000435: 37,3022           63026                           BZMF     PIPLOOP                               #  COMPENSATION.
036880,000436: 
036881,000437: 37,3023           05671                           TC       ALARM                                 
036882,000438: 37,3024           00205                           OCT      00205                                 #  SATURATED-PIPA ALARM   ***CHANGE LATER
036883,000439: 37,3025           03056                           TC       AVERAGEG                              
036884,000440: 
036885,000441: 37,3026           10070        PIPLOOP            CCS      RUPTREG1                              
036886,000442: 37,3027           13012                           TCF      PIPCHECK                              
036887,000443: 
036888,000444: 37,3030           05402                           TC       PHASCHNG                              #  RESTART REREADAC + SERVICER
036889,000445: 37,3031           16035                           OCT      16035                                 
036890,000446: 37,3032           20000                           OCT      20000                                 
036891,000447: 37,3033  01,2250               5P3SPT9            =        5.3SPOT                               
036892,000448: 37,3033  E7,1425                                  EBANK=   DVTOTAL                               
036893,000449: 
036894,000450: 37,3033           03037 76067                     2CADR    DVTOTUP                               
036895,000451: 
036896,000452: 37,3035           04636                           TC       BANKCALL                              #  PIPA COMPENSATION CALL
036897,000453: 37,3036           15276                           CADR     1/PIPA                                
036898,000454: 
036899,000455: 37,3037           06006        DVTOTUP            TC       INTPRET                               
036900,000456:                                                                                                  #  THE FOLLOWING SECTION DECREMENTS 'TTE' DURING P61
036901,000457:                                                                                                  #  THROUGH P63 ONLY. (IE: IN P60'S IF DRAG< 0.05 G)
036902,000458: 37,3040           71214        TICKTTE            BON      DLOAD                                 #  .05GSW IS SET =1 IN FRESH START.
036903,000459: 37,3041           03314                                    .05GSW                                #  FLAG IS ASSIGNED ONLY TO P61-P67.
036904,000460: 37,3042           77047                                    +5                                    #  DO NOT COUNT 'TTE' IF DRAG > 0.05 G.
036905,000461: 37,3043           03735                                    TTE2                                  
036906,000462: 37,3044           77615                           DAD                                            

Page 833

036908,000464: 37,3045           01105                                    PIPTIME1                              #  DECREMENT 'TTE' BY 'PIPTIME1'. (BY 2 SEC)
036909,000465: 37,3046           03727                           STORE    TTE                                   #  NEGATIVE AS IN A COUNTDOWN.
036910,000466:                                                                                                  #  DURING P61 THRU P63, 'TTE' IS DECREMENTED 
036911,000467:                                                                                                  #  AND IS ON CALL AND ON ENTRY DNLIST.
036912,000468: 
036913,000469: 37,3047           51575                           VLOAD    ABVAL                                 #  GET ABS VALUE OF DELV
036914,000470: 37,3050           01315                                    DELV                                  
036915,000471: 37,3051           77405                           DMP      EXIT                                  
036916,000472: 37,3052           37365                                    KPIP1                                 #  SCALE AT 2(+7)
036917,000473: 
036918,000474: 37,3053           00006                           EXTEND                                         
036919,000475: 37,3054           30155                           DCA      MPAC                                  
036920,000476: 37,3055           21426                           DAS      DVTOTAL                               #  ACCUMULATE DVTOTAL
036921,000477: 37,3056           05402        AVERAGEG           TC       PHASCHNG                              
036922,000478: 37,3057           10035                           OCT      10035                                 
036923,000479: 
036924,000480: 37,3060  01,2250               5P3SPT10           =        5.3SPOT                               
036925,000481: 37,3060           06006                           TC       INTPRET                               
036926,000482: 37,3061           77624                           CALL                                           
036927,000483: 37,3062           77336                                    CALCRVG                               
036928,000484: 37,3063           77776                           EXIT                                           
036929,000485: 
036930,000486: 37,3064           05402                           TC       PHASCHNG                              
036931,000487: 37,3065           10035                           OCT      10035                                 
036932,000488: 
036933,000489: 37,3066  01,2250               5P3SPT11           =        5.3SPOT                               
036934,000490: 37,3066           34125                           CAF      OCT31                                 #  COPY RN1,VN1,GOT102,GOBL1/2,PIPTIME1
036935,000491: 37,3067           05607                           TC       GENTRAN                               #  INTO RN, VN, GDT/12, GOBL/2,PIPTIME
036936,000492: 37,3070           01070                           ADRES    RN1                                   
036937,000493: 37,3071           01027                           ADRES    RN                                    
036938,000494: 37,3072           00003        ENDCOPY            RELINT                                         
036939,000495: 37,3073           05402                           TC       PHASCHNG                              
036940,000496: 37,3074           10035                           OCT      10035                                 
036941,000497: 
036942,000498: 37,3075  01,2250               5P3SPT12           =        5.3SPOT                               
036943,000499: 37,3075           00006                           EXTEND                                         
036944,000500: 37,3076           31062                           DCA      AVGEXIT                               
036945,000501: 37,3077           52006                           DXCH     Z                                     #  AVERAGEG EXIT
036946,000502: 
036947,000503: 37,3100           31044        AVGEND             CA       PIPTIME    +1                         #  FINAL AVERAGE G EXIT
036948,000504: 37,3101           55277                           TS       OLDBT1                                #  SET UP FREE FALL GYRO COMPENSATION
036949,000505: 
036950,000506: 37,3102           05547                           TC       UPFLAG                                #  SET DRIFTFLG
036951,000507: 37,3103           00036                           ADRES    DRIFTFLG                              #  BIT 15 FLAG 2
036952,000508: 37,3104           05362                           TC       2PHSCHNG                              
036953,000509: 37,3105           00005                           OCT      5                                     #  GROUP 5 OFF
036954,000510: 37,3106           05022                           OCT      05022                                 #  GROUP 2 ON FOR AVETOMID
036955,000511: 37,3107           20000                           OCT      20000                                 
036956,000512: 
036957,000513: 37,3110           06006                           TC       INTPRET                               

Page 834

036959,000515: 37,3111           77624                           CALL                                           
036960,000516: 37,3112           73677                                    AVETOMID                              #  CONVERT STATE VECTOR TO REFERENCE SCALE.
036961,000517: 37,3113           77776                           EXIT                                           
036962,000518: 
036963,000519: 37,3114           04636                           TC       BANKCALL                              
036964,000520: 37,3115           17231                           CADR     PIPFREE                               
036965,000521: 
036966,000522: 37,3116           44760                           CS       BIT9                                  
036967,000523: 37,3117           55722                           TS       MRKBUF1                               #  INVALIDATE MARK BUFFER
036968,000524: 37,3120           00006                           EXTEND                                         
036969,000525: 37,3121           03011                           WAND     DSALMOUT                              
036970,000526: 
036971,000527: 37,3122           05561                           TC       DOWNFLAG                              
036972,000528: 37,3123           00147                           ADRES    CM/DSTBY                              
036973,000529: 
036974,000530: 37,3124           05561                           TC       DOWNFLAG                              
036975,000531: 37,3125           00162                           ADRES    V37FLAG                               
036976,000532: 
036977,000533: 37,3126           30104                           CA       FLAGWRD8                              
036978,000534: 37,3127           74760                           MASK     UTBIT                                 
036979,000535: 37,3130           10000                           CCS      A                                     
036980,000536: 37,3131           13146                           TCF      UTAVEND                               
036981,000537: 
036982,000538: 37,3132           34762                           CAF      RNDVZBIT                              #  RESTORE GROUP 1 + 2 IF P20 IS RUNNING
036983,000539: 37,3133           70074                           MASK     FLAGWRD0                              
036984,000540: 37,3134           00006                           EXTEND                                         
036985,000541: 37,3135           13141                           BZF      +4                                    
036986,000542: 
036987,000543: 37,3136           05362                           TC       2PHSCHNG                              
036988,000544: 37,3137           00111                           OCT      111                                   #  1.11SPOT
036989,000545: 37,3140           00132                           OCT      132                                   #  2.13SPOT
036990,000546: 
036991,000547: 37,3141  01,2025               1P11SPT7           =        1.11SPOT                              
036992,000548: 37,3141  01,2047               2P13SPT2           =        2.13SPOT                              
036993,000549: 37,3141           04655        ENDAVEG            TC       POSTJUMP                              
036994,000550: 37,3142           10162                           CADR     CANV37                                
036995,000551: 
036996,000552: 37,3143           05402        SERVEXIT           TC       PHASCHNG                              
036997,000553: 37,3144           00035                           OCT      00035                                 #  A, 5.3 = REREADAC  (ONLY)
036998,000554: 
036999,000555: 37,3145  01,2250               5P3SPT13           =        5.3SPOT                               
037000,000556: 37,3145           15205                           TCF      ENDOFJOB                              
037001,000557: 
037002,000558: 37,3146           05362        UTAVEND            TC       2PHSCHNG                              
037003,000559: 37,3147           00111                           OCT      111                                   
037004,000560: 37,3150           00002                           OCT      2                                     
037005,000561: 
037006,000562: 37,3151  01,2025               1P11SPT8           =        1.11SPOT                              
037007,000563: 37,3151           13141                           TCF      ENDAVEG                               

Page 835

037009,000565: 37,3152     4775               DVTHRUSH           EQUALS   ELEVEN                                #  15 PERCENT OF 2SEC PIPA ACCUMULATION,
037010,000566:                                                                                                  #        FOR 503-FULL CSM/LEM....DELV SC.AT
037011,000567:                                                                                                  #        5.85 CM/SEC.
037012,000568: 
037013,000569: 37,3152           63401        -MAXDELV           DEC      -6398      B-14                       #  3200 PPS FOR 2 SEC CCS TAKES 1
037014,000570: 
037015,000571: 37,3153           00170        JTAGTIME           DEC      120        B-14                       #  = 1 SEC + T CDU, T CDU = .1 SEC
037016,000572: 
037017,000573:                                                                                                  #  SHOULD BE 2-4 SECS FOR NO START
037018,000574:                                                                                                  #            6-8 SECS FOR FAILURE
037019,000575: 

Page 836

037021,000577:                                                                                                  #  NORMLIZE PERFORMS THE INITIALIZATION REQUIRED PRIOR TO THE FIRST ENTRY TO AVERAGEG, AND SCALES RN SO THAT IT
037022,000578:                                                                                                  #  HAS 1 LEADING BINARY ZERO. IN MOST MISSIONS, RN WILL BE SCALED AT 2(+29), BUT IN THE 206 MISSION, RN WILL BE
037023,000579:                                                                                                  #  SCALED AT 2(+24) M.
037024,000580: 
037025,000581: 37,3154           34776        NORMLIZE           CAF      THIRTEEN                              #  SET UP TO COPY 14 REGS- RN1,VN1,PIPTIME1
037026,000582: 37,3155           05607                           TC       GENTRAN                               #  INTO RN,VN,PIPTIME
037027,000583: 37,3156           01070                           ADRES    RN1                                   #  FROM HERE
037028,000584: 37,3157           01027                           ADRES    RN                                    #  TO HERE
037029,000585: 
037030,000586: 37,3160           00003                           RELINT                                         
037031,000587: 37,3161           06006                           TC       INTPRET                               
037032,000588: 37,3162           45175                           VLOAD    CALL                                  #  LOAD RN FOR CALCGRAV
037033,000589: 37,3163           01030                                    RN                                    
037034,000590: 37,3164           77270                                    CALCGRAV                              #  INITIALISE UNITR RMAG GDT1
037035,000591: 
037036,000592: 37,3165           25046                           STOVL    GDT/2                                 
037037,000593: 37,3166           01115                                    GOBL1/2                               
037038,000594: 37,3167           35054                           STCALL   GOBL/2                                
037039,000595: 37,3170           31263                                    ENDPLAC                               
037040,000596: 

Page 837

037042,000598:                                                                                                  #  *****  PIPA READER *****
037043,000599: 
037044,000600:                                                                                                  #                MOD NO. 00  BY D. LICKLY  DEC. 9 1966
037045,000601: 
037046,000602:                                                                                                  #  FUNCTIONAL DESCRIPTION
037047,000603: 
037048,000604:                                                                                                  #  SUBROUTINE TO READ PIPA COUNTERS, TRYING TO BE VERY CAREFUL SO THAT IT WILL BE RESTARTABLE.
037049,000605:                                                                                                  #  PIPA READINGS ARE STORED IN THE VECTOR DELV. THE HIGH ORDER PART OF EACH COMPONENT CONTAINS THE PIPA READING,
037050,000606:                                                                                                  #  RESTARTS BEGIN AT REREADAC.
037051,000607: 
037052,000608:                                                                                                  #  AT THE END OF THE PIPA READER THE CDUS ARE READ AND STORED AS A
037053,000609:                                                                                                  #  VECTOR IN CDUTEMP.  THE HIGH ORDER PART OF EACH COMPONENT CONTAINS
037054,000610:                                                                                                  #  THE CDU READING IN 2S COMP IN THE ORDER CDUX,Y,Z.  THE THRUST
037055,000611:                                                                                                  #  VECTOR ESTIMATOR IN FINDCDUD REQUIRES THE CDUS BE READ AT PIPTIME.
037056,000612: 
037057,000613:                                                                                                  #  CALLING SEQUENCE AND EXIT
037058,000614: 
037059,000615:                                                                                                  #        CALL VIA TC, ISWCALL, ETC.
037060,000616: 
037061,000617:                                                                                                  #        EXIT IS VIA Q.
037062,000618: 
037063,000619:                                                                                                  #  INPUT
037064,000620: 
037065,000621:                                                                                                  #        INPUT IS THROUGH THE COUNTERS PIPAX, PIPAY, PIPAZ, AND TIME2.
037066,000622: 
037067,000623:                                                                                                  #  OUTPUT
037068,000624: 
037069,000625:                                                                                                  #        HIGH ORDER COMPONENTS OF THE VECTOR DELV CONTAIN THE PIPA READINGS.
037070,000626:                                                                                                  #        PIPTIME CONTAINS TIME OF PIPA READING.
037071,000627: 
037072,000628:                                                                                                  #  DEBRIS (ERASABLE LOCATIONS DESTROYED BY PROGRAM)
037073,000629: 
037074,000630:                                                                                                  #        LOW ORDER DELV'S ARE ZEROED FOR TM INDICATION.
037075,000631:                                                                                                  #        TEMX    TEMY    TEMZ    PIPAGE
037076,000632: 
037077,000633: 37,3171           00006        PIPASR             EXTEND                                         
037078,000634: 37,3172           30025                           DCA      TIME2                                 
037079,000635: 37,3173           53105                           DXCH     PIPTIME1                              #  CURRENT TIME  POSITIVE VALUE
037080,000636: 37,3174           44772                           CS       ZERO                                  #  INITIALIZE THESE AT NEG ZERO.
037081,000637: 37,3175           55063                           TS       TEMX                                  
037082,000638: 37,3176           55064                           TS       TEMY                                  
037083,000639: 37,3177           55065                           TS       TEMZ                                  

Page 838

037085,000641: 37,3200           34772                           CA       ZERO                                  
037086,000642: 37,3201           55320                           TS       DELVZ                                 #  OTHER DELVS OK INCLUDING LOW ORDER
037087,000643: 37,3202           55316                           TS       DELVY                                 
037088,000644: 
037089,000645: 37,3203           55315                           TS       DELVX      +1                         #  LOW ORDER DELV'S ARE ZEROED FOR TM: THUS
037090,000646: 37,3204           55317                           TS       DELVY      +1                         #  IF DNLNK'D LOW ORDER DELVS ARE NZ, THEY
037091,000647: 37,3205           55321                           TS       DELVZ      +1                         #  CONTAIN PROPER COMPENSATION. IF=0, THEN
037092,000648:                                                                                                  #  THE TM VALUES ARE BEFORE COMPENSATION.
037093,000649: 
037094,000650: 37,3206           55067                           TS       PIPAGE                                #  SHOW PIPA READING IN PROGRESS
037095,000651: 
037096,000652: 37,3207           00006        REPIP1             EXTEND                                         
037097,000653: 37,3210           40040                           DCS      PIPAX                                 #  X AND Y PIPS READ
037098,000654: 37,3211           53064                           DXCH     TEMX                                  
037099,000655: 37,3212           52040                           DXCH     PIPAX                                 #  PIPAS SET TO NEG ZERO AS READ.
037100,000656: 37,3213           55314                           TS       DELVX                                 
037101,000657: 37,3214           23316                           LXCH     DELVY                                 
037102,000658: 
037103,000659: 37,3215           40041        REPIP3             CS       PIPAZ                                 #  REPEAT PROCESS FOR Z PIP
037104,000660: 37,3216           57065                           XCH      TEMZ                                  
037105,000661: 37,3217           56041                           XCH      PIPAZ                                 
037106,000662: 37,3220           55320        DODELVZ            TS       DELVZ                                 
037107,000663: 
037108,000664: 37,3221           00002                           TC       Q                                     
037109,000665: 
037110,000666: 37,3222  E6,1661                                  EBANK=   AOG                                   
037111,000667: 
037112,000668: 37,3222           11166        REREADAC           CCS      PHASE5                                #  LAST PASS CHECK
037113,000669: 37,3223           13225                           TCF      +2                                    
037114,000670: 37,3224           15314                           TCF      TASKOVER                              
037115,000671: 
037116,000672: 37,3225           37652                           CAF      PRIO31                                #  RESTART MAY HAVE WIPED OUT LASTBIAS, AN
037117,000673: 37,3226           55277                           TS       1/PIPADT                              #        UNPROTECTED NOVAC FROM PREREAD,
037118,000674:                                                                                                  #        WHICH SET(S) UP 1/PIPADT (THUSLY)
037119,000675:                                                                                                  #        FOR NON-COASTING COMPENSATION....BE
037120,000676:                                                                                                  #        SURE 1/PIPADT IS AOK. (PRIO31 IS
037121,000677:                                                                                                  #        2.0SEC SC.AT B+8CS)
037122,000678: 
037123,000679: 37,3227           11067                           CCS      PIPAGE                                
037124,000680: 37,3230           12652                           TCF      READACCS                              #  PIP READING NOT STARTED. GO TO BEGINNING
037125,000681: 
037126,000682: 37,3231           33267                           CAF      DONEADR                               #  SET UP RETURN FROM PIPASR
037127,000683: 37,3232           54002                           TS       Q                                     
037128,000684: 
037129,000685: 37,3233           11320                           CCS      DELVZ                                 
037130,000686: 37,3234           00002                           TC       Q                                     #  Z DONE, GO DO CDUS
037131,000687: 37,3235           13240                           TCF      +3                                    #  Z NOT DONE, CHECK Y.
037132,000688: 37,3236           00002                           TC       Q                                     
037133,000689: 37,3237           00002                           TC       Q                                     

Page 839

037135,000691: 37,3240           22007                           ZL                                             
037136,000692: 37,3241           11316                           CCS      DELVY                                 
037137,000693: 37,3242           13245                           TCF      +3                                    
037138,000694: 37,3243           13254                           TCF      CHKTEMX                               #  Y NOT DONE, CHECK X.
037139,000695: 37,3244           13245                           TCF      +1                                    
037140,000696: 37,3245           22041                           LXCH     PIPAZ                                 #  Y DONE, ZERO Z PIP.
037141,000697: 
037142,000698: 37,3246           11065                           CCS      TEMZ                                  
037143,000699: 37,3247           41065                           CS       TEMZ                                  #  TEMZ NOT = -0, CONTAINS -PIPAZ VALUE.
037144,000700: 37,3250           13220                           TCF      DODELVZ                               
037145,000701: 37,3251           13247                           TCF      -2                                    
037146,000702: 37,3252           23320                           LXCH     DELVZ                                 #  TEMZ = -0, L HAS ZPIP VALUE.
037147,000703: 37,3253           00002                           TC       Q                                     
037148,000704: 
037149,000705: 37,3254           11063        CHKTEMX            CCS      TEMX                                  #  HAS THIS CHANGED
037150,000706: 37,3255           41063                           CS       TEMX                                  #  YES
037151,000707: 37,3256           13261                           TCF      +3                                    #  YES
037152,000708: 37,3257           13255                           TCF      -2                                    #  YES
037153,000709: 37,3260           13207                           TCF      REPIP1                                #  NO
037154,000710: 37,3261           55314                           TS       DELVX                                 
037155,000711: 
037156,000712: 37,3262           41064                           CS       TEMY                                  
037157,000713: 37,3263           55316                           TS       DELVY                                 
037158,000714: 
037159,000715: 37,3264           44772                           CS       ZERO                                  #  ZERO X AND Y PIPS
037160,000716: 37,3265           52040                           DXCH     PIPAX                                 #  L STILL ZERO FROM ABOVE
037161,000717: 
037162,000718: 37,3266           13215                           TCF      REPIP3                                
037163,000719: 
037164,000720: 37,3267           02653        DONEADR            GENADR   PIPSDONE                              
037165,000721: 

Page 840

037167,000723:                                                                                                  #  *************************************************************************************************************
037168,000724: 
037169,000725:                                                                                                  #           ROUTINE CALCRVG INTEGRATES THE EQUATIONS OF MOTION BY AVERAGING THE THRUST AND GRAVITATIONAL
037170,000726:                                                                                                  #  ACCELERATIONS OVER A TIME INTERVAL OF 2 SECONDS.
037171,000727: 
037172,000728:                                                                                                  #  FOR THE EARTH-CENTERED GRAVITATIONAL FIELD, THE PERTURBATION DUE TO OBLATENESS IS COMPUTED TO THE FIRST
037173,000729:                                                                                                  #  HARMONIC COEFFICIENT J.
037174,000730: 
037175,000731:                                                                                                  #  ROUTINE CALCRVG REQUIRES...
037176,000732:                                                                                                  #        1) THRUST ACCELERATION INCREMENTS IN DELV SCALED SAME AS PIPAX,Y,Z IN STABLE MEMBER COORDS.
037177,000733:                                                                                                  #        2) VN SCALED 2(+7) M/CS IN REFERENCE COORDS.
037178,000734:                                                                                                  #        3) RN SCALED AT 2(+29) METERS IN REFERENCE COORDS.
037179,000735:                                                                                                  #        4) UNITW THE EARTH S UNIT ROTATIONAL VECTOR (SCALED AS A FULL UNIT VECTOR) IN REFERENCE COORDS.
037180,000736: 
037181,000737:                                                                                                  #  IT LEAVES RN1 UPDATED (SCALED AT 2(+29)M, VN1 (SCALED AT 2(+7)M/CS), AND GDT1/2 (SCALED AT 2(+7)M/CS). ALSO HALF
037182,000738:                                                                                                  #  UNIT VECTOR UNITR, RMAG IN 36D SCALED AT 2(+29)M, R MAG SQ. IN 34D SCALED AT 2(+58) M SQ.
037183,000739: 
037184,000740: 37,3270           41456        CALCGRAV           UNIT     PUSH                                  #  ENTER WITH RN IN MPAC
037185,000741: 37,3271           01756                           STORE    UNITR                                 
037186,000742: 37,3272           67340                           LXC,1    SLOAD                                 
037187,000743: 37,3273           03746                                    RTX2                                  
037188,000744: 37,3274           00047                                    X1                                    
037189,000745: 37,3275           77240                           BMN      VLOAD                                 
037190,000746: 37,3276           77324                                    ITISMOON                              
037191,000747: 37,3277           41441                           DOT      PUSH                                  
037192,000748: 37,3300           01712                                    UNITW                                 
037193,000749: 37,3301           44316                           DSQ      BDSU                                  
037194,000750: 37,3302           37375                                    DP1/20                                
037195,000751: 37,3303           56325                           PDDL     DDV                                   
037196,000752: 37,3304           37377                                    RESQ                                  
037197,000753: 37,3305           00043                                    34D                                   #  (RN)SQ
037198,000754: 37,3306           00041                           STORE    32D                                   #  TEMP FOR (RE/RN)SQ
037199,000755: 37,3307           41205                           DMP      DMP                                   
037200,000756: 37,3310           37401                                    20J                                   
037201,000757: 37,3311           65361                           VXSC     PDDL                                  
037202,000758: 37,3312           01756                                    UNITR                                 
037203,000759: 37,3313           41205                           DMP      DMP                                   
037204,000760: 37,3314           37403                                    2J                                    
037205,000761: 37,3315           00041                                    32D                                   
037206,000762: 37,3316           53361                           VXSC     VAD                                   
037207,000763: 37,3317           01712                                    UNITW                                 
037208,000764: 37,3320           77626                           STADR                                          
037209,000765: 37,3321           76662                           STORE    GOBL1/2                               
037210,000766: 37,3322           41455                           VAD      PUSH                                  
037211,000767: 37,3323           01756                                    UNITR                                 
037212,000768: 37,3324           63545        ITISMOON           DLOAD    DSQ                                   
037213,000769: 37,3325           00045                                    36D                                   
037214,000770: 37,3326           77701                           NORM                                           
037215,000771: 37,3327           00050                                    X2                                    

Page 841

037217,000773: 37,3330           53663                           BDDV*    SLR*                                  
037218,000774: 37,3331           37367                                    -MUDT(E),1                            
037219,000775: 37,3332           56623                                    0          -21D,2                     
037220,000776: 37,3333           45561                           VXSC     STADR                                 
037221,000777: 37,3334           76670                           STORE    GDT1/2                                #  SCALED AT 2(+7) M/CS
037222,000778: 37,3335           77616                           RVQ                                            
037223,000779: 
037224,000780: 37,3336           74375        CALCRVG            VLOAD    VXSC                                  
037225,000781: 37,3337           01315                                    DELV                                  
037226,000782: 37,3340           37365                                    KPIP1                                 
037227,000783: 37,3341           76505                           VXM      VSL1                                  
037228,000784: 37,3342           01734                                    REFSMMAT                              
037229,000785: 37,3343           03432                           STORE    DELVREF                               #  DELV IN REF COORDS AT 2(+7)
037230,000786: 37,3344           41562                           VSR1     PUSH                                  
037231,000787: 37,3345           41455                           VAD      PUSH                                  #  (DV-OLDGDT)/2 TO PD SCALED AT 2(+7)M/CS
037232,000788: 37,3346           01046                                    GDT/2                                 
037233,000789: 37,3347           74255                           VAD      VXSC                                  
037234,000790: 37,3350           01036                                    VN                                    
037235,000791: 37,3351           37373                                    2SEC(22)                              
037236,000792: 37,3352           44055                           VAD      STQ                                   
037237,000793: 37,3353           01030                                    RN                                    
037238,000794: 37,3354           00037                                    31D                                   
037239,000795: 37,3355           35071                           STCALL   RN1                                   #  TEMP STORAGE OF RN SCALED 2(+29)M
037240,000796: 37,3356           77270                                    CALCGRAV                              
037241,000797: 
037242,000798: 37,3357           53255                           VAD      VAD                                   
037243,000799: 37,3360           77655                           VAD                                            
037244,000800: 37,3361           01036                                    VN                                    
037245,000801: 37,3362           35077                           STCALL   VN1                                   #  TEMP STORAGE OF VN SCALED 2(+7) M/CS
037246,000802: 37,3363           00037                                    31D                                   
037247,000803: 
037248,000804: 37,3364           02312 32537  KPIP1              2DEC     0.074880                              #  207 DELV SCALING.  1 PULSE = 5.85 CM/SEC.
037249,000805: 
037250,000806: 37,3366           61377 55754  -MUDT(E)           2DEC*    -7.9720645 E+12       B-44*           
037251,000807: 
037252,000808: 37,3370           77644 65556  -MUDT(M)           2DEC*    -9.805556  E+10       B-44*           
037253,000809: 
037254,000810: 37,3372           00000 31000  2SEC(22)           2DEC     200        B-22                       
037255,000811: 
037256,000812: 37,3374           01463 06315  DP1/20             2DEC     0.05                                  
037257,000813: 
037258,000814: 37,3376           00001 05000  RESQ               2DEC*    40.6809913 E12        B-59*           
037259,000815: 
037260,000816: 37,3400           02047 36332  20J                2DEC*    3.24692010 E-2        B1*             
037261,000817: 
037262,000818: 37,3402           00152 14511  2J                 2DEC*    3.24692010 E-3        B1*             
037263,000819: 

End of include-file SERVICER207.agc.  Parent file is MAIN.agc