Source Code

These source-code files were transcribed from a printout in Don Eyles's personal collection, scanned by archive.org, and financially sponsored by Linden Sims. A team of volunteers performed the transcription and proof-reading. The scanned page images are available at the Virtual AGC Project website, as well as higher-quality (but much larger) images at the Virtual AGC Project's collection in the Internet Archive. Report any problems by creating "issues" at the Virtual AGC Project's GitHub Repository.

Notations on the program listing read, in part:

	GAP:  ASSEMBLE REVISION 56 OF AGC PROGRAM ZERLINA BY ZOROASTER
	9:12 OCT. 21,1970
Note that the date is the date of the printout, not the date of the program revision.

064893,000002:                                                                                                  ## Copyright:   Public domain.
064894,000003:                                                                                                  ## Filename:    AOSTASK_AND_AOSJOB.agc
064895,000004:                                                                                                  ## Purpose:     A log section of Zerlina 56, the final revision of
064896,000005:                                                                                                  ##              Don Eyles's offline development program for the variable 
064897,000006:                                                                                                  ##              guidance period servicer. It also includes a new P66 with LPD 
064898,000007:                                                                                                  ##              (Landing Point Designator) capability, based on an idea of John 
064899,000008:                                                                                                  ##              Young's. Neither of these advanced features were actually flown,
064900,000009:                                                                                                  ##              but Zerlina was also the birthplace of other big improvements to
064901,000010:                                                                                                  ##              Luminary including the terrain model and new (Luminary 1E)
064902,000011:                                                                                                  ##              analog display programs. Zerlina was branched off of Luminary 145,
064903,000012:                                                                                                  ##              and revision 56 includes all changes up to and including Luminary
064904,000013:                                                                                                  ##              183. It is therefore quite close to the Apollo 14 program,
064905,000014:                                                                                                  ##              Luminary 178, where not modified with new features.
064906,000015:                                                                                                  ## Reference:   pp. 1473-1494
064907,000016:                                                                                                  ## Assembler:   yaYUL
064908,000017:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
064909,000018:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
064910,000019:                                                                                                  ## Mod history: 2017-07-28 MAS  Created from Luminary 210.
064911,000020:                                                                                                  ##              2017-08-23 MAS  Updated for Zerlina 56.
064912,000021: 

Page 1473

064914,000023:                                                                                                  #  PROGRAM NAME: 1/ACCS
064915,000024:                                                                                                  #  PROGRAM WRITTEN BY: BOB COVELLI AND MIKE HOUSTON
064916,000025:                                                                                                  #  LAST MODIFICATION: FEB.14,1969 BY G.KALAN
064917,000026: 
064918,000027:                                                                                                  #  PROGRAM DESCRIPTION:
064919,000028: 
064920,000029:                                                                                                  #     1/ACCS PROVIDES THE INTERFACE BETWEEN THE GUIDANCE PROGRAMS AND THE DIGITAL AUTOPILOT. WHENEVER THERE IS A
064921,000030:                                                                                                  #  CHANGE IN THE MASS OF THE VEHICLE, IN THE DEADBAND SELECTED, IN THE VEHICLE CONFIGURATION (ASCENT-DESCENT-
064922,000031:                                                                                                  #  DOCKED), AND DURING A FRESH START OR A RESTART, 1/ACCS IS CALLED TO COMMUNICATE THE DATA CHANGES TO THE DAP.
064923,000032: 
064924,000033:                                                                                                  #     THE INPUTS TO 1/ACCS ARE MASS, ACCELERATION (ABDELV), DEADBAND (DB), OFFSET ACCELERATIONS (AOSQ AND AOSR),
064925,000034:                                                                                                  #  STAGE VERIFY BIT (CHAN30,BIT2), DOCKED BIT (DAPBOOLS,BIT13), DRIFT BIT (DAPBOOLS,BIT8), USEQRJTS (DAPBOOLS,
064926,000035:                                                                                                  #  BIT14), AND SURFACE FLAG (FLAGWRD8,BIT8), AND CH5MASK.
064927,000036: 
064928,000037:                                                                                                  #     1/ACCS COMPUTES THE JET ACCELERATIONS (1JACC, 1JACCQ, 1JACCR) AS FUNCTIONS OF MASS. 1JACCU AND 1JACCV ARE
064929,000038:                                                                                                  #  FORMED BY RESOLVING 1JACCQ NAD 1JACCR. IN THE DESCENT CASE, THE DESCENT ENGINE MOMENT ARM (L,PVT-CG) IS ALSO
064930,000039:                                                                                                  #  COMPUTED AS A FUNCTION OF MASS. THE RATE OF CHANGE OF ACCELERATION DUE TO ROTATION OF THE GIMBAL (ACCDOTQ,
064931,000040:                                                                                                  #  ACCDOTR) IS ALSO COMPUTED IN THE DESCENT CASE.
064932,000041: 
064933,000042:                                                                                                  #     AFTER THE ABOVE COMPUTATIONS, THE PROGRAM 1/ACCONT COMPUTES THE RECIPROCAL  NET ACCELERATIONS ABOUT THE P, U,
064934,000043:                                                                                                  #  AND V AXES (2 JETS FOR P AXIS, BOTH 1 AND 2 JETS FOR U AND V AXES), AND THE RECIPROCAL COAST ACCELERATIONS ABOUT
064935,000044:                                                                                                  #  THE P, U, AND V AXES. THE ACCELERATION FUNCTIONS (ACCFCTZ1 AND ACCFCTZ5)ARE ALSO COMPUTED FOR THESE AXES. THE
064936,000045:                                                                                                  #  FIRE AND COAST DEADBANDS AND AXISDIST ARE COMPUTED FOR EACH AXIS. FLAT AND ZONE3LIM, THE WIDTH AND HEIGHT OF THE
064937,000046:                                                                                                  #  MINIMUM IMPULSE ZONE, ARE COMPUTED. 1/ACCONT ALSO SETS ACCSWU AND ACCSWV, WHICH INDICATE WHEN 1 JET ACCELERATION
064938,000047:                                                                                                  #  IS NOT SUFFICIENT TO PRODUCE MINIMUM ACCELERATION. AT THE COMPLETION OF 1/ACCS, THE ACCSOKAY BIT IS SET.
064939,000048: 
064940,000049: 
064941,000050:                                                                                                  #  SUBBOUTINES CALLED:
064942,000051: 
064943,000052:                                                                                                  #           TIMEGMBL
064944,000053:                                                                                                  #           MAKECADR
064945,000054:                                                                                                  #           ROT45DEG
064946,000055: 
064947,000056:                                                                                                  #  CALLING SEQUENCE:
064948,000057: 
064949,000058:                                                                                                  #                                                   TC     BANKCALL        (1/ACCS MUST BE CALL BY BANKCALL
064950,000059:                                                                                                  #                                                   CADR   1/ACCS
064951,000060: 
064952,000061:                                                                                                  #  NORMAL EXIT: VIA BANKJUMP       ALARM AND ABORT EXIT MODES: NONE.
064953,000062: 
064954,000063:                                                                                                  #  INPUT/OUTPUT: SEE PROGRAM DESCRIPTION
064955,000064: 
064956,000065:                                                                                                  #  DEBRIS:
064957,000066: 
064958,000067:                                                                                                  #  ALL OF THE EXECUTIVE TEMPORARY REGISTERS, EXCEPT FIXLOC AND OVFIND, AND THE CORE SET AREA FROM MPAC TO BANKSET.
064959,000068: 
064960,000069:                                                                                                  #  RESTRICTIONS:
064961,000070: 
064962,000071:                                                                                                  #  1/ACCS MUST BE CALLED BY BANKCALL
064963,000072:                                                                                                  #  EBANK IS SET TO 6, BUT NOT RESTORED.
064964,000073: 

Page 1474

064966,000075: 21,3550                                           BANK     21                                    
064967,000076: 21,2000                                           SETLOC   DAPS4                                 
064968,000077: 21,2000                                           BANK                                           
064969,000078: 
064970,000079: 21,3550                                           COUNT*   $$/DAPAO                              
064971,000080: 
064972,000081: 21,3550  E6,1536                                  EBANK=   AOSQ                                  
064973,000082: 
064974,000083:                                                                                                  #  ENTRY IS THROUGH 1/ACCJOB OR 1/ACCSET WHEN 1/ACCS IS TO BE DONE AS A SEPARATE NOVAC JOB.
064975,000084: 
064976,000085:                                                                                                  #  IT IS POSSIBLE FOR MORE THAN ONE OF THESE JOBS TO BE SET UP CONCURRENTLY.  HOWEVER, SINCE THERE IS NO CHECK OF
064977,000086:                                                                                                  #  NEWJOB, A SECOND MANIFESTATION CANNOT BE STARTED UNTIL THE FIRST IS COMPLETED.
064978,000087: 
064979,000088: 21,3550           34755        1/ACCSET           CAF      ZERO                                  #  ENTRY FROM FRESH START/RESTART CODING.
064980,000089: 21,3551           55536                           TS       AOSQ                                  #    NULL THE OFFSET ESTIMATES FOR 1/ACCS.
064981,000090: 21,3552           55540                           TS       AOSR                                  
064982,000091: 21,3553           55424                           TS       ALPHAQ                                #    NULL THE OFFSET ESTIMATES FOR DOWNLIST
064983,000092: 21,3554           55425                           TS       ALPHAR                                
064984,000093: 
064985,000094: 21,3555           04616        1/ACCJOB           TC       BANKCALL                              #  1/ACCS ASSUMES ENTRY VIA BANKCALL.
064986,000095: 21,3556           40465                           CADR     1/ACCS     +2                         #  SKIP EBANK SETTING.
064987,000096: 
064988,000097: 21,3557           05155                           TC       ENDOFJOB                              
064989,000098: 
064990,000099: 20,2463                                           BANK     20                                    
064991,000100: 20,2000                                           SETLOC   DAPS3                                 
064992,000101: 20,2000                                           BANK                                           
064993,000102: 20,2463                                           COUNT*   $$/DAPAO                              
064994,000103: 
064995,000104: 20,2463           35015        1/ACCS             CA       EBANK6                                #  ***** EBANK SET BUT NOT RESTORED *****
064996,000105: 20,2464           54003                           TS       EBANK                                 
064997,000106: 
064998,000107: 20,2465           04645                           TC       MAKECADR                              #  SAVE RETURN SO THAT BUF2 MAY BE USED
064999,000108: 20,2466           54117                           TS       ACCRETRN                              
065000,000109: 
065001,000110:                                                                                                  #  DETERMINE MASS OF THE LEM.
065002,000111: 20,2467           30111                           CA       DAPBOOLS                              #  IS CSM DOCKED
065003,000112: 20,2470           74737                           MASK     CSMDOCKD                              
065004,000113: 20,2471           54157                           TS       DOCKTEMP                              #  STORE RECORD OF STATE IN TEMP (MPAC +3).
065005,000114: 20,2472           10000                           CCS      A                                     
065006,000115: 20,2473           41327                           CS       CSMMASS                               #    DOCKED:  LEMMASS = MASS - CSMMASS
065007,000116: 20,2474           61245                           AD       MASS                                  #    LEM ALONE: LEMMASS = MASS
065008,000117: 20,2475           55326                           TS       LEMMASS                               
065009,000118: 
065010,000119:                                                                                                  #  ON THE BASIS OF APSFLAG:
065011,000120:                                                                                                  #      SET THE P-AXIS RATE COMMAND LIMIT FOR 2-JET/4-JET CONTROL
065012,000121:                                                                                                  #      SET MPAC, WHICH INDICATES THE PROPER SET OF COEFFICIENTS FOR THE LEM-ALONE F(MASS) CALCULATIONS
065013,000122:                                                                                                  #      ENSURE THAT THE LEM MASS VALUE IS WITHIN THE ACCEPTABLE RANGE
065014,000123: 
065015,000124: 20,2476           00004                           INHINT                                         

Page 1475

065017,000126: 20,2477           30106                           CAE      FLGWRD10                              #  DETERMINE WHETHER STAGED.
065018,000127: 20,2500           74737                           MASK     APSFLBIT                              
065019,000128: 20,2501           00006                           EXTEND                                         
065020,000129: 20,2502           12526                           BZF      DPSFLITE                              
065021,000130: 
065022,000131: 20,2503           44733                           CS       POSMAX                                #  ASCENT (OR ON LUNAR SURFACE)
065023,000132: 20,2504           55475                           TS       -2JETLIM                              #  ALWAYS 2 JETS FOR P-AXIS RATE COMMAND
065024,000133: 20,2505           35752                           CAF      OCT14                                 #  INITIALIZE INDEX AT 12.
065025,000134: 20,2506           54154                           TS       MPAC                                  
065026,000135: 20,2507           41326                           CS       LEMMASS                               #  CHECK IF MASS TOO HIGH.  CATCH STAGING.
065027,000136: 20,2510           61400                           AD       HIASCENT                              
065028,000137: 20,2511           00006                           EXTEND                                         
065029,000138: 20,2512           62517                           BZMF     MASSFIX                               
065030,000139: 20,2513           41326                           CS       LEMMASS                               #  CHECK IF MASS TOO LOW.  THIS LIMITS THE
065031,000140: 20,2514           62001                           AD       LOASCENT                              #    DECREMENTING BY MASSMON.
065032,000141: 20,2515           00006                           EXTEND                                         
065033,000142: 20,2516           62544                           BZMF     F(MASS)                               
065034,000143: 
065035,000144: 20,2517           27326        MASSFIX            ADS      LEMMASS                               #  STORE THE VIOLATED LIMIT AS LEMMASS.
065036,000145: 20,2520           22007                           ZL                                             #    ALSO CORRECT TOTAL MASS, ZEROING THE
065037,000146: 20,2521           10157                           CCS      DOCKTEMP                              #    LOW-ORDER WORD.
065038,000147: 20,2522           31327                           CAE      CSMMASS                               #      DOCKED:  MASS = LEMMASS + CSMMASS
065039,000148: 20,2523           61326                           AD       LEMMASS                               #      LEM ALONE:  MASS = LEMMASS
065040,000149: 20,2524           53246                           DXCH     MASS                                  
065041,000150: 20,2525           12544                           TCF      F(MASS)                               
065042,000151: 
065043,000152: 20,2526           44742        DPSFLITE           CS       BIT10                                 #  FOUR JETS FOR P-AXIS RATE COMMAND ERRORS
065044,000153: 20,2527           55475                           TS       -2JETLIM                              #    EXCEEDING 1.4 DEG/SEC  (SCALED AT 45)
065045,000154: 20,2530           36254                           CAF      SIX                                   #  INITIALIZE INDEX AT 6.
065046,000155: 20,2531           54154                           TS       MPAC                                  
065047,000156: 20,2532           41326                           CS       LEMMASS                               #  CHECK IF MASS TOO HIGH.  SHOULD NEVER
065048,000157: 20,2533           62002                           AD       HIDESCNT                              #    OCCUR EXCEPT PERHAPS BEFORE THE PAD
065049,000158: 20,2534           00006                           EXTEND                                         #    LOAD IS DONE.
065050,000159: 20,2535           62517                           BZMF     MASSFIX                               
065051,000160: 20,2536           41326                           CS       LEMMASS                               #  CHECK IF MASS TOO LOW.  THIS LIMITS THE
065052,000161: 20,2537           62003                           AD       LODESCNT                              #    DECREMENTING BY MASSMON.
065053,000162: 20,2540           61400                           AD       HIASCENT                              
065054,000163: 20,2541           00006                           EXTEND                                         
065055,000164: 20,2542           62544                           BZMF     F(MASS)                               
065056,000165: 20,2543           12517                           TCF      MASSFIX                               
065057,000166:                                                                                                  #  COMPUTATION OF FUNCTIONS OF MASS
065058,000167: 
065059,000168: 20,2544           00003        F(MASS)            RELINT                                         
065060,000169: 20,2545           10157                           CCS      DOCKTEMP                              
065061,000170: 20,2546           13111                           TCF      DOCKED                                #  DOCKED: USE SEPERATE COMPUTATION.
065062,000171: 20,2547           34752                           CA       TWO                                   
065063,000172: 20,2550           54155        STCTR              TS       MPAC       +1                         #  J=2,1,0 FOR 1JACCR,1JACCQ,1JACC
065064,000173: 
065065,000174: 20,2551           44752                           CS       TWO                                   
065066,000175: 20,2552           26154                           ADS      MPAC                                  #  JX=10,8,6 OR 4,2,0 TO INDEX COEFS.
065067,000176: 

Page 1476

065069,000178: 20,2553           31326        STCTR1             CAE      LEMMASS                               
065070,000179: 20,2554           50154                           INDEX    MPAC                                  
065071,000180: 20,2555           63064                           AD       INERCONC                              
065072,000181: 20,2556           54156                           TS       MPAC       +2                         #  MASS + C
065073,000182: 20,2557           00006                           EXTEND                                         
065074,000183: 20,2560           50154                           INDEX    MPAC                                  
065075,000184: 20,2561           33046                           DCA      INERCONA                              
065076,000185: 20,2562           00006                           EXTEND                                         
065077,000186: 20,2563           10156                           DV       MPAC       +2                         
065078,000187: 20,2564           50154                           INDEX    MPAC                                  
065079,000188: 20,2565           63063                           AD       INERCONB                              
065080,000189: 20,2566           50155                           INDEX    MPAC       +1                         #  1JACC(J)=A(JX)/(MASS+C(JX) + B(JX)
065081,000190: 20,2567           55530                           TS       1JACC                                 #  1JACC(-1)=L,PVT-CG  SCALED AT 8 FEET
065082,000191: 
065083,000192: 20,2570           10155                           CCS      MPAC       +1                         
065084,000193: 20,2571           12550                           TCF      STCTR                                 
065085,000194: 20,2572           12574                           TCF      COMMEQS                               
065086,000195: 20,2573           12673                           TCF      LRESC                                 
065087,000196: 
065088,000197:                                                                                                  #    COEFFQ AND COEFFR ARE COMPUTED IN THIS SECTION. THEY ARE USED TO RESOLVE Q-R COMPONENTS INTO NON-ORTHOGONAL
065089,000198:                                                                                                  #  U AND V COMPONENTS (SEE ROT-TOUV SECTION).
065090,000199: 
065091,000200: 20,2574           22007        COMMEQS            ZL                                             
065092,000201: 20,2575           41532                           CS       1JACCR                                
065093,000202: 20,2576           61531                           AD       1JACCQ                                
065094,000203: 20,2577           00006                           EXTEND                                         
065095,000204: 20,2600           62624                           BZMF     BIGIQ                                 
065096,000205: 20,2601           00006                           EXTEND                                         #  EPSILON IS A MEASURE OF COUPLING AND IS
065097,000206: 20,2602           11531                           DV       1JACCQ                                #  DEFINED=1-IQ/IR FOR IR GREATER THAN IQ.
065098,000207: 20,2603           54155                           TS       EPSILON                               #  THE COMPUTED EXPRESSION IS EQUIVALENT
065099,000208: 20,2604           63110                           AD       -EPSMAX                               
065100,000209: 20,2605           00006                           EXTEND                                         
065101,000210: 20,2606           62611                           BZMF     GOODEPS1                              
065102,000211: 20,2607           43110                           CS       -EPSMAX                               
065103,000212: 20,2610           54155                           TS       EPSILON                               #  EPSILON IS LIMITED TO A MAX. OF .42265
065104,000213: 20,2611           30155        GOODEPS1           CA       EPSILON                               
065105,000214: 20,2612           00006                           EXTEND                                         
065106,000215: 20,2613           73104                           MP       0.35356                               
065107,000216: 20,2614           63106                           AD       .7071                                 
065108,000217: 20,2615           55627                           TS       COEFFR                                #  IN THIS CASE WHERE IR IS GREATER THAN
065109,000218: 20,2616           44733                           CS       POSMAX                                #  IQ, COEFFQ=-.707(1+.5EPSILON)(1-EPSILON)
065110,000219: 20,2617           60155                           AD       EPSILON                               #  AND COEFFR=.707(1+.5EPSILON)
065111,000220: 20,2620           00006                           EXTEND                                         
065112,000221: 20,2621           71627                           MP       COEFFR                                
065113,000222: 20,2622           55626                           TS       COEFFQ                                
065114,000223: 20,2623           12647                           TCF      JACCUV                                
065115,000224: 20,2624           00006        BIGIQ              EXTEND                                         #  EPSILON IS DEFINED AS 1-IR/IQ FOR IQ
065116,000225: 20,2625           11532                           DV       1JACCR                                #  GREATER THAN IR. -EPSILON IS COMPUTED
065117,000226: 20,2626           54155                           TS       -EPSILON                              #  RATHER THAN EPSILON FOR CONVENIENCE
065118,000227: 20,2627           40155                           CS       -EPSILON                              

Page 1477

065120,000229: 20,2630           63110                           AD       -EPSMAX                               
065121,000230: 20,2631           00006                           EXTEND                                         
065122,000231: 20,2632           62635                           BZMF     GOODEPS2                              
065123,000232: 20,2633           33110                           CA       -EPSMAX                               
065124,000233: 20,2634           54155                           TS       -EPSILON                              #  EPSILON IS LIMITED TO A MAX. OF .42265
065125,000234: 20,2635           30155        GOODEPS2           CA       -EPSILON                              
065126,000235: 20,2636           00006                           EXTEND                                         
065127,000236: 20,2637           73104                           MP       0.35356                               
065128,000237: 20,2640           63107                           AD       -.7071                                
065129,000238: 20,2641           55626                           TS       COEFFQ                                #  IN THIS CASE WHERE IQ IS GREATER THAN
065130,000239: 20,2642           40155                           CS       -EPSILON                              #  IR, COEFFQ=-.707(1+.5EPSILON) AND
065131,000240: 20,2643           64735                           AD       NEGMAX                                #  COEFFR=.707(1+.5EPSILON)(1-EPSILON)
065132,000241: 20,2644           00006                           EXTEND                                         
065133,000242: 20,2645           71626                           MP       COEFFQ                                
065134,000243: 20,2646           55627                           TS       COEFFR                                
065135,000244: 20,2647           41626        JACCUV             CS       COEFFQ                                
065136,000245: 20,2650           00006                           EXTEND                                         
065137,000246: 20,2651           71531                           MP       1JACCQ                                #  1JACCQ IS SCALED AT PI/4
065138,000247: 20,2652           55533                           TS       1JACCU                                #  1JACCU USED AS TEMPORARY STORAGE
065139,000248: 20,2653           31627                           CA       COEFFR                                
065140,000249: 20,2654           00006                           EXTEND                                         
065141,000250: 20,2655           71532                           MP       1JACCR                                
065142,000251: 20,2656           61533                           AD       1JACCU                                
065143,000252: 20,2657           00006                           EXTEND                                         
065144,000253: 20,2660           74736                           MP       BIT14                                 #  SCALING CHANGED FROM PI/4 TO PI/2
065145,000254: 20,2661           55533                           TS       1JACCU                                #  SCALED AT PI/2 RADIANS/SEC(2)
065146,000255: 20,2662           10154                           CCS      MPAC                                  #  COMPUTE L,PVT-CG IF IN DESCENT
065147,000256: 20,2663           34755                           CAF      ZERO                                  #  ZERO SWITCHES AND GO TO 1/ACCONT IN
065148,000257: 20,2664           55502                           TS       ALLOWGTS                              #    ASCENT
065149,000258: 20,2665           13234                           TCF      1/ACCONT   -1                         
065150,000259: 
065151,000260: 20,2666           44752                           CS       TWO                                   
065152,000261: 20,2667           54154                           TS       MPAC                                  
065153,000262: 20,2670           44753                           CS       ONE                                   
065154,000263: 20,2671           54155                           TS       MPAC       +1                         
065155,000264: 20,2672           12553                           TCF      STCTR1                                
065156,000265:                                                                                                  #  THIS SECTION COMPUTES THE RATE OF CHANGE OF ACCELERATION DUE TO THE ROTATION OF THE GIMBALS.  THE EQUATION IMPLE
065157,000266:                                                                                                  #  MENTED IN BOTH THE Y-X PLANE AND THE Z-X PLANE IS -- D(ALPHA)/DT = TL/I*D(DELTA)/DT, WHERE
065158,000267:                                                                                                  #       T = ENGINE THRUST FORCE
065159,000268:                                                                                                  #       L = PIVOT TO CG DISTANCE OF ENGINE
065160,000269:                                                                                                  #       I = MOMENT OF INERTIA
065161,000270: 

The following line is marked as having changed between ZLMDAP.000 and ZLMDAP.001.

065163,000272: 20,2673           31250        LRESC              CAE      ABDVACC                               #  SCALED AT 2(13) CM/SEC/SESC
065164,000273: 20,2674           00006                           EXTEND                                         
065165,000274: 20,2675           71245                           MP       MASS                                  #  SCALED AT B+16 KGS
065166,000275: 20,2676           03002                           TC       DVOVSUB                               #  GET QUOTIENT WITH OVERFLOW PROTECTION
065167,000276: 20,2677           03105                           ADRES    GFACTM                                
065168,000277: 
065169,000278:                                                                                                  #  MASS IS DIVIDED BY ACCELERATION OF GRAVITY IN ORDER TO MATCH THE UNITS OF IXX,IYY,IZZ, WHICH ARE SLUG-FT(2).
065170,000279:                                                                                                  #  THE RATIO OF ACCELERATION FROM PIPAS TO ACCELERATION OF GRAVITY IS THE SAME IN METRIC OR ENGINEERING UNITS, SO

Page 1478

065172,000281:                                                                                                  #  THAT IS UNCONVERTED.  2.20462 CONVERTS KG. TO LB.  NOW T IS IN A SCALED AT 2(14).
065173,000282: 
065174,000283: 20,2700           00006                           EXTEND                                         
065175,000284: 20,2701           71527                           MP       L,PVT-CG                              #  SCALED AT 8 FEET.
065176,000285: 20,2702           00004                           INHINT                                         
065177,000286: 20,2703           54154                           TS       MPAC                                  
065178,000287: 20,2704           00006                           EXTEND                                         
065179,000288: 20,2705           71532                           MP       1JACCR                                
065180,000289: 20,2706           03002                           TC       DVOVSUB                               #  GET QUOTIENT WITH OVERFLOW PROTECTION
065181,000290: 20,2707           02000                           ADRES    TORKJET1                              
065182,000291: 
065183,000292: 20,2710           55511                           TS       ACCDOTR                               #  SCALED AT PI/2(7)
065184,000293: 20,2711           30154                           CA       MPAC                                  
065185,000294: 20,2712           00006                           EXTEND                                         
065186,000295: 20,2713           71531                           MP       1JACCQ                                
065187,000296: 20,2714           03002                           TC       DVOVSUB                               #  GET QUOTIENT WITH OVERFLOW PROTECTION
065188,000297: 20,2715           02000                           ADRES    TORKJET1                              
065189,000298: 
065190,000299: 20,2716           55507        SPSCONT            TS       ACCDOTQ                               #  SCALED AT PI/2(7)
065191,000300: 20,2717           00006                           EXTEND                                         
065192,000301: 20,2720           73103                           MP       DGBF                                  #  .3ACCDOTQ SCALED AT PI/2(8)
065193,000302: 20,2721           55504                           TS       KQ                                    
065194,000303: 20,2722           31511                           CAE      ACCDOTR                               #  .3ACCDOTR AT PI/2(8)
065195,000304: 20,2723           00006                           EXTEND                                         
065196,000305: 20,2724           73103                           MP       DGBF                                  
065197,000306: 20,2725           55506                           TS       KRDAP                                 
065198,000307: 20,2726           00006                           EXTEND                                         #  NOW COMPUTE QACCDOT, RACCDOT, THE SIGNED
065199,000308: 20,2727           00012                           READ     CHAN12                                #  JERK TERMS.  STORE CHANNEL 12. WITH GIM
065200,000309: 20,2730           54155                           TS       MPAC       +1                         #  BAL DRIVE BITS 9 THROUGH 12.  SET LOOP
065201,000310: 20,2731           34752                           CAF      BIT2                                  #  INDEX TO COMPUTE RACCDOT, THEN QACCDOT.
065202,000311: 20,2732           12734                           TCF      LOOP3                                 
065203,000312: 20,2733           34755                           CAF      ZERO                                  #  ACCDOTQ AND ACCDOTR ARE NOT NEGATIVE,
065204,000313: 20,2734           54154        LOOP3              TS       MPAC                                  #  BECAUSE THEY ARE MAGNITUDES
065205,000314: 20,2735           30155                           CA       MPAC       +1                         
065206,000315: 20,2736           50154                           INDEX    MPAC                                  #  MASK CHANNEL IMAGE FOR ANY GIMBAL MOTION
065207,000316: 20,2737           73077                           MASK     GIMBLBTS                              
065208,000317: 20,2740           00006                           EXTEND                                         
065209,000318: 20,2741           12755                           BZF      ZACCDOT                               #  IF NONE, Q(R)ACCDOT IS ZERO.
065210,000319: 20,2742           30155                           CA       MPAC       +1                         
065211,000320: 20,2743           50154                           INDEX    MPAC                                  #  GIMBAL IS MOVING.  IS ROTATION POSITIVE.
065212,000321: 20,2744           73100                           MASK     GIMBLBTS   +1                         
065213,000322: 20,2745           00006                           EXTEND                                         
065214,000323: 20,2746           12752                           BZF      FRSTZERO                              #  IF NOT POSITIVE, BRANCH
065215,000324: 20,2747           50154                           INDEX    MPAC                                  #  POSITIVE ROTATION, NEGATIVE Q(R)ACCDOT.
065216,000325: 20,2750           41507                           CS       ACCDOTQ                               
065217,000326: 20,2751           12756                           TCF      STACCDOT                              
065218,000327: 20,2752           50154        FRSTZERO           INDEX    MPAC                                  #  NEGATIVE ROTATION, POSITIVE Q(R)ACCDOT.
065219,000328: 20,2753           31507                           CA       ACCDOTQ                               
065220,000329: 20,2754           12756                           TCF      STACCDOT                              
065221,000330: 20,2755           34755        ZACCDOT            CAF      ZERO                                  

Page 1479

065223,000332: 20,2756           50154        STACCDOT           INDEX    MPAC                                  
065224,000333: 20,2757           55510                           TS       QACCDOT                               #  STORE Q(R)ACCDOT.
065225,000334: 20,2760           10154                           CCS      MPAC                                  
065226,000335: 20,2761           12733                           TCF      LOOP3      -1                         #  NOW DO QACCDOT.
065227,000336: 20,2762           40111                           CS       DAPBOOLS                              #  IS GIMBAL USABLE?
065228,000337: 20,2763           74736                           MASK     USEQRJTS                              
065229,000338: 20,2764           00006                           EXTEND                                         
065230,000339: 20,2765           13712                           BZF      DOWNGTS                               #  NO. BE SURE THE GIMBAL SWITCHES ARE DOWN
065231,000340: 20,2766           41263                           CS       T5ADR                                 #  YES.  IS THE DAP RUNNING?
065232,000341: 20,2767           63772                           AD       PAXISADR                              
065233,000342: 20,2770           00006                           EXTEND                                         
065234,000343: 20,2771           12773                           BZF      +2                                    
065235,000344: 20,2772           13712                           TCF      DOWNGTS                               #  NO. BE SURE THE GIMBAL SWITCHES ARE DOWN
065236,000345: 20,2773           11632                           CCS      INGTS                                 #  YES.  IS GTS IN CONTROL?
065237,000346: 20,2774           12777                           TCF      DOCKTEST                              #  YES.  PROCEED WITH 1/ACCS.
065238,000347: 20,2775           04674                           TC       IBNKCALL                              #  NO.  NULL OFFSET AND FIND ALLOWGTS
065239,000348: 20,2776           43232                           CADR     TIMEGMBL                              
065240,000349: 
065241,000350: 20,2777           10157        DOCKTEST           CCS      DOCKTEMP                              #  BYPASS 1/ACCONT WHEN DOCKED.
065242,000351: 20,3000           13675                           TCF      1/ACCRET                              
065243,000352: 20,3001           13235                           TCF      1/ACCONT                              
065244,000353: 

Page 1480

065246,000355:                                                                                                  #  SUBROUTINE:  DVOVSUB
065247,000356: 
065248,000357:                                                                                                  #  AUTHOR:  C. WORK, MOD 0 12 JUNE 68
065249,000358: 
065250,000359:                                                                                                  #  PURPOSE:  THIS SUBROUTINE PROVIDES A SINGLE-PRECISION MACHINE LANGUAGE DIVISION OPERATION WHICH RETURNS
065251,000360:                                                                                                  #            (1) THE QUOTIENT, IF THE DIVISION WAS NORMAL.
065252,000361:                                                                                                  #            (2) NEGMAX, IF THE QUOTIENT WAS IMPROPER AND NEGATIVE.
065253,000362:                                                                                                  #            (3) POSMAX, IF THE QUOTIENT WAS IMPROPER AND POSITIVE OR IF THERE WAS A ZERO DIVISOR.
065254,000363:                                                                                                  #            THE CALLING PROGRAM IS PRESUMED TO BE A JOB IN THE F BANK WHICH CONTAINS DVOVSUB. E BANK MUST BE 6.
065255,000364:                                                                                                  #            THE DIVISOR FOR THIS ROUTINE MAY BE IN EITHER FIXED OR ERASABLE STORAGE.  SIGN AGREEMENT IS
065256,000365:                                                                                                  #            ASSUMED BETWEEN THE TWO HALVES OF THE DIVIDEND. (THIS IS CERTAIN IF THE A AND L REGISTERS ARE THE RE-
065257,000366:                                                                                                  #            SULT OF A MULTIPLICATION OPERATION.)
065258,000367:                                                                                                  #  CALL SEQUENCE:
065259,000368:                                                                                                  #                                          L        TC     DVOVSUB
065260,000369:                                                                                                  #                                          L +1     ADRES  (DIVISOR)
065261,000370:                                                                                                  #                                          L +2     RETURN HERE, WITH RESULT IN A,L
065262,000371: 
065263,000372:                                                                                                  #  INPUT:  DIVIDEND IN A,L (SIGN AGREEMENT ASSUMED), DIVISOR IN LOCATION DESIGNATED BY "ADRES".
065264,000373:                                                                                                  #          DIVISOR MAY BE IN THE DVOVSUB FBANK,FIXED-FIXED FBANK,EBANK 6, OR UNSWITCHED ERASABLE.
065265,000374: 
065266,000375:                                                                                                  #  OUTPUT:  QUOTIENT AND REMAINDER, OR POSMAX (NEGMAX), WHICHEVER IS APPROPRIATE.
065267,000376: 
065268,000377:                                                                                                  #  DEBRIS:  SCRATCHX,SCRATCHY,SCRATCHZ,A,L  (NOTE:  SCRATCHX,Y,Z ARE EQUATED TO MPAC +4,+5, AND +6.)
065269,000378: 
065270,000379:                                                                                                  #  ABORTS OR ALARMS:  NONE
065271,000380: 
065272,000381:                                                                                                  #  EXITS:  TO THE CALL POINT + 2.
065273,000382: 
065274,000383:                                                                                                  #  SUBROUTINES CALLED:  NONE.
065275,000384: 
065276,000385: 20,3002           54161        DVOVSUB            TS       SCRATCHY                              #  SAVE UPPER HALF OF DIVIDEND
065277,000386: 20,3003           54160                           TS       SCRATCHX                              
065278,000387: 20,3004           50002                           INDEX    Q                                     #  OBTAIN ADDRESS OF DIVISOR.
065279,000388: 20,3005           30000                           CA       0                                     
065280,000389: 20,3006           24002                           INCR     Q                                     #  STEP Q FOR PROPER RETURN SEQUENCE.
065281,000390: 20,3007           50000                           INDEX    A                                     
065282,000391: 20,3010           30000                           CA       0                                     #  PICK UP THE DIVISOR.
065283,000392: 20,3011           00006                           EXTEND                                         #  RETURN POSMAX FOR A ZERO DIVISOR.
065284,000393: 20,3012           13041                           BZF      MAXPLUS                               
065285,000394: 
065286,000395: 20,3013           54162                           TS       SCRATCHZ                              #  STORE DIVISOR.
065287,000396: 
065288,000397: 20,3014           10000                           CCS      A                                     #  GET ABS(DIVISOR) IN THE A REGISTER.
065289,000398: 20,3015           64753                           AD       BIT1                                  
065290,000399: 20,3016           13020                           TCF      ZEROPLUS                              
065291,000400: 20,3017           64753                           AD       BIT1                                  
065292,000401: 
065293,000402: 20,3020           56161        ZEROPLUS           XCH      SCRATCHY                              #  STORE ABS(DIVISOR).  PICK UP TOP HALF OF
065294,000403: 20,3021           00006                           EXTEND                                         #  DIVIDEND.
065295,000404: 20,3022           63024                           BZMF     GOODNEG                               #  GET  -ABS(DIVIDEND)
065296,000405: 

Page 1481

065298,000407: 20,3023           40000                           CS       A                                     
065299,000408: 
065300,000409: 20,3024           60161        GOODNEG            AD       SCRATCHY                              #  ABS(DIVISOR) - ABS(DIVIDEND)
065301,000410: 20,3025           00006                           EXTEND                                         
065302,000411: 20,3026           63033                           BZMF     MAKEMAX                               #  BRANCH IF DIVISION IS NOT PROPER.
065303,000412: 
065304,000413: 20,3027           30160                           CA       SCRATCHX                              #  RE-ESTABLISH THE DIVIDEND.
065305,000414: 20,3030           00006                           EXTEND                                         
065306,000415: 20,3031           10162                           DV       SCRATCHZ                              #  QUOTIENT IN THE A, REMAINDER IN L.
065307,000416: 20,3032           00002                           TC       Q                                     #  RETURN TO CALLER.
065308,000417: 
065309,000418: 20,3033           10160        MAKEMAX            CCS      SCRATCHX                              #  DETERMINE THE SIGN OF THE QUOTIENT.
065310,000419: 20,3034           10162                           CCS      SCRATCHZ                              #  SCRATCHX AND SCRATCHZ ARE NON-ZERO.
065311,000420: 20,3035           13041                           TCF      MAXPLUS                               
065312,000421: 20,3036           10162                           CCS      SCRATCHZ                              
065313,000422: 20,3037           34735                           CAF      NEGMAX                                #  +,- OR -,+
065314,000423: 20,3040           00002                           TC       Q                                     
065315,000424: 20,3041           34733        MAXPLUS            CAF      POSMAX                                #  -,- OR +,+
065316,000425: 20,3042           00002                           TC       Q                                     
065317,000426: 
065318,000427:                                                                                                  #  COEFFICIENTS FOR THE JET ACCELERATION CURVE FITS
065319,000428:                                                                                                  #  THE CURVE FITS ARE OF THE FORM -
065320,000429: 
065321,000430:                                                                                                  #           1JACC = A/(MASS + C) + B
065322,000431: 
065323,000432:                                                                                                  #  A IS SCALED AT PI/4 RAD/SEC**2 B+16KG, B IS SCALED AT PI/4 RAD/SEC**2, AND C IS SCALED AT B +16 KG.
065324,000433: 
065325,000434:                                                                                                  #  THE CURVE FIT FOR L,PVT-CG IS OF THE SAME FORM, EXCEPT THAT A IS SCALED AT 8 FT B+16 KG, B IS SCALED AT 8 FT,
065326,000435:                                                                                                  #  AND C IS SCALED AT B+16 KG.
065327,000436: 
065328,000437: 20,3043           01240 22513                     2DEC     +.0410511917                            #  L       A  DESCENT
065329,000438: 
065330,000439: 
065331,000440: 20,3045           00141 07416  INERCONA           2DEC     +.0059347674                            #  1JACCP  A  DESCENT
065332,000441: 
065333,000442: 20,3047           00030 21261                     2DEC     +.0014979264                            #  1JACCQ  A  DESCENT
065334,000443: 
065335,000444: 20,3051           00021 03766                     2DEC     +.0010451889                            #  1JACCR  A  DESCENT
065336,000445: 
065337,000446: 
065338,000447: 20,3053           00153 07111                     2DEC     +.0065443852                            #  1JACCP  A  ASCENT
065339,000448: 
065340,000449: 20,3055           00072 24103                     2DEC     +.0035784354                            #  1JACCQ  A  ASCENT
065341,000450: 
065342,000451: 20,3057           00135 11511                     2DEC     +.0056946631                            #  1JACCR  A  ASCENT
065343,000452: 
065344,000453: 20,3061           04754                           DEC      +.155044                              #  L       B  DESCENT
065345,000454: 20,3062           77142                           DEC      -.025233                              #  L       C  DESCENT

Page 1482

065347,000456: 20,3063           00061        INERCONB           DEC      +.002989                              #  1JACCP  B  DESCENT
065348,000457: 20,3064           00217        INERCONC           DEC      +.008721                              #  1JACCP  C  DESCENT
065349,000458: 20,3065           00464                           DEC      +.018791                              #  1JACCQ  B  DESCENT
065350,000459: 20,3066           75642                           DEC      -.068163                              #  1JACCQ  C  DESCENT
065351,000460: 20,3067           00536                           DEC      +.021345                              #  1JACCR  B  DESCENT
065352,000461: 20,3070           75705                           DEC      -.066027                              #  1JACCR  C  DESCENT
065353,000462: 
065354,000463: 20,3071           00001                           DEC      +.000032                              #  1JACCP  B  ASCENT
065355,000464: 20,3072           77616                           DEC      -.006923                              #  1JACCP  C  ASCENT
065356,000465: 20,3073           05154                           DEC      +.162862                              #  1JACCQ  B  ASCENT
065357,000466: 20,3074           00052                           DEC      +.002588                              #  1JACCQ  C  ASCENT
065358,000467: 20,3075           00231                           DEC      +.009312                              #  1JACCR  B  ASCENT
065359,000468: 20,3076           77174                           DEC      -.023608                              #  1JACCR  C  ASCENT
065360,000469: 
065361,000470: 20,3077           01400        GIMBLBTS           OCTAL    01400                                 
065362,000471: 20,3100           01000                           OCTAL    01000                                 
065363,000472: 20,3101           06000                           OCTAL    06000                                 
065364,000473: 20,3102           04000                           OCTAL    04000                                 
065365,000474: 20,3103           23146        DGBF               DEC      0.6                                   #   .3 SCALED AT 1/2
065366,000475: 20,3104           13241        0.35356            DEC      0.35356                               #  .70711 SCALED AT 2
065367,000476: 20,3105           00337        GFACTM             OCT      337                                   #  979.24/2.20462 AT B+15
065368,000477: 20,3106           26501        .7071              DEC      .70711                                
065369,000478: 20,3107           51276        -.7071             DEC      -.70711                               
065370,000479: 20,3110           62362        -EPSMAX            DEC      -.42265                               
065371,000480:                                                                                                  #  CSM-DOCKED INERTIA COMPUTATIONS
065372,000481: 

Note: The label DOCKED is indented by one character originally. yaYul does not recognize this as proper label.

065374,000483: 20,3111           34753        DOCKED             CA       ONE                                   #  COEFTR = 1 FOR INERTIA COEFFICIENTS
065375,000484: 20,3112           54160        SPSLOOP1           TS       COEFCTR                               #          = 7 FOR CG COEFFICIENTS
065376,000485: 20,3113           34753                           CA       ONE                                   #  MASSCTR = 1 FOR CSM
065377,000486: 20,3114           54161                           TS       MASSCTR                               #          = 0 FOR LEM
065378,000487: 
065379,000488: 20,3115           50160                           INDEX    COEFCTR                               
065380,000489: 20,3116           33216                           CA       COEFF      -1                         #  COEFF -1 = C
065381,000490: 20,3117           00006                           EXTEND                                         
065382,000491: 20,3120           71326                           MP       LEMMASS                               
065383,000492: 20,3121           00006                           EXTEND                                         
065384,000493: 20,3122           71327                           MP       CSMMASS                               #  LET X = CSMMASS AND Y = LEMMASS
065385,000494: 
065386,000495: 20,3123           50160                           INDEX    COEFCTR                               
065387,000496: 20,3124           63217                           AD       COEFF                                 #  COEFF = F
065388,000497: 20,3125           54154                           TS       MPAC                                  #  MPAC = C X Y + F
065389,000498: 20,3126           13132                           TCF      +4                                    
065390,000499: 
065391,000500: 20,3127           54161        SPSLOOP2           TS       MASSCTR                               #  LOOP TWICE THROUGH HERE TO OBTAIN
065392,000501: 20,3130           00006                           EXTEND                                         #  MPAC = MPAC + (A X +D)X + (B Y +E)Y
065393,000502: 20,3131           26160                           DIM      COEFCTR                               #                 LOOP #1     LOOP #2
065394,000503: 20,3132           50160                           INDEX    COEFCTR                               
065395,000504: 20,3133           33221                           CA       COEFF      +2                         #  COEFF +2 = A OR B
065396,000505: 20,3134           00006                           EXTEND                                         

Page 1483

065398,000507: 20,3135           50161                           INDEX    MASSCTR                               
065399,000508: 20,3136           71326                           MP       LEMMASS                               
065400,000509: 20,3137           50160                           INDEX    COEFCTR                               
065401,000510: 20,3140           63223                           AD       COEFF      +4                         #  COEFF +4 = E OR D
065402,000511: 20,3141           00006                           EXTEND                                         
065403,000512: 20,3142           50161                           INDEX    MASSCTR                               
065404,000513: 20,3143           71326                           MP       LEMMASS                               
065405,000514: 20,3144           26154                           ADS      MPAC                                  
065406,000515: 
065407,000516: 20,3145           10161                           CCS      MASSCTR                               
065408,000517: 20,3146           13127                           TCF      SPSLOOP2                              
065409,000518: 20,3147           10160                           CCS      COEFCTR                               #  IF COEFCTR IS POS , EXIT FROM LOOP WITH
065410,000519: 20,3150           13157                           TCF      +7                                    #  CG X DELDOT = MPAC X 4 PI RAD-CM/SEC
065411,000520: 20,3151           00000 20354  TORQCONS           2DEC     0.51443    B-14                       #  CORRESPONDS TO 500 LB-FT
065412,000521: 
065413,000522: 20,3153           30154                           CA       MPAC                                  
065414,000523: 20,3154           54155                           TS       MPAC       +1                         #  INERTIA = (MPAC +1) X 2(38) KG-CM(2)
065415,000524: 20,3155           34757                           CA       SEVEN                                 
065416,000525: 20,3156           13112                           TCF      SPSLOOP1                              
065417,000526: 
065418,000527: 20,3157           33216                           CA       1JACCCON                              #  1JACC=1JACCCON/MASS
065419,000528: 20,3160           22007                           ZL                                             
065420,000529: 20,3161           03002                           TC       DVOVSUB                               
065421,000530: 20,3162           01245                           ADRES    MASS                                  
065422,000531: 20,3163           55530                           TS       1JACC                                 #  SCALED AT PI/4
065423,000532: 
065424,000533: 20,3164           34733                           CA       POSMAX                                #  SET INVERSE JET ACCELERATIONS TO POSMAX,
065425,000534: 20,3165           55550                           TS       1/ANETP                               #  WHICH CORRESPONDS TO ACCEL. OF 1.4 D/SS.
065426,000535: 20,3166           55570                           TS       1/ANET2    +1                         
065427,000536: 20,3167           55571                           TS       1/ANET2    +2                         
065428,000537: 20,3170           55610                           TS       1/ANET2    +17D                       
065429,000538: 20,3171           55611                           TS       1/ANET2    +18D                       
065430,000539: 20,3172           00006                           EXTEND                                         
065431,000540: 20,3173           33152                           DCA      TORQCONS                              
065432,000541: 20,3174           00006                           EXTEND                                         
065433,000542: 20,3175           10155                           DV       MPAC       +1                         
065434,000543: 20,3176           00004                           INHINT                                         
065435,000544: 20,3177           55531                           TS       1JACCQ                                #  SCALED AT PI/4
065436,000545: 20,3200           55532                           TS       1JACCR                                
065437,000546: 
065438,000547: 20,3201           33107                           CA       -.7071                                
065439,000548: 20,3202           55626                           TS       COEFFQ                                #  COEFFQ AND COEFFR ARE CHOSEN TO MAKE U-
065440,000549: 20,3203           33106                           CA       .7071                                 #  AND V-AXES ORTHOGONAL FOR DOCKED CASE
065441,000550: 20,3204           55627                           TS       COEFFR                                
065442,000551: 20,3205           31245                           CA       MASS                                  #  SCALED AT 2(16) KG
065443,000552: 20,3206           00006                           EXTEND                                         
065444,000553: 20,3207           70154                           MP       MPAC                                  #  SCALED AT 4 PI RAD-CM/SEC
065445,000554: 20,3210           00006                           EXTEND                                         

The following line is marked as having changed between ZLMDAP.000 and ZLMDAP.001.

065447,000556: 20,3211           71250                           MP       ABDVACC                               #  SCALED AT 2(13) CM/SEC/SEC
065448,000557: 20,3212           03002                           TC       DVOVSUB                               #  GET QUOTIENT WITH OVERFLOW PROTECTION

Page 1484

065450,000559: 20,3213           00155                           ADRES    MPAC       +1                         
065451,000560: 
065452,000561: 20,3214           55511                           TS       ACCDOTR                               
065453,000562: 20,3215           12716                           TCF      SPSCONT                               #  CONTINUE K, KSQ CALCULATIONS
065454,000563: 
065455,000564: 20,3216           00167        1JACCCON           OCT      00167                                 #  SCALED AT PI/4X2(16) RAD/SEC(2)-KG
065456,000565: 
065457,000566:                                                                                                  #                                                                                       2    2
065458,000567:                                                                                                  #                                           COEFFICIENTS FOR CURVE FIT OF THE FORM Z=A X +B Y +C X Y +D X +E Y +F
065459,000568: 
065460,000569: 20,3217           06176        COEFF              DEC      .19518                                #  C  COEFFICIENT OF INERTIA
065461,000570: 20,3220           77650                           DEC      -.00529                               #  F              ''
065462,000571: 20,3221           72260                           DEC      -.17670                               #  B              ''
065463,000572: 20,3222           76637                           DEC      -.03709                               #  A              ''
065464,000573: 20,3223           02167                           DEC      .06974                                #  E              ''
065465,000574: 20,3224           00645                           DEC      .02569                                #  D              ''
065466,000575: 
065467,000576: 20,3225           06335                           DEC      .20096                                #  C  COEFFICIENT OF CG
065468,000577: 20,3226           04256                           DEC      .13564                                #  F       ''
065469,000578: 20,3227           30163                           DEC      .75704                                #  B       ''
065470,000579: 20,3230           64072                           DEC      -.37142                               #  A       ''
065471,000580: 20,3231           53632                           DEC      -.63117                               #  E       ''
065472,000581: 20,3232           15133                           DEC      .41179                                #  D       ''
065473,000582: 
065474,000583:                                                                                                  #  ASSIGNMENT OF TEMPORARIES FOR 1/ACCS (EXCLUDING 1/ACCONT)
065475,000584: 
065476,000585:                                                                                                  #                                          MPAC, MPAC +1, MPAC +2 USED EXPLICITLY
065477,000586: 20,3233     0160               COEFCTR            EQUALS   MPAC       +4                         
065478,000587: 20,3233     0161               MASSCTR            EQUALS   MPAC       +5                         
065479,000588: 20,3233     0160               SCRATCHX           EQUALS   MPAC       +4                         #  SCRATCH AREA FOR DVOVSUB ROUTINE.
065480,000589: 20,3233     0161               SCRATCHY           EQUALS   SCRATCHX   +1                         
065481,000590: 20,3233     0162               SCRATCHZ           EQUALS   SCRATCHX   +2                         
065482,000591: 
065483,000592: 20,3233     0157               DOCKTEMP           EQUALS   MPAC       +3                         #  RECORD OF CSMDOCKED BIT OF DAPBOOLS
065484,000593: 20,3233     0155               EPSILON            EQUALS   MPAC       +1                         
065485,000594: 20,3233     0155               -EPSILON           EQUALS   EPSILON                               
065486,000595: 20,3233           71777        -.1875             DEC      -.18750                               
065487,000596: 

Page 1485

065489,000598: 20,3234                                           BANK     20                                    
065490,000599: 20,2000                                           SETLOC   DAPS3                                 
065491,000600: 20,2000                                           BANK                                           
065492,000601: 
065493,000602: 20,3234  E6,1536                                  EBANK=   AOSQ                                  
065494,000603: 
065495,000604: 20,3234                                           COUNT*   $$/DAPAO                              
065496,000605: 
065497,000606: 20,3234           55632                 -1        TS       INGTS                                 #  ZERO  INGTS IN ASCENT
065498,000607: 20,3235           31343        1/ACCONT           CA       DB                                    #  INITIALIZE DBVAL1,2,3
065499,000608: 20,3236           00006                           EXTEND                                         
065500,000609: 20,3237           74737                           MP       BIT13                                 
065501,000610: 20,3240           54001                           TS       L                                     #  0.25 DB
065502,000611: 20,3241           60000                           AD       A                                     
065503,000612: 20,3242           54115                           TS       DBVAL3                                #  0.50 DB
065504,000613: 20,3243           41343                           CS       DBVAL1                                
065505,000614: 20,3244           60001                           AD       L                                     
065506,000615: 20,3245           54114                           TS       DBVAL2                                #  -.75 DB
065507,000616: 
065508,000617: 20,3246           00004        GETAOSUV           INHINT                                         
065509,000618: 20,3247           31540                           CAE      AOSR                                  #  COMPUTE AOSU AND AOSV BY ROTATING
065510,000619: 20,3250           54001                           TS       L                                     #       AOSQ AND AOSR.
065511,000620: 20,3251           31536                           CAE      AOSQ                                  
065512,000621: 20,3252           04674                           TC       IBNKCALL                              
065513,000622: 20,3253           37200                           CADR     ROT-TOUV                              
065514,000623: 20,3254           53543                           DXCH     AOSU                                  
065515,000624: 
065516,000625: 20,3255           00003                           RELINT                                         
065517,000626: 20,3256           30111                           CA       DAPBOOLS                              
065518,000627: 20,3257           74744                           MASK     DRIFTBIT                              #  ZERO DURING ULLAGE AND POWERED FLIGHT.
065519,000628: 20,3260           10000                           CCS      A                                     #  IF DRIFTING FLIGHT,
065520,000629: 20,3261           34753                           CA       ONE                                   #       SET DRIFTER TO 1
065521,000630: 20,3262           54116                           TS       DRIFTER                               #  SAVE TO TEST FOR DRIFTING FLIGHT LATER
065522,000631: 20,3263           61502                           AD       ALLOWGTS                              #  NON-ZERO IF DRIFT OR GTS NEAR
065523,000632: 20,3264           10000                           CCS      A                                     
065524,000633: 20,3265           33767                           CA       FLATVAL                               #  DRIFTING FLIGHT, STORE .8 IN FLAT
065525,000634: 20,3266           54151                           TS       FLATEMP                               #  IN POWERED FLIGHT, STORE ZERO IN FLAT
065526,000635: 20,3267           00006                           EXTEND                                         
065527,000636: 20,3270           13274                           BZF      DOPAXIS                               #  IF POWERED AND NO GTS, START P AXIS,
065528,000637: 20,3271           10116                           CCS      DRIFTER                               #  OTHERWISE SET ZONE3LIM
065529,000638: 20,3272           33766                           CA       ZONE3MAX                              #  17.5 MS , SCALED AT 4 SECONDS.
065530,000639: 20,3273           54152                           TS       Z3TEM                                 
065531,000640: 
065532,000641: 20,3274           31530        DOPAXIS            CA       1JACC                                 #  1JACC AT PI/4 = 2JACC AT PI/2 =
065533,000642:                                                                                                  #  ANET AT PI/2 = ANET/ACOAST AT 2(6).
065534,000643: 20,3275           64743                           AD       BIT9                                  #  1 + ANET/ACOAST AT 2(6)
065535,000644: 20,3276           54157                           TS       FUNTEM                                
065536,000645: 
065537,000646: 20,3277           31530                           CA       1JACC                                 

Page 1486

065539,000648: 20,3300           03704                           TC       INVERT                                
065540,000649: 20,3301           00004                           INHINT                                         #  P AXIS DATA MUST BE CONSISTENT
065541,000650: 20,3302           55550                           TS       1/ANETP                               #  SCALED AT 2(7)/PI.
065542,000651: 20,3303           55551                           TS       1/ANETP    +1                         
065543,000652: 
065544,000653: 20,3304           44743                           CS       BIT9                                  #  -1 AT 2(6)
065545,000654: 20,3305           00006                           EXTEND                                         
065546,000655: 20,3306           71550                           MP       1/ANETP                               #  -1/ANET AT 2(13)/PI
065547,000656: 20,3307           00006                           EXTEND                                         
065548,000657: 20,3310           10157                           DV       FUNTEM                                #  -1/(ANET + ANET**2/ACOAST) AT 2(7)/PI
065549,000658: 20,3311           55556                           TS       PACCFUN                               
065550,000659: 20,3312           55557                           TS       PACCFUN    +1                         
065551,000660: 
065552,000661: 20,3313           34733                           CA       1/.03                                 #  NO AOS FOR P AXIS, ACOAST = AMIN
065553,000662: 20,3314           55552                           TS       1/ACOSTP                              
065554,000663: 20,3315           55553                           TS       1/ACOSTP   +1                         
065555,000664: 20,3316           00003                           RELINT                                         
065556,000665: 
065557,000666: 
065558,000667: 20,3317           22007                           ZL                                             
065559,000668: 20,3320           10116                           CCS      DRIFTER                               
065560,000669: 20,3321           53543                           DXCH     AOSU                                  #  ZERO AOSU,V IF IN DRIFT, JUST TO BE SURE
065561,000670: 
065562,000671: 20,3322           34755        UAXIS              CA       ZERO                                  #  DO U AXIS COMPUTATIONS
065563,000672: 20,3323           54154                           TS       UV                                    #  ZERO FOR U AXIS, ONE FOR V AXIS.
065564,000673: 
065565,000674: 20,3324           54163        BOTHAXES           TS       SIGNAOS                               #  CODING COMMON TO U,V AXES
065566,000675: 20,3325           50154                           INDEX    UV                                    
065567,000676: 20,3326           11542                           CCS      AOSU                                  #  PICK UP ABS(AOSU OR AOSV)
065568,000677: 20,3327           64753                           AD       ONE                                   #  RESTORE TO PROPER VALUE
065569,000678: 20,3330           13333                           TCF      +3                                    #  AND LEAVE SIGNAOS AT ZERO
065570,000679: 20,3331           64753                           AD       ONE                                   #  NEGATIVE, RESTORE TO PROPER VALUE
065571,000680: 20,3332           24163                           INCR     SIGNAOS                               #  AND SET SIGNAOS TO ONE TO SHOW AOS NEG
065572,000681: 20,3333           54162                           TS       ABSAOS                                #  SAVE ABS(AOS)
065573,000682: 20,3334           40163                           CS       SIGNAOS                               
065574,000683: 20,3335           54164                           TS       -SIGNAOS                              #  USED AS AN INDEX
065575,000684: 
065576,000685: 20,3336           31343                           CA       DBVAL1                                #  SET DB1, DB2 TO DBVAL1 (= DB)
065577,000686: 20,3337           54143                           TS       DBB1                                  
065578,000687: 20,3340           54144                           TS       DBB2                                  
065579,000688: 
065580,000689: 20,3341           30162                           CA       ABSAOS                                #  TEST MAGNITUDE OF ABS(AOS)
065581,000690: 20,3342           63770                           AD       -.03R/S2                              
065582,000691: 20,3343           00006                           EXTEND                                         
065583,000692: 20,3344           63436                           BZMF     NOTMUCH                               #  ABS(AOS) LESS THAN AMIN
065584,000693: 20,3345           10151        BIGAOS             CCS      FLATEMP                               #  AGS(AOS) GREATER THAN AMIN
065585,000694: 20,3346           13376                           TCF      SKIPDB1                               #  I DRIFT OR GTS, DO NOT COMPUTE DB
065586,000695: 
065587,000696: 20,3347           31343                           CA       DBVAL1                                
065588,000697: 20,3350           50164                           INDEX    -SIGNAOS                              

Page 1487

065590,000699: 20,3351           26144                           ADS      DBB2                                  #  DB2(1) = 2 DB
065591,000700: 20,3352           50163                           INDEX    SIGNAOS                               
065592,000701: 20,3353           54145                           TS       DBB4                                  #  DB4(3) = 1 DB
065593,000702: 20,3354           33233                           CA       -.1875                                #  -.1875 PI/2 RAD/SEC(2) SCALED AT PI/2
065594,000703: 20,3355           60162                           AD       ABSAOS                                #  ABSAOS IS SCALED AT PI/2
065595,000704: 20,3356           00006                           EXTEND                                         
065596,000705: 20,3357           63362                           BZMF     +3                                    
065597,000706: 20,3360           40115                           CS       DBVAL3                                #  -.5 DB
065598,000707: 20,3361           13371                           TCF      DBONE                                 
065599,000708: 20,3362           40162                           CS       ABSAOS                                
065600,000709: 20,3363           60000                           DOUBLE                                         
065601,000710: 20,3364           60000                           DOUBLE                                         
065602,000711: 20,3365           64736                           AD       BIT14                                 
065603,000712: 20,3366           60000                           DOUBLE                                         #  1-8 ABSAOS. (8 IS 16/PI SCALED AT 2/PI)
065604,000713: 20,3367           00006                           EXTEND                                         
065605,000714: 20,3370           71343                           MP       DB                                    
065606,000715: 20,3371           50163        DBONE              INDEX    SIGNAOS                               #  DB1(2)=(1-8 ABSAOS) DB.  IF ABSAOS IS
065607,000716: 20,3372           54143                           TS       DBB1                                  #  GREATER THAN .1875 THEN DB1(2)=-.5 DB
065608,000717: 20,3373           30114                           CA       DBVAL2                                
065609,000718: 20,3374           50164                           INDEX    -SIGNAOS                              
065610,000719: 20,3375           54146                           TS       DBB3                                  #  DB3(4) = -.75 DB
065611,000720: 
065612,000721: 20,3376           30162        SKIPDB1            CA       ABSAOS                                #  ABS(AOS) GREATER THAN AMIN, SO IT IS
065613,000722: 20,3377           00006                           EXTEND                                         
065614,000723: 20,3400           74740                           MP       BIT12                                 
065615,000724: 20,3401           60162                           AD       ABSAOS                                #  (9/8) ABSAOS.
065616,000725: 20,3402           03704                           TC       INVERT                                #  ALL RIGHT TO DIVIDE
065617,000726: 20,3403           50164                           INDEX    -SIGNAOS                              
065618,000727: 20,3404           54130                           TS       1/ACOSTT   +1                         #  1/ACOASTPOS(NEG) = 1/ABS(AOS)
065619,000728: 20,3405           34733                           CA       1/.03                                 
065620,000729: 20,3406           50163                           INDEX    SIGNAOS                               
065621,000730: 20,3407           54127                           TS       1/ACOSTT                              #  1/ACOASTNEG(POS) = 1/AMIN
065622,000731: 
065623,000732: 20,3410           30162                           CA       ABSAOS                                
065624,000733: 20,3411           61533                           AD       1JACCU                                
065625,000734: 20,3412           61533                           AD       1JACCU                                #  2 JACC + ABS(AOS)
065626,000735: 20,3413           64743                           AD       BIT9                                  #  MAXIMUM VALUE IN COMPUTATIONS
065627,000736: 20,3414           54000                           TS       A                                     #  TEST FOR OVERFLOW
065628,000737: 20,3415           13462                           TCF      SKIPDB2                               #  NO OVERFLOW,  DO NORMAL COMPUTATION
065629,000738: 
065630,000739: 20,3416           30162                           CA       ABSAOS                                #  RESCALE TO PI TO PREVENT OVERFLOW
065631,000740: 20,3417           00006                           EXTEND                                         
065632,000741: 20,3420           74736                           MP       BIT14                                 
065633,000742: 20,3421           61533                           AD       1JACCU                                #  1 JACC AT PI/2 = 2JACC AT PI
065634,000743: 20,3422           54157                           TS       ANET                                  #  ANETPOS(NEG) MAX SCALED AT PI  =
065635,000744:                                                                                                  #  ANETPOS(NEG) MAX/ACOASTNEG(POS) AT 2(7)
065636,000745: 20,3423           64744                           AD       BIT8                                  #  1 + ANETPOS/ACOASTNEG AT 2(7)
065637,000746: 20,3424           56157                           XCH      ANET                                  #  SAVE IN ANET, WHILE PICKING UP ANET
065638,000747: 20,3425           03704                           TC       INVERT                                
065639,000748: 20,3426           00006                           EXTEND                                         

Page 1488

065641,000750: 20,3427           74736                           MP       BIT14                                 #  SCALE 1/ANET AT 2(7)/PI
065642,000751: 20,3430           54160                           TS       1/ANET                                
065643,000752: 
065644,000753: 20,3431           33435                           CA       ACCHERE                               #  SET UP RETURN FROM COMPUTATION ROUTINE
065645,000754: 20,3432           54161                           TS       ARET                                  
065646,000755: 20,3433           44744                           CS       BIT8                                  #  -1 AT 2(7)
065647,000756: 20,3434           13737                           TCF      DOACCFUN                              #  FINISH ACCFUN COMPUTATION
065648,000757: 
065649,000758: 20,3435           13467        ACCHERE            TCF      ACCTHERE                              
065650,000759: 
065651,000760: 
065652,000761: 20,3436           54001        NOTMUCH            TS       L                                     #  ABS(AOS) LESS THAN AMIN, SAVE IN L
065653,000762: 20,3437           34733                           CA       1/.03                                 #  ACOASTPOS,NEG = AMIN
065654,000763: 20,3440           54127                           TS       1/ACOSTT                              
065655,000764: 20,3441           54130                           TS       1/ACOSTT   +1                         
065656,000765: 
065657,000766: 20,3442           10151                           CCS      FLATEMP                               
065658,000767: 20,3443           13462                           TCF      SKIPDB2                               #  DO NOT COMPUTE DB IF DRIFT OR GTS
065659,000768: 
065660,000769: 20,3444           33771                           CA       .023R/S2                              #  .0228 RAD/SEC(2)
065661,000770: 20,3445           60001                           AD       L                                     #  L=ABS(AOS)-AMIN=ABS(AOS)-.0245RAD/SEC(2)
065662,000771: 20,3446           00006                           EXTEND                                         #  RESULT IS ABS(AOS)-.0017 RAD/SEC(2)
065663,000772: 20,3447           63457                           BZMF     NOAOS                                 #  ABS(AOS) LESS THAN .0017 RAD/SEC(2)
065664,000773: 20,3450           30115        SOMEAOS            CA       DBVAL3                                #  .0017 RAD/SEC(2) LT ABS(AOS) LT AMIN
065665,000774: 20,3451           50164                           INDEX    -SIGNAOS                              
065666,000775: 20,3452           54146                           TS       DBB3                                  #  DB3(4) = DB/2
065667,000776: 20,3453           60000                           AD       A                                     
065668,000777: 20,3454           50163                           INDEX    SIGNAOS                               
065669,000778: 20,3455           54145                           TS       DBB4                                  #  DB4(3) = DB
065670,000779: 20,3456           13462                           TCF      SKIPDB2                               
065671,000780: 
065672,000781: 20,3457           31343        NOAOS              CA       DBVAL1                                
065673,000782: 20,3460           54146                           TS       DBB3                                  #  DB3,4 = DB
065674,000783: 20,3461           54145                           TS       DBB4                                  
065675,000784: 
065676,000785: 20,3462           30162        SKIPDB2            CA       ABSAOS                                #  ANETPOS(NEG) MAX = 2 JACC + ABS(AOS)
065677,000786: 20,3463           61533                           AD       1JACCU                                
065678,000787: 20,3464           61533                           AD       1JACCU                                
065679,000788: 20,3465           54157                           TS       ANET                                  #  CONNOT OVERFLOW HERE
065680,000789: 20,3466           03730        CL1/NET+           TC       DO1/NET+                              #  COMPUTE 1/ANET, ACCFUN
065681,000790: 
065682,000791: 20,3467           50164        ACCTHERE           INDEX    -SIGNAOS                              
065683,000792: 20,3470           54134                           TS       Z5TEM      +2                         #  STORE ACCFUN IN TEMPORARY BUFFER
065684,000793: 20,3471           30160                           CA       1/ANET                                
065685,000794: 20,3472           50164                           INDEX    -SIGNAOS                              
065686,000795: 20,3473           54126                           TS       1/ATEM2    +2                         #  STORE 1/ANET IN TEMPORARY BUFFER
065687,000796: 
065688,000797: 20,3474           30162                           CA       ABSAOS                                #  SEE IF OVERFLOW IN MIN CASE
065689,000798: 20,3475           61533                           AD       1JACCU                                
065690,000799: 20,3476           64743                           AD       BIT9                                  #  MAXIMUM POSSIBLE VALUE

Page 1489

065692,000801: 20,3477           54000                           TS       A                                     #  OVERFLOW POSSIBLE BUT REMOTE
065693,000802: 20,3500           13502                           TCF      +2                                    
065694,000803: 20,3501           34733                           CA       POSMAX                                #  IF OVERFLOW, TRUNCATE TO PI/2
065695,000804: 20,3502           63770                           AD       -.03R/S2                              #  RESTORE TO CORRECT VALUE
065696,000805: 20,3503           54157                           TS       ANET                                  
065697,000806: 20,3504           03730                           TC       DO1/NET+                              #  COMPUTE 1/ANET, ACCFUN
065698,000807: 
065699,000808: 20,3505           50164                           INDEX    -SIGNAOS                              #  STORE MIN VALUES JUST AS MAX VALUES
065700,000809: 20,3506           54132                           TS       Z5TEM                                 
065701,000810: 20,3507           30160                           CA       1/ANET                                
065702,000811: 20,3510           50164                           INDEX    -SIGNAOS                              
065703,000812: 20,3511           54124                           TS       1/ATEM2                               
065704,000813: 
065705,000814: 
065706,000815: 20,3512           40162                           CS       ABSAOS                                #  NOW DO NEG(POS) CASES
065707,000816: 20,3513           61533                           AD       1JACCU                                
065708,000817: 20,3514           61533                           AD       1JACCU                                #  ANETNEG(POS) MAX
065709,000818: 20,3515           03716                           TC       1/ANET-                               #  COMPUTE 1/ANET, ACCFUN, AND ACCSW
065710,000819: 20,3516           50163                           INDEX    SIGNAOS                               #  STORE NEG(POS) VALUES JUST AS POS(NEG)
065711,000820: 20,3517           54133                           TS       Z1TEM      +2                         
065712,000821: 20,3520           54001                           TS       L                                     #  SAVE IN L FOR POSSIBLE FUTURE USE
065713,000822: 20,3521           30160                           CA       1/ANET                                
065714,000823: 20,3522           50163                           INDEX    SIGNAOS                               
065715,000824: 20,3523           54125                           TS       1/ATEM1    +2                         
065716,000825: 20,3524           40162                           CS       ABSAOS                                
065717,000826: 20,3525           61533                           AD       1JACCU                                #  1/ANETNEG(POS) MIN
065718,000827: 20,3526           54157                           TS       ANET                                  
065719,000828: 20,3527           63770                           AD       -.03R/S2                              #  TEST FOR AMIN
065720,000829: 20,3530           00006                           EXTEND                                         #  IF ANET LESS THAN AMIN, STORE MAX JET
065721,000830: 20,3531           63747                           BZMF     FIXMIN                                #  VALUES FOR MIN JETS AND SET ACCSW
065722,000831: 
065723,000832: 20,3532           03724                           TC       1/NETMIN                              #  OTHERWISE DO MIN JET COMPUTATIONS
065724,000833: 20,3533           50163        STMIN-             INDEX    SIGNAOS                               #  STORE VALUES
065725,000834: 20,3534           54131                           TS       Z1TEM                                 
065726,000835: 20,3535           30160                           CA       1/ANET                                
065727,000836: 20,3536           50163                           INDEX    SIGNAOS                               
065728,000837: 20,3537           54123                           TS       1/ATEM1                               
065729,000838: 
065730,000839: 
065731,000840: 20,3540           50154                           INDEX    UV                                    
065732,000841: 20,3541           33775                           CA       +UMASK                                
065733,000842: 20,3542           71257                           MASK     CH5MASK                               #  TEST FOR +U (+V) JET FAILURES
065734,000843: 20,3543           00006                           EXTEND                                         
065735,000844: 20,3544           13551                           BZF      FAIL-                                 
065736,000845: 20,3545           30124                           CA       1/ATEM2                               #  REPLACE FUNCTION VALUES DEPENDING ON THE
065737,000846: 20,3546           54126                           TS       1/ATEM2    +2                         #  FAILED JET PAIR WITH CORRESPONDING ONE-
065738,000847: 20,3547           30132                           CA       Z5TEM                                 #  JET (OR AMIN) FUNCTION VALUES
065739,000848: 20,3550           54134                           TS       Z5TEM      +2                         
065740,000849: 20,3551           50154        FAIL-              INDEX    UV                                    
065741,000850: 20,3552           33773                           CA       -UMASK                                

Page 1490

065743,000852: 20,3553           71257                           MASK     CH5MASK                               #  TEST FOR -U (-V) JET FAILURES
065744,000853: 20,3554           00006                           EXTEND                                         
065745,000854: 20,3555           13562                           BZF      DBFUN                                 
065746,000855: 20,3556           30123                           CA       1/ATEM1                               #  REPLACE FUNCTION VALUES DEPENDING ON THE
065747,000856: 20,3557           54125                           TS       1/ATEM1    +2                         #  FAILED JET PAIR WITH CORRESPONDING ONE-
065748,000857: 20,3560           30131                           CA       Z1TEM                                 #  JET (OR AMIN) FUNCTION VALUES
065749,000858: 20,3561           54133                           TS       Z1TEM      +2                         
065750,000859: 
065751,000860: 
065752,000861: 20,3562           40146        DBFUN              CS       DBB3                                  #  COMPUTE AXISDIST
065753,000862: 20,3563           60143                           AD       DBB1                                  
065754,000863: 20,3564           60151                           AD       FLATEMP                               
065755,000864: 20,3565           54147                           TS       AXDSTEM                               
065756,000865: 20,3566           40145                           CS       DBB4                                  
065757,000866: 20,3567           60144                           AD       DBB2                                  
065758,000867: 20,3570           60151                           AD       FLATEMP                               
065759,000868: 20,3571           54150                           TS       AXDSTEM    +1                         
065760,000869: 
065761,000870: 20,3572           00004                           INHINT                                         
065762,000871: 20,3573           10154                           CCS      UV                                    #  TEST FOR U OR V AXIS
065763,000872: 20,3574           13616                           TCF      STORV                                 #  V AXIS   STORE V VALUES
065764,000873: 
065765,000874: 20,3575           30122                           CA       ACCSW                                 #  U AXIS   STORE U VALUES
065766,000875: 20,3576           55546                           TS       ACCSWU                                
065767,000876: 
065768,000877: 20,3577           34320                           CA       NINE                                  #  TRANSFER 10 WORDS VIA GENTRAN
065769,000878: 20,3600           05556                           TC       GENTRAN    +1                         
065770,000879: 20,3601           00123                           ADRES    1/ATEM1                               #  TEMPORARY BUFFER
065771,000880: 20,3602           01566                           ADRES    1/ANET1                               #  THE REAL PLACE
065772,000881: 
065773,000882: 20,3603           00003                           RELINT                                         
065774,000883: 20,3604           52144                           DXCH     DBB1                                  #  SAVE U DBS FOR LATER STORING
065775,000884: 20,3605           52136                           DXCH     UDB1                                  
065776,000885: 20,3606           52146                           DXCH     DBB4                                  
065777,000886: 20,3607           52140                           DXCH     UDB4                                  
065778,000887: 
065779,000888: 20,3610           52150                           DXCH     AXDSTEM                               
065780,000889: 20,3611           52142                           DXCH     UAXDIST                               
065781,000890: 
065782,000891: 20,3612           34753                           CA       ONE                                   #  NOW DO V AXIS
065783,000892: 20,3613           54154                           TS       UV                                    
065784,000893: 20,3614           34755                           CA       ZERO                                  
065785,000894: 20,3615           13324                           TCF      BOTHAXES                              #  AND DO IT AGAIN
065786,000895: 
065787,000896: 
065788,000897: 20,3616           30122        STORV              CA       ACCSW                                 #  STORE V AXIS VALUES
065789,000898: 20,3617           55547                           TS       ACCSWV                                
065790,000899: 20,3620           34320                           CA       NINE                                  
065791,000900: 20,3621           05556                           TC       GENTRAN    +1                         
065792,000901: 20,3622           00123                           ADRES    1/ATEM1                               #  TEMPORARY BUFFER

Page 1491

065794,000903: 20,3623           01606                           ADRES    1/ANET1    +16D                       #  THE REAL PLACE
065795,000904: 
065796,000905:                                                                                                  #  NOW STORE DEADBANDS FOR ALL AXES
065797,000906: 20,3624           52152                           DXCH     FLATEMP                               #  FLAT AND ZONE3LIM
065798,000907: 20,3625           53555                           DXCH     FLAT                                  
065799,000908: 
065800,000909: 20,3626           31343                           CA       DBVAL1                                #  COMPUTE P AXIS DEADBANDS
065801,000910: 20,3627           55560                           TS       PDB1                                  
065802,000911: 20,3630           55561                           TS       PDB2                                  
065803,000912: 20,3631           61554                           AD       FLAT                                  
065804,000913: 20,3632           55563                           TS       PDB3                                  
065805,000914: 20,3633           55562                           TS       PDB4                                  
065806,000915: 20,3634           34755                           CA       ZERO                                  
065807,000916: 20,3635           55564                           TS       PAXDIST                               
065808,000917: 20,3636           55565                           TS       PAXDIST    +1                         
065809,000918: 
065810,000919: 20,3637           11554                           CCS      FLAT                                  
065811,000920: 20,3640           13656                           TCF      DRFDB                                 #  DRIFT OR GTS - COMPUTE DBS
065812,000921: 
065813,000922: 20,3641           52136                           DXCH     UDB1                                  #  STORE U DEADBANDS
065814,000923: 20,3642           53601                           DXCH     FIREDB                                #  CANNOT USE GENTRAN BECAUSE OF RELINT
065815,000924: 20,3643           52140                           DXCH     UDB4                                  
065816,000925: 20,3644           53603                           DXCH     COASTDB                               
065817,000926: 20,3645           52142                           DXCH     UAXDIST                               
065818,000927: 20,3646           53605                           DXCH     AXISDIST                              
065819,000928: 20,3647           52144                           DXCH     DBB1                                  #  STORE V AXIS DEADBANDS
065820,000929: 20,3650           53621                           DXCH     FIREDB     +16D                       #  COULD USE GENTRAN IF DESIRED
065821,000930: 20,3651           52146                           DXCH     DBB4                                  
065822,000931: 20,3652           53623                           DXCH     COASTDB    +16D                       
065823,000932: 20,3653           52150                           DXCH     AXDSTEM                               
065824,000933: 20,3654           53625                           DXCH     AXISDIST   +16D                       
065825,000934: 
065826,000935: 20,3655           13676                           TCF      1/ACCRET   +1                         #  ALL DONE
065827,000936: 20,3656           31343        DRFDB              CA       DBVAL1                                #  DRIFT DEADBANDS
065828,000937: 20,3657           55600                           TS       FIREDB                                
065829,000938: 20,3660           55601                           TS       FIREDB     +1                         
065830,000939: 20,3661           55620                           TS       FIREDB     +16D                       
065831,000940: 20,3662           55621                           TS       FIREDB     +17D                       
065832,000941: 20,3663           61554                           AD       FLAT                                  
065833,000942: 20,3664           55602                           TS       COASTDB                               
065834,000943: 20,3665           55603                           TS       COASTDB    +1                         
065835,000944: 20,3666           55622                           TS       COASTDB    +16D                       
065836,000945: 20,3667           55623                           TS       COASTDB    +17D                       
065837,000946: 20,3670           34755                           CA       ZERO                                  
065838,000947: 20,3671           55604                           TS       AXISDIST                              
065839,000948: 20,3672           55605                           TS       AXISDIST   +1                         
065840,000949: 20,3673           55624                           TS       AXISDIST   +16D                       
065841,000950: 20,3674           55625                           TS       AXISDIST   +17D                       
065842,000951: 
065843,000952: 20,3675           00004        1/ACCRET           INHINT                                         

Page 1492

065845,000954: 20,3676           40111                           CS       DAPBOOLS                              #  SET BIT TO INDICATE DATA GOOD.
065846,000955: 20,3677           74751                           MASK     ACCSOKAY                              
065847,000956: 20,3700           26111                           ADS      DAPBOOLS                              
065848,000957: 20,3701           00003                           RELINT                                         
065849,000958: 20,3702           30117                           CA       ACCRETRN                              
065850,000959: 20,3703           04640                           TC       BANKJUMP                              #  RETURN TO CALLER
065851,000960: 
065852,000961: 20,3704           54165        INVERT             TS       HOLD                                  #  ROUTINE TO INVERT   -INPUT AT PI/2
065853,000962: 20,3705           34743                           CA       BIT9                                  #  1 AT 2(6)
065854,000963: 20,3706           22007                           ZL                                             #  ZERO L FOR ACCURACY AND TO PREVENT OVFLO
065855,000964: 20,3707           00006                           EXTEND                                         
065856,000965: 20,3710           10165                           DV       HOLD                                  
065857,000966: 20,3711           00002                           TC       Q                                     #  RESULT AT 2(7)/PI
065858,000967: 
065859,000968: 
065860,000969: 20,3712           34755        DOWNGTS            CAF      ZERO                                  #  ZERO SWITCHES WHEN USEQRJTS BIT IS UP
065861,000970: 20,3713           55502                           TS       ALLOWGTS                              #    OR DAP IS OFF.
065862,000971: 20,3714           55632                           TS       INGTS                                 
065863,000972: 20,3715           12777                           TCF      DOCKTEST                              
065864,000973: 
065865,000974: 20,3716           22007        1/ANET-            ZL                                             
065866,000975: 20,3717           22122                           LXCH     ACCSW                                 #  ZERO ACCSW
065867,000976: 20,3720           54157                           TS       ANET                                  #  SAVE ANET
065868,000977: 20,3721           63770                           AD       -.03R/S2                              #  TEST FOR MIN VALUE
065869,000978: 20,3722           00006                           EXTEND                                         
065870,000979: 20,3723           63744                           BZMF     NETNEG                                #  ANET LESS THAN AMIN, SO FAKE IT
065871,000980: 20,3724           30157        1/NETMIN           CA       ANET                                  
065872,000981: 20,3725           00006                           EXTEND                                         
065873,000982: 20,3726           50164                           INDEX    -SIGNAOS                              
065874,000983: 20,3727           70130                           MP       1/ACOSTT   +1                         #  ANETNEG(POS)/ACOASTPOS(NEG) AT 2(6)
065875,000984: 
065876,000985:                                                                                                  #                                                               THE FOLLOWING CODING IS VALID FOR BOTH POS OR NEG
065877,000986:                                                                                                  #                                                                       VALUES OF AOS
065878,000987: 
065879,000988: 20,3730           64743        DO1/NET+           AD       BIT9                                  #  1 + ANET/ACOAST AT 2(6)
065880,000989: 20,3731           56157                           XCH      ANET                                  #  SAVE AND PICK UP ANET
065881,000990: 20,3732           00006                           EXTEND                                         
065882,000991: 20,3733           22161                           QXCH     ARET                                  #  SAVE RETURN
065883,000992: 20,3734           03704                           TC       INVERT                                
065884,000993: 20,3735           54160                           TS       1/ANET                                #  1/ANET AT 2(7)/PI
065885,000994: 20,3736           44743                           CS       BIT9                                  #  -1 AT 2(6)
065886,000995: 20,3737           00006        DOACCFUN           EXTEND                                         
065887,000996: 20,3740           70160                           MP       1/ANET                                #  -1/ANET AT 2(13)/PI
065888,000997: 20,3741           00006                           EXTEND                                         
065889,000998: 20,3742           10157                           DV       ANET                                  #  ACCFUN AT 2(7)/PI
065890,000999: 20,3743           00161                           TC       ARET                                  #  RETURN
065891,001000: 
065892,001001: 20,3744           43770        NETNEG             CS       -.03R/S2                              #  ANET LESS THAN AMIN - SET EQUAL TO AMIN
065893,001002: 20,3745           54157                           TS       ANET                                  
065894,001003: 20,3746           13725                           TCF      1/NETMIN   +1                         #  CONTINUE AS IF NOTHING HAPPENED
065895,001004: 

Page 1493

065897,001006: 20,3747           10163        FIXMIN             CCS      SIGNAOS                               
065898,001007: 20,3750           34752                           CA       TWO                                   #  IF AOS NEG, ACCSW = +1
065899,001008: 20,3751           67761                           AD       NEGONE                                #  IF AOS POS, ACCSW = -1
065900,001009: 20,3752           54122                           TS       ACCSW                                 
065901,001010: 20,3753           60154                           AD       UV                                    #  IF ACCSW = +1, TEST FOR +U (+V) JET FAIL
065902,001011: 20,3754           50000                           INDEX    A                                     #  IF ACCSW = -1, TEST FOR -U (-V) JET FAIL
065903,001012: 20,3755           33774                           CA       -UMASK     +1                         
065904,001013: 20,3756           71257                           MASK     CH5MASK                               
065905,001014: 20,3757           00006                           EXTEND                                         
065906,001015: 20,3760           13764                           BZF      +4                                    
065907,001016: 20,3761           43770                           CS       -.03R/S2                              #  JET FAILURE - CANNOT USE 2-JET VALUES
065908,001017: 20,3762           54157                           TS       ANET                                  #  ANET = AMIN
065909,001018: 20,3763           13532                           TCF      STMIN-     -1                         #  CALCULATE FUNCTIONS USING AMIN
065910,001019: 20,3764           30001                           CA       L                                     #  L HAS ACCFUN
065911,001020: 20,3765           13533                           TCF      STMIN-                                #  STORE MAX VALUES FOR MIN JETS
065912,001021: 
065913,001022: 
065914,001023:                                                                                                  #                                           ERASABLE ASSIGNMENTS FOR 1/ACCONT
065915,001024: 
065916,001025: 20,3766  E6,1550               1/ANETP            EQUALS   BLOCKTOP   +2                         
065917,001026: 20,3766  E6,1552               1/ACOSTP           EQUALS   BLOCKTOP   +4                         
065918,001027: 20,3766  E6,1556               PACCFUN            EQUALS   BLOCKTOP   +8D                        
065919,001028: 20,3766  E6,1560               PDB1               EQUALS   BLOCKTOP   +10D                       
065920,001029: 20,3766  E6,1561               PDB2               EQUALS   BLOCKTOP   +11D                       
065921,001030: 20,3766  E6,1562               PDB4               EQUALS   BLOCKTOP   +12D                       
065922,001031: 20,3766  E6,1563               PDB3               EQUALS   BLOCKTOP   +13D                       
065923,001032: 20,3766  E6,1564               PAXDIST            EQUALS   BLOCKTOP   +14D                       
065924,001033: 
065925,001034: 20,3766     0122               ACCSW              EQUALS   VBUF                                  #  EXECUTIVE TEMPORARIES
065926,001035:                                                                                                  #  CANNOT DO CCS     NEWJOB DURING 1/ACCS
065927,001036: 20,3766     0123               1/ATEM1            EQUALS   ACCSW      +1                         #  TEMP BUFFER FOR U AND V AXES
065928,001037: 20,3766     0124               1/ATEM2            EQUALS   1/ATEM1    +1                         
065929,001038: 20,3766     0127               1/ACOSTT           EQUALS   1/ATEM1    +4                         
065930,001039: 20,3766     0131               Z1TEM              EQUALS   1/ATEM1    +6                         
065931,001040: 20,3766     0132               Z5TEM              EQUALS   1/ATEM1    +7                         
065932,001041: 
065933,001042: 20,3766     0135               UDB1               EQUALS   1/ATEM1    +10D                       #  UAXIS DEADBAND BUFFER
065934,001043: 20,3766     0136               UDB2               EQUALS   1/ATEM1    +11D                       
065935,001044: 20,3766     0137               UDB4               EQUALS   1/ATEM1    +12D                       
065936,001045: 20,3766     0140               UDB3               EQUALS   1/ATEM1    +13D                       
065937,001046: 20,3766     0141               UAXDIST            EQUALS   1/ATEM1    +14D                       
065938,001047: 
065939,001048: 20,3766     0143               DBB1               EQUALS   1/ATEM1    +16D                       #  TEMP DEADBAND BUFFER, ALSO V AXIS
065940,001049: 20,3766     0144               DBB2               EQUALS   1/ATEM1    +17D                       
065941,001050: 20,3766     0145               DBB4               EQUALS   1/ATEM1    +18D                       
065942,001051: 20,3766     0146               DBB3               EQUALS   1/ATEM1    +19D                       
065943,001052: 20,3766     0147               AXDSTEM            EQUALS   1/ATEM1    +20D                       
065944,001053: 
065945,001054: 20,3766     0151               FLATEMP            EQUALS   1/ATEM1    +22D                       
065946,001055: 20,3766     0152               Z3TEM              EQUALS   1/ATEM1    +23D                       #  MUST FOLLOW FLATEMP
065947,001056: 

Page 1494

065949,001058: 20,3766     0114               DBVAL2             EQUALS   INTB15+                               
065950,001059: 20,3766     0115               DBVAL3             EQUALS   INTB15+    +1                         
065951,001060: 
065952,001061: 20,3766     0116               DRIFTER            EQUALS   INTB15+    +2                         
065953,001062: 
065954,001063: 20,3766     0154               UV                 EQUALS   MPAC                                  
065955,001064: 20,3766     0157               ANET               EQUALS   MPAC       +3                         
065956,001065: 20,3766     0157               FUNTEM             EQUALS   MPAC       +3                         
065957,001066: 20,3766     0160               1/ANET             EQUALS   MPAC       +4                         
065958,001067: 20,3766     0161               ARET               EQUALS   MPAC       +5                         
065959,001068: 20,3766     0162               ABSAOS             EQUALS   MPAC       +6                         
065960,001069: 20,3766     0163               SIGNAOS            EQUALS   MPAC       +7                         
065961,001070: 20,3766     0164               -SIGNAOS           EQUALS   MPAC       +8D                        
065962,001071: 20,3766     0165               HOLD               EQUALS   MPAC       +9D                        
065963,001072: 20,3766     0117               ACCRETRN           EQUALS   FIXLOC     -1                         
065964,001073: 
065965,001074: 
065966,001075: 20,3766           00110        ZONE3MAX           DEC      .004375                               #  17.5 MS (35 MS FOR 1 JET) AT 4 SECONDS
065967,001076: 20,3767           00443        FLATVAL            DEC      .01778                                #  .8 AT PI/4 RAD
065968,001077: 20,3770           77377        -.03R/S2           OCT      77377                                 #   -PI/2(7) AT PI/2
065969,001078: 
065970,001079: 20,3771           00356        .023R/S2           OCT      00356                                 #  .0228 RAD/SEC(2) AT PI/2
065971,001080: 20,3772     4733               1/.03              EQUALS   POSMAX                                #   2(7)/PI AT 2(7)/PI
065972,001081: 
065973,001082: 20,3772           02213        PAXISADR           GENADR   PAXIS                                 
065974,001083: 
065975,001084: 
065976,001085:                                                                                                  #  THE FOLLOWING 4 CONSTANTS ARE JET
065977,001086:                                                                                                  #  FAILURE MASKS AND ARE INDEXED
065978,001087: 20,3773           00110        -UMASK             OCT      00110                                 #  -U
065979,001088: 20,3774           00022                           OCT      00022                                 #  -V
065980,001089: 20,3775           00204        +UMASK             OCT      00204                                 #  +U
065981,001090: 20,3776           00041                           OCT      00041                                 #  +V
065982,001091: 

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