Source Code

These source-code files are part of a reconstructed copy of Luminary 173, the second (unflown) release of the Apollo 14 Lunar Module (LM) Apollo Guidance Computer (AGC) software.

The reconstruction began with reconstructed source code for Luminary 178. Changes between revision 173 and 178 were backed out, as described by Luminary memo 167 (revision 1). The reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152N. Note that page numbers in the reconstructed code match those for the baseline log section mentioned in each file's changelog; the page numbers for a real Luminary 173 listing would be different.

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

009094,000002:                                                                                                  ## Copyright:   Public domain.
009095,000003:                                                                                                  ## Filename:    FRESH_START_AND_RESTART.agc
009096,000004:                                                                                                  ## Purpose:     A section of Luminary revision 173.
009097,000005:                                                                                                  ##              It is part of the reconstructed source code for the second
009098,000006:                                                                                                  ##              (unflown) release of the flight software for the Lunar
009099,000007:                                                                                                  ##              Module's (LM) Apollo Guidance Computer (AGC) for Apollo 14.
009100,000008:                                                                                                  ##              The code has been recreated from a reconstructed copy of
009101,000009:                                                                                                  ##              Luminary 178, as well as Luminary memo 167 (revision 1).
009102,000010:                                                                                                  ##              It has been adapted such that the resulting bugger words
009103,000011:                                                                                                  ##              exactly match those specified for Luminary 173 in NASA
009104,000012:                                                                                                  ##              drawing 2021152N, which gives relatively high confidence
009105,000013:                                                                                                  ##              that the reconstruction is correct.
009106,000014:                                                                                                  ## Reference:   pp. 218-244
009107,000015:                                                                                                  ## Assembler:   yaYUL
009108,000016:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
009109,000017:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
009110,000018:                                                                                                  ## Mod history: 2019-09-18 MAS  Created from Luminary 178.
009111,000019:                                                                                                  ##              2021-05-30 ABS  CANTROD -> CANTROO
009112,000020: 

Page 218

009114,000022: 10,2000                                           BANK     10                                    
009115,000023: 05,2000                                           SETLOC   FRANDRES                              
009116,000024: 05,2000                                           BANK                                           
009117,000025: 
009118,000026: 05,2460  E3,1400                                  EBANK=   LST1                                  
009119,000027: 
009120,000028: 05,2460                                           COUNT*   $$/START                              #  FRESH AND RESTART
009121,000029: 05,2460           00004        SLAP1              INHINT                                         #  FRESH START. COMES HERE FROM PINBALL.
009122,000030: 05,2461           03116                           TC       STARTSUB                              #  SUBROUTINE DOES MOST OF THE WORK.
009123,000031: 
009124,000032: 05,2462           12467        STARTSW            TCF      SKIPSIM                               #  PATCH....TCF STARTSIM...FOR SIMULATION
009125,000033: 05,2463           34736        STARTSIM           CAF      BIT14                                 
009126,000034: 05,2464           05105                           TC       FINDVAC                               
009127,000035: 05,2465           77777        SIM2CADR           OCT      77777                                 #  PATCH 2CADR (AND EBANK DESIGNATION) OF
009128,000036: 05,2466           77777                           OCT      77777                                 #  SIMULATION START ADDRESS.
009129,000037: 
009130,000038: 05,2467           31035        SKIPSIM            CA       DSPTAB     +11D                       
009131,000039: 05,2470           74771                           MASK     BITS4&6                               #  TURN OFF ALL DSPTAB +11D LAMPS
009132,000040: 05,2471           64735                           AD       BIT15                                 #  EXCEPT THE GIMBAL LOCK & NO ATT ONLY ON
009133,000041: 05,2472           55035                           TS       DSPTAB     +11D                       #  REQUESTED FRESH START.
009134,000042: 
009135,000043: 05,2473           34755                           CA       ZERO                                  
009136,000044: 05,2474           55365                           TS       ERCOUNT                               
009137,000045: 05,2475           54375                           TS       FAILREG                               
009138,000046: 05,2476           54376                           TS       FAILREG    +1                         
009139,000047: 05,2477           54377                           TS       FAILREG    +2                         
009140,000048: 05,2500           54320                           TS       REDOCTR                               
009141,000049: 
009142,000050: 05,2501           00006                           EXTEND                                         
009143,000051: 05,2502           01077                           WRITE    CHAN77                                #  ZERO CHANNEL 77
009144,000052: 
009145,000053: 05,2503           44644                           CS       PRIO12                                
009146,000054: 05,2504           55310                           TS       DSRUPTSW                              
009147,000055: 
009148,000056: 05,2505           34736        DOFSTART           CAF      BIT14                                 #  INSURE ENGINE IS OFF.
009149,000057: 05,2506           00006                           EXTEND                                         
009150,000058: 05,2507           01011                           WRITE    DSALMOUT                              
009151,000059: 05,2510           44755                           CS       ZERO                                  
009152,000060: 05,2511           54055                           TS       THRUST                                
009153,000061: 
009154,000062: 05,2512           34751        DOFSTRT1           CAF      FOUR                                  
009155,000063: 05,2513           55262                           TS       RCSFLAGS                              #  INITIALIZE ATTITUDE ERROR DISPLAYS.
009156,000064: 05,2514           34355                           CA       PRIO30                                
009157,000065: 05,2515           54366                           TS       RESTREG                               #  SUPER BANK PRIORITY FOR DISPLAYS.
009158,000066: 
009159,000067: 05,2516           34755                           CA       ZERO                                  
009160,000068: 05,2517           55245                           TS       ABDELV                                #  DAP INITIALIZATION
009161,000069: 05,2520           54371                           TS       NVSAVE                                
009162,000070: 05,2521           55071                           TS       EBANKTEM                              

Page 219

009164,000072: 05,2522           55257                           TS       CH5MASK                               
009165,000073: 05,2523           55260                           TS       CH6MASK                               
009166,000074: 05,2524           55273                           TS       PVALVEST                              #  FOR RCS FAILURE MONITOR
009167,000075: 05,2525           55360                           TS       ERESTORE                              #  ***** MUST NOT BE REMOVED FROM DOFSTART
009168,000076: 05,2526           55362                           TS       SMODE                                 #  ***** MUST NOT BE REMOVED FROM DOFSTART
009169,000077: 05,2527           54333                           TS       DNLSTCOD                              #  SELECT POO DOWNLIST
009170,000078: 05,2530           55321                           TS       AGSWORD                               #  ALLOW AGS INITIALIZATION
009171,000079: 05,2531           55501                           TS       UPSVFLAG                              #  ZERO UPDATE STATE VECTOR REQUEST FLAGWRD
009172,000080: 05,2532           00006                           EXTEND                                         
009173,000081: 05,2533           01005                           WRITE    CHAN5                                 #  TURN OFF RCS JETS.
009174,000082: 05,2534           00006                           EXTEND                                         
009175,000083: 05,2535           01006                           WRITE    CHAN6                                 #  TURN OFF RCS JETS.
009176,000084: 05,2536           00006                           EXTEND                                         
009177,000085: 05,2537           01012                           WRITE    CHAN12                                
009178,000086: 05,2540           00006                           EXTEND                                         
009179,000087: 05,2541           01013                           WRITE    CHAN13                                
009180,000088: 05,2542           00006                           EXTEND                                         
009181,000089: 05,2543           01014                           WRITE    CHAN14                                
009182,000090: 05,2544           41035                           CS       DSPTAB     +11D                       
009183,000091: 05,2545           74771                           MASK     BITS4&6                               
009184,000092: 05,2546           10000                           CCS      A                                     
009185,000093: 05,2547           02553                           TC       +4                                    
009186,000094: 05,2550           34771                           CA       BITS4&6                               
009187,000095: 05,2551           00006                           EXTEND                                         #  THE IMU WAS IN COARSE ALIGN IN GIMBAL
009188,000096: 05,2552           05012                           WOR      CHAN12                                #  LOCK, SO PUT IT BACK INTO COARSE ALIGN.
009189,000097: 05,2553           02653                 +4        TC       MR.KLEAN                              
009190,000098: 
009191,000099: 05,2554           44755                           CS       ZERO                                  
009192,000100: 05,2555           55010                           TS       MODREG                                
009193,000101: 
009194,000102: 05,2556           33376                           CAF      IM30INIF                              #  FRESH START IMU INITIALIZATION.
009195,000103: 05,2557           55277                           TS       IMODES30                              
009196,000104: 
009197,000105: 05,2560           33076                           CAF      MAXDB                                 
009198,000106: 05,2561           55343                           TS       DB                                    
009199,000107: 05,2562           34751                           CAF      FOUR                                  
009200,000108: 05,2563           55322                           TS       RATEINDX                              #  INITIALIZE KALCMANU RATE
009201,000109: 05,2564           33072                           CA       BOOLSTRT                              
009202,000110: 05,2565           54111                           TS       DAPBOOLS                              
009203,000111: 05,2566           35015                           CAF      EBANK6                                
009204,000112: 05,2567           54003                           TS       EBANK                                 
009205,000113: 05,2570  E6,1400                                  EBANK=   HIASCENT                              
009206,000114: 
009207,000115: 05,2570           33070                           CA       STIKSTRT                              
009208,000116: 05,2571           55444                           TS       STIKSENS                              
009209,000117: 05,2572           33071                           CA       RATESTRT                              
009210,000118: 05,2573           55476                           TS       -RATEDB                               
009211,000119: 05,2574           32000                           CAF      FULLAPS                               #  INITIALIZE MAXIMUM ASCENT MASS FOR USE
009212,000120: 05,2575           55400                           TS       HIASCENT                              #    BY 1/ACCS UNTIL THE PAD LOAD IS DONE.
009213,000121: 05,2576           33073                           CA       77001OCT                              #     LOAD DAP FILTER GAINS PAD LOAD

Page 220

009215,000123: 05,2577           55403                           TS       DKTRAP                                #     TO BEST PRESENT ESTIMATE OF GOODIES
009216,000124: 05,2600           55406                           TS       LMTRAP                                #  .14 DEG
009217,000125: 05,2601           33074                           CA       60DEC                                 
009218,000126: 05,2602           55405                           TS       DKKAOSN                               
009219,000127: 05,2603           55410                           TS       LMKAOSN                               #  6 SEC GAIN FOR ALPHA
009220,000128: 05,2604           34755                           CA       ZERO                                  
009221,000129: 05,2605           55407                           TS       LMOMEGAN                              #  UNITY GAIN
009222,000130: 05,2606           34363                           CA       TEN                                   
009223,000131: 05,2607           55404                           TS       DKOMEGAN                              #  1 SEC GAIN FOR OMEGA
009224,000132: 05,2610           34744                           CAF      BIT8                                  #  SET DOCKED DB TO 1.4 DEG.  MAY OVERWRITE
009225,000133: 05,2611           55411                           TS       DKDB                                  #    WITH PAD LOAD.
009226,000134: 05,2612           35026                           CAF      IM33INIT                              
009227,000135: 05,2613           64746                           AD       BIT6                                  #  KEEP BOTH DAP AND ERROR-NEEDLES DISPLAY
009228,000136: 05,2614           55300                           TS       IMODES33                              #    OFF UNTIL ICDU ZERO IS FINISHED.
009229,000137: 
009230,000138: 05,2615           00006                           EXTEND                                         #  INITIALIZE SWITCHES ONLY ON FRESH START.
009231,000139: 05,2616           33403                           DCA      SWINIT                                
009232,000140: 05,2617           52075                           DXCH     STATE                                 
009233,000141: 05,2620           33404                           CA       SWINIT     +2                         
009234,000142: 05,2621           54076                           TS       STATE      +2                         
009235,000143: 05,2622           34737                           CA       REFSMBIT                              #  DO NOT ALTER REFSMFLG ON FRESH START.
009236,000144: 05,2623           64741                           AD       NOP07BIT                              #               NODOP07
009237,000145: 05,2624           70077                           MASK     STATE      +3                         
009238,000146: 05,2625           63405                           AD       SWINIT     +3                         
009239,000147: 05,2626           54077                           TS       STATE      +3                         
009240,000148: 05,2627           00006                           EXTEND                                         
009241,000149: 05,2630           33407                           DCA      SWINIT     +4                         
009242,000150: 05,2631           52101                           DXCH     STATE      +4                         
009243,000151: 05,2632           00006                           EXTEND                                         
009244,000152: 05,2633           33411                           DCA      SWINIT     +6                         
009245,000153: 05,2634           52103                           DXCH     STATE      +6                         
009246,000154: 05,2635           33067                           CA       OCT6200                               #  CMOONFLG, LMOONFLG, SURFFLAG
009247,000155: 05,2636           70104                           MASK     STATE      +8D                        
009248,000156: 05,2637           63412                           AD       SWINIT     +8D                        
009249,000157: 05,2640           54104                           TS       STATE      +8D                        
009250,000158: 05,2641           33413                           CA       SWINIT     +9D                        
009251,000159: 05,2642           54105                           TS       STATE      +9D                        
009252,000160: 05,2643           34737                           CA       APSFLBIT                              #  DO NOT ALTER APSFLAG ON FRESH START.
009253,000161: 05,2644           70106                           MASK     STATE      +10D                       
009254,000162: 05,2645           63414                           AD       SWINIT     +10D                       
009255,000163: 05,2646           54106                           TS       STATE      +10D                       
009256,000164: 05,2647           33415                           CAF      SWINIT     +11D                       
009257,000165: 05,2650           54107                           TS       STATE      +11D                       
009258,000166: 
009259,000167: 05,2651           04635        ENDRSTRT           TC       POSTJUMP                              #  NOW IN ANOTHER BANK.
009260,000168: 05,2652           03212                           CADR     DUMMYJOB   +2                         #  PICKS UP AT RELINT.   (DONT ZERO NEWJOB)
009261,000169: 
009262,000170: 05,2653           00004        MR.KLEAN           INHINT                                         
009263,000171: 05,2654           00006                           EXTEND                                         

Page 221

009265,000173: 05,2655           34755                           DCA      NEG0                                  
009266,000174: 05,2656           52754                           DXCH     -PHASE2                               
009267,000175: 05,2657           00006        POOKLEAN           EXTEND                                         
009268,000176: 05,2660           34755                           DCA      NEG0                                  
009269,000177: 05,2661           52760                           DXCH     -PHASE4                               
009270,000178: 05,2662           00006        V37KLEAN           EXTEND                                         
009271,000179: 05,2663           34755                           DCA      NEG0                                  
009272,000180: 05,2664           52762                           DXCH     -PHASE5                               
009273,000181: 05,2665           00006        ABTKLEAN           EXTEND                                         
009274,000182: 05,2666           34755                           DCA      NEG0                                  
009275,000183: 05,2667           52756                           DXCH     -PHASE3                               
009276,000184: 05,2670           00006                           EXTEND                                         
009277,000185: 05,2671           34755                           DCA      NEG0                                  
009278,000186: 05,2672           52752                           DXCH     -PHASE1                               
009279,000187: 05,2673           00006                           EXTEND                                         
009280,000188: 05,2674           34755                           DCA      NEG0                                  
009281,000189: 05,2675           52764                           DXCH     -PHASE6                               
009282,000190: 05,2676           00002                           TC       Q                                     
009283,000191: 

Page 222

009285,000193:                                                                                                  #           COMES HERE FROM LOCATION 4000, GOJAM. RESTART ANY PROGRAMS WHICH MAY HAVE BEEN RUNNING AT THE TIME
009286,000194: 
009287,000195: 05,2677  E3,1400                                  EBANK=   LST1                                  
009288,000196: 05,2677           24320        GOPROG             INCR     REDOCTR                               #  ADVANCE RESTART COUNTER.
009289,000197: 
009290,000198: 05,2700           22002                           LXCH     Q                                     
009291,000199: 05,2701           00006                           EXTEND                                         
009292,000200: 05,2702           04007                           ROR      SUPERBNK                              
009293,000201: 05,2703           53433                           DXCH     RSBBQ                                 
009294,000202: 05,2704           31035                           CA       DSPTAB     +11D                       
009295,000203: 05,2705           74750                           MASK     BIT4                                  
009296,000204: 05,2706           00006                           EXTEND                                         
009297,000205: 05,2707           12713                           BZF      +4                                    
009298,000206: 05,2710           64746                           AD       BIT6                                  #  SET ERROR COUNTER ENABLE
009299,000207: 05,2711           00006                           EXTEND                                         
009300,000208: 05,2712           05012                           WOR      CHAN12                                #  ISS WAS IN COARS ALIGN SO GO BACK TO
009301,000209: 05,2713           03077        BUTTONS            TC       LIGHTSET                              
009302,000210: 
009303,000211:                                                                                                  #                                            ERASCHK TEMPORARILY STORES THE CONTENTS OF TWO ERASABLE LOCATIONS, X
009304,000212:                                                                                                  #                                            AND X+1 INTO SKEEP5 AND SKEEP6. IT ALSO STORES X INTO SKEEP7 AND
009305,000213:                                                                                                  #                                            ERESTORE. IF ERASCHK IS INTERRUPTED BY A RESTART, C(ERESTORE) SHOULD
009306,000214:                                                                                                  #                                            EQUAL C(SKEEP7),AND BE A + NUMBER LESS THAN 2000 OCT. OTHERWISE
009307,000215:                                                                                                  #                                            C(ERESTORE) SHOULD EQUAL +0.
009308,000216: 
009309,000217: 05,2714           34350                           CAF      HI5                                   
009310,000218: 05,2715           71360                           MASK     ERESTORE                              
009311,000219: 05,2716           00006                           EXTEND                                         
009312,000220: 05,2717           12721                           BZF      +2                                    #  IF ERESTORE NOT = +0 OR +N LESS THAN 2K,
009313,000221: 05,2720           13114                           TCF      NONAVKEY   +3                         #  DO FRESH START - E MEMORY MIGHT BE BAD
009314,000222: 05,2721           41360                           CS       ERESTORE                              
009315,000223: 05,2722           00006                           EXTEND                                         
009316,000224: 05,2723           12740                           BZF      DORSTART                              #  = +0 CONTINUE WITH RESTART.
009317,000225: 05,2724           61377                           AD       SKEEP7                                
009318,000226: 05,2725           00006                           EXTEND                                         
009319,000227: 05,2726           12730                           BZF      +2                                    #  = SKEEP7, RESTORE E MEMORY.
009320,000228: 05,2727           13114                           TCF      NONAVKEY   +3                         #  DO FRESH START - E MEMORY MIGHT BE BAD
009321,000229: 05,2730           31374                           CA       SKEEP4                                
009322,000230: 05,2731           54003                           TS       EBANK                                 #  EBANK OF E MEMORY THAT WAS UNDER TEST.
009323,000231: 05,2732           00006                           EXTEND                                         #  (NOT DXCH SINCE THIS MIGHT HAPPEN AGAIN)
009324,000232: 05,2733           31376                           DCA      SKEEP5                                
009325,000233: 05,2734           51377                           INDEX    SKEEP7                                
009326,000234: 05,2735           52001                           DXCH     0000                                  #  E MEMORY RESTORED.
009327,000235: 05,2736           34755                           CA       ZERO                                  
009328,000236: 05,2737           55360                           TS       ERESTORE                              
009329,000237: 05,2740           03116        DORSTART           TC       STARTSUB                              #  DO INITIALIZATION AFTER ERASE RESTORE.
009330,000238: 
009331,000239: 05,2741           44736        SETINFL            CS       INTFLBIT                              
009332,000240: 05,2742           70106                           MASK     FLGWRD10                              
009333,000241: 05,2743           54106                           TS       FLGWRD10                              

Page 223

009335,000243: 05,2744           33400                           CA       9,6,4                                 #  LEAVE PROG ALARM,GIMBAL LOCK, NO ATT
009336,000244: 05,2745           71035                           MASK     DSPTAB     +11D                       #  LAMPS INTACT ON HARDWARE RESTART
009337,000245: 05,2746           64735                           AD       BIT15                                 
009338,000246: 05,2747           57035                           XCH      DSPTAB     +11D                       
009339,000247: 05,2750           33364                           CAF      IFAILINH                              #  LEAVE IMU FAILURE INHIBITS INTACT ON
009340,000248: 05,2751           71277                           MASK     IMODES30                              #  HARDWARE RESTART. RESET ALL FAILURE
009341,000249: 05,2752           63377                           AD       IM30INIR                              #  CODES.
009342,000250: 05,2753           55277                           TS       IMODES30                              
009343,000251: 
009344,000252: 05,2754           31321                           CA       AGSWORD                               #  BE SURE OF CORRECT DOWNLIST
009345,000253: 05,2755           54333                           TS       DNLSTCOD                              
009346,000254: 
009347,000255: 05,2756           34750                           CA       BIT4                                  #  TURN ON THROTTLE COUNTER
009348,000256: 05,2757           00006                           EXTEND                                         
009349,000257: 05,2760           05014                           WOR      CHAN14                                #  TURN ON THRUST DRIVE
009350,000258: 05,2761           40101                           CS       FLAGWRD5                              
009351,000259: 05,2762           74745                           MASK     ENGONBIT                              
009352,000260: 05,2763           10000                           CCS      A                                     
009353,000261: 05,2764           12771                           TCF      +5                                    
009354,000262: 05,2765           34737                           CAF      BIT13                                 
009355,000263: 05,2766           00006                           EXTEND                                         
009356,000264: 05,2767           05011                           WOR      DSALMOUT                              #  TURN ENGINE ON
009357,000265: 05,2770           13005                           TCF      GOPROG3                               
009358,000266: 05,2771           34736                 +5        CAF      BIT14                                 
009359,000267: 05,2772           00006                           EXTEND                                         
009360,000268: 05,2773           05011                           WOR      DSALMOUT                              #  TURN ENGINE OFF.
009361,000269: 05,2774           13005                           TCF      GOPROG3                               
009362,000270: 
009363,000271: 05,2775           00004        ENEMA              INHINT                                         
009364,000272: 05,2776           03125                           TC       STARTSB1                              
009365,000273: 05,2777           13001                           TCF      GOPROG2A                              
009366,000274: 05,3000           03170        GOPROG2            TC       STARTSB2                              
009367,000275: 05,3001           03077        GOPROG2A           TC       LIGHTSET                              
009368,000276: 05,3002           43075                           CS       RSFLGBTS                              #  BITS 7 AND 14.
009369,000277: 05,3003           70106                           MASK     FLGWRD10                              
009370,000278: 05,3004           54106                           TS       FLGWRD10                              
009371,000279: 
009372,000280: 05,3005           34756        GOPROG3            CAF      NUMGRPS                               #  VERIFY PHASE TABLE AGREEMENTS
009373,000281: 05,3006           54161        PCLOOP             TS       MPAC       +5                         
009374,000282: 05,3007           60000                           DOUBLE                                         
009375,000283: 05,3010           00006                           EXTEND                                         
009376,000284: 05,3011           50000                           INDEX    A                                     
009377,000285: 05,3012           30752                           DCA      -PHASE1                               #  COMPLEMENT INTO A, DIRECT INTO L.
009378,000286: 05,3013           00006                           EXTEND                                         
009379,000287: 05,3014           06001                           RXOR     LCHAN                                 #  RESULT MUST BE -0 FOR AGREEMENT.
009380,000288: 05,3015           10000                           CCS      A                                     
009381,000289: 05,3016           13064                           TCF      PTBAD                                 #  RESTART FAILURE.
009382,000290: 05,3017           13064                           TCF      PTBAD                                 
009383,000291: 05,3020           13064                           TCF      PTBAD                                 
009384,000292: 

Page 224

009386,000294: 05,3021           10161                           CCS      MPAC       +5                         #  PROCESS ALL RESTART GROUPS.
009387,000295: 05,3022           13006                           TCF      PCLOOP                                
009388,000296: 
009389,000297: 05,3023           54162                           TS       MPAC       +6                         #  SET TO +0.
009390,000298: 05,3024           05326                           TC       MMDSPLAY                              #  DISPLAY MAJOR MODE
009391,000299: 
009392,000300: 05,3025           00004                           INHINT                                         #  RELINT DONE IN MMDSPLAY
009393,000301: 
009394,000302: 05,3026           44736                           CS       DIDFLBIT                              #  CLEAR DIDFLAG IN ORDER TO FORCE R10 TO
009395,000303: 05,3027           70075                           MASK     FLAGWRD1                              #  RE-INITIALIZE ITSELF IF IT HAD BEEN
009396,000304: 05,3030           54075                           TS       FLAGWRD1                              #  OPERATING AT THE TIME OF THE RESTART.
009397,000305: 
009398,000306: 05,3031           44740                           CS       RODFLBIT                              #  CLEAR RODFLAG.  IF P66 IS IN OPERATION
009399,000307: 05,3032           70075                           MASK     FLAGWRD1                              #       IT WILL RE-INITIALIZE ITSELF AND
009400,000308: 05,3033           54075                           TS       FLAGWRD1                              #       CONTINUE.
009401,000309: 
009402,000310: 05,3034           44741                           CS       P21FLBIT                              #  CLEAR P21FLAG SO THAT P21 WILL COMPUTE
009403,000311: 05,3035           70074                           MASK     FLAGWRD0                              #  NEW BASE STATE VECTORS.
009404,000312: 05,3036           54074                           TS       FLAGWRD0                              
009405,000313: 
009406,000314: 05,3037           34756                           CAF      NUMGRPS                               #  SEE IF ANY GROUPS RUNNING.
009407,000315: 05,3040           54161        NXTRST             TS       MPAC       +5                         
009408,000316: 05,3041           60000                           DOUBLE                                         
009409,000317: 05,3042           50000                           INDEX    A                                     
009410,000318: 05,3043           10752                           CCS      PHASE1                                
009411,000319: 05,3044           13046                           TCF      PACTIVE                               #  PNZ - GROUP ACTIVE.
009412,000320: 05,3045           13053                           TCF      PINACT                                #  +0 - GROUP NOT RUNNING.
009413,000321: 
009414,000322: 05,3046           54154        PACTIVE            TS       MPAC                                  
009415,000323: 05,3047           24154                           INCR     MPAC                                  #  ABS OF PHASE.
009416,000324: 05,3050           24162                           INCR     MPAC       +6                         #  INDICATE GROUP DEMANDS PRESENT.
009417,000325: 05,3051           04616                           TC       BANKCALL                              
009418,000326: 05,3052           03530                           CADR     RESTARTS                              
009419,000327: 05,3053           10161        PINACT             CCS      MPAC       +5                         #  PROCESS ALL RESTART GROUPS.
009420,000328: 05,3054           13040                           TCF      NXTRST                                
009421,000329: 
009422,000330: 05,3055           10162                           CCS      MPAC       +6                         #  NO, CHECK PHASE ACTIVITY FLAG
009423,000331: 05,3056           12651                           TCF      ENDRSTRT                              #  PHASE ACTIVE
009424,000332: 05,3057           34735                           CAF      BIT15                                 #  IS MODE -0
009425,000333: 05,3060           71010                           MASK     MODREG                                
009426,000334: 05,3061           00006                           EXTEND                                         
009427,000335: 05,3062           16001                           BZF      GOTOPOOH                              #  NO
009428,000336: 05,3063           12651                           TCF      ENDRSTRT                              #  YES
009429,000337: 05,3064           05600        PTBAD              TC       ALARM                                 #  SET ALARM TO SHOW PHASE TABLE FAILURE.
009430,000338: 05,3065           01107                           OCT      1107                                  
009431,000339: 
009432,000340: 05,3066           12512                           TCF      DOFSTRT1                              
009433,000341: 
009434,000342:                                                                                                  #  ******** ****** ******

Page 225

009436,000344:                                                                                                  #  DO NOT USE GOPROG2 OR ENEMA WITHOUT CONSULTING POOH PEOPLE
009437,000345: 
009438,000346: 05,3067     4737               OCT10000           =        BIT13                                 
009439,000347: 05,3067     4355               OCT30000           =        PRIO30                                
009440,000348: 05,3067           06200        OCT6200            OCT      6200                                  #  SURFBIT, CMOONBIT, LMOONBIT FOR SWINITS
009441,000349: 05,3070           32321        STIKSTRT           DEC      0.825268                              #  20 D/S MAXIMUM COMMANDED RATE
009442,000350: 05,3071           77445        RATESTRT           DEC      -218       B-14                       
009443,000351: 05,3072           21322        BOOLSTRT           OCT      21322                                 
009444,000352: 05,3073           77001        77001OCT           OCT      77001                                 #  .14 DEG SCALED AT 4.5 DEG
009445,000353: 05,3074           00074        60DEC              DEC      60         B-14                       
009446,000354: 05,3075           20100        RSFLGBTS           OCT      20100                                 
009447,000355: 05,3076           03434        MAXDB              OCTAL    03434                                 #  5 DEG ATTITUDE DEADBAND, SCALED AT 45.
009448,000356: 
009449,000357: 05,3077           34747        LIGHTSET           CAF      BIT5                                  #  CHECK FOR MARK REJECT AND ERROR RESET
009450,000358: 05,3100           00006                           EXTEND                                         
009451,000359: 05,3101           02016                           RAND     NAVKEYIN                              
009452,000360: 05,3102           00006                           EXTEND                                         
009453,000361: 05,3103           13111                           BZF      NONAVKEY                              #  NO MARK REJECT
009454,000362: 05,3104           00006                           EXTEND                                         
009455,000363: 05,3105           00015                           READ     MNKEYIN                               #  CHECK IF KEYS 2M AND 5M ON
009456,000364: 05,3106           63375                           AD       -ELR                                  #  MAIN DSKY KEYCODE(BITS 1-5)
009457,000365: 05,3107           00006                           EXTEND                                         
009458,000366: 05,3110           13112                           BZF      +2                                    
009459,000367: 
009460,000368: 05,3111           00002        NONAVKEY           TC       Q                                     
009461,000369: 
009462,000370: 05,3112           03116                           TC       STARTSUB                              
009463,000371: 05,3113           12505                           TCF      DOFSTART                              
009464,000372: 05,3114           03116                 +3        TC       STARTSUB                              
009465,000373: 05,3115           12512                           TCF      DOFSTRT1                              #  DO FRESH START BUT DON'T TOUCH ENGINE
009466,000374: 

Page 226

009468,000376:                                                                                                  #           INITIALIZATION COMMON TO BOTH FRESH START AND RESTART.
009469,000377: 
009470,000378: 05,3116  E6,1536                                  EBANK=   AOSQ                                  
009471,000379: 05,3116           33365        STARTSUB           CAF      LDNPHAS1                              #  SET POINTER SO NEXT 20MS DOWNRUPT WILL
009472,000380: 05,3117           54335                           TS       DNTMGOTO                              #  CAUSE THE CURRENT DOWNLIST TO BE
009473,000381:                                                                                                  #  INTERRUPTED AND START SENDING FROM THE
009474,000382:                                                                                                  #  BEGINNING OF THE CURRENT DOWNLIST.
009475,000383: 05,3120           34746                           CAF      BIT6                                  
009476,000384: 05,3121           00006                           EXTEND                                         
009477,000385: 05,3122           02033                           RAND     CHAN33                                
009478,000386: 05,3123           63401                           AD       RMODINIT                              
009479,000387: 05,3124           54110                           TS       RADMODES                              
009480,000388: 
009481,000389: 05,3125           34733        STARTSB1           CAF      POSMAX                                
009482,000390: 05,3126           54026                           TS       TIME3                                 
009483,000391: 05,3127           67751                           AD       MINUS2                                
009484,000392: 05,3130           54027                           TS       TIME4                                 
009485,000393: 05,3131           67752                           AD       NEGONE                                
009486,000394: 05,3132           54030                           TS       TIME5                                 
009487,000395: 
009488,000396: 05,3133           35015                           CAF      EBANK6                                
009489,000397: 05,3134           54003                           TS       EBANK                                 
009490,000398: 
009491,000399: 05,3135           44737                           CS       BIT13                                 #  CAUSE DAPIDLER TO CALL 1/ACCS
009492,000400: 05,3136           71262                           MASK     RCSFLAGS                              
009493,000401: 05,3137           55262                           TS       RCSFLAGS                              #  ZERO BIT 13
009494,000402: 05,3140           34733                           CAF      POSMAX                                #  DISABLE TIME6 CLOCK.  JUST IN CASE A T6
009495,000403: 05,3141           55466                           TS       T6NEXT                                #    RUPT IS ALREADY IN THE PRIORITY CHAIN,
009496,000404: 05,3142           00006                           EXTEND                                         #    ENSURE THAT IT'S INPUTS WILL RENDER IT
009497,000405: 05,3143           03013                           WAND     CHAN13                                #    INEFFECTUAL.
009498,000406: 05,3144           34755                           CAF      ZERO                                  
009499,000407: 05,3145           55465                           TS       NXT6ADR                               
009500,000408: 05,3146           55472                           TS       NEXTP                                 
009501,000409: 
009502,000410: 05,3147           44751                           CS       ACCSOKAY                              
009503,000411: 05,3150           70111                           MASK     DAPBOOLS                              
009504,000412: 05,3151           54111                           TS       DAPBOOLS                              
009505,000413: 
009506,000414: 05,3152           00006                           EXTEND                                         #  SET T5RUPT FOR DAPIDLER PROGRAM.
009507,000415: 05,3153           33363                           DCA      IDLEADR                               
009508,000416: 05,3154           53264                           DXCH     T5ADR                                 
009509,000417: 
009510,000418: 05,3155           40107                           CS       FLGWRD11                              #  IF R12 IS PERMITTED, ENSURE THAT NEXT
009511,000419: 05,3156           74735                           MASK     LRBYBIT                               #   RADAR READS ARE NOT USED
009512,000420: 05,3157           00006                           EXTEND                                         
009513,000421: 05,3160           13170                           BZF      STARTSB2                              #  R12 OFF
009514,000422: 
009515,000423: 05,3161           24006                           INCR     BBANK                                 #  SET EBANK TO 7
009516,000424: 05,3162  E7,1674                                  EBANK=   STILBADH                              
009517,000425: 05,3162           11674                           CCS      STILBADH                              #  IF STILBADH>0, NEXT READ WILL BE IGNORED

Page 227

009519,000427: 05,3163           13165                           TCF      +2                                    
009520,000428: 05,3164           25674                           INCR     STILBADH                              #  SET STILBADH TO IGNORE NEXT READ
009521,000429: 
009522,000430: 05,3165           11675                 +2        CCS      STILBADV                              
009523,000431: 05,3166           13170                           TCF      STARTSB2                              #  IF STILBADV >0,NEXT READ WILL BE IGNORED
009524,000432: 05,3167           25675                           INCR     STILBADV                              #  SET STILBADV TO IGNORE NEXT READ
009525,000433: 
009526,000434: 05,3170           33374        STARTSB2           CAF      OCT30001                              #  DURING SOFTWARE RESTART, DO NOT DISTURB
009527,000435: 05,3171           00006                           EXTEND                                         #  ENGINE ON, OFF AND ISS WARNING.
009528,000436: 05,3172           03011                           WAND     DSALMOUT                              
009529,000437: 
009530,000438: 05,3173           43370                           CS       OCT32001                              
009531,000439: 05,3174           70110                           MASK     RADMODES                              
009532,000440: 05,3175           54110                           TS       RADMODES                              
009533,000441: 05,3176           33372                           CAF      OCT27470                              #  DURING SOFTWARE RESTART, DO NOT DISTURB
009534,000442: 05,3177           00006                           EXTEND                                         #  IMU FLAGS. (COURSE ALIGN ENABLE, ZERO
009535,000443: 05,3200           03012                           WAND     CHAN12                                #  IMU CDUS, ENABLE IMU COUNTER) AND GIMBAL
009536,000444:                                                                                                  #  TRIM DRIVES. LEAVE RR LOCKON ENABLE
009537,000445:                                                                                                  #  ALONE.
009538,000446: 
009539,000447: 05,3201           44751                           CS       R12RDBIT                              #  R12RDFLG CLEARED TO ESCAPE FROM POSSIBLE
009540,000448: 05,3202           70107                           MASK     FLGWRD11                              #   "CCS NEWJOB" LOOP IN VUPDAT SEC. OF R12
009541,000449: 05,3203           54107                           TS       FLGWRD11                              
009542,000450: 
009543,000451: 05,3204           44750                           CS       NORRMBIT                              #  ENABLE R25.
009544,000452: 05,3205           70101                           MASK     FLAGWRD5                              
009545,000453: 05,3206           54101                           TS       FLAGWRD5                              
009546,000454: 
009547,000455: 05,3207           44741                           CS       R77FLBIT                              #  CLEAR R77FLAG
009548,000456: 05,3210           70101                           MASK     FLAGWRD5                              
009549,000457: 05,3211           54101                           TS       FLAGWRD5                              
009550,000458: 05,3212           33373                           CAF      OCT74160                              #  DURING SOFTWARE RESTART, DO NOT DUSTURB
009551,000459: 05,3213           00006                           EXTEND                                         #  TELEMETRY FLAGS, RESET TRAP FLAGS, AND
009552,000460: 05,3214           03013                           WAND     CHAN13                                #  ENABLE T6RUPT FLAG.
009553,000461: 
009554,000462: 05,3215           34740                           CAF      BIT12                                 #  REENABLE RUPT10 (RUPT QUICKLY
009555,000463: 05,3216           00006                           EXTEND                                         #    RESUMES EXCEPT DURING P64)
009556,000464: 05,3217           05013                           WOR      CHAN13                                
009557,000465: 
009558,000466: 05,3220           34771                           CAF      OCT50                                 #  DURING SOFTWARE RESTART, DO NOT DISTURB
009559,000467: 05,3221           00006                           EXTEND                                         #  GYRO ENABLE OR THRUST ENABLE
009560,000468: 05,3222           03014                           WAND     CHAN14                                
009561,000469: 
009562,000470: 05,3223  E3,1400                                  EBANK=   LST1                                  
009563,000471: 05,3223           35007                           CAF      STARTEB                               
009564,000472: 05,3224           54003                           TS       EBANK                                 #  SET FOR E3
009565,000473: 
009566,000474: 05,3225           34734                           CAF      NEG1/2                                #  INITIALIZE WAITLIST DELTA-TS.
009567,000475: 05,3226           55407                           TS       LST1       +7                         
009568,000476: 05,3227           55406                           TS       LST1       +6                         
009569,000477: 05,3230           55405                           TS       LST1       +5                         
009570,000478: 05,3231           55404                           TS       LST1       +4                         
009571,000479: 05,3232           55403                           TS       LST1       +3                         
009572,000480: 05,3233           55402                           TS       LST1       +2                         

Page 228

009574,000482: 05,3234           55401                           TS       LST1       +1                         
009575,000483: 05,3235           55400                           TS       LST1                                  
009576,000484: 
009577,000485: 05,3236           45247                           CS       ENDTASK                               
009578,000486: 05,3237           55410                           TS       LST2                                  
009579,000487: 05,3240           55412                           TS       LST2       +2                         
009580,000488: 05,3241           55414                           TS       LST2       +4                         
009581,000489: 05,3242           55416                           TS       LST2       +6                         
009582,000490: 05,3243           55420                           TS       LST2       +8D                        
009583,000491: 05,3244           55422                           TS       LST2       +10D                       
009584,000492: 05,3245           55424                           TS       LST2       +12D                       
009585,000493: 05,3246           55426                           TS       LST2       +14D                       
009586,000494: 05,3247           55430                           TS       LST2       +16D                       
009587,000495: 05,3250           45250                           CS       ENDTASK    +1                         
009588,000496: 05,3251           55411                           TS       LST2       +1                         
009589,000497: 05,3252           55413                           TS       LST2       +3                         
009590,000498: 05,3253           55415                           TS       LST2       +5                         
009591,000499: 05,3254           55417                           TS       LST2       +7                         
009592,000500: 05,3255           55421                           TS       LST2       +9D                        
009593,000501: 05,3256           55423                           TS       LST2       +11D                       
009594,000502: 05,3257           55425                           TS       LST2       +13D                       
009595,000503: 05,3260           55427                           TS       LST2       +15D                       
009596,000504: 05,3261           55431                           TS       LST2       +17D                       
009597,000505: 
009598,000506: 05,3262           44755                           CS       ZERO                                  #  MAKE ALL EXECUTIVE REGISTER SETS
009599,000507: 05,3263           54167                           TS       PRIORITY                              #  AVAILABLE.
009600,000508: 05,3264           54203                           TS       PRIORITY   +12D                       
009601,000509: 05,3265           54217                           TS       PRIORITY   +24D                       
009602,000510: 05,3266           54233                           TS       PRIORITY   +36D                       
009603,000511: 05,3267           54247                           TS       PRIORITY   +48D                       
009604,000512: 05,3270           54263                           TS       PRIORITY   +60D                       
009605,000513: 05,3271           54277                           TS       PRIORITY   +72D                       
009606,000514: 05,3272           54313                           TS       PRIORITY   +84D                       
009607,000515: 
009608,000516: 05,3273           55310                           TS       DSRUPTSW                              
009609,000517: 05,3274           54067                           TS       NEWJOB                                #  SHOWS NO ACTIVE JOBS.
009610,000518: 
009611,000519: 05,3275           33367                           CAF      VAC1ADRC                              #  MAKE ALL VAC AREAS AVAILABLE.
009612,000520: 05,3276           54400                           TS       VAC1USE                               
009613,000521: 05,3277           63371                           AD       LTHVACA                               
009614,000522: 05,3300           54454                           TS       VAC2USE                               
009615,000523: 05,3301           63371                           AD       LTHVACA                               
009616,000524: 05,3302           54530                           TS       VAC3USE                               
009617,000525: 05,3303           63371                           AD       LTHVACA                               
009618,000526: 05,3304           54604                           TS       VAC4USE                               
009619,000527: 05,3305           63371                           AD       LTHVACA                               
009620,000528: 05,3306           54660                           TS       VAC5USE                               
009621,000529: 
009622,000530: 05,3307           34363                           CAF      TEN                                   
009623,000531: 05,3310           54154        DSPOFF             TS       MPAC                                  #  R1,R2,R3).

Page 229

009625,000533: 05,3311           44740                           CS       BIT12                                 
009626,000534: 05,3312           50154                           INDEX    MPAC                                  
009627,000535: 05,3313           55022                           TS       DSPTAB                                
009628,000536: 05,3314           10154                           CCS      MPAC                                  
009629,000537: 05,3315           13310                           TCF      DSPOFF                                
009630,000538: 
009631,000539: 05,3316           55323                           TS       DELAYLOC                              
009632,000540: 05,3317           55324                           TS       DELAYLOC   +1                         
009633,000541: 05,3320           55325                           TS       DELAYLOC   +2                         
009634,000542: 05,3321           55073                           TS       R1SAVE                                
009635,000543: 05,3322           54045                           TS       INLINK                                
009636,000544: 05,3323           54775                           TS       DSPCNT                                
009637,000545: 05,3324           55041                           TS       CADRSTOR                              
009638,000546: 05,3325           55012                           TS       REQRET                                
009639,000547: 05,3326           55014                           TS       CLPASS                                
009640,000548: 05,3327           55011                           TS       DSPLOCK                               
009641,000549: 05,3330           55017                           TS       MONSAVE                               #  KILL MONITOR
009642,000550: 05,3331           55020                           TS       MONSAVE1                              
009643,000551: 05,3332           55000                           TS       VERBREG                               
009644,000552: 05,3333           55001                           TS       NOUNREG                               
009645,000553: 05,3334           55042                           TS       DSPLIST                               
009646,000554: 05,3335           55307                           TS       MARKSTAT                              
009647,000555: 05,3336           55043                           TS       EXTVBACT                              #  MAKE EXTENDED VERBS AVAILABLE
009648,000556: 05,3337           55301                           TS       IMUCADR                               
009649,000557: 05,3340           55302                           TS       OPTCADR                               
009650,000558: 05,3341           55303                           TS       RADCADR                               
009651,000559: 05,3342           55304                           TS       ATTCADR                               
009652,000560: 05,3343           55311                           TS       LGYRO                                 
009653,000561: 05,3344           54100                           TS       FLAGWRD4                              #  KILL INTERFACE DISPLAYS
009654,000562: 05,3345           34760                           CAF      NOUTCON                               
009655,000563: 05,3346           55015                           TS       NOUT                                  
009656,000564: 
009657,000565: 05,3347           44753                           CS       ONE                                   
009658,000566: 05,3350           55077                           TS       SAMPLIM                               
009659,000567: 05,3351           34746                           CAF      BIT6                                  
009660,000568: 05,3352           71300                           MASK     IMODES33                              #  LEAVE BIT 6 UNCHANGED
009661,000569: 05,3353           65026                           AD       IM33INIT                              #  NO PIP OR TM FAILS.BIT6=0 IN THIS WORD.
009662,000570: 05,3354           55300                           TS       IMODES33                              
009663,000571: 
009664,000572: 05,3355           33366                           CAF      LESCHK                                #  SELF CHECK GO-TO REGISTER.
009665,000573: 05,3356           55361                           TS       SELFRET                               
009666,000574: 
009667,000575: 05,3357           44360                           CS       VD1                                   
009668,000576: 05,3360           54776                           TS       DSPCOUNT                              
009669,000577: 
009670,000578: 05,3361           00002                           TC       Q                                     
009671,000579: 05,3362  E6,1536                                  EBANK=   AOSQ                                  
009672,000580: 05,3362           02024 34066  IDLEADR            2CADR    DAPIDLER                              
009673,000581: 
009674,000582: 05,3364           00435        IFAILINH           OCT      435                                   
009675,000583: 05,3365           03525        LDNPHAS1           GENADR   DNPHASE1                              
009676,000584: 05,3366           03371        LESCHK             GENADR   SELFCHK                               

Page 230

009678,000586: 05,3367           00400        VAC1ADRC           ADRES    VAC1USE                               
009679,000587: 05,3370           32001        OCT32001           OCT      32001                                 
009680,000588: 05,3371           00054        LTHVACA            DEC      44         B-14                       
009681,000589: 
009682,000590: 05,3372           27470        OCT27470           OCT      27470                                 
009683,000591: 05,3373           74160        OCT74160           OCT      74160                                 
009684,000592: 05,3374           30001        OCT30001           OCT      30001                                 
009685,000593: 05,3375     5007               STARTEB            EQUALS   EBANK3                                
009686,000594: 05,3375     4756               NUMGRPS            EQUALS   FIVE                                  
009687,000595: 05,3375           77755        -ELR               OCT      -22                                   #  -ERROR LIGHT RESET KEY CODE.
009688,000596: 05,3376           37411        IM30INIF           OCT      37411                                 #  INHIBITS IMU FAIL FOR 5 SEC AND PIP ISSW
009689,000597: 05,3377           37000        IM30INIR           OCT      37000                                 
009690,000598: 05,3400     5026               IM33INIT           =        PRIO16                                #  NO PIP OR TM FAIL SIGNALS.
009691,000599: 05,3400           00450        9,6,4              OCT      450                                   
009692,000600: 05,3401           00102        RMODINIT           OCT      00102                                 
009693,000601: 05,3402           00000        SWINIT             OCT      0                                     
009694,000602: 05,3403           00000                           OCT      0                                     
009695,000603: 05,3404           00000                           OCT      0                                     
009696,000604: 05,3405           00000                           OCT      0                                     
009697,000605: 05,3406           00000                           OCT      0                                     
009698,000606: 05,3407           00000                           OCT      0                                     
009699,000607: 05,3410           00000                           OCT      0                                     
009700,000608: 05,3411           00100                           OCT      00100                                 
009701,000609: 
009702,000610: 05,3412           00000                           OCT      0                                     
009703,000611: 05,3413           00000                           OCT      0                                     
009704,000612: 05,3414           00000                           OCT      0                                     
009705,000613: 05,3415           40000                           OCT      40000                                 #  BIT 15 = LRBYPASS.
009706,000614: 

Page 231

009708,000616:                                                                                                  #  PROGRAM NAME    GOTOPOOH                   ASSEMBLY       SUNDANCE
009709,000617:                                                                                                  #  LOG SECTION     FRESH START AND RESTART
009710,000618: 
009711,000619:                                                                                                  #  FUNCTIONAL DESCRIPTION
009712,000620: 
009713,000621:                                                                                                  #        FLASH V 37 ON DSKY %MM CHANGE REQUEST "
009714,000622: 
009715,000623:                                                                                                  #  INPUT/OUTPUT INFORMATION
009716,000624: 
009717,000625:                                                                                                  #        A. CALLING SEQUENCE        TC GOTOPOOH
009718,000626: 
009719,000627:                                                                                                  #        B. ERASABLE INITIALIZATION       NONE
009720,000628: 
009721,000629:                                                                                                  #        C. OUTPUT FLASH V 37 ON DSKY
009722,000630: 
009723,000631:                                                                                                  #        D. DEBRIS       L
009724,000632: 
009725,000633:                                                                                                  #  PROGRAM ANALYSIS
009726,000634: 
009727,000635:                                                                                                  #        A. SUBROUTINES CALLED PRIODSPR,  LINUS
009728,000636: 
009729,000637:                                                                                                  #        B. NORMAL EXIT        TCF ENDOFJOB
009730,000638: 
009731,000639:                                                                                                  #        C. ALARM AND ABORT EXITS       NONE
009732,000640: 
009733,000641:    6001                                           BLOCK    03                                    
009734,000642:    6000                                           SETLOC   FFTAG5                                
009735,000643:    6000                                           BANK                                           
009736,000644: 
009737,000645:    6001                                           COUNT*   $$/P00                                
009738,000646:    6001           34764        GOTOPOOH           CAF      OCT33                                 #  4.33 SPOT FOR GOPOOFIX
009739,000647:    6002           54001                           TS       L                                     
009740,000648:    6003           40000                           COM                                            
009741,000649:    6004           52760                           DXCH     -PHASE4                               
009742,000650: 
009743,000651:    6005           04635                           TC       POSTJUMP                              
009744,000652:    6006           10024                           CADR     GOPOOFIX                              
009745,000653:    6007           00024        OCT24              MM       20         B-14                       
009746,000654:    6010           00031        OCT31              MM       25         B-14                       
009747,000655: 
009748,000656: 20,2004                                           BANK     20                                    
009749,000657: 04,2000                                           SETLOC   VERB37                                
009750,000658: 04,2000                                           BANK                                           
009751,000659: 
009752,000660: 04,2024                                           COUNT*   $$/P00                                #  VERB 37 AND P00 IN BANK 4.
009753,000661: 04,2024           05527        GOPOOFIX           TC       DOWNFLAG                              #  ALLOW X-AXIS OVERRIDE
009754,000662: 04,2025           00311                           ADRES    XOVINFLG                              
009755,000663: 
009756,000664: 04,2026           05527                           TC       DOWNFLAG                              #  INSURE THAT ULLAGE IS OFF
009757,000665: 04,2027           00314                           ADRES    ULLAGFLG                              
009758,000666: 

Page 232

009760,000668: 04,2030           05507                           TC       CLEARMRK   +2                         #  RELEASE MARK DISPLAY SYSTEM.
009761,000669: 04,2031           32037                           CAF      V37N99                                
009762,000670: 04,2032           04616                           TC       BANKCALL                              
009763,000671: 04,2033           20477                           CADR     GOFLASH                               
009764,000672: 04,2034           12031                           TCF      -3                                    
009765,000673: 04,2035           12031                           TCF      -4                                    
009766,000674: 04,2036           12031                           TCF      -5                                    
009767,000675: 
009768,000676: 04,2037           11343        V37N99             VN       3799                                  
009769,000677: 

Page 233

009771,000679:                                                                                                  #  PROGRAM NAME    V37                       ASSEMBLY      SUNDANCE
009772,000680: 
009773,000681:                                                                                                  #  LOG SECTION     FRESH START AND RESTART
009774,000682: 
009775,000683:                                                                                                  #  FUNCTIONAL DESCRIPTION
009776,000684: 
009777,000685:                                                                                                  #        1. CHECK IF NEW PROGRAM ALLOWED. IF BIT 1 OF FLAGWRD2(NODOFLAG) IS SET, AN ALARM 1520 IS CALLED.
009778,000686:                                                                                                  #        2. CHECK FOR VALIDITY OF PROGRAM SELECTED. IF AN INVALID PROGRAM  IS SELECTED, THE OPERATOR ERROR LIGHT IS
009779,000687:                                                                                                  #           SET AND CURRENT ACTIVITY, IF ANY, CONTINUES.
009780,000688:                                                                                                  #        3. SERVICER IS TERMINATED IF IT HAS BEEN RUNNING.
009781,000689:                                                                                                  #        4. INSTALL IS EXECUTED TO AVOID INTERRUPTING INTEGRATION.
009782,000690:                                                                                                  #        5. THE ENGINE IS TURNED OFF AND THE DAP IS INITIALIZED FOR COAST.
009783,000691:                                                                                                  #        6. TRACK AND UPDATE FLAGS ARE SET TO ZERO.
009784,000692:                                                                                                  #        7. DISPLAY SYSTEM IS RELEASED.
009785,000693:                                                                                                  #        8. THE FOLLOWING ARE PERFORMED FOR EACH OF THE THREE CASES.
009786,000694:                                                                                                  #           A. PROGRAM SELECTED IS P00.
009787,000695:                                                                                                  #              1. RENDEZVOUS AND P25 FLAGS ARE RESET.(KILL P20 AND P25)
009788,000696:                                                                                                  #              2. STATINT1     IS SCHEDULED BY SETTING RESTART GROUP 2.
009789,000697:                                                                                                  #              3. MAJOR MODE 00 IS STORED IN THE MODE REGISTER(MODREG).
009790,000698:                                                                                                  #              4. SUPERBANK 3 IS SELECTED.
009791,000699:                                                                                                  #              5. NODOFLAG IS RESET.
009792,000700:                                                                                                  #              6. ALL RESTART GROUPS EXCEPT GROUP 2 ARE CLEARED. CONTROL ISTRANSFERRED TO RESTART PROGRAM (GOPROG2)
009793,000701:                                                                                                  #                 WHICH CAUSES ALL CURRENT ACTIVITY TO BE DISCONTINUED AND A 9 MINUTE INTEGRATION CYCLE TO BE
009794,000702:                                                                                                  #                 INITIATED.
009795,000703:                                                                                                  #           B. PROGRAM SELECTED IS P20 OR P25.
009796,000704:                                                                                                  #              1. IF THE CURRENT MAJOR MODE IS THE SAME AS THE SELECTED NEWPROGRAM, THE PROGRAM IS RE-INITIALIZED
009797,000705:                                                                                                  #                 VIA V37XEQ, ALL RESTART GROUPS, EXCEPT GROUP 4 ARE CLEARED.
009798,000706:                                                                                                  #              2. IF THE CURRENT MAJOR MODE IS NOT EQUAL TO THE NEW REQUEST, A CHECK IS MADE TO SEE IF THE REQUEST-
009799,000707:                                                                                                  #                 ED MAJOR MODE HAS BEEN RUNNING IN THE BACKGROUND,
009800,000708:                                                                                                  #                 AND IF IT HAS, NO NEW PROGRAM IS SCHEDULED, THE EXISTING
009801,000709:                                                                                                  #                 P20 OR P25 IS RESTARTED TO CONTINUE, AND ITS M M IS SET.
009802,000710:                                                                                                  #              3. CONTROL IS TRANSFERRED TO GOPROG2.
009803,000711:                                                                                                  #           C. PROGRAM SELECTED IS NEITHER P00,P20, NOR P25
009804,000712:                                                                                                  #              1. V37XEQ IS SCHEDULED (AS A JOB) BY SETTING RESTART GROUP 4
009805,000713:                                                                                                  #              2. ALL CURRENT ACTIVITY EXCEPT RENDEZVOUS AND TRACKING IS DISCONTINUED BY CLEARING ALL RESTART
009806,000714:                                                                                                  #                 GROUPS. IF THE RENDEZVOUS OR THE P25 FLAG IS ON, GROUP 2 IS NOT CLEARED, ALLOWING THESE PROGRAMS
009807,000715:                                                                                                  #                 TO CONTINUE.
009808,000716: 
009809,000717:                                                                                                  #  INPUT/OUTPUT INFORMATION
009810,000718: 
009811,000719:                                                                                                  #        A. CALLING SEQUENCE
009812,000720: 
009813,000721:                                                                                                  #            CONTROL IS DIRECTED TO V37 BY THE VERBFAN ROUTINE.
009814,000722:                                                                                                  #               VERBFAN GOES TO C(VERBTAB+C(VERBREG)). VERB 37 = MMCHANG.
009815,000723:                                                                                                  #               MMCHANG EXECUTES A   TC POSTJUMP, CADR V37.
009816,000724: 
009817,000725:                                                                                                  #        B. ERASABLE INITIALIZATION      NONE
009818,000726: 
009819,000727:                                                                                                  #        C. OUTPUT
009820,000728: 

Page 234

009822,000730:                                                                                                  #            MAJOR MODE CHANGE
009823,000731: 
009824,000732:                                                                                                  #        D. DEBRIS
009825,000733:                                                                                                  #             MMNUMBER, MPAC +1, MINDEX, BASETEMP +C(MINDEX), FLAGWRD0, FLAGWRD1, FLAGWRD2, MODREG, GOLOC -1,
009826,000734:                                                                                                  #             GOLOC, GOLOC +1, GOLOC +2, BASETEMP, -PHASE2, PHASE2, -PHASE4
009827,000735: 
009828,000736:                                                                                                  #  PROGRAM ANALYSIS
009829,000737: 
009830,000738:                                                                                                  #        A. SUBROUTINES CALLED
009831,000739:                                                                                                  #             ALARM, RELDSP, PINBRNCH, INTSTALL, ENGINOF2, ALLCOAST, V37KLEAN, GOPROG2, FALTON, FINDVAC, SUPERSW,
009832,000740:                                                                                                  #             DSPMM
009833,000741: 
009834,000742:                                                                                                  #        B. NORMAL EXIT        TC ENDOFJOB
009835,000743: 
009836,000744:                                                                                                  #        C. ALARMS      1520 (MAJOR MODE CHANGE NOT PERMITTED)
009837,000745: 
009838,000746: 04,2040           54774        V37                TS       MMNUMBER                              #  SAVE MAJOR MODE
009839,000747: 04,2041           34355                           CAF      PRIO30                                #  RESTART AT PINBALL PRIORITY
009840,000748: 04,2042           54366                           TS       RESTREG                               
009841,000749: 
009842,000750: 04,2043           31277                           CA       IMODES30                              #  IS IMU BEINB INITIALIZED
009843,000751: 04,2044           74746                           MASK     BIT6                                  
009844,000752: 04,2045           10000                           CCS      A                                     
009845,000753: 04,2046           12065                           TCF      CANTROO                               
009846,000754: 
009847,000755: 04,2047           40774                           CS       MMNUMBER                              #  IS P70 REQUESTED?
009848,000756: 04,2050           62411                           AD       DEC70                                 
009849,000757: 04,2051           00006                           EXTEND                                         
009850,000758: 04,2052           12404                           BZF      SETUP70                               #  YES
009851,000759: 04,2053           64753                           AD       ONE                                   #  IS P71 REQUESTED?
009852,000760: 04,2054           00006                           EXTEND                                         
009853,000761: 04,2055           12403                           BZF      SETUP71                               #  YES
009854,000762: 
009855,000763: 04,2056           30774                           CA       MMNUMBER                              #  IS NEW REQUEST POO
009856,000764: 04,2057           00006                           EXTEND                                         
009857,000765: 04,2060           12107                           BZF      ISSERVON                              #  YES, CHECK SERVICER STATUS
009858,000766: 
009859,000767: 04,2061           40076                           CS       FLAGWRD2                              #  NO, IS NODO V37 FLAG SET
009860,000768: 04,2062           74753                           MASK     NODOBIT                               
009861,000769: 04,2063           10000                           CCS      A                                     
009862,000770: 04,2064           12072                           TCF      CHECKTAB                              #  NO
009863,000771: 04,2065           05600        CANTROO            TC       ALARM                                 
009864,000772: 04,2066           01520                           OCT      1520                                  
009865,000773: 
009866,000774: 04,2067           04457        V37BAD             TC       RELDSP                                #  RELEASES DISPLAY FROM ASTRONAUT
009867,000775: 
009868,000776: 04,2070           04635                           TC       POSTJUMP                              #  BRING BACK LAST NORMAL DISPLAY IF THERE
009869,000777: 04,2071           21051                           CADR     PINBRNCH                              #  WAS ONE. OTHERWISE DO AN EOJ.
009870,000778: 
009871,000779: 04,2072           32476        CHECKTAB           CA       NOV37MM                               #  INDEX FOR MM TABLES.

Page 235

009873,000781: 04,2073           54155        AGAINMM            TS       MPAC       +1                         
009874,000782: 04,2074           50155                           NDX      MPAC       +1                         
009875,000783: 04,2075           32445                           CA       PREMM1                                #  OBTAIN WHICH MM THIS IS FOR
009876,000784: 04,2076           76077                           MASK     LOW7                                  
009877,000785: 04,2077           40000                           COM                                            
009878,000786: 04,2100           60774                           AD       MMNUMBER                              
009879,000787: 04,2101           10000                           CCS      A                                     
009880,000788: 04,2102           10155                           CCS      MPAC       +1                         #  IF GR, SEE IF ANY MORE IN LIST
009881,000789: 04,2103           12073                           TCF      AGAINMM                               #  YES, GET NEXT ONE
009882,000790: 04,2104           12334                           TCF      V37NONO                               #  LAST TIME OR PASSED MM
009883,000791: 
009884,000792: 04,2105           30155                           CA       MPAC       +1                         
009885,000793: 04,2106           54773                           TS       MINDEX                                #  SAVE INDEX FOR LATER
009886,000794: 
009887,000795: 04,2107           40103        ISSERVON           CS       FLAGWRD7                              #  V37 FLAG SET - I.E. IS SERVICER GOING
009888,000796: 04,2110           74746                           MASK     V37FLBIT                              
009889,000797: 04,2111           10000                           CCS      A                                     
009890,000798: 04,2112           12136                           TCF      CANV37                                #  NO
009891,000799: 
009892,000800: 04,2113           04727                           TC       SUPERSW                               
009893,000801: 04,2114           00004                           INHINT                                         
009894,000802: 04,2115           04674                           TC       IBNKCALL                              #  YES, TURN ENGINE OFF
009895,000803: 04,2116           75564                           CADR     ENGINOF1                              
009896,000804: 04,2117           05527                           TC       DOWNFLAG                              #  NOW TURN OFF THE AVERAGE G FLAG AND
009897,000805: 04,2120           00163                           ADRES    AVEGFLAG                              #  WAIT FOR SERVICER TO RETURN TO V37RET.
009898,000806: 
009899,000807: 04,2121           15155                           TCF      ENDOFJOB                              
009900,000808: 
009901,000809: 04,2122           40074        V37RET             CS       FLAGWRD0                              #  IS P20 OR P22 RUNNING?
009902,000810: 04,2123           74745                           MASK     RNDVZBIT                              
009903,000811: 04,2124           10000                           CCS      A                                     
009904,000812: 04,2125           12127                           TCF      +2                                    #  NO. CHECK FOR P25.
009905,000813: 04,2126           12134                           TCF      2.7SPT                                #  YES.  DO 2.7SPOT
009906,000814: 04,2127           40074                           CS       FLAGWRD0                              #  IS P25 RUNNING?
009907,000815: 04,2130           74743                           MASK     P25FLBIT                              
009908,000816: 04,2131           10000                           CCS      A                                     
009909,000817: 04,2132           32400        2.0SPT             CA       OCT37667                              
009910,000818: 04,2133           64747        2.11SPT            AD       BIT5                                  
009911,000819: 04,2134           62401        2.7SPT             AD       OCT40072                              
009912,000820: 04,2135           05370                           TC       PHSCHNGA                              
009913,000821: 
009914,000822: 04,2136           34755        CANV37             CAF      ZERO                                  
009915,000823: 04,2137           00006                           EXTEND                                         
009916,000824: 04,2140           01007                           WRITE    SUPERBNK                              
009917,000825: 
009918,000826: 04,2141           32377                           CAF      ROOAD                                 
009919,000827: 04,2142           54374                           TS       TEMPFLSH                              
009920,000828: 
009921,000829: 04,2143           05364                           TC       PHASCHNG                              
009922,000830: 04,2144           00014                           OCT      14                                    
009923,000831: 

Page 236

009925,000833: 04,2145           06042        ROO                TC       INTPRET                               
009926,000834: 
009927,000835: 04,2146           77624                           CALL                                           #  WAIT FOR INTEGRATION TO FINISH
009928,000836: 04,2147           27410                                    INTSTALL                              
009929,000837: 04,2150           77776        DUMMYAD            EXIT                                           
009930,000838: 
009931,000839: 04,2151           05527                           TC       DOWNFLAG                              
009932,000840: 04,2152           00124                           ADRES    3AXISFLG                              #  RESET 3-AXIS FLAG
009933,000841: 
009934,000842: 04,2153           05527                           TC       DOWNFLAG                              
009935,000843: 04,2154           00055                           ADRES    POOHFLAG                              
009936,000844: 
009937,000845: 04,2155           34735                           CAF      LRBYBIT                               #  CLEAN UP THE R12 FLAGWORD.
009938,000846: 04,2156           54107                           TS       FLGWRD11                              
009939,000847: 
009940,000848: 04,2157           05527                           TC       DOWNFLAG                              #  INSURE THAT THE R04FLAG IS CLEAR.
009941,000849: 04,2160           00063                           ADRES    R04FLAG                               
009942,000850: 
009943,000851: 04,2161           05527                           TC       DOWNFLAG                              
009944,000852: 04,2162           00056                           ADRES    GLOKFAIL                              #  FLAGWORD 3 BIT 14
009945,000853: 
009946,000854: 04,2163           05527                           TC       DOWNFLAG                              #  INSURE MUNFLAG IS CLEAR.
009947,000855: 04,2164           00141                           ADRES    MUNFLAG                               
009948,000856: 
009949,000857: 04,2165           05527                           TC       DOWNFLAG                              #  RESET ABORT TARGETING FLAG (USE
009950,000858: 04,2166           00217                           ADRES    ABTTGFLG                              #    PARAMETERS J1 AND KU)
009951,000859: 
009952,000860: 04,2167           05527                           TC       DOWNFLAG                              #  ALLOW X-AXIS OVERRIDE.
009953,000861: 04,2170           00311                           ADRES    XOVINFLG                              
009954,000862: 04,2171           10774                           CCS      MMNUMBER                              #  IS THIS A POOH REQUEST
009955,000863: 04,2172           12322                           TCF      NOUVEAU                               #  NO, PICK UP NEW PROGRAM
009956,000864: 
009957,000865: 04,2173           04457        POOH               TC       RELDSP                                #  RELEASE DISPLAY SYSTEM
009958,000866: 
009959,000867: 04,2174           35017                           CAF      PRIO5                                 #  SET VARIABLE RESTART PRIORITY FOR
009960,000868: 04,2175           55055                           TS       PHSPRDT2                              #  P00 INTEGRATION.
009961,000869: 
009962,000870: 04,2176           06011                           TC       CLRADMOD                              #  CLRADMOD DOES AN INHINT.
009963,000871: 
009964,000872: 04,2177           44753                           CS       NODOBIT                               #  TURN OFF NODOFLAG.
009965,000873: 04,2200           70076                           MASK     FLAGWRD2                              
009966,000874: 04,2201           54076                           TS       FLAGWRD2                              
009967,000875: 
009968,000876: 04,2202           34756                           CA       FIVE                                  #  SET RESTART FOR STATEINT1
009969,000877: 04,2203           54001                           TS       L                                     
009970,000878: 04,2204           40000                           COM                                            
009971,000879: 04,2205           52754                           DXCH     -PHASE2                               
009972,000880: 
009973,000881: 04,2206           42402                           CS       OCT700                                #  TURN OFF P20,P25,IMU IN USE FLAG
009974,000882: 04,2207           70074                           MASK     FLAGWRD0                              

Page 237

009976,000884: 04,2210           54074                           TS       FLAGWRD0                              #                         RENDFLG
009977,000885: 
009978,000886: 04,2211           34755                           CAF      DNLADP00                              
009979,000887: 
009980,000888: 04,2212           54333        SEUDOPOO           TS       DNLSTCOD                              #  SET UP APPROPRIATE DOWNLIST CODE
009981,000889: 04,2213           55321                           TS       AGSWORD                               #   (CURRENT LIST WILL BE COMPLETED BEFORE
009982,000890:                                                                                                  #    NEW ONE IS STARTED)
009983,000891: 04,2214           44741                           CS       NOP07BIT                              
009984,000892: 04,2215           70077                           MASK     FLAGWRD3                              
009985,000893: 04,2216           64741                           AD       NOP07BIT                              
009986,000894: 04,2217           54077                           TS       FLAGWRD3                              
009987,000895: 
009988,000896: 04,2220           04674                           TC       IBNKCALL                              #  INSURE ALLCOAST.
009989,000897: 04,2221           40205                           CADR     ALLCOAST                              #  DOES A RESTORDB.
009990,000898: 
009991,000899: 04,2222           44775                           CS       OCT120                                #  TURN OFF TRACK, UPDATE FLAGS
009992,000900: 04,2223           55071                           TS       EBANKTEM                              
009993,000901: 04,2224           70075                           MASK     FLAGWRD1                              
009994,000902: 04,2225           54075                           TS       FLAGWRD1                              
009995,000903: 
009996,000904: 04,2226           04674                           TC       IBNKCALL                              #  KILL GROUPS 1,3,5,6
009997,000905: 04,2227           12662                           CADR     V37KLEAN                              
009998,000906: 
009999,000907: 04,2230           10774                           CCS      MMNUMBER                              #  IS IT POOH
010000,000908: 04,2231           12240                           TCF      RENDVOO                               #  NO
010001,000909: 04,2232           04674        GOMOD              TC       IBNKCALL                              #  REDUNDANT EXCEPT FOR GROUP 4
010002,000910: 04,2233           12657                           CADR     POOKLEAN                              
010003,000911: 
010004,000912: 04,2234           30774                           CA       MMNUMBER                              
010005,000913: 04,2235           55010                           TS       MODREG                                
010006,000914: 
010007,000915: 04,2236           04635        GOGOPROG           TC       POSTJUMP                              
010008,000916: 04,2237           13000                           CADR     GOPROG2                               
010009,000917: 
010010,000918: 04,2240           41010        RENDVOO            CS       MODREG                                #  IS CURRENT PROGRAM 22
010011,000919: 04,2241           62340                           AD       OCT26                                 
010012,000920: 04,2242           00006                           EXTEND                                         
010013,000921: 04,2243           12262                           BZF      RESET22                               #  YES - CLEAR RENDEZVOUS FLAG
010014,000922: 
010015,000923: 
010016,000924: 04,2244           40774                           CS       MMNUMBER                              #  IS NEW PROGRAM P22
010017,000925: 04,2245           62340                           AD       OCT26                                 
010018,000926: 04,2246           00006                           EXTEND                                         
010019,000927: 04,2247           12262                           BZF      RESET22                               
010020,000928: 
010021,000929: 
010022,000930: 04,2250           67751                           AD       NEG2                                  #  IS NEW PROGRAM = P20 OR P25
010023,000931: 04,2251           00006                           EXTEND                                         
010024,000932: 04,2252           12274                           BZF      RENDNOO                               #  YES
010025,000933: 04,2253           64756                           AD       FIVE                                  #  25

Page 238

010027,000935: 04,2254           00006                           EXTEND                                         
010028,000936: 04,2255           12274                           BZF      RENDNOO                               #  YES
010029,000937: 
010030,000938: 04,2256           32336                           CA       OCT500                                #  NO, IS EITHER P20 OR P25 RUNNING
010031,000939: 04,2257           70074                           MASK     FLAGWRD0                              
010032,000940: 04,2260           10000                           CCS      A                                     
010033,000941: 04,2261           12271                           TCF      POOFIZZ                               #  YES, LEAVE GROUP 2 TO PICK UP P20 OR P25
010034,000942: 
010035,000943: 04,2262           42402        RESET22            CS       OCT700                                #  CLEAR RENDEZVOUS,P25
010036,000944: 04,2263           70074                           MASK     FLAGWRD0                              #  AND IMU IN USE FLAGS
010037,000945: 04,2264           54074                           TS       FLAGWRD0                              
010038,000946: 04,2265           06011                           TC       CLRADMOD                              
010039,000947: 
010040,000948: 04,2266           00006        KILL2              EXTEND                                         #  NO, KILL 2
010041,000949: 04,2267           34755                           DCA      NEG0                                  
010042,000950: 04,2270           52754                           DXCH     -PHASE2                               
010043,000951: 
010044,000952: 04,2271           32376        POOFIZZ            CAF      V37QCAD                               #  RESTART POINT FOR V37XEQ
010045,000953: 04,2272           54374                           TS       TEMPFLSH                              
010046,000954: 
010047,000955: 04,2273           12236                           TCF      GOGOPROG                              
010048,000956: 
010049,000957: 04,2274           41010        RENDNOO            CS       MODREG                                
010050,000958: 04,2275           66007                           AD       OCT24                                 
010051,000959: 04,2276           00006                           EXTEND                                         
010052,000960: 04,2277           12266                           BZF      KILL2                                 #  P20 OR P25 ON TOP OF P20 OR P25 -
010053,000961: 
010054,000962: 04,2300           64756                           AD       FIVE                                  
010055,000963: 04,2301           00006                           EXTEND                                         
010056,000964: 04,2302           12266                           BZF      KILL2                                 
010057,000965: 
010058,000966: 04,2303           32336                           CA       OCT500                                
010059,000967: 04,2304           70074                           MASK     FLAGWRD0                              
010060,000968: 04,2305           60774                           AD       MMNUMBER                              
010061,000969: 04,2306           40000                           COM                                            
010062,000970: 04,2307           62341                           AD       P20REG                                #  IS IT 20 AND IS RENDEZVOUS FLAG ON
010063,000971: 04,2310           00006                           EXTEND                                         
010064,000972: 04,2311           12316                           BZF      STATQUO                               #  YES
010065,000973: 04,2312           62337                           AD       OCT305                                #  IS IT 25 AND IS P25 BIT ON
010066,000974: 04,2313           00006                           EXTEND                                         
010067,000975: 04,2314           12316                           BZF      STATQUO                               #  YES, LEAVE AS IS
010068,000976: 04,2315           12266                           TCF      KILL2                                 
010069,000977: 
010070,000978: 04,2316           40075        STATQUO            CS       FLAGWRD1                              #  SET TRACKFLAG
010071,000979: 04,2317           74775                           MASK     OCT120                                #      UPDATE FLAG
010072,000980: 04,2320           26075                           ADS      FLAGWRD1                              
010073,000981: 
010074,000982: 04,2321           12232                           TCF      GOMOD                                 
010075,000983: 
010076,000984: 04,2322           32336        NOUVEAU            CAF      OCT500                                #  IS P20 OR P25 FLAG SET

Page 239

010078,000986: 04,2323           70074                           MASK     FLAGWRD0                              
010079,000987: 04,2324           10000                           CCS      A                                     
010080,000988: 04,2325           12330                           TCF      +3                                    #  YES
010081,000989: 04,2326           05527                           TC       DOWNFLAG                              #  NO,RESET IMUINUSE FLAG
010082,000990: 04,2327           00007                           ADRES    IMUSE                                 
010083,000991: 
010084,000992: 04,2330           50773                           INDEX    MINDEX                                
010085,000993: 04,2331           32477                           CAF      DNLADMM1                              #  OBTAIN APPROPRIATE DOWNLIST ADDRESS
010086,000994: 
010087,000995: 04,2332           00004                           INHINT                                         
010088,000996: 04,2333           12212                           TCF      SEUDOPOO                              
010089,000997: 
010090,000998: 04,2334           04364        V37NONO            TC       FALTON                                #  COME HERE IF MM REQUESTED DOESNT EXIST
010091,000999: 
010092,001000: 04,2335           12067                           TCF      V37BAD                                
010093,001001: 
010094,001002: 04,2336     4750               OCT00010           EQUALS   BIT4                                  
010095,001003: 04,2336           00500        OCT500             OCT      500                                   #  BITS 7 AND 9
010096,001004: 04,2337           00305        OCT305             OCT      305                                   
010097,001005: 04,2340           00026        OCT26              OCT      26                                    
010098,001006: 04,2341           00124        P20REG             OCT      124                                   
010099,001007: 
010100,001008: 04,2342           00004        V37XEQ             INHINT                                         
010101,001009: 04,2343           50773                           INDEX    MINDEX                                
010102,001010: 04,2344           32445                           CAF      PREMM1                                #  OBTAIN PRIO, EBANK, AND MM
010103,001011: 04,2345           55057                           TS       MMTEMP                                
010104,001012: 04,2346           54020                           TS       CYR                                   #  SHIFT RIGHT TO BITS 14 - 10
010105,001013: 
010106,001014: 04,2347           30020                           CA       CYR                                   
010107,001015: 04,2350           77730                           MASK     PRIO37                                
010108,001016: 04,2351           55061                           TS       PHSPRDT4                              #  PRESET GROUP 4 RESTART PRIORITY
010109,001017: 04,2352           54063                           TS       NEWPRIO                               #  STORE PRIO FOR SPVAC
010110,001018: 
010111,001019: 04,2353           31057                           CA       MMTEMP                                #  OBTAIN EBANK - BITS 8, 9, 10 OF MMTEMP.
010112,001020: 04,2354           00006                           EXTEND                                         
010113,001021: 04,2355           74744                           MP       BIT8                                  
010114,001022: 04,2356           74757                           MASK     LOW3                                  
010115,001023: 04,2357           54001                           TS       L                                     
010116,001024: 
010117,001025: 04,2360           50773                           INDEX    MINDEX                                
010118,001026: 04,2361           32414                           CAF      FCADRMM1                              
010119,001027: 04,2362           55060                           TS       BASETEMP                              #  MAKE BBCON BY ADDING HI5 OF FCADR
010120,001028: 04,2363           74350                           MASK     HI5                                   
010121,001029: 04,2364           26001                           ADS      L                                     
010122,001030: 
010123,001031: 04,2365           31060                           CA       BASETEMP                              #  OBTAIN GENADR PORTION OF 2CADR.
010124,001032: 04,2366           75012                           MASK     LOW10                                 
010125,001033: 04,2367           64741                           AD       BIT11                                 
010126,001034: 
010127,001035: 04,2370           05116                           TC       SPVAC                                 
010128,001036: 

Page 240

010130,001038: 04,2371           31057        V37XEQC            CA       MMTEMP                                #  UPON RETURN FROM FINDVAC PLACE THE
010131,001039: 04,2372           76077                           MASK     LOW7                                  #  NEW MM IN MODREG (THE LOW 7 BITS OF
010132,001040: 04,2373           05325                           TC       NEWMODEA                              #  PHSPRDT1)
010133,001041: 
010134,001042: 04,2374           04457                           TC       RELDSP                                #  RELEASE DISPLAY
010135,001043: 04,2375           05155                           TC       ENDOFJOB                              #  AND EXIT
010136,001044: 
010137,001045: 04,2376     5661               NEG7               EQUALS   OCT77770                              
010138,001046: 
010139,001047: 04,2376     1057               MMTEMP             EQUALS   PHSPRDT3                              
010140,001048: 04,2376     1060               BASETEMP           EQUALS   TBASE4                                
010141,001049: 04,2376           10345        V37QCAD            CADR     V37XEQ     +3                         
010142,001050: 04,2377           10150        ROOAD              CADR     DUMMYAD                               
010143,001051: 04,2400           37667        OCT37667           OCT      37667                                 
010144,001052: 04,2401           40072        OCT40072           OCT      40072                                 
010145,001053: 04,2402           00700        OCT700             OCT      700                                   
010146,001054: 
010147,001055: 04,2403           36250        SETUP71            CAF      THREE                                 
010148,001056: 04,2404           54002        SETUP70            TS       Q                                     
010149,001057: 04,2405           00006                           EXTEND                                         
010150,001058: 04,2406           32413                           DCA      P70CADR                               
010151,001059: 04,2407           60002                           AD       Q                                     
010152,001060: 04,2410           52006                           DTCB                                           
010153,001061: 
010154,001062: 04,2411           00106        DEC70              DEC      70         B-14                       
010155,001063: 04,2412  E7,1520                                  EBANK=   R                                     
010156,001064: 04,2412           02072 42067  P70CADR            2CADR    P70                                   
010157,001065:                                                                                                  #  FOR VERB 37 TWO TABLES ARE MAINTAINED. EACH TABLE HAS AN ENTRY FOR EACH
010158,001066:                                                                                                  #  MAJOR MODE THAT CAN BE STARTED FROM THE KEYBOARD. THE ENTRIES ARE PUT
010159,001067:                                                                                                  #  INTO THE TABLE WITH THE ENTRY FOR THE HIGHEST MAJOR MODE COMING FIRST,
010160,001068: 
010161,001069:                                                                                                  #  TO THE LOWEST MAJOR MODE WHICH IS THE LAST ENTRY IN EACH TABLE.
010162,001070: 
010163,001071:                                                                                                  #           THE FCADRMM TABLE CONTAINS THE FCADR OF THE STARTING JOB OF
010164,001072:                                                                                                  #  THE MAJOR MODE.   FOR EXAMPLE,
010165,001073: 
010166,001074:                                                                                                  #                                          FCADRMM1 FCADR   P79             START OF P 79
010167,001075:                                                                                                  #                                                   FCADR   PROG18          START OF P 18
010168,001076:                                                                                                  #                                                   FCADR   P01             START OF P 01
010169,001077: 
010170,001078:                                                                                                  #  NOTE,    THE FIRST ENTRY MUST BE LABLED FCADRMM1.
010171,001079:                                                                                                  #  ----
010172,001080: 
010173,001081: 04,2414           26207        FCADRMM1           FCADR    P76                                   
010174,001082: 04,2415           72647                           FCADR    P75                                   
010175,001083: 04,2416           72457                           FCADR    P74                                   
010176,001084: 04,2417           72225                           FCADR    P73                                   
010177,001085: 04,2420           72036                           FCADR    P72                                   
010178,001086: 04,2421           71271                           FCADR    LANDJUNK                              

Page 241

010180,001088: 04,2422           64562                           FCADR    P63LM                                 
010181,001089: 04,2423           33310                           FCADR    P57                                   
010182,001090: 04,2424           32067                           FCADR    PROG52                                
010183,001091: 04,2425           31421                           FCADR    P51                                   
010184,001092: 04,2426           75445                           FCADR    P47LM                                 
010185,001093: 04,2427           75417                           FCADR    P42LM                                 
010186,001094: 04,2430           75277                           FCADR    P41LM                                 
010187,001095: 04,2431           75154                           FCADR    P40LM                                 
010188,001096: 04,2432           72643                           FCADR    P35                                   
010189,001097: 04,2433           72455                           FCADR    P34                                   
010190,001098: 04,2434           72223                           FCADR    P33                                   
010191,001099: 04,2435           72034                           FCADR    P32                                   
010192,001100: 04,2436           72000                           FCADR    P30                                   
010193,001101: 04,2437           50462                           FCADR    PROG25                                
010194,001102: 04,2440           50000                           FCADR    PROG22                                
010195,001103: 04,2441           51440                           FCADR    PROG21                                
010196,001104: 04,2442           50000                           FCADR    PROG20                                
010197,001105: 04,2443           60061                           FCADR    P12LM                                 
010198,001106: 04,2444           77654                           FCADR    P06                                   
010199,001107:                                                                                                  #           THE PREMM TABLE CONTAINS THE E-BANK,MAJOR MODE, AND PRIORITY
010200,001108:                                                                                                  #  INFORMATION, IT IS IN THE FOLLOWING FORM,
010201,001109: 
010202,001110:                                                                                                  #           PPP PPE EEM MMM MMM
010203,001111: 
010204,001112:                                                                                                  #           WHERE THE 7 M BITS CONTAIN THE MAJOR MODE NUMBER
010205,001113:                                                                                                  #                      3 E BITS CONTAIN THE E-BANK NUMBER
010206,001114:                                                                                                  #                      5 P BITS CONTAIN THE PRIORITY AT WHICH THE JOB IS
010207,001115:                                                                                                  #                          TO BE STARTED
010208,001116: 
010209,001117:                                                                                                  #           FOR EXAMPLE,
010210,001118: 
010211,001119:                                                                                                  #                                          PREMM1   OCT     67213           PRIORITY      33
010212,001120:                                                                                                  #                                                                           E-BANK         5
010213,001121:                                                                                                  #                                                                           MAJOR MODE    11
010214,001122:                                                                                                  #                                                   OCT     25437           PRIORITY       12
010215,001123:                                                                                                  #                                                                           E-BANK         6
010216,001124:                                                                                                  #                                                                           MAJOR MODE    31
010217,001125: 
010218,001126:                                                                                                  #  NOTE,     THE FIRST ENTRY MUST BE LABELED PREMM1
010219,001127: 04,2445           27714        PREMM1             OCT      27714                                 #  MM 76  EBANK 7  PRIO 13
010220,001128: 04,2446           27713                           OCT      27713                                 #  MM 75  EBANK 7  PRIO 13
010221,001129: 04,2447           27712                           OCT      27712                                 #  MM 74  EBANK 7  PRIO 13
010222,001130: 04,2450           27711                           OCT      27711                                 #  MM 73  EBANK 7  PRIO 13
010223,001131: 04,2451           27710                           OCT      27710                                 #  MM 72  EBANK 7  PRIO 13
010224,001132: 04,2452           27704                           OCT      27704                                 #  MM 68  EBANK 7  PRIO 13
010225,001133: 04,2453           27677                           OCT      27677                                 #  MM 63  EBANK 7  PRIO 13
010226,001134: 04,2454           27271                           OCT      27271                                 #  MM 57  EBANK 5  PRIO 13
010227,001135: 04,2455           27264                           OCT      27264                                 #  MM 52  EBANK 5  PRIO 13
010228,001136: 04,2456           27263                           OCT      27263                                 #  MM 51  EBANK 5  PRIO 13
010229,001137: 04,2457           27657                           OCT      27657                                 #  MM 47  EBANK 7  PRIO 13

Page 242

010231,001139: 04,2460           27652                           OCT      27652                                 #  MM 42  EBANK 7  PRIO 13
010232,001140: 04,2461           27651                           OCT      27651                                 #  MM 41  EBANK 7  PRIO 13
010233,001141: 04,2462           27650                           OCT      27650                                 #  MM 40  EBANK 7  PRIO 13
010234,001142: 04,2463           27643                           OCT      27643                                 #  MM 35  EBANK 7  PRIO 13
010235,001143: 04,2464           27642                           OCT      27642                                 #  MM 34  EBANK 7  PRIO 13
010236,001144: 04,2465           27641                           OCT      27641                                 #  MM 33  EBANK 7  PRIO 13
010237,001145: 04,2466           27640                           OCT      27640                                 #  MM 32  EBANK 7  PRIO 13
010238,001146: 04,2467           27636                           OCT      27636                                 #  MM 30  EBANK 7  PRIO 13
010239,001147: 04,2470           27631                           OCT      27631                                 #  MM 25  EBANK 7  PRIO 13
010240,001148: 04,2471           27626                           OCT      27626                                 #  MM 22  EBANK 7  PRIO 13
010241,001149: 04,2472           27625                           OCT      27625                                 #  MM 21  EBANK 7  PRIO 13
010242,001150: 04,2473           27624                           OCT      27624                                 #  MM 20  EBANK 7  PRIO 13
010243,001151: 04,2474           27614                           OCT      27614                                 #  MM 12  EBANK 7  PRIO 13
010244,001152: 04,2475           27006                           OCT      27006                                 #  MM 06  EBANK 4  PRIO 13
010245,001153:                                                                                                  #  NOTE,     THE FOLLOWING CONSTANT IS THE NUMBER OF ENTRIES IN EACH OF
010246,001154:                                                                                                  #  ----      THE ABOVE LISTS-1(IE, THE NUMBER OF MAJOR MODES(EXCEPT P00)
010247,001155:                                                                                                  #            THAT CAN BE CALLED FROM THE KEYBOARD MINUS ONE)
010248,001156: 
010249,001157: 04,2476           00030        NOV37MM            DEC      24         B-14                       #  MM'S -1
010250,001158: 
010251,001159: 04,2477           00002        DNLADMM1           ADRES    RENDEZVL                              #  P76
010252,001160: 04,2500           00002                           ADRES    RENDEZVL                              #  P75
010253,001161: 04,2501           00002                           ADRES    RENDEZVL                              #  P74
010254,001162: 04,2502           00002                           ADRES    RENDEZVL                              #  P73
010255,001163: 04,2503           00002                           ADRES    RENDEZVL                              #  P72
010256,001164: 04,2504           00004                           ADRES    DESASCNT                              #  P68
010257,001165: 04,2505           00004                           ADRES    DESASCNT                              #  P63
010258,001166: 04,2506           00005                           ADRES    LUNRSALN                              #  P57
010259,001167: 04,2507           00000                           ADRES    COSTALIL                              #  P52
010260,001168: 04,2510           00000                           ADRES    COSTALIL                              #  P51
010261,001169: 04,2511           00003                           ADRES    ORBMANUL                              #  P47
010262,001170: 04,2512           00003                           ADRES    ORBMANUL                              #  P42
010263,001171: 04,2513           00003                           ADRES    ORBMANUL                              #  P41
010264,001172: 04,2514           00003                           ADRES    ORBMANUL                              #  P40
010265,001173: 04,2515           00002                           ADRES    RENDEZVL                              #  P35
010266,001174: 04,2516           00002                           ADRES    RENDEZVL                              #  P34
010267,001175: 04,2517           00002                           ADRES    RENDEZVL                              #  P33
010268,001176: 04,2520           00002                           ADRES    RENDEZVL                              #  P32
010269,001177: 04,2521           00002                           ADRES    RENDEZVL                              #  P30
010270,001178: 04,2522           00002                           ADRES    RENDEZVL                              #  P25
010271,001179: 04,2523           00005                           ADRES    LUNRSALN                              #  P22
010272,001180: 04,2524           00002                           ADRES    RENDEZVL                              #  P21
010273,001181: 04,2525           00002                           ADRES    RENDEZVL                              #  P20
010274,001182: 04,2526           00004                           ADRES    DESASCNT                              #  P12
010275,001183: 04,2527           00000                           ADRES    COSTALIL                              #  P06
010276,001184: 04,2530     4755               DNLADP00           =        ZERO                                  
010277,001185: 04,2530                        COSTALIL           =        0                                     
010278,001186: 04,2530                        AGSUPDAT           =        1                                     
010279,001187: 04,2530                        RENDEZVL           =        2                                     
010280,001188: 04,2530                        ORBMANUL           =        3                                     

Page 243

010282,001190: 04,2530                        DESASCNT           =        4                                     
010283,001191: 04,2530                        LUNRSALN           =        5                                     
010284,001192: 13,2026                                           BANK     13                                    
010285,001193: 13,2000                                           SETLOC   INTINIT                               
010286,001194: 13,2000                                           BANK                                           
010287,001195: 
010288,001196: 13,2026                                           COUNT*   $$/INTIN                              
010289,001197: 
010290,001198: 13,2026  E3,1554                                  EBANK=   RRECTCSM                              
010291,001199: 
010292,001200:                                                                                                  #  THIS ROUTINE DOES THE POO INTEGRATION
010293,001201: 
010294,001202: 13,2026           43014        STATEUP            SET      BOF                                   #  EXTRAPOLATE CM STATE VECTOR
010295,001203: 13,2027           01474                                    VINTFLAG                              
010296,001204: 13,2030           04347                                    SURFFLAG                              #  ALSO 6X6 W-MATRIX IF LM ON LUNAR
010297,001205: 13,2031           26036                                    DOINT                                 #       SURFACE AND W-MATRIX VALID
010298,001206: 13,2032           43014                           BOF      SET                                   #       FOR RENDEZVOUS NAVIGATION.
010299,001207: 13,2033           02756                                    RENDWFLG                              
010300,001208: 13,2034           26036                                    DOINT                                 
010301,001209: 13,2035           01476                                    DIM0FLAG                              
010302,001210: 13,2036           45014        DOINT              CLEAR    CALL                                  
010303,001211: 13,2037           01667                                    PRECIFLG                              #  ENGAGES 4-TIME STEP LOGIC IN INTEGRATION
010304,001212: 13,2040           27133                                    INTEGRV                               #  WHEN MODREG = 0
010305,001213: 
010306,001214: 13,2041           71214                           BON      DLOAD                                 
010307,001215: 13,2042           04307                                    SURFFLAG                              
010308,001216: 13,2043           26063                                    NO-INT                                
010309,001217: 13,2044           01571                                    TETCSM                                
010310,001218: 13,2045           34041                           STCALL   TDEC1                                 
010311,001219: 13,2046           27410                                    INTSTALL                              
010312,001220: 13,2047           45014                           CLEAR    CALL                                  #  EXTRAPOLATE LM STATE VECTOR
010313,001221: 13,2050           01674                                    VINTFLAG                              
010314,001222: 13,2051           26643                                    SETIFLGS                              
010315,001223: 13,2052           77614                           BOF                                            #  ALSO 9X9 W-MATRIX IF W IS VALID
010316,001224: 13,2053           02756                                    RENDWFLG                              
010317,001225: 13,2054           26060                                    DOINT2                                
010318,001226: 13,2055           43014                           SET      SET                                   
010319,001227: 13,2056           01476                                    DIM0FLAG                              
010320,001228: 13,2057           01475                                    D6OR9FLG                              
010321,001229: 13,2060           45014        DOINT2             SET      CALL                                  
010322,001230: 13,2061           01467                                    PRECIFLG                              #  DISENGAGE 4 TIME STEP LOGIC IN INTEG.
010323,001231: 13,2062           27133                                    INTEGRV                               
010324,001232: 13,2063           77614        NO-INT             CLRGO                                          
010325,001233: 13,2064           01236                                    NODOFLAG                              
010326,001234: 13,2065           26631                                    ENDINT                                
010327,001235: 
010328,001236: 
010329,001237:                                                                                                  #  THISVINT IS CALLED BY MIDTOAV1 AND2
010330,001238: 
010331,001239: 13,2066           43414        THISVINT           CLEAR    RVQ                                   

Page 244

010333,001241: 13,2067           01674                                    VINTFLAG                              

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