Source Code
This is an attempt to recreate Luminary 99 Rev 2, otherwise known as LUM99R2, from Luminary 99 Rev 1 and ephemeris data from Luminary 116. The differences are confined to the last 10-12 lines of the CONTROLLED CONSTANTS. Luminary 99 Rev 1 source-code was transcribed from a printout in the MIT Museum, while Luminary 116 source code was transcribed from a printout belonging to Don Eyles. AGC developer James Kernan, the "rope mother" for the Apollo 11 Lunar Module's AGC, explains as follows: "At the last minute, Dan Lickly, our chief engineer, appeared with ephemerides updates and it took two tries to get it right. The result was that we created Lum99 Revision 1 and Lum99 Revision 2." It is suspected that the former is what's in the MIT Museum, and the latter is what we are trying to recreate here. As for which revision actually flew in Apollo 11, all of the other available surviving evidence points to Rev 1 rather than to Rev 2, so we're just not sure! |
062988,000002: ## Copyright: Public domain.
062989,000003: ## Filename: AOSTASK_AND_AOSJOB.agc
062990,000004: ## Purpose: Part of the source code for Luminary 1A build 099.
062991,000005: ## It is part of the source code for the Lunar Module's (LM)
062992,000006: ## Apollo Guidance Computer (AGC), for Apollo 11.
062993,000007: ## Assembler: yaYUL
062994,000008: ## Contact: Ron Burkey <info@sandroid.org>.
062995,000009: ## Website: www.ibiblio.org/apollo.
062996,000010: ## Pages: 1485-1506
062997,000011: ## Mod history: 2009-05-27 RSB Adapted from the corresponding
062998,000012: ## Luminary131 file, using page
062999,000013: ## images from Luminary 1A.
063000,000014: ## 2009-06-05 RSB Corrected a memory-bank error type.
063001,000015: ## 2009-06-07 RSB Corrected a typo.
063002,000016: ## 2011-01-06 JL Fixed pseudo-label indentation.
063003,000017: ## 2016-12-18 RSB Proofed text comments with octopus/ProoferComments
063004,000018: ## and corrected the errors found.
063005,000019: ## 2017-03-03 RSB Snapshot of Luminary 99 Rev 1.
063006,000020: ## 2017-03-14 RSB Comment-text fixes identified in 5-way
063007,000021: ## side-by-side diff of Luminary 69/99/116/131/210.
063008,000022:
Page 1485 |
063010,000024: # PROGRAM NAME: 1/ACCS
063011,000025: # PROGRAM WRITTEN BY: BOB COVELLI AND MIKE HOUSTON
063012,000026: # LAST MODIFICATION: FEB. 14, 1969 BY G. KALAN
063013,000027:
063014,000028: # PROGRAM DESCRIPTION:
063015,000029: # 1/ACCS PROVIDES THE INTERFACE BETWEEN THE GUIDANCE PROGRAMS AND THE DIGITAL AUTOPILOT. WHENEVER THERE IS A
063016,000030: # CHANGE IN THE MASS OF THE VEHICLE, IN THE DEADBAND SELECTED, IN THE VEHICLE CONFIGURATION (ASCENT-DESCENT-
063017,000031: # DOCKED), AND DURING A FRESH START OR A RESTART, 1/ACCS IS CALLED TO COMMUNICATE THE DATA CHANGES TO THE DAP.
063018,000032:
063019,000033: # THE INPUTS TO 1/ACCS ARE MASS, ACCELERATION (ABDELV), DEADBAND (DB), OFFSET ACCELERATIONS (AOSQ AND AOSR),
063020,000034: # STAGE VERIFY BIT (CHAN30, BIT2), DOCKED BIT (DAPBOOLS, BIT13), DRIFT BIT (DAPBOOLS, BIT8), USEQRJTS (DAPBOOLS,
063021,000035: # BIT14), AND SURFACE FLAG (FLAGWRD8, BIT8), AND CH5MASK.
063022,000036:
063023,000037: # 1/ACCS COMPUTES THE JET ACCELERATIONS (1JACC, 1JACCQ, 1JACCR) AS FUNCTIONS OF MASS. 1JACCU AND 1JACCV ARE
063024,000038: # FORMED BY RESOLVING 1JACCQ NAD 1JACCR. IN THE DESCENT CASE, THE DESCENT ENGINE MOMENT ARM (L, PVT-CG) IS ALSO
063025,000039: # COMPUTED AS A FUNCTION OF MASS. THE RATE OF CHANGE OF ACCELERATION DUE TO ROTATION OF THE GIMBAL (ACCDOTQ,
063026,000040: # ACCDOTR) IS ALSO COMPUTED IN THE DESCENT CASE.
063027,000041:
063028,000042: # AFTER THE ABOVE COMPUTATIONS, THE PROGRAM 1/ACCONT COMPUTES THE RECIPROCAL NET ACCELERATIONS ABOUT THE P, U,
063029,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
063030,000044: # THE P, U, AND V AXES. THE ACCELERATION FUNCTIONS (ACCFCTZ1 AND ACCFCTZ5) ARE ALSO COMPUTED FOR THESE AXES. THE
063031,000045: # FIRE AND COAST DEADBANDS AND AXISDIST ARE COMPUTED FOR EACH AXIS. FLAT AND ZONE3LIM, THE WIDTH AND HEIGHT OF THE
063032,000046: # MINIMUM IMPULSE ZONE, ARE COMPUTED. 1/ACCONT ALSO SETS ACCSWU AND ACCSWV, WHICH INDICATE WHEN 1 JET ACCELERATION
063033,000047: # IS NOT SUFFICIENT TO PRODUCE MINIMUM ACCELERATION. AT THE COMPLETION OF 1/ACCS, THE ACCSOKAY BIT IS SET.
063034,000048:
063035,000049: # SUBBOUTINES CALLED:
063036,000050: # TIMEGMBL
063037,000051: # MAKECADR
063038,000052: # ROT45DEG
063039,000053:
063040,000054: # CALLING SEQUENCE:
063041,000055: # TC BANKCALL (1/ACCS MUST BE CALL BY BANKCALL
063042,000056: # CADR 1/ACCS
063043,000057:
063044,000058: # NORMAL EXIT: VIA BANKJUMP ALARM AND ABORT EXIT MODES: NONE.
063045,000059:
063046,000060: # INPUT/OUTPUT: SEE PROGRAM DESCRIPTION
063047,000061:
063048,000062: # DEBRIS:
063049,000063: # ALL OF THE EXECUTIVE TEMPORARY REGISTERS, EXCEPT FIXLOC AND OVFIND, AND THE CORE SET AREA FROM MPAC TO BANKSET.
063050,000064:
063051,000065: # RESTRICTIONS:
063052,000066: # 1/ACCS MUST BE CALLED BY BANKCALL
063053,000067: # EBANK IS SET TO 6, BUT NOT RESTORED.
Page 1486 |
063055,000069:
063056,000070: 20,2447 BANK 20
063057,000071: 20,2000 SETLOC DAPS3
063058,000072: 20,2000 BANK
063059,000073:
063060,000074: 20,2447 COUNT* $$/DAPAO
063061,000075:
063062,000076: 20,2447 E6,1537 EBANK= AOSQ
063063,000077:
063064,000078: # ENTRY IS THROUGH 1/ACCJOB OR 1/ACCSET WHEN 1/ACCS IS TO BE DONE AS A SEPARATE NOVAC JOB.
063065,000079: # IT IS POSSIBLE FOR MORE THAN ONE OF THESE JOBS TO BE SET UP CONCURRENTLY. HOWEVER, SINCE THERE IS NO CHECK OF
063066,000080: # NEWJOB, A SECOND MANIFESTATION CANNOT BE STARTED UNTIL THE FIRST IS COMPLETED.
063067,000081:
063068,000082: 20,2447 34755 1/ACCSET CAF ZERO # ENTRY FROM FRESH START/RESTART CODING.
063069,000083: 20,2450 55537 TS AOSQ # NULL THE OFFSET ESTIMATES FOR 1/ACCS.
063070,000084: 20,2451 55541 TS AOSR
063071,000085: 20,2452 55424 TS ALPHAQ # NULL THE OFFSET ESTIMATES FOR DOWNLIST
063072,000086: 20,2453 55425 TS ALPHAR
063073,000087:
063074,000088: 20,2454 04616 1/ACCJOB TC BANKCALL # 1/ACCS ASSUMES ENTRY VIA BANKCALL.
063075,000089: 20,2455 40461 CADR 1/ACCS +2 # SKIP EBANK SETTING.
063076,000090:
063077,000091: 20,2456 05155 TC ENDOFJOB
063078,000092:
063079,000093: 20,2457 35015 1/ACCS CA EBANK6 # ***** EBANK SET BUT NOT RESTORED *****
063080,000094: 20,2460 54003 TS EBANK
063081,000095:
063082,000096: 20,2461 04645 TC MAKECADR # SAVE RETURN SO THAT BUF2 MAY BE USED
063083,000097: 20,2462 54117 TS ACCRETRN
063084,000098:
063085,000099: # DETERMINE MASS OF THE LEM.
063086,000100:
063087,000101: 20,2463 30111 CA DAPBOOLS # IS CSM DOCKED
063088,000102: 20,2464 74737 MASK CSMDOCKD
063089,000103: 20,2465 54157 TS DOCKTEMP # STORE RECORD OF STATE IN TEMP (MPAC +3).
063090,000104: 20,2466 10000 CCS A
063091,000105: 20,2467 41332 CS CSMMASS # DOCKED: LEMMASS = MASS - CSMMASS
063092,000106: 20,2470 61244 AD MASS # LEM ALONE: LEMMASS = MASS
063093,000107: 20,2471 55331 TS LEMMASS
063094,000108:
063095,000109: # ON THE BASIS OF APSFLAG:
063096,000110: # SET THE P-AXIS RATE COMMAND LIMIT FOR 2-JET/4-JET CONTROL
063097,000111: # SET MPAC, WHICH INDICATES THE PROPER SET OF COEFFICIENTS FOR THE LEM-ALONE F(MASS) CALCULATIONS
063098,000112: # ENSURE THAT THE LEM MASS VALUE IS WITHIN THE ACCEPTABLE RANGE
063099,000113:
063100,000114: 20,2472 00004 INHINT
063101,000115: 20,2473 30106 CAE FLGWRD10 # DETERMINE WHETHER STAGED.
063102,000116: 20,2474 74737 MASK APSFLBIT
063103,000117: 20,2475 00006 EXTEND
063104,000118: 20,2476 12522 BZF DPSFLITE
Page 1487 |
063106,000120: 20,2477 44733 CS POSMAX # ASCENT (OR ON LUNAR SURFACE)
063107,000121: 20,2500 55475 TS -2JETLIM # ALWAYS 2 JETS FOR P-AXIS RATE COMMAND
063108,000122: 20,2501 35751 CAF OCT14 # INITIALIZE INDEX AT 12.
063109,000123: 20,2502 54154 TS MPAC
063110,000124: 20,2503 41331 CS LEMMASS # CHECK IF MASS TOO HIGH. CATCH STAGING.
063111,000125: 20,2504 61400 AD HIASCENT
063112,000126: 20,2505 00006 EXTEND
063113,000127: 20,2506 62513 BZMF MASSFIX
063114,000128: 20,2507 41331 CS LEMMASS # CHECK IF MASS TOO LOW. THIS LIMITS THE
063115,000129: 20,2510 62001 AD LOASCENT # DECREMENTING BY MASSMON.
063116,000130: 20,2511 00006 EXTEND
063117,000131: 20,2512 62540 BZMF F(MASS)
063118,000132:
063119,000133: 20,2513 27331 MASSFIX ADS LEMMASS # STORE THE VIOLATED LIMIT AS LEMMASS.
063120,000134: 20,2514 22007 ZL # ALSO CORRECT TOTAL MASS, ZEROING THE
063121,000135: 20,2515 10157 CCS DOCKTEMP # LOW-ORDER WORD.
063122,000136: 20,2516 31332 CAE CSMMASS # DOCKED: MASS = LEMMASS + CSMMASS
063123,000137: 20,2517 61331 AD LEMMASS # LEM ALONE: MASS = LEMMASS
063124,000138: 20,2520 53245 DXCH MASS
063125,000139: 20,2521 12540 TCF F(MASS)
063126,000140:
063127,000141: 20,2522 44742 DPSFLITE CS BIT10 # FOUR JETS FOR P-AXIS RATE COMMAND ERRORS
063128,000142: 20,2523 55475 TS -2JETLIM # EXCEEDING 1.4 DEG/SEC (SCALED AT 45)
063129,000143: 20,2524 36242 CAF SIX # INITIALIZE INDEX AT 6.
063130,000144: 20,2525 54154 TS MPAC
063131,000145: 20,2526 41331 CS LEMMASS # CHECK IF MASS TOO HIGH. SHOULD NEVER
063132,000146: 20,2527 62002 AD HIDESCNT # OCCUR EXCEPT PERHAPS BEFORE THE PAD
063133,000147: 20,2530 00006 EXTEND # LOAD IS DONE.
063134,000148: 20,2531 62513 BZMF MASSFIX
063135,000149: 20,2532 41331 CS LEMMASS # CHECK IF MASS TOO LOW. THIS LIMITS THE
063136,000150: 20,2533 62003 AD LODESCNT # DECREMENTING BY MASSMON.
063137,000151: 20,2534 61400 AD HIASCENT
063138,000152: 20,2535 00006 EXTEND
063139,000153: 20,2536 62540 BZMF F(MASS)
063140,000154: 20,2537 12513 TCF MASSFIX
063141,000155:
063142,000156: # COMPUTATION OF FUNCTIONS OF MASS
063143,000157:
063144,000158: 20,2540 00003 F(MASS) RELINT
063145,000159: 20,2541 10157 CCS DOCKTEMP
063146,000160: 20,2542 13105 TCF DOCKED # DOCKED: USE SEPERATE COMPUTATION.
063147,000161: 20,2543 34752 CA TWO
063148,000162: 20,2544 54155 STCTR TS MPAC +1 # J=2,1,0 FOR 1JACCR,1JACCQ,1JACC
063149,000163:
063150,000164: 20,2545 44752 CS TWO
063151,000165: 20,2546 26154 ADS MPAC # JX=10,8,6 OR 4,2,0 TO INDEX COEFS.
063152,000166:
063153,000167: 20,2547 31331 STCTR1 CAE LEMMASS
063154,000168: 20,2550 50154 INDEX MPAC
063155,000169: 20,2551 63060 AD INERCONC
063156,000170: 20,2552 54156 TS MPAC +2 # MASS + C
Page 1488 |
063158,000172: 20,2553 00006 EXTEND
063159,000173: 20,2554 50154 INDEX MPAC
063160,000174: 20,2555 33042 DCA INERCONA
063161,000175: 20,2556 00006 EXTEND
063162,000176: 20,2557 10156 DV MPAC +2
063163,000177: 20,2560 50154 INDEX MPAC
063164,000178: 20,2561 63057 AD INERCONB
063165,000179: 20,2562 50155 INDEX MPAC +1 # 1JACC(J)=A(JX)/(MASS+C(JX) + B(JX)
063166,000180: 20,2563 55530 TS 1JACC # 1JACC(-1)=L,PVT-CG SCALED AT 8 FEET
063167,000181:
063168,000182: 20,2564 10155 CCS MPAC +1
063169,000183: 20,2565 12544 TCF STCTR
063170,000184: 20,2566 12570 TCF COMMEQS
063171,000185: 20,2567 12667 TCF LRESC
063172,000186:
063173,000187: # COEFFQ AND COEFFR ARE COMPUTED IN THIS SECTION. THEY ARE USED TO RESOLVE Q-R COMPONENTS INTO NON-ORTHOGONAL
063174,000188: # U AND V COMPONENTS (SEE ROT-TOUV SECTION).
063175,000189:
063176,000190: 20,2570 41532 COMMEQS CS 1JACCR
063177,000191: 20,2571 61531 AD 1JACCQ
063178,000192: 20,2572 00006 EXTEND
063179,000193: 20,2573 62617 BZMF BIGIQ
063180,000194: 20,2574 00006 EXTEND # EPSILON IS A MEASURE OF COUPLING AND IS
063181,000195: 20,2575 11531 DV 1JACCQ # DEFINED=1-IQ/IR FOR IR GREATER THAN IQ.
063182,000196: 20,2576 54155 TS EPSILON # THE COMPUTED EXPRESSION IS EQUIVALENT
063183,000197: 20,2577 63104 AD -EPSMAX
063184,000198: 20,2600 00006 EXTEND
063185,000199: 20,2601 62604 BZMF GOODEPS1
063186,000200: 20,2602 43104 CS -EPSMAX
063187,000201: 20,2603 54155 TS EPSILON # EPSILON IS LIMITED TO A MAX. OF .42265
063188,000202: 20,2604 30155 GOODEPS1 CA EPSILON
063189,000203: 20,2605 00006 EXTEND
063190,000204: 20,2606 73100 MP 0.35356
063191,000205: 20,2607 63102 AD .7071
063192,000206: 20,2610 55630 TS COEFFR # IN THIS CASE WHERE IR IS GREATER THAN
063193,000207: 20,2611 44733 CS POSMAX # IQ, COEFFQ=-.707(1+.5EPSILON)(1-EPSILON)
063194,000208: 20,2612 60155 AD EPSILON # AND COEFFR=.707(1+.5EPSILON)
063195,000209: 20,2613 00006 EXTEND
063196,000210: 20,2614 71630 MP COEFFR
063197,000211: 20,2615 55627 TS COEFFQ
063198,000212: 20,2616 12642 TCF JACCUV
063199,000213: 20,2617 00006 BIGIQ EXTEND # EPSILON IS DEFINED AS 1-IR/IQ FOR IQ
063200,000214: 20,2620 11532 DV 1JACCR # GREATER THAN IR. -EPSILON IS COMPUTED
063201,000215: 20,2621 54155 TS -EPSILON # RATHER THAN EPSILON FOR CONVENIENCE
063202,000216: 20,2622 40155 CS -EPSILON
063203,000217: 20,2623 63104 AD -EPSMAX
063204,000218: 20,2624 00006 EXTEND
063205,000219: 20,2625 62630 BZMF GOODEPS2
063206,000220: 20,2626 33104 CA -EPSMAX
063207,000221: 20,2627 54155 TS -EPSILON # EPSILON IS LIMITED TO A MAX. OF .42265
Page 1489 |
063209,000223: 20,2630 30155 GOODEPS2 CA -EPSILON
063210,000224: 20,2631 00006 EXTEND
063211,000225: 20,2632 73100 MP 0.35356
063212,000226: 20,2633 63103 AD -.7071
063213,000227: 20,2634 55627 TS COEFFQ # IN THIS CASE WHERE IQ IS GREATER THAN
063214,000228: 20,2635 40155 CS -EPSILON # IR, COEFFQ=-.707(1+.5EPSILON) AND
063215,000229: 20,2636 64735 AD NEGMAX # COEFFR=.707(1+.5EPSILON)(1-EPSILON)
063216,000230: 20,2637 00006 EXTEND
063217,000231: 20,2640 71627 MP COEFFQ
063218,000232: 20,2641 55630 TS COEFFR
063219,000233: 20,2642 41627 JACCUV CS COEFFQ
063220,000234: 20,2643 00006 EXTEND
063221,000235: 20,2644 71531 MP 1JACCQ # 1JACCQ IS SCALED AT PI/4
063222,000236: 20,2645 55533 TS 1JACCU # 1JACCU USED AS TEMPORARY STORAGE
063223,000237: 20,2646 31630 CA COEFFR
063224,000238: 20,2647 00006 EXTEND
063225,000239: 20,2650 71532 MP 1JACCR
063226,000240: 20,2651 61533 AD 1JACCU
063227,000241: 20,2652 00006 EXTEND
063228,000242: 20,2653 74736 MP BIT14 # SCALING CHANGED FROM PI/4 TO PI/2
063229,000243: 20,2654 55533 TS 1JACCU
063230,000244: 20,2655 55534 TS 1JACCV # SCALED AT PI/2 RADIANS/SEC(2)
063231,000245: 20,2656 10154 CCS MPAC # COMPUTE L,PVT-CG IF IN DESCENT
063232,000246: 20,2657 34755 CAF ZERO # ZERO SWITCHES AND GO TO 1/ACCONT IN
063233,000247: 20,2660 55502 TS ALLOWGTS # ASCENT
063234,000248: 20,2661 13230 TCF 1/ACCONT -1
063235,000249:
063236,000250: 20,2662 44752 CS TWO
063237,000251: 20,2663 54154 TS MPAC
063238,000252: 20,2664 44753 CS ONE
063239,000253: 20,2665 54155 TS MPAC +1
063240,000254: 20,2666 12547 TCF STCTR1
063241,000255:
063242,000256: # THIS SECTION COMPUTES THE RATE OF CHANGE OF ACCELERATION DUE TO THE ROTATION OF THE GIMBALS. THE EQUATION IMPLE
063243,000257: # MENTED IN BOTH THE Y-X PLANE AND THE Z-X PLANE IS -- D(ALPHA)/DT = TL/I*D(DELTA)/DT, WHERE
063244,000258: # T = ENGINE THRUST FORCE
063245,000259: # L = PIVOT TO CG DISTANCE OF ENGINE
063246,000260: # I = MOMENT OF INERTIA
063247,000261:
063248,000262: 20,2667 31246 LRESC CAE ABDELV # SCALED AT 2(13) CM/SEC(2)
063249,000263: 20,2670 00006 EXTEND
063250,000264: 20,2671 71244 MP MASS # SCALED AT B+16 KGS
063251,000265: 20,2672 02776 TC DVOVSUB # GET QUOTIENT WITH OVERFLOW PROTECTION
063252,000266: 20,2673 03101 ADRES GFACTM
063253,000267:
063254,000268: # MASS IS DIVIDED BY ACCELERATION OF GRAVITY IN ORDER TO MATCH THE UNITS OF IXX,IYY,IZZ, WHICH ARE SLUG-FT(2).
063255,000269: # THE RATIO OF ACCELERATION FROM PIPAS TO ACCELERATION OF GRAVITY IS THE SAME IN METRIC OR ENGINEERING UNITS, SO
063256,000270: # THAT IS UNCONVERTED. 2.20462 CONVERTS KG. TO LB. NOW T IS IN A SCALED AT 2(14).
063257,000271:
063258,000272: 20,2674 00006 EXTEND
063259,000273: 20,2675 71527 MP L,PVT-CG # SCALED AT 8 FEET.
Page 1490 |
063261,000275: 20,2676 00004 INHINT
063262,000276: 20,2677 54154 TS MPAC
063263,000277: 20,2700 00006 EXTEND
063264,000278: 20,2701 71532 MP 1JACCR
063265,000279: 20,2702 02776 TC DVOVSUB # GET QUOTIENT WITH OVERFLOW PROTECTION
063266,000280: 20,2703 02000 ADRES TORKJET1
063267,000281:
063268,000282: 20,2704 55511 TS ACCDOTR # SCALED AT PI/2(7)
063269,000283: 20,2705 30154 CA MPAC
063270,000284: 20,2706 00006 EXTEND
063271,000285: 20,2707 71531 MP 1JACCQ
063272,000286: 20,2710 02776 TC DVOVSUB # GET QUOTIENT WITH OVERFLOW PROTECTION
063273,000287: 20,2711 02000 ADRES TORKJET1
063274,000288:
063275,000289: 20,2712 55507 SPSCONT TS ACCDOTQ # SCALED AT PI/2(7)
063276,000290: 20,2713 00006 EXTEND
063277,000291: 20,2714 73077 MP DGBF # .3ACCDOTQ SCALED AT PI/2(8)
063278,000292: 20,2715 55504 TS KQ
063279,000293: 20,2716 31511 CAE ACCDOTR # .3ACCDOTR AT PI/2(8)
063280,000294: 20,2717 00006 EXTEND
063281,000295: 20,2720 73077 MP DGBF
063282,000296: 20,2721 55506 TS KRDAP
063283,000297: 20,2722 00006 EXTEND # NOW COMPUTE QACCDOT, RACCDOT, THE SIGNED
063284,000298: 20,2723 00012 READ CHAN12 # JERK TERMS. STORE CHANNEL 12. WITH GIM
063285,000299: 20,2724 54155 TS MPAC +1 # BAL DRIVE BITS 9 THROUGH 12. SET LOOP
063286,000300: 20,2725 34752 CAF BIT2 # INDEX TO COMPUTE RACCDOT, THEN QACCDOT.
063287,000301: 20,2726 12730 TCF LOOP3
063288,000302: 20,2727 34755 CAF ZERO # ACCDOTQ AND ACCDOTR ARE NOT NEGATIVE,
063289,000303: 20,2730 54154 LOOP3 TS MPAC # BECAUSE THEY ARE MAGNITUDES
063290,000304: 20,2731 30155 CA MPAC +1
063291,000305: 20,2732 50154 INDEX MPAC # MASK CHANNEL IMAGE FOR ANY GIMBAL MOTION
063292,000306: 20,2733 73073 MASK GIMBLBTS
063293,000307: 20,2734 00006 EXTEND
063294,000308: 20,2735 12751 BZF ZACCDOT # IF NONE, Q(R)ACCDOT IS ZERO.
063295,000309: 20,2736 30155 CA MPAC +1
063296,000310: 20,2737 50154 INDEX MPAC # GIMBAL IS MOVING. IS ROTATION POSITIVE.
063297,000311: 20,2740 73074 MASK GIMBLBTS +1
063298,000312: 20,2741 00006 EXTEND
063299,000313: 20,2742 12746 BZF FRSTZERO # IF NOT POSITIVE, BRANCH
063300,000314: 20,2743 50154 INDEX MPAC # POSITIVE ROTATION, NEGATIVE Q(R)ACCDOT.
063301,000315: 20,2744 41507 CS ACCDOTQ
063302,000316: 20,2745 12752 TCF STACCDOT
063303,000317: 20,2746 50154 FRSTZERO INDEX MPAC # NEGATIVE ROTATION, POSITIVE Q(R)ACCDOT.
063304,000318: 20,2747 31507 CA ACCDOTQ
063305,000319: 20,2750 12752 TCF STACCDOT
063306,000320: 20,2751 34755 ZACCDOT CAF ZERO
063307,000321: 20,2752 50154 STACCDOT INDEX MPAC
063308,000322: 20,2753 55510 TS QACCDOT # STORE Q(R)ACCDOT.
063309,000323: 20,2754 10154 CCS MPAC
063310,000324: 20,2755 12727 TCF LOOP3 -1 # NOW DO QACCDOT.
Page 1491 |
063312,000326: 20,2756 40111 CS DAPBOOLS # IS GIMBAL USABLE?
063313,000327: 20,2757 74736 MASK USEQRJTS
063314,000328: 20,2760 00006 EXTEND
063315,000329: 20,2761 13706 BZF DOWNGTS # NO. BE SURE THE GIMBAL SWITCHES ARE DOWN
063316,000330: 20,2762 41274 CS T5ADR # YES. IS THE DAP RUNNING?
063317,000331: 20,2763 63765 AD PAXISADR
063318,000332: 20,2764 00006 EXTEND
063319,000333: 20,2765 12767 BZF +2
063320,000334: 20,2766 13706 TCF DOWNGTS # NO. BE SURE THE GIMBAL SWITCHES ARE DOWN
063321,000335: 20,2767 11633 CCS INGTS # YES. IS GTS IN CONTROL?
063322,000336: 20,2770 12773 TCF DOCKTEST # YES. PROCEED WITH 1/ACCS.
063323,000337: 20,2771 04674 TC IBNKCALL # NO. NULL OFFSET AND FIND ALLOWGTS
063324,000338: 20,2772 43330 CADR TIMEGMBL
063325,000339:
063326,000340: 20,2773 10157 DOCKTEST CCS DOCKTEMP # BYPASS 1/ACCONT WHEN DOCKED.
063327,000341: 20,2774 13671 TCF 1/ACCRET
063328,000342: 20,2775 13231 TCF 1/ACCONT
063329,000343:
Page 1492 |
063331,000345: # SUBROUTINE: DVOVSUB
063332,000346: # AUTHOR: C. WORK, MOD 0 12 JUNE 68
063333,000347: # PURPOSE: THIS SUBROUTINE PROVIDES A SINGLE-PRECISION MACHINE LANGUAGE DIVISION OPERATION WHICH RETURNS
063334,000348: # (1) THE QUOTIENT, IF THE DIVISION WAS NORMAL.
063335,000349: # (2) NEGMAX, IF THE QUOTIENT WAS IMPROPER AND NEGATIVE.
063336,000350: # (3) POSMAX, IF THE QUOTIENT WAS IMPROPER AND POSITIVE OR IF THERE WAS A ZERO DIVISOR.
063337,000351: # THE CALLING PROGRAM IS PRESUMED TO BE A JOB IN THE F BANK WHICH CONTAINS DVOVSUB. E BANK MUST BE 6.
063338,000352: # THE DIVISOR FOR THIS ROUTINE MAY BE IN EITHER FIXED OR ERASABLE STORAGE. SIGN AGREEMENT IS
063339,000353: # ASSUMED BETWEEN THE TWO HALVES OF THE DIVIDEND. (THIS IS CERTAIN IF THE A AND L REGISTERS ARE THE RE-
063340,000354: # SULT OF A MULTIPLICATION OPERATION.)
063341,000355: # CALL SEQUENCE:
063342,000356: # L TC DVOVSUB
063343,000357: # L +1 ADRES (DIVISOR)
063344,000358: # L +2 RETURN HERE, WITH RESULT IN A,L
063345,000359: # INPUT: DIVIDEND IN A,L (SIGN AGREEMENT ASSUMED), DIVISOR IN LOCATION DESIGNATED BY "ADRES".
063346,000360: # DIVISOR MAY BE IN THE DVOVSUB FBANK,FIXED-FIXED FBANK,EBANK 6, OR UNSWITCHED ERASABLE.
063347,000361: # OUTPUT: QUOTIENT AND REMAINDER, OR POSMAX (NEGMAX), WHICHEVER IS APPROPRIATE.
063348,000362: # DEBRIS: SCRATCHX,SCRATCHY,SCRATCHZ,A,L (NOTE: SCRATCHX,Y,Z ARE EQUATED TO MPAC +4,+5, AND +6.)
063349,000363: # ABORTS OR ALARMS: NONE
063350,000364: # EXITS: TO THE CALL POINT +2.
063351,000365: # SUBROUTINES CALLED: NONE.
063352,000366:
063353,000367: 20,2776 54161 DVOVSUB TS SCRATCHY # SAVE UPPER HALF OF DIVIDEND
063354,000368: 20,2777 54160 TS SCRATCHX
063355,000369: 20,3000 50002 INDEX Q # OBTAIN ADDRESS OF DIVISOR.
063356,000370: 20,3001 30000 CA 0
063357,000371: 20,3002 24002 INCR Q # STEP Q FOR PROPER RETURN SEQUENCE.
063358,000372: 20,3003 50000 INDEX A
063359,000373: 20,3004 30000 CA 0 # PICK UP THE DIVISOR.
063360,000374: 20,3005 00006 EXTEND # RETURN POSMAX FOR A ZERO DIVISOR.
063361,000375: 20,3006 13035 BZF MAXPLUS
063362,000376:
063363,000377: 20,3007 54162 TS SCRATCHZ # STORE DIVISOR.
063364,000378:
063365,000379: 20,3010 10000 CCS A # GET ABS(DIVISOR) IN THE A REGISTER.
063366,000380: 20,3011 64753 AD BIT1
063367,000381: 20,3012 13014 TCF ZEROPLUS
063368,000382: 20,3013 64753 AD BIT1
063369,000383:
063370,000384: 20,3014 56161 ZEROPLUS XCH SCRATCHY # STORE ABS(DIVISOR). PICK UP TOP HALF OF
063371,000385: 20,3015 00006 EXTEND # DIVIDEND.
063372,000386: 20,3016 63020 BZMF GOODNEG # GET -ABS(DIVIDEND)
Page 1493 |
063374,000388: 20,3017 40000 CS A
063375,000389:
063376,000390: 20,3020 60161 GOODNEG AD SCRATCHY # ABS(DIVISOR) - ABS(DIVIDEND)
063377,000391: 20,3021 00006 EXTEND
063378,000392: 20,3022 63027 BZMF MAKEMAX # BRANCH IF DIVISION IS NOT PROPER.
063379,000393:
063380,000394: 20,3023 30160 CA SCRATCHX # RE-ESTABLISH THE DIVIDEND.
063381,000395: 20,3024 00006 EXTEND
063382,000396: 20,3025 10162 DV SCRATCHZ # QUOTIENT IN THE A, REMAINDER IN L.
063383,000397: 20,3026 00002 TC Q # RETURN TO CALLER.
063384,000398:
063385,000399: 20,3027 10160 MAKEMAX CCS SCRATCHX # DETERMINE THE SIGN OF THE QUOTIENT.
063386,000400: 20,3030 10162 CCS SCRATCHZ # SCRATCHX AND SCRATCHZ ARE NON-ZERO.
063387,000401: 20,3031 13035 TCF MAXPLUS
063388,000402: 20,3032 10162 CCS SCRATCHZ
063389,000403: 20,3033 34735 CAF NEGMAX # +,- OR -,+
063390,000404: 20,3034 00002 TC Q
063391,000405: 20,3035 34733 MAXPLUS CAF POSMAX # -,- OR +,+
063392,000406: 20,3036 00002 TC Q
063393,000407:
063394,000408: # COEFFICIENTS FOR THE JET ACCELERATION CURVE FITS
063395,000409: # THE CURVE FITS ARE OF THE FORM -
063396,000410:
063397,000411: # 1JACC = A/(MASS + C) + B
063398,000412:
063399,000413: # 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.
063400,000414:
063401,000415: # 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,
063402,000416: # AND C IS SCALED AT B+16 KG.
063403,000417:
063404,000418: 20,3037 01240 22513 2DEC +.0410511917 # L A DESCENT
063405,000419:
063406,000420: 20,3041 00141 07416 INERCONA 2DEC +.0059347674 # 1JACCP A DESCENT
063407,000421:
063408,000422: 20,3043 00030 21261 2DEC +.0014979264 # 1JACCQ A DESCENT
063409,000423:
063410,000424: 20,3045 00021 03766 2DEC +.0010451889 # 1JACCR A DESCENT
063411,000425:
063412,000426: 20,3047 00153 07111 2DEC +.0065443852 # 1JACCP A ASCENT
063413,000427:
063414,000428: 20,3051 00072 24103 2DEC +.0035784354 # 1JACCQ A ASCENT
063415,000429:
063416,000430: 20,3053 00135 11511 2DEC +.0056946631 # 1JACCR A ASCENT
063417,000431:
063418,000432: 20,3055 04754 DEC +.155044 # L B DESCENT
063419,000433: 20,3056 77142 DEC -.025233 # L C DESCENT
Page 1494 |
063421,000435: 20,3057 00061 INERCONB DEC +.002989 # 1JACCP B DESCENT
063422,000436: 20,3060 00217 INERCONC DEC +.008721 # 1JACCP C DESCENT
063423,000437: 20,3061 00464 DEC +.018791 # 1JACCQ B DESCENT
063424,000438: 20,3062 75642 DEC -.068163 # 1JACCQ C DESCENT
063425,000439: 20,3063 00536 DEC +.021345 # 1JACCR B DESCENT
063426,000440: 20,3064 75705 DEC -.066027 # 1JACCR C DESCENT
063427,000441:
063428,000442: 20,3065 00001 DEC +.000032 # 1JACCP B ASCENT
063429,000443: 20,3066 77616 DEC -.006923 # 1JACCP C ASCENT
063430,000444: 20,3067 05154 DEC +.162862 # 1JACCQ B ASCENT
063431,000445: 20,3070 00052 DEC +.002588 # 1JACCQ C ASCENT
063432,000446: 20,3071 00231 DEC +.009312 # 1JACCR B ASCENT
063433,000447: 20,3072 77174 DEC -.023608 # 1JACCR C ASCENT
063434,000448:
063435,000449: 20,3073 01400 GIMBLBTS OCTAL 01400
063436,000450: 20,3074 01000 OCTAL 01000
063437,000451: 20,3075 06000 OCTAL 06000
063438,000452: 20,3076 04000 OCTAL 04000
063439,000453: 20,3077 23146 DGBF DEC 0.6 # .3 SCALED AT 1/2
063440,000454: 20,3100 13241 0.35356 DEC 0.35356 # .70711 SCALED AT 2
063441,000455: 20,3101 00337 GFACTM OCT 337 # 979.24/2.20462 AT B+15
063442,000456: 20,3102 26501 .7071 DEC .70711
063443,000457: 20,3103 51276 -.7071 DEC -.70711
063444,000458: 20,3104 62362 -EPSMAX DEC -.42265
063445,000459:
063446,000460: # CSM-DOCKED INERTIA COMPUTATIONS
063447,000461:
063448,000462: 20,3105 34753 DOCKED CA ONE # COEFTR = 1 FOR INERTIA COEFFICIENTS
063449,000463: 20,3106 54160 SPSLOOP1 TS COEFCTR # = 7 FOR CG COEFFICIENTS
063450,000464: 20,3107 34753 CA ONE # MASSCTR = 1 FOR CSM
063451,000465: 20,3110 54161 TS MASSCTR # = 0 FOR LEM
063452,000466:
063453,000467: 20,3111 50160 INDEX COEFCTR
063454,000468: 20,3112 33212 CA COEFF -1 # COEFF -1 = C
063455,000469: 20,3113 00006 EXTEND
063456,000470: 20,3114 71331 MP LEMMASS
063457,000471: 20,3115 00006 EXTEND
063458,000472: 20,3116 71332 MP CSMMASS # LET X = CSMMASS AND Y = LEMMASS
063459,000473:
063460,000474: 20,3117 50160 INDEX COEFCTR
063461,000475: 20,3120 63213 AD COEFF # COEFF = F
063462,000476: 20,3121 54154 TS MPAC # MPAC = C X Y + F
063463,000477: 20,3122 13126 TCF +4
063464,000478:
063465,000479: 20,3123 54161 SPSLOOP2 TS MASSCTR # LOOP TWICE THROUGH HERE TO OBTAIN
063466,000480: 20,3124 00006 EXTEND # MPAC = MPAC + (A X +D)X + (B Y +E)Y
063467,000481: 20,3125 26160 DIM COEFCTR # LOOP #1 LOOP #2
063468,000482: 20,3126 50160 INDEX COEFCTR
063469,000483: 20,3127 33215 CA COEFF +2 # COEFF +2 = A OR B
063470,000484: 20,3130 00006 EXTEND
Page 1495 |
063472,000486: 20,3131 50161 INDEX MASSCTR
063473,000487: 20,3132 71331 MP LEMMASS
063474,000488: 20,3133 50160 INDEX COEFCTR
063475,000489: 20,3134 63217 AD COEFF +4 # COEFF +4 = E OR D
063476,000490: 20,3135 00006 EXTEND
063477,000491: 20,3136 50161 INDEX MASSCTR
063478,000492: 20,3137 71331 MP LEMMASS
063479,000493: 20,3140 26154 ADS MPAC
063480,000494:
063481,000495: 20,3141 10161 CCS MASSCTR
063482,000496: 20,3142 13123 TCF SPSLOOP2
063483,000497: 20,3143 10160 CCS COEFCTR # IF COEFCTR IS POS, EXIT FROM LOOP WITH
063484,000498: 20,3144 13153 TCF +7 # CG X DELDOT = MPAC X 4 PI RAD-CM/SEC
063485,000499: 20,3145 00000 20354 TORQCONS 2DEC 0.51443 B-14 # CORRESPONDS TO 500 LB-FT
063486,000500:
063487,000501: 20,3147 30154 CA MPAC
063488,000502: 20,3150 54155 TS MPAC +1 # INERTIA = (MPAC +1) X 2(38) KG-CM(2)
063489,000503: 20,3151 34757 CA SEVEN
063490,000504: 20,3152 13106 TCF SPSLOOP1
063491,000505:
063492,000506: 20,3153 33212 CA 1JACCCON # 1JACC=1JACCCON/MASS
063493,000507: 20,3154 22007 ZL
063494,000508: 20,3155 02776 TC DVOVSUB
063495,000509: 20,3156 01244 ADRES MASS
063496,000510: 20,3157 55530 TS 1JACC # SCALED AT PI/4
063497,000511:
063498,000512: 20,3160 34733 CA POSMAX # SET INVERSE JET ACCELERATIONS TO POSMAX,
063499,000513: 20,3161 55551 TS 1/ANETP # WHICH CORRESPONDS TO ACCEL. OF 1.4 D/SS.
063500,000514: 20,3162 55571 TS 1/ANET2 +1
063501,000515: 20,3163 55572 TS 1/ANET2 +2
063502,000516: 20,3164 55611 TS 1/ANET2 +17D
063503,000517: 20,3165 55612 TS 1/ANET2 +18D
063504,000518: 20,3166 00006 EXTEND
063505,000519: 20,3167 33146 DCA TORQCONS
063506,000520: 20,3170 00006 EXTEND
063507,000521: 20,3171 10155 DV MPAC +1
063508,000522: 20,3172 00004 INHINT
063509,000523: 20,3173 55531 TS 1JACCQ # SCALED AT PI/4
063510,000524: 20,3174 55532 TS 1JACCR
063511,000525:
063512,000526: 20,3175 33103 CA -.7071
063513,000527: 20,3176 55627 TS COEFFQ # COEFFQ AND COEFFR ARE CHOSEN TO MAKE U-
063514,000528: 20,3177 33102 CA .7071 # AND V-AXES ORTHOGONAL FOR DOCKED CASE
063515,000529: 20,3200 55630 TS COEFFR
063516,000530: 20,3201 31244 CA MASS # SCALED AT 2(16) KG
063517,000531: 20,3202 00006 EXTEND
063518,000532: 20,3203 70154 MP MPAC # SCALED AT 4 PI RAD-CM/SEC
063519,000533: 20,3204 00006 EXTEND
063520,000534: 20,3205 71246 MP ABDELV # SCALED AT 2(13) CM/SEC(2)
063521,000535: 20,3206 02776 TC DVOVSUB # GET QUOTIENT WITH OVERFLOW PROTECTION
Page 1496 |
063523,000537: 20,3207 00155 ADRES MPAC +1
063524,000538:
063525,000539: 20,3210 55511 TS ACCDOTR
063526,000540: 20,3211 12712 TCF SPSCONT # CONTINUE K, KSQ CALCULATIONS
063527,000541:
063528,000542: 20,3212 00167 1JACCCON OCT 00167 # SCALED AT PI/4X2(16) RAD/SEC(2)-KG
063529,000543:
063530,000544: # 2 2
063531,000545: # COEFFICIENTS FOR CURVE FIT OF THE FORM Z = A X +B Y +C X Y +D X +E Y +F
063532,000546:
063533,000547: 20,3213 06176 COEFF DEC .19518 # C COEFFICIENT OF INERTIA
063534,000548: 20,3214 77650 DEC -.00529 # F ''
063535,000549: 20,3215 72260 DEC -.17670 # B ''
063536,000550: 20,3216 76637 DEC -.03709 # A ''
063537,000551: 20,3217 02167 DEC .06974 # E ''
063538,000552: 20,3220 00645 DEC .02569 # D ''
063539,000553:
063540,000554: 20,3221 06335 DEC .20096 # C COEFFICIENT OF CG
063541,000555: 20,3222 04256 DEC .13564 # F ''
063542,000556: 20,3223 30163 DEC .75704 # B ''
063543,000557: 20,3224 64072 DEC -.37142 # A ''
063544,000558: 20,3225 53632 DEC -.63117 # E ''
063545,000559: 20,3226 15133 DEC .41179 # D ''
063546,000560:
063547,000561: # ASSIGNMENT OF TEMPORARIES FOR 1/ACCS (EXCLUDING 1/ACCONT)
063548,000562: # MPAC, MPAC +1, MPAC +2 USED EXPLICITLY
063549,000563: 20,3227 0160 COEFCTR EQUALS MPAC +4
063550,000564: 20,3227 0161 MASSCTR EQUALS MPAC +5
063551,000565: 20,3227 0160 SCRATCHX EQUALS MPAC +4 # SCRATCH AREA FOR DVOVSUB ROUTINE.
063552,000566: 20,3227 0161 SCRATCHY EQUALS SCRATCHX +1
063553,000567: 20,3227 0162 SCRATCHZ EQUALS SCRATCHX +2
063554,000568:
063555,000569: 20,3227 0157 DOCKTEMP EQUALS MPAC +3 # RECORD OF CSMDOCKED BIT OF DAPBOOLS
063556,000570: 20,3227 0155 EPSILON EQUALS MPAC +1
063557,000571: 20,3227 0155 -EPSILON EQUALS EPSILON
063558,000572: 20,3227 71777 -.1875 DEC -.18750
063559,000573:
Page 1497 |
063561,000575: 20,3230 BANK 20
063562,000576: 20,2000 SETLOC DAPS3
063563,000577: 20,2000 BANK
063564,000578:
063565,000579: 20,3230 E6,1537 EBANK= AOSQ
063566,000580:
063567,000581: 20,3230 COUNT* $$/DAPAO
063568,000582:
063569,000583: 20,3230 55633 -1 TS INGTS # ZERO INGTS IN ASCENT
063570,000584: 20,3231 31346 1/ACCONT CA DB # INITIALIZE DBVAL1,2,3
063571,000585: 20,3232 00006 EXTEND
063572,000586: 20,3233 74737 MP BIT13
063573,000587: 20,3234 54001 TS L # 0.25 DB
063574,000588: 20,3235 60000 AD A
063575,000589: 20,3236 54115 TS DBVAL3 # 0.50 DB
063576,000590: 20,3237 41346 CS DBVAL1
063577,000591: 20,3240 60001 AD L
063578,000592: 20,3241 54114 TS DBVAL2 # -.75 DB
063579,000593:
063580,000594: 20,3242 00004 GETAOSUV INHINT
063581,000595: 20,3243 31541 CAE AOSR # COMPUTE AOSU AND AOSV BY ROTATING
063582,000596: 20,3244 54001 TS L # AOSQ AND AOSR.
063583,000597: 20,3245 31537 CAE AOSQ
063584,000598: 20,3246 04674 TC IBNKCALL
063585,000599: 20,3247 37146 CADR ROT-TOUV
063586,000600: 20,3250 53544 DXCH AOSU
063587,000601:
063588,000602: 20,3251 00003 RELINT
063589,000603: 20,3252 30111 CA DAPBOOLS
063590,000604: 20,3253 74744 MASK DRIFTBIT # ZERO DURING ULLAGE AND POWERED FLIGHT.
063591,000605: 20,3254 10000 CCS A # IF DRIFTING FLIGHT,
063592,000606: 20,3255 34753 CA ONE # SET DRIFTER TO 1
063593,000607: 20,3256 54116 TS DRIFTER # SAVE TO TEST FOR DRIFTING FLIGHT LATER
063594,000608: 20,3257 61502 AD ALLOWGTS # NON-ZERO IF DRIFT OR GTS NEAR
063595,000609: 20,3260 10000 CCS A
063596,000610: 20,3261 33763 CA FLATVAL # DRIFTING FLIGHT, STORE .8 IN FLAT
063597,000611: 20,3262 54151 TS FLATEMP # IN POWERED FLIGHT, STORE ZERO IN FLAT
063598,000612: 20,3263 00006 EXTEND
063599,000613: 20,3264 13270 BZF DOPAXIS # IF POWERED AND NO GTS, START P AXIS,
063600,000614: 20,3265 10116 CCS DRIFTER # OTHERWISE SET ZONE3LIM
063601,000615: 20,3266 33762 CA ZONE3MAX # 17.5 MS, SCALED AT 4 SECONDS.
063602,000616: 20,3267 54152 TS Z3TEM
063603,000617:
063604,000618: 20,3270 31530 DOPAXIS CA 1JACC # 1JACC AT PI/4 = 2JACC AT PI/2 =
063605,000619: # ANET AT PI/2 = ANET/ACOAST AT 2(6).
063606,000620: 20,3271 64743 AD BIT9 # 1 + ANET/ACOAST AT 2(6)
063607,000621: 20,3272 54157 TS FUNTEM
063608,000622:
063609,000623: 20,3273 31530 CA 1JACC
Page 1498 |
063611,000625: 20,3274 03700 TC INVERT
063612,000626: 20,3275 00004 INHINT # P AXIS DATA MUST BE CONSISTENT
063613,000627: 20,3276 55551 TS 1/ANETP # SCALED AT 2(7)/PI.
063614,000628: 20,3277 55552 TS 1/ANETP +1
063615,000629:
063616,000630: 20,3300 44743 CS BIT9 # -1 AT 2(6)
063617,000631: 20,3301 00006 EXTEND
063618,000632: 20,3302 71551 MP 1/ANETP # -1/ANET AT 2(13)/PI
063619,000633: 20,3303 00006 EXTEND
063620,000634: 20,3304 10157 DV FUNTEM # -1/(ANET + ANET**2/ACOAST) AT 2(7)/PI
063621,000635: 20,3305 55557 TS PACCFUN
063622,000636: 20,3306 55560 TS PACCFUN +1
063623,000637:
063624,000638: 20,3307 34733 CA 1/.03 # NO AOS FOR P AXIS, ACOAST = AMIN
063625,000639: 20,3310 55553 TS 1/ACOSTP
063626,000640: 20,3311 55554 TS 1/ACOSTP +1
063627,000641: 20,3312 00003 RELINT
063628,000642:
063629,000643: 20,3313 22007 ZL
063630,000644: 20,3314 10116 CCS DRIFTER
063631,000645: 20,3315 53544 DXCH AOSU # ZERO AOSU,V IF IN DRIFT, JUST TO BE SURE
063632,000646:
063633,000647: 20,3316 34755 UAXIS CA ZERO # DO U AXIS COMPUTATIONS
063634,000648: 20,3317 54154 TS UV # ZERO FOR U AXIS, ONE FOR V AXIS.
063635,000649:
063636,000650: 20,3320 54163 BOTHAXES TS SIGNAOS # CODING COMMON TO U,V AXES
063637,000651: 20,3321 50154 INDEX UV
063638,000652: 20,3322 11543 CCS AOSU # PICK UP ABS(AOSU OR AOSV)
063639,000653: 20,3323 64753 AD ONE # RESTORE TO PROPER VALUE
063640,000654: 20,3324 13327 TCF +3 # AND LEAVE SIGNAOS AT ZERO
063641,000655: 20,3325 64753 AD ONE # NEGATIVE, RESTORE TO PROPER VALUE
063642,000656: 20,3326 24163 INCR SIGNAOS # AND SET SIGNAOS TO ONE TO SHOW AOS NEG
063643,000657: 20,3327 54162 TS ABSAOS # SAVE ABS(AOS)
063644,000658: 20,3330 40163 CS SIGNAOS
063645,000659: 20,3331 54164 TS -SIGNAOS # USED AS AN INDEX
063646,000660:
063647,000661: 20,3332 31346 CA DBVAL1 # SET DB1, DB2 TO DBVAL1 (= DB)
063648,000662: 20,3333 54143 TS DBB1
063649,000663: 20,3334 54144 TS DBB2
063650,000664:
063651,000665: 20,3335 30162 CA ABSAOS # TEST MAGNITUDE OF ABS(AOS)
063652,000666: 20,3336 63764 AD -.03R/S2
063653,000667: 20,3337 00006 EXTEND
063654,000668: 20,3340 63432 BZMF NOTMUCH # ABS(AOS) LESS THAN AMIN
063655,000669: 20,3341 10151 BIGAOS CCS FLATEMP # AGS(AOS) GREATER THAN AMIN
063656,000670: 20,3342 13372 TCF SKIPDB1 # I DRIFT OR GTS, DO NOT COMPUTE DB
063657,000671:
063658,000672: 20,3343 31346 CA DBVAL1
063659,000673: 20,3344 50164 INDEX -SIGNAOS
Page 1499 |
063661,000675: 20,3345 26144 ADS DBB2 # DB2(1) = 2 DB
063662,000676: 20,3346 50163 INDEX SIGNAOS
063663,000677: 20,3347 54145 TS DBB4 # DB4(3) = 1 DB
063664,000678: 20,3350 33227 CA -.1875 # -.1875 PI/2 RAD/SEC(2) SCALED AT PI/2
063665,000679: 20,3351 60162 AD ABSAOS # ABSAOS IS SCALED AT PI/2
063666,000680: 20,3352 00006 EXTEND
063667,000681: 20,3353 63356 BZMF +3
063668,000682: 20,3354 40115 CS DBVAL3 # -.5 DB
063669,000683: 20,3355 13365 TCF DBONE
063670,000684: 20,3356 40162 CS ABSAOS
063671,000685: 20,3357 60000 DOUBLE
063672,000686: 20,3360 60000 DOUBLE
063673,000687: 20,3361 64736 AD BIT14
063674,000688: 20,3362 60000 DOUBLE # 1-8 ABSAOS. (8 IS 16/PI SCALED AT 2/PI)
063675,000689: 20,3363 00006 EXTEND
063676,000690: 20,3364 71346 MP DB
063677,000691: 20,3365 50163 DBONE INDEX SIGNAOS # DB1(2)=(1-8 ABSAOS) DB. IF ABSAOS IS
063678,000692: 20,3366 54143 TS DBB1 # GREATER THAN .1875 THEN DB1(2) = -.5 DB
063679,000693: 20,3367 30114 CA DBVAL2
063680,000694: 20,3370 50164 INDEX -SIGNAOS
063681,000695: 20,3371 54146 TS DBB3 # DB3(4) = -.75 DB
063682,000696:
063683,000697: 20,3372 30162 SKIPDB1 CA ABSAOS # ABS(AOS) GREATER THAN AMIN, SO IT IS
063684,000698: 20,3373 00006 EXTEND
063685,000699: 20,3374 74740 MP BIT12
063686,000700: 20,3375 60162 AD ABSAOS # (9/8) ABSAOS.
063687,000701: 20,3376 03700 TC INVERT # ALL RIGHT TO DIVIDE
063688,000702: 20,3377 50164 INDEX -SIGNAOS
063689,000703: 20,3400 54130 TS 1/ACOSTT +1 # 1/ACOASTPOS(NEG) = 1/ABS(AOS)
063690,000704: 20,3401 34733 CA 1/.03
063691,000705: 20,3402 50163 INDEX SIGNAOS
063692,000706: 20,3403 54127 TS 1/ACOSTT # 1/ACOASTNEG(POS) = 1/AMIN
063693,000707:
063694,000708: 20,3404 30162 CA ABSAOS
063695,000709: 20,3405 61533 AD 1JACCU
063696,000710: 20,3406 61533 AD 1JACCU # 2 JACC + ABS(AOS)
063697,000711: 20,3407 64743 AD BIT9 # MAXIMUM VALUE IN COMPUTATIONS
063698,000712: 20,3410 54000 TS A # TEST FOR OVERFLOW
063699,000713: 20,3411 13456 TCF SKIPDB2 # NO OVERFLOW, DO NORMAL COMPUTATION
063700,000714:
063701,000715: 20,3412 30162 CA ABSAOS # RESCALE TO PI TO PREVENT OVERFLOW
063702,000716: 20,3413 00006 EXTEND
063703,000717: 20,3414 74736 MP BIT14
063704,000718: 20,3415 61533 AD 1JACCU # 1 JACC AT PI/2 = 2JACC AT PI
063705,000719: 20,3416 54157 TS ANET # ANETPOS(NEG) MAX SCALED AT PI =
063706,000720: # ANETPOS(NEG) MAX/ACOASTNEG(POS) AT 2(7)
063707,000721: 20,3417 64744 AD BIT8 # 1 + ANETPOS/ACOASTNEG AT 2(7)
063708,000722: 20,3420 56157 XCH ANET # SAVE IN ANET, WHILE PICKING UP ANET
063709,000723: 20,3421 03700 TC INVERT
063710,000724: 20,3422 00006 EXTEND
Page 1500 |
063712,000726: 20,3423 74736 MP BIT14 # SCALE 1/ANET AT 2(7)/PI
063713,000727: 20,3424 54160 TS 1/ANET
063714,000728:
063715,000729: 20,3425 33431 CA ACCHERE # SET UP RETURN FROM COMPUTATION ROUTINE
063716,000730: 20,3426 54161 TS ARET
063717,000731: 20,3427 44744 CS BIT8 # -1 AT 2(7)
063718,000732: 20,3430 13733 TCF DOACCFUN # FINISH ACCFUN COMPUTATION
063719,000733:
063720,000734: 20,3431 13463 ACCHERE TCF ACCTHERE
063721,000735:
063722,000736: 20,3432 54001 NOTMUCH TS L # ABS(AOS) LESS THAN AMIN, SAVE IN L
063723,000737: 20,3433 34733 CA 1/.03 # ACOASTPOS,NEG = AMIN
063724,000738: 20,3434 54127 TS 1/ACOSTT
063725,000739: 20,3435 54130 TS 1/ACOSTT +1
063726,000740:
063727,000741: 20,3436 10151 CCS FLATEMP
063728,000742: 20,3437 13456 TCF SKIPDB2 # DO NOT COMPUTE DB IF DRIFT OR GTS
063729,000743:
063730,000744: 20,3440 34744 CA .0125RS # AMIN/2
063731,000745: 20,3441 60001 AD L # L HAS ABS(AOS) - AMIN
063732,000746: 20,3442 00006 EXTEND # RESULT IS ABS(AOS)- AMIN/2
063733,000747: 20,3443 63453 BZMF NOAOS # ABS(AOS) LESS THAN AMIN/2
063734,000748:
063735,000749: 20,3444 30115 SOMEAOS CA DBVAL3 # AMIN/2 LT ABS(AOS) LT AMIN
063736,000750: 20,3445 50164 INDEX -SIGNAOS
063737,000751: 20,3446 54146 TS DBB3 # DB3(4) = DB/2
063738,000752: 20,3447 60000 AD A
063739,000753: 20,3450 50163 INDEX SIGNAOS
063740,000754: 20,3451 54145 TS DBB4 # DB4(3) = DB
063741,000755: 20,3452 13456 TCF SKIPDB2
063742,000756:
063743,000757: 20,3453 31346 NOAOS CA DBVAL1
063744,000758: 20,3454 54146 TS DBB3 # DB3,4 = DB
063745,000759: 20,3455 54145 TS DBB4
063746,000760:
063747,000761: 20,3456 30162 SKIPDB2 CA ABSAOS # ANETPOS(NEG) MAX = 2 JACC + ABS(AOS)
063748,000762: 20,3457 61533 AD 1JACCU
063749,000763: 20,3460 61533 AD 1JACCU
063750,000764: 20,3461 54157 TS ANET # CONNOT OVERFLOW HERE
063751,000765: 20,3462 03724 CL1/NET+ TC DO1/NET+ # COMPUTE 1/ANET, ACCFUN
063752,000766:
063753,000767: 20,3463 50164 ACCTHERE INDEX -SIGNAOS
063754,000768: 20,3464 54134 TS Z5TEM +2 # STORE ACCFUN IN TEMPORARY BUFFER
063755,000769: 20,3465 30160 CA 1/ANET
063756,000770: 20,3466 50164 INDEX -SIGNAOS
063757,000771: 20,3467 54126 TS 1/ATEM2 +2 # STORE 1/ANET IN TEMPORARY BUFFER
063758,000772:
063759,000773: 20,3470 30162 CA ABSAOS # SEE IF OVERFLOW IN MIN CASE
063760,000774: 20,3471 61533 AD 1JACCU
Page 1501 |
063762,000776: 20,3472 64743 AD BIT9 # MAXIMUM POSSIBLE VALUE
063763,000777: 20,3473 54000 TS A # OVERFLOW POSSIBLE BUT REMOTE
063764,000778: 20,3474 13476 TCF +2
063765,000779: 20,3475 34733 CA POSMAX # IF OVERFLOW, TRUNCATE TO PI/2
063766,000780: 20,3476 63764 AD -.03R/S2 # RESTORE TO CORRECT VALUE
063767,000781: 20,3477 54157 TS ANET
063768,000782: 20,3500 03724 TC DO1/NET+ # COMPUTE 1/ANET, ACCFUN
063769,000783:
063770,000784: 20,3501 50164 INDEX -SIGNAOS # STORE MIN VALUES JUST AS MAX VALUES
063771,000785: 20,3502 54132 TS Z5TEM
063772,000786: 20,3503 30160 CA 1/ANET
063773,000787: 20,3504 50164 INDEX -SIGNAOS
063774,000788: 20,3505 54124 TS 1/ATEM2
063775,000789:
063776,000790: 20,3506 40162 CS ABSAOS # NOW DO NEG(POS) CASES
063777,000791: 20,3507 61533 AD 1JACCU
063778,000792: 20,3510 61533 AD 1JACCU # ANETNEG(POS) MAX
063779,000793: 20,3511 03712 TC 1/ANET- # COMPUTE 1/ANET, ACCFUN, AND ACCSW
063780,000794: 20,3512 50163 INDEX SIGNAOS # STORE NEG(POS) VALUES JUST AS POS(NEG)
063781,000795: 20,3513 54133 TS Z1TEM +2
063782,000796: 20,3514 54001 TS L # SAVE IN L FOR POSSIBLE FUTURE USE
063783,000797: 20,3515 30160 CA 1/ANET
063784,000798: 20,3516 50163 INDEX SIGNAOS
063785,000799: 20,3517 54125 TS 1/ATEM1 +2
063786,000800: 20,3520 40162 CS ABSAOS
063787,000801: 20,3521 61533 AD 1JACCU # 1/ANETNEG(POS) MIN
063788,000802: 20,3522 54157 TS ANET
063789,000803: 20,3523 63764 AD -.03R/S2 # TEST FOR AMIN
063790,000804: 20,3524 00006 EXTEND # IF ANET LESS THAN AMIN, STORE MAX JET
063791,000805: 20,3525 63743 BZMF FIXMIN # VALUES FOR MIN JETS AND SET ACCSW
063792,000806:
063793,000807: 20,3526 03720 TC 1/NETMIN # OTHERWISE DO MIN JET COMPUTATIONS
063794,000808: 20,3527 50163 STMIN- INDEX SIGNAOS # STORE VALUES
063795,000809: 20,3530 54131 TS Z1TEM
063796,000810: 20,3531 30160 CA 1/ANET
063797,000811: 20,3532 50163 INDEX SIGNAOS
063798,000812: 20,3533 54123 TS 1/ATEM1
063799,000813:
063800,000814: 20,3534 50154 INDEX UV
063801,000815: 20,3535 33770 CA +UMASK
063802,000816: 20,3536 71262 MASK CH5MASK # TEST FOR +U (+V) JET FAILURES
063803,000817: 20,3537 00006 EXTEND
063804,000818: 20,3540 13545 BZF FAIL-
063805,000819: 20,3541 30124 CA 1/ATEM2 # REPLACE FUNCTION VALUES DEPENDING ON THE
063806,000820: 20,3542 54126 TS 1/ATEM2 +2 # FAILED JET PAIR WITH CORRESPONDING ONE-
063807,000821: 20,3543 30132 CA Z5TEM # JET (OR AMIN) FUNCTION VALUES
063808,000822: 20,3544 54134 TS Z5TEM +2
063809,000823: 20,3545 50154 FAIL- INDEX UV
Page 1502 |
063811,000825: 20,3546 33766 CA -UMASK
063812,000826: 20,3547 71262 MASK CH5MASK # TEST FOR -U (-V) JET FAILURES
063813,000827: 20,3550 00006 EXTEND
063814,000828: 20,3551 13556 BZF DBFUN
063815,000829: 20,3552 30123 CA 1/ATEM1 # REPLACE FUNCTION VALUES DEPENDING ON THE
063816,000830: 20,3553 54125 TS 1/ATEM1 +2 # FAILED JET PAIR WITH CORRESPONDING ONE-
063817,000831: 20,3554 30131 CA Z1TEM # JET (OR AMIN) FUNCTION VALUES
063818,000832: 20,3555 54133 TS Z1TEM +2
063819,000833:
063820,000834: 20,3556 40146 DBFUN CS DBB3 # COMPUTE AXISDIST
063821,000835: 20,3557 60143 AD DBB1
063822,000836: 20,3560 60151 AD FLATEMP
063823,000837: 20,3561 54147 TS AXDSTEM
063824,000838: 20,3562 40145 CS DBB4
063825,000839: 20,3563 60144 AD DBB2
063826,000840: 20,3564 60151 AD FLATEMP
063827,000841: 20,3565 54150 TS AXDSTEM +1
063828,000842:
063829,000843: 20,3566 00004 INHINT
063830,000844: 20,3567 10154 CCS UV # TEST FOR U OR V AXIS
063831,000845: 20,3570 13612 TCF STORV # V AXIS STORE V VALUES
063832,000846:
063833,000847: 20,3571 30122 CA ACCSW # U AXIS STORE U VALUES
063834,000848: 20,3572 55547 TS ACCSWU
063835,000849:
063836,000850: 20,3573 34320 CA NINE # TRANSFER 10 WORDS VIA GENTRAN
063837,000851: 20,3574 05545 TC GENTRAN +1
063838,000852: 20,3575 00123 ADRES 1/ATEM1 # TEMPORARY BUFFER
063839,000853: 20,3576 01567 ADRES 1/ANET1 # THE REAL PLACE
063840,000854:
063841,000855: 20,3577 00003 RELINT
063842,000856: 20,3600 52144 DXCH DBB1 # SAVE U DBS FOR LATER STORING
063843,000857: 20,3601 52136 DXCH UDB1
063844,000858: 20,3602 52146 DXCH DBB4
063845,000859: 20,3603 52140 DXCH UDB4
063846,000860:
063847,000861: 20,3604 52150 DXCH AXDSTEM
063848,000862: 20,3605 52142 DXCH UAXDIST
063849,000863:
063850,000864: 20,3606 34753 CA ONE # NOW DO V AXIS
063851,000865: 20,3607 54154 TS UV
063852,000866: 20,3610 34755 CA ZERO
063853,000867: 20,3611 13320 TCF BOTHAXES # AND DO IT AGAIN
063854,000868:
063855,000869: 20,3612 30122 STORV CA ACCSW # STORE V AXIS VALUES
063856,000870: 20,3613 55550 TS ACCSWV
063857,000871: 20,3614 34320 CA NINE
063858,000872: 20,3615 05545 TC GENTRAN +1
Page 1503 |
063860,000874: 20,3616 00123 ADRES 1/ATEM1 # TEMPORARY BUFFER
063861,000875: 20,3617 01607 ADRES 1/ANET1 +16D # THE REAL PLACE
063862,000876:
063863,000877: # NOW STORE DEADBANDS FOR ALL AXES
063864,000878: 20,3620 52152 DXCH FLATEMP # FLAT AND ZONE3LIM
063865,000879: 20,3621 53556 DXCH FLAT
063866,000880:
063867,000881: 20,3622 31346 CA DBVAL1 # COMPUTE P AXIS DEADBANDS
063868,000882: 20,3623 55561 TS PDB1
063869,000883: 20,3624 55562 TS PDB2
063870,000884: 20,3625 61555 AD FLAT
063871,000885: 20,3626 55564 TS PDB3
063872,000886: 20,3627 55563 TS PDB4
063873,000887: 20,3630 34755 CA ZERO
063874,000888: 20,3631 55565 TS PAXDIST
063875,000889: 20,3632 55566 TS PAXDIST +1
063876,000890:
063877,000891: 20,3633 11555 CCS FLAT
063878,000892: 20,3634 13652 TCF DRFDB # DRIFT OR GTS - COMPUTE DBS
063879,000893:
063880,000894: 20,3635 52136 DXCH UDB1 # STORE U DEADBANDS
063881,000895: 20,3636 53602 DXCH FIREDB # CANNOT USE GENTRAN BECAUSE OF RELINT
063882,000896: 20,3637 52140 DXCH UDB4
063883,000897: 20,3640 53604 DXCH COASTDB
063884,000898: 20,3641 52142 DXCH UAXDIST
063885,000899: 20,3642 53606 DXCH AXISDIST
063886,000900: 20,3643 52144 DXCH DBB1 # STORE V AXIS DEADBANDS
063887,000901: 20,3644 53622 DXCH FIREDB +16D # COULD USE GENTRAN IF DESIRED
063888,000902: 20,3645 52146 DXCH DBB4
063889,000903: 20,3646 53624 DXCH COASTDB +16D
063890,000904: 20,3647 52150 DXCH AXDSTEM
063891,000905: 20,3650 53626 DXCH AXISDIST +16D
063892,000906:
063893,000907: 20,3651 13672 TCF 1/ACCRET +1 # ALL DONE
063894,000908: 20,3652 31346 DRFDB CA DBVAL1 # DRIFT DEADBANDS
063895,000909: 20,3653 55601 TS FIREDB
063896,000910: 20,3654 55602 TS FIREDB +1
063897,000911: 20,3655 55621 TS FIREDB +16D
063898,000912: 20,3656 55622 TS FIREDB +17D
063899,000913: 20,3657 61555 AD FLAT
063900,000914: 20,3660 55603 TS COASTDB
063901,000915: 20,3661 55604 TS COASTDB +1
063902,000916: 20,3662 55623 TS COASTDB +16D
063903,000917: 20,3663 55624 TS COASTDB +17D
063904,000918: 20,3664 34755 CA ZERO
063905,000919: 20,3665 55605 TS AXISDIST
063906,000920: 20,3666 55606 TS AXISDIST +1
063907,000921: 20,3667 55625 TS AXISDIST +16D
063908,000922: 20,3670 55626 TS AXISDIST +17D
063909,000923:
Page 1504 |
063911,000925: 20,3671 00004 1/ACCRET INHINT
063912,000926: 20,3672 40111 CS DAPBOOLS # SET BIT TO INDICATE DATA GOOD.
063913,000927: 20,3673 74751 MASK ACCSOKAY
063914,000928: 20,3674 26111 ADS DAPBOOLS
063915,000929: 20,3675 00003 RELINT
063916,000930: 20,3676 30117 CA ACCRETRN
063917,000931: 20,3677 04640 TC BANKJUMP # RETURN TO CALLER
063918,000932:
063919,000933: 20,3700 54165 INVERT TS HOLD # ROUTINE TO INVERT -INPUT AT PI/2
063920,000934: 20,3701 34743 CA BIT9 # 1 AT 2(6)
063921,000935: 20,3702 22007 ZL # ZERO L FOR ACCURACY AND TO PREVENT OVFLO
063922,000936: 20,3703 00006 EXTEND
063923,000937: 20,3704 10165 DV HOLD
063924,000938: 20,3705 00002 TC Q # RESULT AT 2(7)/PI
063925,000939:
063926,000940: 20,3706 34755 DOWNGTS CAF ZERO # ZERO SWITCHES WHEN USEQRJTS BIT IS UP
063927,000941: 20,3707 55502 TS ALLOWGTS # OR DAP IS OFF.
063928,000942: 20,3710 55633 TS INGTS
063929,000943: 20,3711 12773 TCF DOCKTEST
063930,000944:
063931,000945: 20,3712 22007 1/ANET- ZL
063932,000946: 20,3713 22122 LXCH ACCSW # ZERO ACCSW
063933,000947: 20,3714 54157 TS ANET # SAVE ANET
063934,000948: 20,3715 63764 AD -.03R/S2 # TEST FOR MIN VALUE
063935,000949: 20,3716 00006 EXTEND
063936,000950: 20,3717 63740 BZMF NETNEG # ANET LESS THAN AMIN, SO FAKE IT
063937,000951: 20,3720 30157 1/NETMIN CA ANET
063938,000952: 20,3721 00006 EXTEND
063939,000953: 20,3722 50164 INDEX -SIGNAOS
063940,000954: 20,3723 70130 MP 1/ACOSTT +1 # ANETNEG(POS)/ACOASTPOS(NEG) AT 2(6)
063941,000955:
063942,000956: # THE FOLLOWING CODING IS VALID FOR BOTH POS OR NEG
063943,000957: # VALUES OF AOS
063944,000958:
063945,000959: 20,3724 64743 DO1/NET+ AD BIT9 # 1 + ANET/ACOAST AT 2(6)
063946,000960: 20,3725 56157 XCH ANET # SAVE AND PICK UP ANET
063947,000961: 20,3726 00006 EXTEND
063948,000962: 20,3727 22161 QXCH ARET # SAVE RETURN
063949,000963: 20,3730 03700 TC INVERT
063950,000964: 20,3731 54160 TS 1/ANET # 1/ANET AT 2(7)/PI
063951,000965: 20,3732 44743 CS BIT9 # -1 AT 2(6)
063952,000966: 20,3733 00006 DOACCFUN EXTEND
063953,000967: 20,3734 70160 MP 1/ANET # -1/ANET AT 2(13)/PI
063954,000968: 20,3735 00006 EXTEND
063955,000969: 20,3736 10157 DV ANET # ACCFUN AT 2(7)/PI
063956,000970: 20,3737 00161 TC ARET # RETURN
063957,000971:
063958,000972: 20,3740 43764 NETNEG CS -.03R/S2 # ANET LESS THAN AMIN - SET EQUAL TO AMIN
063959,000973: 20,3741 54157 TS ANET
Page 1505 |
063961,000975: 20,3742 13721 TCF 1/NETMIN +1 # CONTINUE AS IF NOTHING HAPPENED
063962,000976:
063963,000977: 20,3743 10163 FIXMIN CCS SIGNAOS
063964,000978: 20,3744 34752 CA TWO # IF AOS NEG, ACCSW = +1
063965,000979: 20,3745 67747 AD NEGONE # IF AOS POS, ACCSW = -1
063966,000980: 20,3746 54122 TS ACCSW
063967,000981: 20,3747 60154 AD UV # IF ACCSW = +1, TEST FOR +U (+V) JET FAIL
063968,000982: 20,3750 50000 INDEX A # IF ACCSW = -1, TEST FOR -U (-V) JET FAIL
063969,000983: 20,3751 33767 CA -UMASK +1
063970,000984: 20,3752 71262 MASK CH5MASK
063971,000985: 20,3753 00006 EXTEND
063972,000986: 20,3754 13760 BZF +4
063973,000987: 20,3755 43764 CS -.03R/S2 # JET FAILURE - CANNOT USE 2-JET VALUES
063974,000988: 20,3756 54157 TS ANET # ANET = AMIN
063975,000989: 20,3757 13526 TCF STMIN- -1 # CALCULATE FUNCTIONS USING AMIN
063976,000990: 20,3760 30001 CA L # L HAS ACCFUN
063977,000991: 20,3761 13527 TCF STMIN- # STORE MAX VALUES FOR MIN JETS
063978,000992:
063979,000993: # ERASABLE ASSIGNMENTS FOR 1/ACCONT
063980,000994:
063981,000995: 20,3762 E6,1551 1/ANETP EQUALS BLOCKTOP +2
063982,000996: 20,3762 E6,1553 1/ACOSTP EQUALS BLOCKTOP +4
063983,000997: 20,3762 E6,1557 PACCFUN EQUALS BLOCKTOP +8D
063984,000998: 20,3762 E6,1561 PDB1 EQUALS BLOCKTOP +10D
063985,000999: 20,3762 E6,1562 PDB2 EQUALS BLOCKTOP +11D
063986,001000: 20,3762 E6,1563 PDB4 EQUALS BLOCKTOP +12D
063987,001001: 20,3762 E6,1564 PDB3 EQUALS BLOCKTOP +13D
063988,001002: 20,3762 E6,1565 PAXDIST EQUALS BLOCKTOP +14D
063989,001003:
063990,001004: 20,3762 0122 ACCSW EQUALS VBUF # EXECUTIVE TEMPORARIES
063991,001005: # CANNOT DO CCS NEWJOB DURING 1/ACCS
063992,001006: 20,3762 0123 1/ATEM1 EQUALS ACCSW +1 # TEMP BUFFER FOR U AND V AXES
063993,001007: 20,3762 0124 1/ATEM2 EQUALS 1/ATEM1 +1
063994,001008: 20,3762 0127 1/ACOSTT EQUALS 1/ATEM1 +4
063995,001009: 20,3762 0131 Z1TEM EQUALS 1/ATEM1 +6
063996,001010: 20,3762 0132 Z5TEM EQUALS 1/ATEM1 +7
063997,001011:
063998,001012: 20,3762 0135 UDB1 EQUALS 1/ATEM1 +10D # UAXIS DEADBAND BUFFER
063999,001013: 20,3762 0136 UDB2 EQUALS 1/ATEM1 +11D
064000,001014: 20,3762 0137 UDB4 EQUALS 1/ATEM1 +12D
064001,001015: 20,3762 0140 UDB3 EQUALS 1/ATEM1 +13D
064002,001016: 20,3762 0141 UAXDIST EQUALS 1/ATEM1 +14D
064003,001017:
064004,001018: 20,3762 0143 DBB1 EQUALS 1/ATEM1 +16D # TEMP DEADBAND BUFFER, ALSO V AXIS
064005,001019: 20,3762 0144 DBB2 EQUALS 1/ATEM1 +17D
064006,001020: 20,3762 0145 DBB4 EQUALS 1/ATEM1 +18D
064007,001021: 20,3762 0146 DBB3 EQUALS 1/ATEM1 +19D
064008,001022: 20,3762 0147 AXDSTEM EQUALS 1/ATEM1 +20D
064009,001023:
Page 1506 |
064011,001025: 20,3762 0151 FLATEMP EQUALS 1/ATEM1 +22D
064012,001026: 20,3762 0152 Z3TEM EQUALS 1/ATEM1 +23D # MUST FOLLOW FLATEMP
064013,001027:
064014,001028: 20,3762 1346 DBVAL1 EQUALS DB
064015,001029: 20,3762 0114 DBVAL2 EQUALS INTB15+
064016,001030: 20,3762 0115 DBVAL3 EQUALS INTB15+ +1
064017,001031:
064018,001032: 20,3762 0116 DRIFTER EQUALS INTB15+ +2
064019,001033:
064020,001034: 20,3762 0154 UV EQUALS MPAC
064021,001035: 20,3762 0157 ANET EQUALS MPAC +3
064022,001036: 20,3762 0157 FUNTEM EQUALS MPAC +3
064023,001037: 20,3762 0160 1/ANET EQUALS MPAC +4
064024,001038: 20,3762 0161 ARET EQUALS MPAC +5
064025,001039: 20,3762 0162 ABSAOS EQUALS MPAC +6
064026,001040: 20,3762 0163 SIGNAOS EQUALS MPAC +7
064027,001041: 20,3762 0164 -SIGNAOS EQUALS MPAC +8D
064028,001042: 20,3762 0165 HOLD EQUALS MPAC +9D
064029,001043: 20,3762 0117 ACCRETRN EQUALS FIXLOC -1
064030,001044:
064031,001045: 20,3762 00110 ZONE3MAX DEC .004375 # 17.5 MS (35 MS FOR 1 JET) AT 4 SECONDS
064032,001046: 20,3763 00443 FLATVAL DEC .01778 # .8 AT PI/4 RAD
064033,001047: 20,3764 77377 -.03R/S2 OCT 77377 # -PI/2(7) AT PI/2
064034,001048:
064035,001049: 20,3765 4744 .0125RS EQUALS BIT8 # PI/2(+8) AT PI/2
064036,001050: 20,3765 4733 1/.03 EQUALS POSMAX # 2(7)/PI AT 2(7)/PI
064037,001051:
064038,001052: 20,3765 02213 PAXISADR GENADR PAXIS
064039,001053:
064040,001054: # THE FOLLOWING 4 CONSTANTS ARE JET
064041,001055: # FAILURE MASKS AND ARE INDEXED
064042,001056: 20,3766 00110 -UMASK OCT 00110 # -U
064043,001057: 20,3767 00022 OCT 00022 # -V
064044,001058: 20,3770 00204 +UMASK OCT 00204 # +U
064045,001059: 20,3771 00041 OCT 00041 # +V
064046,001060:
End of include-file AOSTASK_AND_AOSJOB.agc. Parent file is MAIN.agc