Source Code

These source-code files are part of a reconstructed copy of Luminary 96, the original release of the Apollo 11 Lunar Module (LM) Apollo Guidance Computer (AGC) software.

The reconstruction began with reconstructed source code for Luminary 97. Changes between revisions 96 and 97 were backed out, as described by anomal report LNY-59. transcribed from a digitized copy of that program. The reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152D. Note that page numbers in the reconstructed code match those on the Luminary 099 revision 001 printout, although the added code would likely have changed page numbers for a real Luminary 96 listing.

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.

008346,000002:                                                                                                  ## Copyright:   Public domain.
008347,000003:                                                                                                  ## Filename:    FRESH_START_AND_RESTART.agc
008348,000004:                                                                                                  ## Purpose:     A section of Luminary revision 96.
008349,000005:                                                                                                  ##              It is part of the reconstructed source code for the
008350,000006:                                                                                                  ##              original release of the flight software for the Lunar 
008351,000007:                                                                                                  ##              Module's (LM) Apollo Guidance Computer (AGC) for Apollo 11.
008352,000008:                                                                                                  ##              The code has been recreated from a previously reconstructed
008353,000009:                                                                                                  ##              copy of Luminary 97 by undoing changes described in anomaly
008354,000010:                                                                                                  ##              report LNY-59. The code has been adapted such that the
008355,000011:                                                                                                  ##              resulting bugger words exactly match those specified for
008356,000012:                                                                                                  ##              Luminary 96 in NASA drawing 2021152D, which gives relatively
008357,000013:                                                                                                  ##              high confidence that the reconstruction is correct.
008358,000014:                                                                                                  ## Reference:   pp. 211-237
008359,000015:                                                                                                  ## Assembler:   yaYUL
008360,000016:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
008361,000017:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
008362,000018:                                                                                                  ## Mod history: 2019-08-04 MAS  Created from Luminary 97.
008363,000019: 

Page 211

008365,000021: 10,2000                                           BANK     10                                    
008366,000022: 05,2000                                           SETLOC   FRANDRES                              
008367,000023: 05,2000                                           BANK                                           
008368,000024: 
008369,000025: 05,2447  E3,1400                                  EBANK=   LST1                                  
008370,000026: 
008371,000027: 05,2447                                           COUNT*   $$/START                              #  FRESH AND RESTART
008372,000028: 05,2447           00004        SLAP1              INHINT                                         #  FRESH START.  COMES HERE FROM PINBALL.
008373,000029: 05,2450           03107                           TC       STARTSUB                              #  SUBROUTINE DOES MOST OF THE WORK.
008374,000030: 
008375,000031: 05,2451           12456        STARTSW            TCF      SKIPSIM                               #  PATCH....TCF STARTSIM...FOR SIMULATION
008376,000032: 05,2452           34736        STARTSIM           CAF      BIT14                                 
008377,000033: 05,2453           05105                           TC       FINDVAC                               
008378,000034: 05,2454           77777        SIM2CADR           OCT      77777                                 #  PATCH 2CADR (AND EBANK DESIGNATION) OF
008379,000035: 05,2455           77777                           OCT      77777                                 #  SIMULATION START ADDRESS.
008380,000036: 
008381,000037: 05,2456           31036        SKIPSIM            CA       DSPTAB     +11D                       #  TURN OFF ALL DSPTAB +11D LAMPS
008382,000038: 05,2457           74771                           MASK     BITS4&6                               #  EXCEPT THE GIMBAL LOCK & NO ATT ONLY ON
008383,000039: 05,2460           64735                           AD       BIT15                                 #  REQUESTED FRESH START.
008384,000040: 05,2461           55036                           TS       DSPTAB     +11D                       
008385,000041: 
008386,000042: 05,2462           34740                           CA       BIT12                                 #  INITIALIZE DOWNLINK ERASABLE MEMORY
008387,000043: 05,2463           54333                           TS       DUMPCNT                               #  DUMP FOR ONE PASS.
008388,000044: 
008389,000045: 05,2464           34755                           CA       ZERO                                  
008390,000046: 05,2465           55365                           TS       ERCOUNT                               
008391,000047: 05,2466           54375                           TS       FAILREG                               
008392,000048: 05,2467           54376                           TS       FAILREG    +1                         
008393,000049: 05,2470           54377                           TS       FAILREG    +2                         
008394,000050: 05,2471           54320                           TS       REDOCTR                               
008395,000051: 
008396,000052: 05,2472           44644                           CS       PRIO12                                
008397,000053: 05,2473           55313                           TS       DSRUPTSW                              
008398,000054: 
008399,000055: 05,2474           34736        DOFSTART           CAF      BIT14                                 #  INSURE ENGINE IS OFF.
008400,000056: 05,2475           00006                           EXTEND                                         
008401,000057: 05,2476           01011                           WRITE    DSALMOUT                              
008402,000058: 05,2477           44755                           CS       ZERO                                  
008403,000059: 05,2500           54055                           TS       THRUST                                
008404,000060: 
008405,000061: 05,2501           34751        DOFSTRT1           CAF      FOUR                                  
008406,000062: 05,2502           55273                           TS       RCSFLAGS                              #  INITIALIZE ATTITUDE ERROR DISPLAYS.
008407,000063: 05,2503           34355                           CA       PRIO30                                
008408,000064: 05,2504           54366                           TS       RESTREG                               #  SUPER BANK PRIORITY FOR DISPLAYS.
008409,000065: 
008410,000066: 05,2505           34755                           CA       ZERO                                  
008411,000067: 05,2506           55246                           TS       ABDELV                                #  DAP INITIALIZATION
008412,000068: 05,2507           54371                           TS       NVSAVE                                
008413,000069: 05,2510           55072                           TS       EBANKTEM                              

Page 212

008415,000071: 05,2511           55262                           TS       CH5MASK                               
008416,000072: 05,2512           55263                           TS       CH6MASK                               
008417,000073: 05,2513           55276                           TS       PVALVEST                              #  FOR RCS FAILURE MONITOR
008418,000074: 05,2514           55360                           TS       ERESTORE                              #  ***** MUST NOT BE REMOVED FROM DOFSTART
008419,000075: 05,2515           55362                           TS       SMODE                                 #  ***** MUST NOT BE REMOVED FROM DOFSTART
008420,000076: 05,2516           54332                           TS       DNLSTCOD                              #  SELECT POO DOWNLIST
008421,000077: 05,2517           55324                           TS       AGSWORD                               #  ALLOW AGS INITIALIZATION
008422,000078: 05,2520           55501                           TS       UPSVFLAG                              #  ZERO UPDATE STATE VECTOR REQUEST FLAGWRD
008423,000079: 05,2521           00006                           EXTEND                                         
008424,000080: 05,2522           01005                           WRITE    CHAN5                                 #  TURN OFF RCS JETS.
008425,000081: 05,2523           00006                           EXTEND                                         
008426,000082: 05,2524           01006                           WRITE    CHAN6                                 #  TURN OFF RCS JETS.
008427,000083: 05,2525           00006                           EXTEND                                         
008428,000084: 05,2526           01012                           WRITE    CHAN12                                
008429,000085: 05,2527           00006                           EXTEND                                         
008430,000086: 05,2530           01013                           WRITE    CHAN13                                
008431,000087: 05,2531           00006                           EXTEND                                         
008432,000088: 05,2532           01014                           WRITE    CHAN14                                
008433,000089: 05,2533           41036                           CS       DSPTAB     +11D                       
008434,000090: 05,2534           74771                           MASK     BITS4&6                               
008435,000091: 05,2535           10000                           CCS      A                                     
008436,000092: 05,2536           02542                           TC       +4                                    
008437,000093: 05,2537           34771                           CA       BITS4&6                               
008438,000094: 05,2540           00006                           EXTEND                                         #  THE IMU WAS IN COARSE ALIGN IN GIMBAL
008439,000095: 05,2541           05012                           WOR      CHAN12                                #  LOCK, SO PUT IT BACK INTO COARSE ALIGN.
008440,000096: 05,2542           02643                 +4        TC       MR.KLEAN                              
008441,000097: 
008442,000098: 05,2543           44755                           CS       ZERO                                  
008443,000099: 05,2544           55011                           TS       MODREG                                
008444,000100: 
008445,000101: 05,2545           33362                           CAF      IM30INIF                              #  FRESH START IMU INITIALIZATION.
008446,000102: 05,2546           55302                           TS       IMODES30                              
008447,000103: 
008448,000104: 05,2547           33067                           CAF      MAXDB                                 
008449,000105: 05,2550           55346                           TS       DB                                    
008450,000106: 05,2551           34751                           CAF      FOUR                                  
008451,000107: 05,2552           55325                           TS       RATEINDX                              #  INITIALIZE KALCMANU RATE
008452,000108: 05,2553           33063                           CA       BOOLSTRT                              
008453,000109: 05,2554           54111                           TS       DAPBOOLS                              
008454,000110: 05,2555           35015                           CAF      EBANK6                                
008455,000111: 05,2556           54003                           TS       EBANK                                 
008456,000112: 05,2557  E6,1400                                  EBANK=   HIASCENT                              
008457,000113: 
008458,000114: 05,2557           33060                           CA       STIKSTRT                              
008459,000115: 05,2560           55444                           TS       STIKSENS                              
008460,000116: 05,2561           33061                           CA       RATESTRT                              
008461,000117: 05,2562           55476                           TS       -RATEDB                               
008462,000118: 05,2563           32000                           CAF      FULLAPS                               #  INITIALIZE MAXIMUM ASCENT MASS FOR USE
008463,000119: 05,2564           55400                           TS       HIASCENT                              #    BY 1/ACCS UNTIL THE PAD LOAD IS DONE.
008464,000120: 05,2565           33064                           CA       77001OCT                              #      LOAD DAP FILTER GAINS PAD LOAD

Page 213

008466,000122: 05,2566           55403                           TS       DKTRAP                                #        TO BEST PRESENT ESTIMATE OF GOODIES
008467,000123: 05,2567           55406                           TS       LMTRAP                                #  .14 DEG
008468,000124: 05,2570           33065                           CA       60DEC                                 
008469,000125: 05,2571           55405                           TS       DKKAOSN                               
008470,000126: 05,2572           55410                           TS       LMKAOSN                               #  6 SEC GAIN FOR ALPHA
008471,000127: 05,2573           34755                           CA       ZERO                                  
008472,000128: 05,2574           55407                           TS       LMOMEGAN                              #  UNITY GAIN
008473,000129: 05,2575           34363                           CA       TEN                                   
008474,000130: 05,2576           55404                           TS       DKOMEGAN                              #  1 SEC GAIN FOR OMEGA
008475,000131: 05,2577           34744                           CAF      BIT8                                  #  SET DOCKED DB TO 1.4 DEG.  MAY OVERWRITE
008476,000132: 05,2600           55411                           TS       DKDB                                  #        WITH PAD LOAD.
008477,000133: 05,2601           35026                           CAF      IM33INIT                              
008478,000134: 05,2602           64746                           AD       BIT6                                  #  KEEP BOTH DAP AND ERROR-NEEDLES DISPLAY
008479,000135: 05,2603           55303                           TS       IMODES33                              #        OFF UNTIL ICDU ZERO IS FINISHED.
008480,000136: 
008481,000137: 05,2604           00006                           EXTEND                                         #  INITIALIZE SWITCHES ONLY ON FRESH START.
008482,000138: 05,2605           33367                           DCA      SWINIT                                
008483,000139: 05,2606           52075                           DXCH     STATE                                 
008484,000140: 05,2607           33370                           CA       SWINIT     +2                         
008485,000141: 05,2610           54076                           TS       STATE      +2                         
008486,000142: 05,2611           34737                           CA       REFSMBIT                              #  DO NOT ALTER REFSMFLG ON FRESH START.
008487,000143: 05,2612           70077                           MASK     STATE      +3                         
008488,000144: 05,2613           63371                           AD       SWINIT     +3                         
008489,000145: 05,2614           54077                           TS       STATE      +3                         
008490,000146: 05,2615           00006                           EXTEND                                         
008491,000147: 05,2616           33373                           DCA      SWINIT     +4                         
008492,000148: 05,2617           52101                           DXCH     STATE      +4                         
008493,000149: 05,2620           00006                           EXTEND                                         
008494,000150: 05,2621           33375                           DCA      SWINIT     +6                         
008495,000151: 05,2622           52103                           DXCH     STATE      +6                         
008496,000152: 05,2623           34744                           CA       SURFFBIT                              #  DO NOT ALTER  SURFFLAG ON FRESH START.
008497,000153: 05,2624           64740                           AD       CMOONBIT                              #                CMOONFLG
008498,000154: 05,2625           64741                           AD       LMOONBIT                              #                LMOONFLG
008499,000155: 05,2626           70104                           MASK     STATE      +8D                        
008500,000156: 05,2627           63376                           AD       SWINIT     +8D                        
008501,000157: 05,2630           54104                           TS       STATE      +8D                        
008502,000158: 05,2631           33377                           CA       SWINIT     +9D                        
008503,000159: 05,2632           54105                           TS       STATE      +9D                        
008504,000160: 05,2633           34737                           CA       APSFLBIT                              #  DO NOT ALTER APSFLAG ON FRESH START.
008505,000161: 05,2634           70106                           MASK     STATE      +10D                       
008506,000162: 05,2635           63400                           AD       SWINIT     +10D                       
008507,000163: 05,2636           54106                           TS       STATE      +10D                       
008508,000164: 05,2637           33401                           CAF      SWINIT     +11D                       
008509,000165: 05,2640           54107                           TS       STATE      +11D                       
008510,000166: 
008511,000167: 05,2641           04635        ENDRSTRT           TC       POSTJUMP                              #  NOW IN ANOTHER BANK.
008512,000168: 05,2642           03210                           CADR     DUMMYJOB   +2                         #  PICKS UP AT RELINT.   (DONT ZERO NEWJOB)
008513,000169: 
008514,000170: 05,2643           00004        MR.KLEAN           INHINT                                         

Page 214

008516,000172: 05,2644           00006                           EXTEND                                         
008517,000173: 05,2645           34755                           DCA      NEG0                                  
008518,000174: 05,2646           52755                           DXCH     -PHASE2                               
008519,000175: 05,2647           00006        P00KLEAN           EXTEND                                         
008520,000176: 05,2650           34755                           DCA      NEG0                                  
008521,000177: 05,2651           52761                           DXCH     -PHASE4                               
008522,000178: 05,2652           00006        V37KLEAN           EXTEND                                         
008523,000179: 05,2653           34755                           DCA      NEG0                                  
008524,000180: 05,2654           52753                           DXCH     -PHASE1                               
008525,000181: 05,2655           00006                           EXTEND                                         
008526,000182: 05,2656           34755                           DCA      NEG0                                  
008527,000183: 05,2657           52757                           DXCH     -PHASE3                               
008528,000184: 05,2660           00006                           EXTEND                                         
008529,000185: 05,2661           34755                           DCA      NEG0                                  
008530,000186: 05,2662           52763                           DXCH     -PHASE5                               
008531,000187: 05,2663           00006                           EXTEND                                         
008532,000188: 05,2664           34755                           DCA      NEG0                                  
008533,000189: 05,2665           52765                           DXCH     -PHASE6                               
008534,000190: 05,2666           00002                           TC       Q                                     
008535,000191: 

Page 215

008537,000193:                                                                                                  #  COMES HERE FROM LOCATION 4000, GOJAM. RESTART ANY PROGRAMS WHICH MAY HAVE BEEN RUNNING AT THE TIME
008538,000194: 
008539,000195: 05,2667  E3,1400                                  EBANK=   LST1                                  
008540,000196: 05,2667           24320        GOPROG             INCR     REDOCTR                               #  ADVANCE RESTART COUNTER.
008541,000197: 
008542,000198: 05,2670           22002                           LXCH     Q                                     
008543,000199: 05,2671           00006                           EXTEND                                         
008544,000200: 05,2672           04007                           ROR      SUPERBNK                              
008545,000201: 05,2673           53433                           DXCH     RSBBQ                                 
008546,000202: 05,2674           31036                           CA       DSPTAB     +11D                       
008547,000203: 05,2675           74750                           MASK     BIT4                                  
008548,000204: 05,2676           00006                           EXTEND                                         
008549,000205: 05,2677           12703                           BZF      +4                                    
008550,000206: 05,2700           64746                           AD       BIT6                                  #  SET ERROR COUNTER ENABLE
008551,000207: 05,2701           00006                           EXTEND                                         
008552,000208: 05,2702           05012                           WOR      CHAN12                                #  ISS WAS IN COARS ALIGN SO GO BACK TO
008553,000209: 05,2703           03070        BUTTONS            TC       LIGHTSET                              
008554,000210: 
008555,000211:                                                                                                  #  ERASCHK TEMPORARILY STORES THE CONTENTS OF TWO ERASABLE LOCATIONS, X
008556,000212:                                                                                                  #  AND X+1 INTO SKEEP5 AND SKEEP6.  IT ALSO STORES X INTO SKEEP7 AND
008557,000213:                                                                                                  #  ERESTORE.  IF ERASCHK IS INTERRUPTED BY A RESTART, C(ERESTORE) SHOULD
008558,000214:                                                                                                  #  EQUAL C(SKEEP7), AND BE A + NUMBER LESS THAN 2000 OCT.  OTHERWISE
008559,000215:                                                                                                  #  C(ERESTORE) SHOULD EQUAL +0.
008560,000216: 
008561,000217: 05,2704           34350                           CAF      HI5                                   
008562,000218: 05,2705           71360                           MASK     ERESTORE                              
008563,000219: 05,2706           00006                           EXTEND                                         
008564,000220: 05,2707           12711                           BZF      +2                                    #  IF ERESTORE NOT = +0 OR +N LESS THAN 2K,
008565,000221: 05,2710           13105                           TCF      NONAVKEY   +3                         #  DO FRESH START - E MEMORY MIGHT BE BAD
008566,000222: 05,2711           41360                           CS       ERESTORE                              
008567,000223: 05,2712           00006                           EXTEND                                         
008568,000224: 05,2713           12730                           BZF      DORSTART                              #  = +0 CONTINUE WITH RESTART.
008569,000225: 05,2714           61377                           AD       SKEEP7                                
008570,000226: 05,2715           00006                           EXTEND                                         
008571,000227: 05,2716           12720                           BZF      +2                                    #  = SKEEP7, RESTORE E MEMORY.
008572,000228: 05,2717           13105                           TCF      NONAVKEY   +3                         #  DO FRESH START - E MEMORY MIGHT BE BAD
008573,000229: 05,2720           31374                           CA       SKEEP4                                
008574,000230: 05,2721           54003                           TS       EBANK                                 #  EBANK OF E MEMORY THAT WAS UNDER TEST.
008575,000231: 05,2722           00006                           EXTEND                                         #  (NOT DXCH SINCE THIS MIGHT HAPPEN AGAIN)
008576,000232: 05,2723           31376                           DCA      SKEEP5                                
008577,000233: 05,2724           51377                           INDEX    SKEEP7                                
008578,000234: 05,2725           52001                           DXCH     0000                                  #  E MEMORY RESTORED.
008579,000235: 05,2726           34755                           CA       ZERO                                  
008580,000236: 05,2727           55360                           TS       ERESTORE                              
008581,000237: 05,2730           03107        DORSTART           TC       STARTSUB                              #  DO INITIALIZATION AFTER ERASE RESTORE.
008582,000238: 
008583,000239: 05,2731           44736        SETINFL            CS       INTFLBIT                              
008584,000240: 05,2732           70106                           MASK     FLGWRD10                              
008585,000241: 05,2733           54106                           TS       FLGWRD10                              

Page 216

008587,000243: 05,2734           33364                           CA       9,6,4                                 #  LEAVE PROG ALARM, GIMBAL LOCK, NO ATT
008588,000244: 05,2735           71036                           MASK     DSPTAB     +11D                       #  LAMPS INTACT ON HARDWARE RESTART
008589,000245: 05,2736           64735                           AD       BIT15                                 
008590,000246: 05,2737           57036                           XCH      DSPTAB     +11D                       
008591,000247: 05,2740           33350                           CAF      IFAILINH                              #  LEAVE IMU FAILURE INHIBITS INTACT ON
008592,000248: 05,2741           71302                           MASK     IMODES30                              #  HARDWARE RESTART. RESET ALL FAILURE
008593,000249: 05,2742           63363                           AD       IM30INIR                              #  CODES.
008594,000250: 05,2743           55302                           TS       IMODES30                              
008595,000251: 
008596,000252: 05,2744           31324                           CA       AGSWORD                               #  BE SURE OF CORRECT DOWNLIST
008597,000253: 05,2745           54332                           TS       DNLSTCOD                              
008598,000254: 
008599,000255: 05,2746           34750                           CA       BIT4                                  #  TURN ON THROTTLE COUNTER
008600,000256: 05,2747           00006                           EXTEND                                         
008601,000257: 05,2750           05014                           WOR      CHAN14                                #  TURN ON THRUST DRIVE
008602,000258: 05,2751           40101                           CS       FLAGWRD5                              
008603,000259: 05,2752           74745                           MASK     ENGONBIT                              
008604,000260: 05,2753           10000                           CCS      A                                     
008605,000261: 05,2754           12761                           TCF      +5                                    
008606,000262: 05,2755           34737                           CAF      BIT13                                 
008607,000263: 05,2756           00006                           EXTEND                                         
008608,000264: 05,2757           05011                           WOR      DSALMOUT                              #  TURN ENGINE ON
008609,000265: 05,2760           12775                           TCF      GOPROG3                               
008610,000266: 05,2761           34736                 +5        CAF      BIT14                                 
008611,000267: 05,2762           00006                           EXTEND                                         
008612,000268: 05,2763           05011                           WOR      DSALMOUT                              #  TURN ENGINE OFF.
008613,000269: 05,2764           12775                           TCF      GOPROG3                               
008614,000270: 
008615,000271: 05,2765           00004        ENEMA              INHINT                                         
008616,000272: 05,2766           03124                           TC       STARTSB1                              
008617,000273: 05,2767           12771                           TCF      GOPROG2A                              
008618,000274: 05,2770           03146        GOPROG2            TC       STARTSB2                              
008619,000275: 05,2771           03070        GOPROG2A           TC       LIGHTSET                              
008620,000276: 05,2772           43066                           CS       RSFLGBTS                              #  CLEAR BITS 7 AND 14.
008621,000277: 05,2773           70106                           MASK     FLGWRD10                              
008622,000278: 05,2774           54106                           TS       FLGWRD10                              
008623,000279: 
008624,000280: 05,2775           34756        GOPROG3            CAF      NUMGRPS                               #  VERIFY PHASE TABLE AGREEMENTS
008625,000281: 05,2776           54161        PCLOOP             TS       MPAC       +5                         
008626,000282: 05,2777           60000                           DOUBLE                                         
008627,000283: 05,3000           00006                           EXTEND                                         
008628,000284: 05,3001           50000                           INDEX    A                                     
008629,000285: 05,3002           30753                           DCA      -PHASE1                               #  COMPLEMENT INTO A, DIRECT INTO L.
008630,000286: 05,3003           00006                           EXTEND                                         
008631,000287: 05,3004           06001                           RXOR     LCHAN                                 #  RESULT MUST BE -0 FOR AGREEMENT.
008632,000288: 05,3005           10000                           CCS      A                                     
008633,000289: 05,3006           13054                           TCF      PTBAD                                 #  RESTART FAILURE.
008634,000290: 05,3007           13054                           TCF      PTBAD                                 
008635,000291: 05,3010           13054                           TCF      PTBAD                                 

Page 217

008637,000293: 05,3011           10161                           CCS      MPAC       +5                         #  PROCESS ALL RESTART GROUPS.
008638,000294: 05,3012           12776                           TCF      PCLOOP                                
008639,000295: 
008640,000296: 05,3013           54162                           TS       MPAC       +6                         #  SET TO +0.
008641,000297: 05,3014           05315                           TC       MMDSPLAY                              #  DISPLAY MAJOR MODE
008642,000298: 
008643,000299: 05,3015           00004                           INHINT                                         #  RELINT DONE IN MMDSPLAY
008644,000300: 
008645,000301: 05,3016           44736                           CS       DIDFLBIT                              #  CLEAR DIDFLAG IN ORDER TO FORCE R10 TO
008646,000302: 05,3017           70075                           MASK     FLAGWRD1                              #  RE-INITIALIZE ITSELF IF IT HAD BEEN
008647,000303: 05,3020           54075                           TS       FLAGWRD1                              #  OPERATING AT THE TIME OF THE RESTART.
008648,000304: 
008649,000305: 05,3021           44740                           CS       RODFLBIT                              #  CLEAR RODFLAG.  IF P66 IS IN OPERATION
008650,000306: 05,3022           70075                           MASK     FLAGWRD1                              #        IT WILL RE-INITIALIZE ITSELF AND
008651,000307: 05,3023           54075                           TS       FLAGWRD1                              #        CONTINUE.
008652,000308: 
008653,000309: 05,3024           44741                           CS       P21FLBIT                              #  CLEAR P21 FLAG SO THAT P21 WILL COMPUTE
008654,000310: 05,3025           70074                           MASK     FLAGWRD0                              #  NEW BASE STATE VECTORS.
008655,000311: 05,3026           54074                           TS       FLAGWRD0                              
008656,000312: 
008657,000313: 05,3027           34756                           CAF      NUMGRPS                               #  SEE IF ANY GROUPS RUNNING.
008658,000314: 05,3030           54161        NXTRST             TS       MPAC       +5                         
008659,000315: 05,3031           60000                           DOUBLE                                         
008660,000316: 05,3032           50000                           INDEX    A                                     
008661,000317: 05,3033           10753                           CCS      PHASE1                                
008662,000318: 05,3034           13036                           TCF      PACTIVE                               #  PNZ - GROUP ACTIVE.
008663,000319: 05,3035           13043                           TCF      PINACT                                #  +0 - GROUP NOT RUNNING.
008664,000320: 
008665,000321: 05,3036           54154        PACTIVE            TS       MPAC                                  
008666,000322: 05,3037           24154                           INCR     MPAC                                  #  ABS OF PHASE.
008667,000323: 05,3040           24162                           INCR     MPAC       +6                         #  INDICATE GROUP DEMANDS PRESENT.
008668,000324: 05,3041           33062                           CA       RACTCADR                              
008669,000325: 05,3042           04622                           TC       SWCALL                                #  MUST RETURN TO SWRETURN.
008670,000326: 
008671,000327: 05,3043           10161        PINACT             CCS      MPAC       +5                         #  PROCESS ALL RESTART GROUPS.
008672,000328: 05,3044           13030                           TCF      NXTRST                                
008673,000329: 
008674,000330: 05,3045           10162                           CCS      MPAC       +6                         #  NO, CHECK PHASE ACTIVITY FLAG
008675,000331: 05,3046           12641                           TCF      ENDRSTRT                              #  PHASE ACTIVE
008676,000332: 05,3047           34735                           CAF      BIT15                                 #  IS MODE -0
008677,000333: 05,3050           71011                           MASK     MODREG                                
008678,000334: 05,3051           00006                           EXTEND                                         
008679,000335: 05,3052           16001                           BZF      GOTOPOOH                              #  NO
008680,000336: 05,3053           12641                           TCF      ENDRSTRT                              #  YES
008681,000337: 05,3054           05567        PTBAD              TC       ALARM                                 #  SET ALARM TO SHOW PHASE TABLE FAILURE.
008682,000338: 05,3055           01107                           OCT      1107                                  
008683,000339: 
008684,000340: 05,3056           12501                           TCF      DOFSTRT1                              
008685,000341:                                                                                                  # ******** ****** ******

Page 218

008687,000343:                                                                                                  #  DO NOT USE GOPROG2 OR ENEMA WITHOUT CONSULTING POOH PEOPLE
008688,000344: 
008689,000345: 05,3057     4737               OCT10000           =        BIT13                                 
008690,000346: 05,3057     4355               OCT30000           =        PRIO30                                
008691,000347: 05,3057           07777        OCT7777            OCT      7777                                  
008692,000348: 05,3060           32321        STIKSTRT           DEC      0.825268                              #  20 D/S MAXIMUM COMMANDED RATE
008693,000349: 05,3061           77445        RATESTRT           DEC      -218       B-14                       
008694,000350: 05,3062           03526        RACTCADR           CADR     RESTARTS                              
008695,000351: 05,3063           21312        BOOLSTRT           OCT      21312                                 
008696,000352: 05,3064           77001        77001OCT           OCT      77001                                 #  .14 DEG SCALED AT 4.5 DEG
008697,000353: 05,3065           00074        60DEC              DEC      60         B-14                       
008698,000354: 05,3066           20100        RSFLGBTS           OCT      20100                                 
008699,000355: 05,3067           03434        MAXDB              OCTAL    03434                                 #  5 DEG ATTITUDE DEADBAND, SCALED AT 45.
008700,000356: 
008701,000357: 05,3070           34747        LIGHTSET           CAF      BIT5                                  #  CHECK FOR MARK REJECT AND ERROR RESET
008702,000358: 05,3071           00006                           EXTEND                                         
008703,000359: 05,3072           02016                           RAND     NAVKEYIN                              
008704,000360: 05,3073           00006                           EXTEND                                         
008705,000361: 05,3074           13102                           BZF      NONAVKEY                              #  NO MARK REJECT
008706,000362: 05,3075           00006                           EXTEND                                         
008707,000363: 05,3076           00015                           READ     MNKEYIN                               #  CHECK IF KEYS 2M AND 5M ON
008708,000364: 05,3077           63361                           AD       -ELR                                  #  MAIN DSKY KEYCODE (BITS 1-5)
008709,000365: 05,3100           00006                           EXTEND                                         
008710,000366: 05,3101           13103                           BZF      +2                                    
008711,000367: 
008712,000368: 05,3102           00002        NONAVKEY           TC       Q                                     
008713,000369: 
008714,000370: 05,3103           03107                           TC       STARTSUB                              
008715,000371: 05,3104           12474                           TCF      DOFSTART                              
008716,000372: 05,3105           03107                 +3        TC       STARTSUB                              
008717,000373: 05,3106           12501                           TCF      DOFSTRT1                              #  DO FRESH START BUT DON'T TOUCH ENGINE
008718,000374: 

Page 219

008720,000376:                                                                                                  #  INITIALIZATION COMMON TO BOTH FRESH START AND RESTART.
008721,000377: 
008722,000378: 05,3107  E6,1537                                  EBANK=   AOSQ                                  
008723,000379: 05,3107           33351        STARTSUB           CAF      LDNPHAS1                              #  SET POINTER SO NEXT 20MS DOWNRUPT WILL
008724,000380: 05,3110           54335                           TS       DNTMGOTO                              #  CAUSE THE CURRENT DOWNLIST TO BE
008725,000381:                                                                                                  #  INTERRUPTED AND START SENDING FROM THE
008726,000382:                                                                                                  #  BEGINNING OF THE CURRENT DOWNLIST.
008727,000383: 05,3111           34746                           CAF      BIT6                                  
008728,000384: 05,3112           00006                           EXTEND                                         
008729,000385: 05,3113           02033                           RAND     CHAN33                                
008730,000386: 05,3114           63365                           AD       RMODINIT                              
008731,000387: 05,3115           54110                           TS       RADMODES                              
008732,000388: 
008733,000389: 05,3116           34733                           CAF      POSMAX                                
008734,000390: 05,3117           54026                           TS       TIME3                                 
008735,000391: 05,3120           67746                           AD       MINUS2                                
008736,000392: 05,3121           54027                           TS       TIME4                                 
008737,000393: 05,3122           67747                           AD       NEGONE                                
008738,000394: 05,3123           54030                           TS       TIME5                                 
008739,000395: 
008740,000396: 05,3124           35015        STARTSB1           CAF      EBANK6                                
008741,000397: 05,3125           54003                           TS       EBANK                                 
008742,000398: 
008743,000399: 05,3126           44737                           CS       BIT13                                 #  CAUSE DAPIDLER TO CALL 1/ACCS
008744,000400: 05,3127           71273                           MASK     RCSFLAGS                              
008745,000401: 05,3130           55273                           TS       RCSFLAGS                              #  ZERO BIT 13
008746,000402: 05,3131           34733                           CAF      POSMAX                                #  DISABLE TIME6 CLOCK.  JUST IN CASE A T6
008747,000403: 05,3132           55466                           TS       T6NEXT                                #        RUPT IS ALREADY IN THE PRIORITY CHAIN,
008748,000404: 05,3133           00006                           EXTEND                                         #        ENSURE THAT IT'S INPUTS WILL RENDER IT
008749,000405: 05,3134           03013                           WAND     CHAN13                                #        INEFFECTUAL.
008750,000406: 05,3135           34755                           CAF      ZERO                                  
008751,000407: 05,3136           55465                           TS       NXT6ADR                               
008752,000408: 05,3137           55472                           TS       NEXTP                                 
008753,000409: 
008754,000410: 05,3140           44751                           CS       ACCSOKAY                              
008755,000411: 05,3141           70111                           MASK     DAPBOOLS                              
008756,000412: 05,3142           54111                           TS       DAPBOOLS                              
008757,000413: 
008758,000414: 05,3143           00006                           EXTEND                                         #  SET T5RUPT FOR DAPIDLER PROGRAM.
008759,000415: 05,3144           33347                           DCA      IDLEADR                               
008760,000416: 05,3145           53275                           DXCH     T5ADR                                 
008761,000417: 
008762,000418: 05,3146           33360        STARTSB2           CAF      OCT30001                              #  DURING SOFTWARE RESTART, DO NOT DISTURB
008763,000419: 05,3147           00006                           EXTEND                                         #  ENGINE ON, OFF AND ISS WARNING.
008764,000420: 05,3150           03011                           WAND     DSALMOUT                              
008765,000421: 
008766,000422: 05,3151           44743                           CS       READRBIT                              #  CLEAR READRFLG FOR R29.
008767,000423: 05,3152           70077                           MASK     FLAGWRD3                              
008768,000424: 05,3153           54077                           TS       FLAGWRD3                              

Page 220

008770,000426: 
008771,000427: 05,3154           40077                           CS       FLAGWRD3                              #  DURING SOFTWARE RESTART, CLEAR TURNON,
008772,000428: 05,3155           74741                           MASK     NR29FBIT                              #  REPOSITION, CDU ZERO AND REMODE BITS
008773,000429: 05,3156           00006                           EXTEND                                         #  IN RADMODES, SINCE TASKS ASSOCIATED
008774,000430: 05,3157           13161                           BZF      +2                                    #  WITH THESE BITS HAVE BEEN KILLED
008775,000431: 05,3160           34742                           CAF      BIT10                                 #  ALSO IF R29 HAD BEEN REQUESTED,
008776,000432: 05,3161           63354                           AD       OCT32001                              #  (NOR29FLG = 0) CLEAR BIT 10 RADMODES
008777,000433: 05,3162           40000                           COM                                            #  TO MAKE R29 FORGET IT HAD STARTED
008778,000434: 05,3163           70110                           MASK     RADMODES                              #  DESIGNATING
008779,000435: 05,3164           54110                           TS       RADMODES                              
008780,000436: 05,3165           33356                           CAF      OCT27470                              #  DURING SOFTWARE RESTART, DO NOT DISTURB
008781,000437: 05,3166           00006                           EXTEND                                         #  IMU FLAGS.  (COURSE ALIGN ENABLE, ZERO
008782,000438: 05,3167           03012                           WAND     CHAN12                                #  IMU CDUS, ENABLE IMU COUNTER) AND GIMBAL
008783,000439:                                                                                                  #  TRIM DRIVES.  LEAVE RR LOCKON ENABLE
008784,000440:                                                                                                  #  ALONE.
008785,000441: 
008786,000442: 05,3170           44750                           CS       NORRMBIT                              #  ENABLE R25.
008787,000443: 05,3171           70101                           MASK     FLAGWRD5                              
008788,000444: 05,3172           54101                           TS       FLAGWRD5                              
008789,000445: 
008790,000446: 05,3173           44741                           CS       R77FLBIT                              #  CLEAR R77FLAG
008791,000447: 05,3174           70101                           MASK     FLAGWRD5                              
008792,000448: 05,3175           54101                           TS       FLAGWRD5                              
008793,000449: 05,3176           33357                           CAF      OCT74160                              #  DURING SOFTWARE RESTART, DO NOT DUSTURB
008794,000450: 05,3177           00006                           EXTEND                                         #  TELEMETRY FLAGS, RESET TRAP FLAGS, AND
008795,000451: 05,3200           03013                           WAND     CHAN13                                #  ENABLE T6RUPT FLAG.
008796,000452: 
008797,000453: 05,3201           34740                           CAF      BIT12                                 #  REENABLE RUPT10 (RUPT QUICKLY
008798,000454: 05,3202           00006                           EXTEND                                         #        RESUMES EXCEPT DURING P64)
008799,000455: 05,3203           05013                           WOR      CHAN13                                
008800,000456: 
008801,000457: 05,3204           34746                           CAF      BIT6                                  #  DURING SOFTWARE RESTART, DO NOT DISTURB
008802,000458: 05,3205           00006                           EXTEND                                         #  GYRO ENABLE FLAG.
008803,000459: 05,3206           03014                           WAND     CHAN14                                
008804,000460: 
008805,000461: 05,3207  E3,1400                                  EBANK=   LST1                                  
008806,000462: 05,3207           35007                           CAF      STARTEB                               
008807,000463: 05,3210           54003                           TS       EBANK                                 #  SET FOR E3
008808,000464: 
008809,000465: 05,3211           34734                           CAF      NEG1/2                                #  INITIALIZE WAITLIST DELTA-TS.
008810,000466: 05,3212           55407                           TS       LST1       +7                         
008811,000467: 05,3213           55406                           TS       LST1       +6                         
008812,000468: 05,3214           55405                           TS       LST1       +5                         
008813,000469: 05,3215           55404                           TS       LST1       +4                         
008814,000470: 05,3216           55403                           TS       LST1       +3                         
008815,000471: 05,3217           55402                           TS       LST1       +2                         
008816,000472: 05,3220           55401                           TS       LST1       +1                         
008817,000473: 05,3221           55400                           TS       LST1                                  
008818,000474: 
008819,000475: 05,3222           45236                           CS       ENDTASK                               
008820,000476: 05,3223           55410                           TS       LST2                                  

Page 221

008822,000478: 05,3224           55412                           TS       LST2       +2                         
008823,000479: 05,3225           55414                           TS       LST2       +4                         
008824,000480: 05,3226           55416                           TS       LST2       +6                         
008825,000481: 05,3227           55420                           TS       LST2       +8D                        
008826,000482: 05,3230           55422                           TS       LST2       +10D                       
008827,000483: 05,3231           55424                           TS       LST2       +12D                       
008828,000484: 05,3232           55426                           TS       LST2       +14D                       
008829,000485: 05,3233           55430                           TS       LST2       +16D                       
008830,000486: 05,3234           45237                           CS       ENDTASK    +1                         
008831,000487: 05,3235           55411                           TS       LST2       +1                         
008832,000488: 05,3236           55413                           TS       LST2       +3                         
008833,000489: 05,3237           55415                           TS       LST2       +5                         
008834,000490: 05,3240           55417                           TS       LST2       +7                         
008835,000491: 05,3241           55421                           TS       LST2       +9D                        
008836,000492: 05,3242           55423                           TS       LST2       +11D                       
008837,000493: 05,3243           55425                           TS       LST2       +13D                       
008838,000494: 05,3244           55427                           TS       LST2       +15D                       
008839,000495: 05,3245           55431                           TS       LST2       +17D                       
008840,000496: 
008841,000497: 05,3246           44755                           CS       ZERO                                  #  MAKE ALL EXECUTIVE REGISTER SETS
008842,000498: 05,3247           54167                           TS       PRIORITY                              #  AVAILABLE.
008843,000499: 05,3250           54203                           TS       PRIORITY   +12D                       
008844,000500: 05,3251           54217                           TS       PRIORITY   +24D                       
008845,000501: 05,3252           54233                           TS       PRIORITY   +36D                       
008846,000502: 05,3253           54247                           TS       PRIORITY   +48D                       
008847,000503: 05,3254           54263                           TS       PRIORITY   +60D                       
008848,000504: 05,3255           54277                           TS       PRIORITY   +72D                       
008849,000505: 05,3256           54313                           TS       PRIORITY   +84D                       
008850,000506: 
008851,000507: 05,3257           55313                           TS       DSRUPTSW                              
008852,000508: 05,3260           54067                           TS       NEWJOB                                #  SHOWS NO ACTIVE JOBS.
008853,000509: 
008854,000510: 05,3261           33353                           CAF      VAC1ADRC                              #  MAKE ALL VAC AREAS AVAILABLE.
008855,000511: 05,3262           54400                           TS       VAC1USE                               
008856,000512: 05,3263           63355                           AD       LTHVACA                               
008857,000513: 05,3264           54454                           TS       VAC2USE                               
008858,000514: 05,3265           63355                           AD       LTHVACA                               
008859,000515: 05,3266           54530                           TS       VAC3USE                               
008860,000516: 05,3267           63355                           AD       LTHVACA                               
008861,000517: 05,3270           54604                           TS       VAC4USE                               
008862,000518: 05,3271           63355                           AD       LTHVACA                               
008863,000519: 05,3272           54660                           TS       VAC5USE                               
008864,000520: 
008865,000521: 05,3273           34363                           CAF      TEN                                   
008866,000522: 05,3274           54154        DSPOFF             TS       MPAC                                  #  R1, R2, R3).
008867,000523: 05,3275           44740                           CS       BIT12                                 
008868,000524: 05,3276           50154                           INDEX    MPAC                                  
008869,000525: 05,3277           55023                           TS       DSPTAB                                
008870,000526: 05,3300           10154                           CCS      MPAC                                  
008871,000527: 05,3301           13274                           TCF      DSPOFF                                
008872,000528: 

Page 222

008874,000530: 05,3302           55326                           TS       DELAYLOC                              
008875,000531: 05,3303           55327                           TS       DELAYLOC   +1                         
008876,000532: 05,3304           55330                           TS       DELAYLOC   +2                         
008877,000533: 05,3305           55074                           TS       R1SAVE                                
008878,000534: 05,3306           54045                           TS       INLINK                                
008879,000535: 05,3307           54776                           TS       DSPCNT                                
008880,000536: 05,3310           55042                           TS       CADRSTOR                              
008881,000537: 05,3311           55013                           TS       REQRET                                
008882,000538: 05,3312           55015                           TS       CLPASS                                
008883,000539: 05,3313           55012                           TS       DSPLOCK                               
008884,000540: 05,3314           55020                           TS       MONSAVE                               #  KILL MONITOR
008885,000541: 05,3315           55021                           TS       MONSAVE1                              
008886,000542: 05,3316           55001                           TS       VERBREG                               
008887,000543: 05,3317           55002                           TS       NOUNREG                               
008888,000544: 05,3320           55043                           TS       DSPLIST                               
008889,000545: 05,3321           55312                           TS       MARKSTAT                              
008890,000546: 05,3322           55044                           TS       EXTVBACT                              #  MAKE EXTENDED VERBS AVAILABLE
008891,000547: 05,3323           55304                           TS       IMUCADR                               
008892,000548: 05,3324           55305                           TS       OPTCADR                               
008893,000549: 05,3325           55306                           TS       RADCADR                               
008894,000550: 05,3326           55307                           TS       ATTCADR                               
008895,000551: 05,3327           55314                           TS       LGYRO                                 
008896,000552: 05,3330           54100                           TS       FLAGWRD4                              #  KILL INTERFACE DISPLAYS
008897,000553: 05,3331           34760                           CAF      NOUTCON                               
008898,000554: 05,3332           55016                           TS       NOUT                                  
008899,000555: 
008900,000556: 05,3333           44753                           CS       ONE                                   
008901,000557: 05,3334           55100                           TS       SAMPLIM                               
008902,000558: 05,3335           34746                           CAF      BIT6                                  
008903,000559: 05,3336           71303                           MASK     IMODES33                              #  LEAVE BIT 6 UNCHANGED
008904,000560: 05,3337           65026                           AD       IM33INIT                              #  NO PIP OR TM FAILS.  BIT6=0 IN THIS WORD.
008905,000561: 05,3340           55303                           TS       IMODES33                              
008906,000562: 
008907,000563: 05,3341           33352                           CAF      LESCHK                                #  SELF CHECK GO-TO REGISTER.
008908,000564: 05,3342           55361                           TS       SELFRET                               
008909,000565: 
008910,000566: 05,3343           44360                           CS       VD1                                   
008911,000567: 05,3344           54777                           TS       DSPCOUNT                              
008912,000568: 
008913,000569: 05,3345           00002                           TC       Q                                     
008914,000570: 05,3346  E6,1537                                  EBANK=   AOSQ                                  
008915,000571: 05,3346           02024 34066  IDLEADR            2CADR    DAPIDLER                              
008916,000572: 
008917,000573: 05,3350           00435        IFAILINH           OCT      435                                   
008918,000574: 05,3351           03515        LDNPHAS1           GENADR   DNPHASE1                              
008919,000575: 05,3352           03336        LESCHK             GENADR   SELFCHK                               
008920,000576: 05,3353           00400        VAC1ADRC           ADRES    VAC1USE                               
008921,000577: 05,3354           32001        OCT32001           OCT      32001                                 
008922,000578: 05,3355           00054        LTHVACA            DEC      44         B-14                       
008923,000579: 

Page 223

008925,000581: 05,3356           27470        OCT27470           OCT      27470                                 
008926,000582: 05,3357           74160        OCT74160           OCT      74160                                 
008927,000583: 05,3360           30001        OCT30001           OCT      30001                                 
008928,000584: 05,3361     5007               STARTEB            EQUALS   EBANK3                                
008929,000585: 05,3361     4756               NUMGRPS            EQUALS   FIVE                                  
008930,000586: 05,3361           77755        -ELR               OCT      -22                                   #  -ERROR LIGHT RESET KEY CODE.
008931,000587: 05,3362           37411        IM30INIF           OCT      37411                                 #  INHIBITS IMU FAIL FOR 5 SEC AND PIP ISSW
008932,000588: 05,3363           37000        IM30INIR           OCT      37000                                 
008933,000589: 05,3364     5026               IM33INIT           =        PRIO16                                #  NO PIP OR TM FAIL SIGNALS.
008934,000590: 05,3364           00450        9,6,4              OCT      450                                   
008935,000591: 05,3365           00102        RMODINIT           OCT      00102                                 
008936,000592: 05,3366           00000        SWINIT             OCT      0                                     
008937,000593: 05,3367           00000                           OCT      0                                     
008938,000594: 05,3370           00000                           OCT      0                                     
008939,000595: 05,3371           02000                           OCT      02000                                 #  BIT 11 = NOR29FLG
008940,000596: 05,3372           00000                           OCT      0                                     
008941,000597: 05,3373           00000                           OCT      0                                     
008942,000598: 05,3374           00000                           OCT      0                                     
008943,000599: 05,3375           00100                           OCT      00100                                 
008944,000600: 
008945,000601: 05,3376           00000                           OCT      0                                     
008946,000602: 05,3377           00000                           OCT      0                                     
008947,000603: 05,3400           00000                           OCT      0                                     
008948,000604: 05,3401           40000                           OCT      40000                                 #  BIT 15 = LRBYPASS.
008949,000605: 

Page 224

008951,000607:                                                                                                  #  PROGRAM NAME          GOTOPOOH                ASSEMBLY SUNDANCE
008952,000608:                                                                                                  #  LOG SECTION           FRESH START AND RESTART
008953,000609: 
008954,000610:                                                                                                  #  FUNCTIONAL DESCRIPTION
008955,000611: 
008956,000612:                                                                                                  #        FLASH V 37 ON DSKY %MM CHANGE REQUEST "
008957,000613: 
008958,000614:                                                                                                  #  INPUT/OUTPUT INFORMATION
008959,000615: 
008960,000616:                                                                                                  #        A. CALLING SEQUENCE                     TC GOTOPOOH
008961,000617:                                                                                                  #        B. ERASABLE INITIALIZATION              NONE
008962,000618:                                                                                                  #        C. OUTPUT FLASH V 37 ON DSKY
008963,000619:                                                                                                  #        D. DEBRIS                               L
008964,000620: 
008965,000621:                                                                                                  #  PROGRAM ANALYSIS
008966,000622: 
008967,000623:                                                                                                  #        A. SUBROUTINES CALLED                   PRIODSPR, LINUS
008968,000624:                                                                                                  #        B. NORMAL EXIT                          TCF ENDOFJOB
008969,000625:                                                                                                  #        C. ALARM AND ABORT EXITS                NONE
008970,000626: 
008971,000627:    6001                                           BLOCK    03                                    
008972,000628:    6000                                           SETLOC   FFTAG5                                
008973,000629:    6000                                           BANK                                           
008974,000630: 
008975,000631:    6001                                           COUNT*   $$/P00                                
008976,000632:    6001           34764        GOTOPOOH           CAF      OCT33                                 #  4.33 SPOT FOR GOPOOFIX
008977,000633:    6002           54001                           TS       L                                     
008978,000634:    6003           40000                           COM                                            
008979,000635:    6004           52761                           DXCH     -PHASE4                               
008980,000636: 
008981,000637:    6005           04635                           TC       POSTJUMP                              
008982,000638:    6006           10024                           CADR     GOPOOFIX                              
008983,000639:    6007           00024        OCT24              MM       20         B-14                       
008984,000640:    6010           00031        OCT31              MM       25         B-14                       
008985,000641: 
008986,000642: 20,2004                                           BANK     20                                    
008987,000643: 04,2000                                           SETLOC   VERB37                                
008988,000644: 04,2000                                           BANK                                           
008989,000645: 
008990,000646: 04,2024                                           COUNT*   $$/P00                                #  VERB 37 AND P00 IN BANK 4.
008991,000647: 04,2024           05516        GOPOOFIX           TC       DOWNFLAG                              #  ALLOW X-AXIS OVERRIDE
008992,000648: 04,2025           00311                           ADRES    XOVINFLG                              
008993,000649: 
008994,000650: 04,2026           05516                           TC       DOWNFLAG                              #  INSURE THAT ULLAGE IS OFF
008995,000651: 04,2027           00314                           ADRES    ULLAGFLG                              

Page 225

008997,000653: 04,2030           05476                           TC       CLEARMRK   +2                         #  RELEASE MARK DISPLAY SYSTEM.
008998,000654: 04,2031           32037                           CAF      V37N99                                
008999,000655: 04,2032           04616                           TC       BANKCALL                              
009000,000656: 04,2033           20476                           CADR     GOFLASH                               
009001,000657: 04,2034           12031                           TCF      -3                                    
009002,000658: 04,2035           12031                           TCF      -4                                    
009003,000659: 04,2036           12031                           TCF      -5                                    
009004,000660: 
009005,000661: 04,2037           11343        V37N99             VN       3799                                  
009006,000662: 

Page 226

009008,000664:                                                                                                  #  PROGRAM NAME          V37                     ASSEMBLY SUNDANCE
009009,000665: 
009010,000666:                                                                                                  #  LOG SECTION           FRESH START AND RESTART
009011,000667: 
009012,000668:                                                                                                  #  FUNCTIONAL DESCRIPTION
009013,000669: 
009014,000670:                                                                                                  #        1. CHECK IF NEW PROGRAM ALLOWED.  IF BIT 1 OF FLAGWRD2 (NODOFLAG) IS SET, AN ALARM 1520 IS CALLED.
009015,000671:                                                                                                  #        2. CHECK FOR VALIDITY OF PROGRAM SELECTED.  IF AN INVALID PROGRAM IS SELECTED, THE OPERATOR ERROR LIGHT IS
009016,000672:                                                                                                  #           SET AND CURRENT ACTIVITY, IF ANY, CONTINUES.
009017,000673:                                                                                                  #        3. SERVICER IS TERMINATED IF IT HAS BEEN RUNNING.
009018,000674:                                                                                                  #        4. INSTALL IS EXECUTED TO AVOID INTERRUPTING INTEGRATION.
009019,000675:                                                                                                  #        5. THE ENGINE IS TURNED OFF AND THE DAP IS INITIALIZED FOR COAST.
009020,000676:                                                                                                  #        6. TRACK AND UPDATE FLAGS ARE SET TO ZERO.
009021,000677:                                                                                                  #        7. DISPLAY SYSTEM IS RELEASED.
009022,000678:                                                                                                  #        8. THE FOLLOWING ARE PERFORMED FOR EACH OF THE THREE CASES.
009023,000679:                                                                                                  #                A. PROGRAM SELECTED IS P00.
009024,000680:                                                                                                  #                        1. RENDEZVOUS AND P25 FLAGS ARE RESET.  (KILL P20 AND P25)
009025,000681:                                                                                                  #                        2. STATINT1 IS SCHEDULED BY SETTING RESTART GROUP 2.
009026,000682:                                                                                                  #                        3. MAJOR MODE 00 IS STORED IN THE MODE REGISTER (MODREG).
009027,000683:                                                                                                  #                        4. SUPERBANK 3 IS SELECTED.
009028,000684:                                                                                                  #                        5. NODOFLAG IS RESET.
009029,000685:                                                                                                  #                        6. ALL RESTART GROUPS EXCEPT GROUP2 ARE CLEARED. CONTROL IS TRANSFERRED TO RESTART PROGRAM (GOPROG2)
009030,000686:                                                                                                  #                           WHICH CAUSES ALL CURRENT ACTIVITY TO BE DISCONTINUED AND A 9 MINUTE INTEGRATION CYCLE TO BE
009031,000687:                                                                                                  #                           INITIATED.
009032,000688:                                                                                                  #                B. PROGRAM SELECTED IS P20 OR P25.
009033,000689:                                                                                                  #                        1. IF THE CURRENT MAJOR MODE IS THE SAME AS THE SELECTED NEWPROGRAM, THE PROGRAM IS RE-INITIALIZED
009034,000690:                                                                                                  #                           VIA V37XEQ, ALL RESTART GROUPS, EXCEPT GROUP 4 ARE CLEARED.
009035,000691:                                                                                                  #                        2. IF THE CURRENT MAJOR MODE IS NOT EQUAL TO THE NEW REQUEST, A CHECK IS MADE TO SEE IF THE REQUEST-
009036,000692:                                                                                                  #                           ED MAJOR MODE HAS BEEN RUNNING IN THE BACKGROUND,
009037,000693:                                                                                                  #                           AND IF IT HAS, NO NEW PROGRAM IS SCHEDULED, THE EXISTING
009038,000694:                                                                                                  #                           P20 OR P25 IS RESTARTED TO CONTINUE, AND ITS MM IS SET.
009039,000695:                                                                                                  #                        3. CONTROL IS TRANSFERRED TO GOPROG2.
009040,000696:                                                                                                  #                C. PROGRAM SELECTED IS NEITHER P00, P20, NOR P25
009041,000697:                                                                                                  #                        1. V37XEQ IS SCHEDULED (AS A JOB) BY SETTING RESTART GROUP 4
009042,000698:                                                                                                  #                        2. ALL CURRENT ACTIVITY EXCEPT RENDEZVOUS AND TRACKING IS DISCONTINUED BY CLEARING ALL RESTART
009043,000699:                                                                                                  #                           GROUPS.  IF THE RENDEZVOUS OR THE P25 FLAG IS ON, GROUP 2 IS NOT CLEARED, ALLOWING THESE PROGRAMS
009044,000700:                                                                                                  #                           TO CONTINUE.
009045,000701: 
009046,000702:                                                                                                  #  INPUT/OUTPUT INFORMATION
009047,000703: 
009048,000704:                                                                                                  #        A. CALLING SEQUENCE
009049,000705:                                                                                                  #                CONTROL IS DIRECTED TO V37 BY THE VERBFAN ROUTINE.
009050,000706:                                                                                                  #                VERBFAN GOES TO C(VERBTAB+C(VERBREG)). VERB 37 = MMCHANG.
009051,000707:                                                                                                  #                MMCHANG EXECUTES A   TC POSTJUMP, CADR V37.
009052,000708: 
009053,000709:                                                                                                  #        B. ERASABLE INITIALIZATION              NONE
009054,000710: 
009055,000711:                                                                                                  #        C. OUTPUT

Page 227

009057,000713:                                                                                                  #                MAJOR MODE CHANGE
009058,000714: 
009059,000715:                                                                                                  #        D. DEBRIS
009060,000716:                                                                                                  #                MMNUMBER, MPAC +1, MINDEX, BASETEMP +C(MINDEX), FLAGWRD0, FLAGWRD1, FLAGWRD2, MODREG, GOLOC -1,
009061,000717:                                                                                                  #                GOLOC, GOLOC +1, GOLOC +2, BASETEMP, -PHASE2, PHASE2, -PHASE4
009062,000718: 
009063,000719:                                                                                                  #  PROGRAM ANALYSIS
009064,000720: 
009065,000721:                                                                                                  #        A. SUBROUTINES CALLED
009066,000722:                                                                                                  #                ALARM, RELDSP, PINBRNCH, INTSTALL, ENGINOF2, ALLCOAST, V37KLEAN, GOPROG2, FALTON, FINDVAC, SUPERSW,
009067,000723:                                                                                                  #                DSPMM
009068,000724: 
009069,000725:                                                                                                  #        B. NORMAL EXIT                          TC ENDOFJOB
009070,000726: 
009071,000727:                                                                                                  #        C. ALARMS                               1520 (MAJOR MODE CHANGE NOT PERMITTED)
009072,000728: 
009073,000729: 04,2040           54775        V37                TS       MMNUMBER                              #  SAVE MAJOR MODE
009074,000730: 04,2041           34355                           CAF      PRIO30                                #  RESTART AT PINBALL PRIORITY
009075,000731: 04,2042           54366                           TS       RESTREG                               
009076,000732: 
009077,000733: 04,2043           31302                           CA       IMODES30                              #  IS IMU BEINB INITIALIZED
009078,000734: 04,2044           74746                           MASK     BIT6                                  
009079,000735: 04,2045           10000                           CCS      A                                     
009080,000736: 04,2046           12065                           TCF      CANTROD                               
009081,000737: 
009082,000738: 04,2047           40775                           CS       MMNUMBER                              #  IS P70 REQUESTED?
009083,000739: 04,2050           62400                           AD       DEC70                                 
009084,000740: 04,2051           00006                           EXTEND                                         
009085,000741: 04,2052           12373                           BZF      SETUP70                               #  YES
009086,000742: 04,2053           64753                           AD       ONE                                   #  IS P71 REQUESTED?
009087,000743: 04,2054           00006                           EXTEND                                         
009088,000744: 04,2055           12372                           BZF      SETUP71                               #  YES
009089,000745: 
009090,000746: 04,2056           30775                           CA       MMNUMBER                              #  IS NEW REQUEST POO
009091,000747: 04,2057           00006                           EXTEND                                         
009092,000748: 04,2060           12107                           BZF      ISSERVON                              #  YES, CHECK SERVICER STATUS
009093,000749: 
009094,000750: 04,2061           40076                           CS       FLAGWRD2                              #  NO, IS NODO V37 FLAG SET
009095,000751: 04,2062           74753                           MASK     NODOBIT                               
009096,000752: 04,2063           10000                           CCS      A                                     
009097,000753: 04,2064           12072                           TCF      CHECKTAB                              #  NO
009098,000754: 04,2065           05567        CANTROD            TC       ALARM                                 
009099,000755: 04,2066           01520                           OCT      1520                                  
009100,000756: 
009101,000757: 04,2067           04457        V37BAD             TC       RELDSP                                #  RELEASES DISPLAY FROM ASTRONAUT
009102,000758: 
009103,000759: 04,2070           04635                           TC       POSTJUMP                              #  BRING BACK LAST NORMAL DISPLAY IF THERE
009104,000760: 04,2071           21050                           CADR     PINBRNCH                              #  WAS ONE.  OTHERWISE DO AN EOJ.
009105,000761: 
009106,000762: 04,2072           32477        CHECKTAB           CA       NOV37MM                               #  INDEX FOR MM TABLES.
009107,000763: 

Page 228

009109,000765: 04,2073           54155        AGAINMM            TS       MPAC       +1                         
009110,000766: 04,2074           50155                           NDX      MPAC       +1                         
009111,000767: 04,2075           32441                           CA       PREMM1                                #  OBTAIN WHICH MM THIS IS FOR
009112,000768: 04,2076           76074                           MASK     LOW7                                  
009113,000769: 04,2077           40000                           COM                                            
009114,000770: 04,2100           60775                           AD       MMNUMBER                              
009115,000771: 04,2101           10000                           CCS      A                                     
009116,000772: 04,2102           10155                           CCS      MPAC       +1                         #  IF GR, SEE IF ANY MORE IN LIST
009117,000773: 04,2103           12073                           TCF      AGAINMM                               #  YES, GET NEXT ONE
009118,000774: 04,2104           12322                           TCF      V37NONO                               #  LAST TIME OR PASSED MM
009119,000775: 
009120,000776: 04,2105           30155                           CA       MPAC       +1                         
009121,000777: 04,2106           54774                           TS       MINDEX                                #  SAVE INDEX FOR LATER
009122,000778: 
009123,000779: 04,2107           40103        ISSERVON           CS       FLAGWRD7                              #  V37 FLAG SET - I.E. IS SERVICER GOING
009124,000780: 04,2110           74746                           MASK     V37FLBIT                              
009125,000781: 04,2111           10000                           CCS      A                                     
009126,000782: 04,2112           12134                           TCF      CANV37                                #  NO
009127,000783: 
009128,000784: 04,2113           05516                           TC       DOWNFLAG                              #  YES, TURN OFF THE AVERAGE FLAG AND
009129,000785: 04,2114           00163                           ADRES    AVEGFLAG                              #  WAIT FOR SERVICER TO RETURN TO CANV37.
009130,000786: 
009131,000787: 04,2115           32366                           CAF      V37RETAD                              
009132,000788: 04,2116           55260                           TS       OUTROUTE                              
009133,000789: 
009134,000790: 04,2117           15155                           TCF      ENDOFJOB                              
009135,000791: 
009136,000792: 04,2120           40074        V37RET             CS       FLAGWRD0                              #  IS P20 OR P22 RUNNING?
009137,000793: 04,2121           74745                           MASK     RNDVZBIT                              
009138,000794: 04,2122           10000                           CCS      A                                     
009139,000795: 04,2123           12125                           TCF      +2                                    #  NO. CHECK FOR P25.
009140,000796: 04,2124           12132                           TCF      2.7SPT                                #  YES. DO 2.7SPOT
009141,000797: 04,2125           40074                           CS       FLAGWRD0                              #  IS P25 RUNNING?
009142,000798: 04,2126           74743                           MASK     P25FLBIT                              
009143,000799: 04,2127           10000                           CCS      A                                     
009144,000800: 04,2130           32367        2.0SPT             CA       OCT37667                              
009145,000801: 04,2131           64747        2.11SPT            AD       BIT5                                  
009146,000802: 04,2132           62370        2.7SPT             AD       OCT40072                              
009147,000803: 04,2133           05357                           TC       PHSCHNGA                              
009148,000804: 
009149,000805: 04,2134           34755        CANV37             CAF      ZERO                                  
009150,000806: 04,2135           00006                           EXTEND                                         
009151,000807: 04,2136           01007                           WRITE    SUPERBNK                              
009152,000808: 
009153,000809: 04,2137           32365                           CAF      R00AD                                 
009154,000810: 04,2140           54374                           TS       TEMPFLSH                              
009155,000811: 
009156,000812: 04,2141           05353                           TC       PHASCHNG                              
009157,000813: 04,2142           00014                           OCT      14                                    
009158,000814: 

Page 229

009160,000816: 
009161,000817: 04,2143           06037        R00                TC       INTPRET                               
009162,000818: 
009163,000819: 04,2144           77624                           CALL                                           #  WAIT FOR INTEGRATION TO FINISH
009164,000820: 04,2145           27414                                    INTSTALL                              
009165,000821: 04,2146           77776        DUMMYAD            EXIT                                           
009166,000822: 
009167,000823: 04,2147           05516                           TC       DOWNFLAG                              
009168,000824: 04,2150           00124                           ADRES    3AXISFLG                              #  RESET 3-AXIS FLAG
009169,000825: 
009170,000826: 04,2151           34735                           CAF      LRBYBIT                               #  CLEAN UP THE R12 FLAGWORD.
009171,000827: 04,2152           54107                           TS       FLGWRD11                              
009172,000828: 
009173,000829: 04,2153           05516                           TC       DOWNFLAG                              #  INSURE THAT THE R04FLAG IS CLEAR.
009174,000830: 04,2154           00063                           ADRES    R04FLAG                               
009175,000831: 
009176,000832: 04,2155           05516                           TC       DOWNFLAG                              #  INSURE MUNFLAG IS CLEAR.
009177,000833: 04,2156           00141                           ADRES    MUNFLAG                               
009178,000834: 
009179,000835: 04,2157           05516                           TC       DOWNFLAG                              #  ALLOW X-AXIS OVERRIDE.
009180,000836: 04,2160           00311                           ADRES    XOVINFLG                              
009181,000837: 04,2161           10775                           CCS      MMNUMBER                              #  IS THIS A POOH REQUEST
009182,000838: 04,2162           12310                           TCF      NOUVEAU                               #  NO, PICK UP NEW PROGRAM
009183,000839: 
009184,000840: 04,2163           04457        P00H               TC       RELDSP                                #  RELEASE DISPLAY SYSTEM
009185,000841: 
009186,000842: 04,2164           35017                           CAF      PRIO5                                 #  SET VARIABLE RESTART PRIORITY FOR
009187,000843: 04,2165           55056                           TS       PHSPRDT2                              #  P00 INTEGRATION.
009188,000844: 
009189,000845: 04,2166           06011                           TC       CLRADMOD                              #  CLRADMOD DOES AN INHINT.
009190,000846: 
009191,000847: 04,2167           44753                           CS       NODOBIT                               #  TURN OFF NODOFLAG.
009192,000848: 04,2170           70076                           MASK     FLAGWRD2                              
009193,000849: 04,2171           54076                           TS       FLAGWRD2                              
009194,000850: 
009195,000851: 04,2172           34756                           CA       FIVE                                  #  SET RESTART FOR STATEINT1
009196,000852: 04,2173           54001                           TS       L                                     
009197,000853: 04,2174           40000                           COM                                            
009198,000854: 04,2175           52755                           DXCH     -PHASE2                               
009199,000855: 
009200,000856: 04,2176           42371                           CS       OCT700                                #  TURN OFF P20, P25, IMU IN USE FLAG
009201,000857: 04,2177           70074                           MASK     FLAGWRD0                              
009202,000858: 04,2200           54074                           TS       FLAGWRD0                              #                         RENDFLG
009203,000859: 
009204,000860: 04,2201           34755                           CAF      DNLADP00                              
009205,000861: 
009206,000862: 04,2202           54332        SEUDOP00           TS       DNLSTCOD                              #  SET UP APPROPRIATE DOWNLIST CODE
009207,000863: 04,2203           55324                           TS       AGSWORD                               #    (CURRENT LIST WILL BE COMPLETED BEFORE
009208,000864:                                                                                                  #      NEW ONE IS STARTED)
009209,000865: 04,2204           04674                           TC       IBNKCALL                              
009210,000866: 04,2205           75555                           CADR     ENGINOF1                              
009211,000867: 

Page 230

009213,000869: 04,2206           04674                           TC       IBNKCALL                              #  INSURE ALLCOAST.
009214,000870: 04,2207           40204                           CADR     ALLCOAST                              #  DOES A RESTORDB.
009215,000871: 
009216,000872: 04,2210           44775                           CS       OCT120                                #  TURN OFF TRACK, UPDATE FLAGS
009217,000873: 04,2211           55072                           TS       EBANKTEM                              
009218,000874: 04,2212           70075                           MASK     FLAGWRD1                              
009219,000875: 04,2213           54075                           TS       FLAGWRD1                              
009220,000876: 
009221,000877: 04,2214           04674                           TC       IBNKCALL                              #  KILL GROUPS 1,3,5,6
009222,000878: 04,2215           12652                           CADR     V37KLEAN                              
009223,000879: 
009224,000880: 04,2216           10775                           CCS      MMNUMBER                              #  IS IT POOH
009225,000881: 04,2217           12226                           TCF      RENDVOO                               #  NO
009226,000882: 04,2220           04674        GOMOD              TC       IBNKCALL                              #  REDUNDANT EXCEPT FOR GROUP 4
009227,000883: 04,2221           12647                           CADR     P00KLEAN                              
009228,000884: 
009229,000885: 04,2222           30775                           CA       MMNUMBER                              
009230,000886: 04,2223           55011                           TS       MODREG                                
009231,000887: 
009232,000888: 04,2224           04635        GOGOPROG           TC       POSTJUMP                              
009233,000889: 04,2225           12770                           CADR     GOPROG2                               
009234,000890: 
009235,000891: 04,2226           41011        RENDVOO            CS       MODREG                                #  IS CURRENT PROGRAM 22
009236,000892: 04,2227           62326                           AD       OCT26                                 
009237,000893: 04,2230           00006                           EXTEND                                         
009238,000894: 04,2231           12250                           BZF      RESET22                               #  YES - CLEAR RENDEZVOUS FLAG
009239,000895: 
009240,000896: 04,2232           40775                           CS       MMNUMBER                              #  IS NEW PROGRAM P22
009241,000897: 04,2233           62326                           AD       OCT26                                 
009242,000898: 04,2234           00006                           EXTEND                                         
009243,000899: 04,2235           12250                           BZF      RESET22                               
009244,000900: 
009245,000901: 04,2236           67746                           AD       NEG2                                  #  IS NEW PROGRAM = P20 OR P25
009246,000902: 04,2237           00006                           EXTEND                                         
009247,000903: 04,2240           12262                           BZF      RENDNOO                               #  YES
009248,000904: 04,2241           64756                           AD       FIVE                                  #  25
009249,000905: 04,2242           00006                           EXTEND                                         
009250,000906: 04,2243           12262                           BZF      RENDNOO                               #  YES
009251,000907: 
009252,000908: 04,2244           32324                           CA       OCT500                                #  NO, IS EITHER P20 OR P25 RUNNING
009253,000909: 04,2245           70074                           MASK     FLAGWRD0                              
009254,000910: 04,2246           10000                           CCS      A                                     
009255,000911: 04,2247           12257                           TCF      P00FIZZ                               #  YES, LEAVE GROUP 2 TO PICK UP P20 OR P25
009256,000912: 
009257,000913: 04,2250           42371        RESET22            CS       OCT700                                #  CLEAR RENDEZVOUS, P25
009258,000914: 04,2251           70074                           MASK     FLAGWRD0                              #  AND IMU IN USE FLAGS
009259,000915: 04,2252           54074                           TS       FLAGWRD0                              
009260,000916: 04,2253           06011                           TC       CLRADMOD                              

Page 231

009262,000918: 
009263,000919: 04,2254           00006        KILL2              EXTEND                                         #  NO, KILL 2
009264,000920: 04,2255           34755                           DCA      NEG0                                  
009265,000921: 04,2256           52755                           DXCH     -PHASE2                               
009266,000922: 
009267,000923: 04,2257           32364        P00FIZZ            CAF      V37QCAD                               #  RESTART POINT FOR V37XEQ
009268,000924: 04,2260           54374                           TS       TEMPFLSH                              
009269,000925: 
009270,000926: 04,2261           12224                           TCF      GOGOPROG                              
009271,000927: 
009272,000928: 04,2262           41011        RENDNOO            CS       MODREG                                
009273,000929: 04,2263           66007                           AD       OCT24                                 
009274,000930: 04,2264           00006                           EXTEND                                         
009275,000931: 04,2265           12254                           BZF      KILL2                                 #  P20 OR P25 ON TOP OF P20 OR P25 -
009276,000932: 
009277,000933: 04,2266           64756                           AD       FIVE                                  
009278,000934: 04,2267           00006                           EXTEND                                         
009279,000935: 04,2270           12254                           BZF      KILL2                                 
009280,000936: 
009281,000937: 04,2271           32324                           CA       OCT500                                
009282,000938: 04,2272           70074                           MASK     FLAGWRD0                              
009283,000939: 04,2273           60775                           AD       MMNUMBER                              
009284,000940: 04,2274           40000                           COM                                            
009285,000941: 04,2275           62327                           AD       P20REG                                #  IS IT 20 AND IS RENDEZVOUS FLAG ON
009286,000942: 04,2276           00006                           EXTEND                                         
009287,000943: 04,2277           12304                           BZF      STATQUO                               #  YES
009288,000944: 04,2300           62325                           AD       OCT305                                #  IS IT 25 AND IS P25 BIT ON
009289,000945: 04,2301           00006                           EXTEND                                         
009290,000946: 04,2302           12304                           BZF      STATQUO                               #  YES, LEAVE AS IS
009291,000947: 04,2303           12254                           TCF      KILL2                                 
009292,000948: 
009293,000949: 04,2304           40075        STATQUO            CS       FLAGWRD1                              #  SET TRACKFLAG
009294,000950: 04,2305           74775                           MASK     OCT120                                #        UPDATE FLAG
009295,000951: 04,2306           26075                           ADS      FLAGWRD1                              
009296,000952: 
009297,000953: 04,2307           12220                           TCF      GOMOD                                 
009298,000954: 
009299,000955: 04,2310           32324        NOUVEAU            CAF      OCT500                                #  IS P20 OR P25 FLAG SET
009300,000956: 04,2311           70074                           MASK     FLAGWRD0                              
009301,000957: 04,2312           10000                           CCS      A                                     
009302,000958: 04,2313           12316                           TCF      +3                                    #  YES
009303,000959: 04,2314           05516                           TC       DOWNFLAG                              #  NO, RESET IMUINUSE FLAG
009304,000960: 04,2315           00007                           ADRES    IMUSE                                 
009305,000961: 
009306,000962: 04,2316           50774                           INDEX    MINDEX                                
009307,000963: 04,2317           32500                           CAF      DNLADMM1                              #  OBTAIN APPROPRIATE DOWNLIST ADDRESS
009308,000964: 
009309,000965: 04,2320           00004                           INHINT                                         
009310,000966: 04,2321           12202                           TCF      SEUDOP00                              
009311,000967: 
009312,000968: 04,2322           04364        V37NONO            TC       FALTON                                #  COME HERE IF MM REQUESTED DOESNT EXIST

Page 232

009314,000970: 04,2323           12067                           TCF      V37BAD                                
009315,000971: 
009316,000972: 04,2324     4750               OCT00010           EQUALS   BIT4                                  
009317,000973: 04,2324           00500        OCT500             OCT      500                                   #  BITS 7 AND 9
009318,000974: 04,2325           00305        OCT305             OCT      305                                   
009319,000975: 04,2326           00026        OCT26              OCT      26                                    
009320,000976: 04,2327           00124        P20REG             OCT      124                                   
009321,000977: 
009322,000978: 04,2330           00004        V37XEQ             INHINT                                         
009323,000979: 04,2331           50774                           INDEX    MINDEX                                
009324,000980: 04,2332           32441                           CAF      PREMM1                                #  OBTAIN PRIO, EBANK, AND MM
009325,000981: 04,2333           55060                           TS       MMTEMP                                
009326,000982: 04,2334           54020                           TS       CYR                                   #  SHIFT RIGHT TO BITS 14-10
009327,000983: 
009328,000984: 04,2335           30020                           CA       CYR                                   
009329,000985: 04,2336           77725                           MASK     PRIO37                                
009330,000986: 04,2337           55062                           TS       PHSPRDT4                              #  PRESET GROUP 4 RESTART PRIORITY
009331,000987: 04,2340           54063                           TS       NEWPRIO                               #  STORE PRIO FOR SPVAC
009332,000988: 
009333,000989: 04,2341           31060                           CA       MMTEMP                                #  OBTAIN EBANK - BITS 8, 9, 10 OF MMTEMP.
009334,000990: 04,2342           00006                           EXTEND                                         
009335,000991: 04,2343           74744                           MP       BIT8                                  
009336,000992: 04,2344           74757                           MASK     LOW3                                  
009337,000993: 04,2345           54001                           TS       L                                     
009338,000994: 
009339,000995: 04,2346           50774                           INDEX    MINDEX                                
009340,000996: 04,2347           32403                           CAF      FCADRMM1                              
009341,000997: 04,2350           55061                           TS       BASETEMP                              #  MAKE BBCON BY ADDING HI5 OF FCADR
009342,000998: 04,2351           74350                           MASK     HI5                                   
009343,000999: 04,2352           26001                           ADS      L                                     
009344,001000: 
009345,001001: 04,2353           31061                           CA       BASETEMP                              #  OBTAIN GENADR PORTION OF 2CADR.
009346,001002: 04,2354           75012                           MASK     LOW10                                 
009347,001003: 04,2355           64741                           AD       BIT11                                 
009348,001004: 
009349,001005: 04,2356           05116                           TC       SPVAC                                 
009350,001006: 
009351,001007: 04,2357           31060        V37XEQC            CA       MMTEMP                                #  UPON RETURN FROM FINDVAC PLACE THE
009352,001008: 04,2360           76074                           MASK     LOW7                                  #  NEW MM IN MODREG (THE LOW 7 BITS OF
009353,001009: 04,2361           05314                           TC       NEWMODEA                              #  PHSPRDT1)
009354,001010: 
009355,001011: 04,2362           04457                           TC       RELDSP                                #  RELEASE DISPLAY
009356,001012: 04,2363           05155                           TC       ENDOFJOB                              #  AND EXIT
009357,001013: 
009358,001014: 04,2364     5660               NEG7               EQUALS   OCT77770                              
009359,001015: 
009360,001016: 04,2364     1060               MMTEMP             EQUALS   PHSPRDT3                              
009361,001017: 04,2364     1061               BASETEMP           EQUALS   TBASE4                                
009362,001018: 04,2364           10333        V37QCAD            CADR     V37XEQ     +3                         
009363,001019: 04,2365           10146        R00AD              CADR     DUMMYAD                               
009364,001020: 

Page 233

009366,001022: 04,2366           10120        V37RETAD           CADR     V37RET                                
009367,001023: 04,2367           37667        OCT37667           OCT      37667                                 
009368,001024: 04,2370           40072        OCT40072           OCT      40072                                 
009369,001025: 04,2371           00700        OCT700             OCT      700                                   
009370,001026: 
009371,001027: 04,2372           36245        SETUP71            CAF      THREE                                 
009372,001028: 04,2373           54002        SETUP70            TS       Q                                     
009373,001029: 04,2374           00006                           EXTEND                                         
009374,001030: 04,2375           32402                           DCA      P70CADR                               
009375,001031: 04,2376           60002                           AD       Q                                     
009376,001032: 04,2377           52006                           DTCB                                           
009377,001033: 
009378,001034: 04,2400           00106        DEC70              DEC      70         B-14                       
009379,001035: 04,2401  E7,1520                                  EBANK=   R                                     
009380,001036: 04,2401           02072 42067  P70CADR            2CADR    P70                                   
009381,001037: 
009382,001038:                                                                                                  #  FOR VERB 37 TWO TABLES ARE MAINTAINED.  EACH TABLE HAS AN ENTRY FOR EACH
009383,001039:                                                                                                  #  MAJOR MODE THAT CAN BE STARTED FROM THE KEYBOARD.  THE ENTRIES ARE PUT
009384,001040:                                                                                                  #  INTO THE TABLE WITH THE ENTRY FOR THE HIGHEST MAJOR MODE COMING FIRST,
009385,001041:                                                                                                  #  TO THE LOWEST MAJOR MODE WHICH IS THE LAST ENTRY IN EACH TABLE.
009386,001042: 
009387,001043:                                                                                                  #  THE FCADRMM TABLE CONTAINS THE FCADR OF THE STARTING JOB OF
009388,001044:                                                                                                  #  THE MAJOR MODE.  FOR EXAMPLE, 
009389,001045: 
009390,001046:                                                                                                  #        FCADRMM1        FCADR   P79             START OF P 79
009391,001047:                                                                                                  #                        FCADR   PROG18          START OF P 18
009392,001048:                                                                                                  #                        FCADR   P01             START OF P 01
009393,001049: 
009394,001050:                                                                                                  #  NOTE,         THE FIRST ENTRY MUST BE LABLED FCADRMM1.
009395,001051:                                                                                                  #  ----
009396,001052: 
009397,001053: 04,2403           71526        FCADRMM1           FCADR    P79                                   
009398,001054: 04,2404           71274                           FCADR    P78                                   
009399,001055: 04,2405           26207                           FCADR    P76                                   
009400,001056: 04,2406           72731                           FCADR    P75                                   
009401,001057: 04,2407           72547                           FCADR    P74                                   
009402,001058: 04,2410           72220                           FCADR    P73                                   
009403,001059: 04,2411           72031                           FCADR    P72                                   
009404,001060: 04,2412           62144                           FCADR    LANDJUNK                              
009405,001061: 04,2413           64776                           FCADR    P63LM                                 
009406,001062: 04,2414           33314                           FCADR    P57                                   
009407,001063: 04,2415           32050                           FCADR    PROG52                                
009408,001064: 04,2416           31427                           FCADR    P51                                   
009409,001065: 04,2417           75436                           FCADR    P47LM                                 
009410,001066: 04,2420           75410                           FCADR    P42LM                                 
009411,001067: 04,2421           75272                           FCADR    P41LM                                 
009412,001068: 04,2422           75147                           FCADR    P40LM                                 
009413,001069: 04,2423           71521                           FCADR    P39                                   
009414,001070: 04,2424           71271                           FCADR    P38                                   

Page 234

009416,001072: 04,2425           72725                           FCADR    P35                                   
009417,001073: 04,2426           72545                           FCADR    P34                                   
009418,001074: 04,2427           72216                           FCADR    P33                                   
009419,001075: 04,2430           72027                           FCADR    P32                                   
009420,001076: 04,2431           72450                           FCADR    P31                                   
009421,001077: 04,2432           72000                           FCADR    P30                                   
009422,001078: 04,2433           50404                           FCADR    PROG25                                
009423,001079: 04,2434           50000                           FCADR    PROG22                                
009424,001080: 04,2435           51505                           FCADR    PROG21                                
009425,001081: 04,2436           50000                           FCADR    PROG20                                
009426,001082: 04,2437           60061                           FCADR    P12LM                                 
009427,001083: 04,2440           77655                           FCADR    P06                                   
009428,001084: 
009429,001085:                                                                                                  #  THE PREMM TABLE CONTAINS THE E-BANK, MAJOR MODE, AND PRIORITY
009430,001086:                                                                                                  #  INFORMATION, IT IS IN THE FOLLOWING FORM,
009431,001087: 
009432,001088:                                                                                                  #        PPP PPE EEM MMM MMM
009433,001089: 
009434,001090:                                                                                                  #        WHERE THE       7 M BITS CONTAIN THE MAJOR MODE NUMBER
009435,001091:                                                                                                  #                        3 E BITS CONTAIN THE E-BANK NUMBER
009436,001092:                                                                                                  #                        5 P BITS CONTAIN THE PRIORITY AT WHICH THE JOB IS
009437,001093:                                                                                                  #                            TO BE STARTED
009438,001094: 
009439,001095:                                                                                                  #        FOR EXAMPLE,
009440,001096: 
009441,001097:                                                                                                  #                PREMM1          OCT     67213           PRIORITY        33
009442,001098:                                                                                                  #                                                        E-BANK  5
009443,001099:                                                                                                  #                                                        MAJOR MODE      11
009444,001100:                                                                                                  #                                OCT     25437           PRIORITY        12
009445,001101:                                                                                                  #                                                        E-BANK  6
009446,001102:                                                                                                  #                                                        MAJOR MODE      31
009447,001103: 
009448,001104:                                                                                                  #  NOTE,         THE FIRST ENTRY MUST BE LABELED PREMM1
009449,001105: 
009450,001106: 04,2441           27717        PREMM1             OCT      27717                                 #  MM 79         EBANK 7         PRIO 13
009451,001107: 04,2442           27716                           OCT      27716                                 #  MM 78         EBANK 7         PRIO 13
009452,001108: 04,2443           27714                           OCT      27714                                 #  MM 76         EBANK 7         PRIO 13
009453,001109: 04,2444           27713                           OCT      27713                                 #  MM 75         EBANK 7         PRIO 13
009454,001110: 04,2445           27712                           OCT      27712                                 #  MM 74         EBANK 7         PRIO 13
009455,001111: 04,2446           27711                           OCT      27711                                 #  MM 73         EBANK 7         PRIO 13
009456,001112: 04,2447           27710                           OCT      27710                                 #  MM 72         EBANK 7         PRIO 13
009457,001113: 04,2450           27704                           OCT      27704                                 #  MM 68         EBANK 7         PRIO 13
009458,001114: 04,2451           27677                           OCT      27677                                 #  MM 63         EBANK 7         PRIO 13
009459,001115: 04,2452           27271                           OCT      27271                                 #  MM 57         EBANK 5         PRIO 13
009460,001116: 04,2453           27264                           OCT      27264                                 #  MM 52         EBANK 5         PRIO 13
009461,001117: 04,2454           27263                           OCT      27263                                 #  MM 51         EBANK 5         PRIO 13
009462,001118: 04,2455           27657                           OCT      27657                                 #  MM 47         EBANK 7         PRIO 13
009463,001119: 04,2456           27652                           OCT      27652                                 #  MM 42         EBANK 7         PRIO 13
009464,001120: 04,2457           27651                           OCT      27651                                 #  MM 41         EBANK 7         PRIO 13
009465,001121: 04,2460           27650                           OCT      27650                                 #  MM 40         EBANK 7         PRIO 13
009466,001122: 04,2461           27647                           OCT      27647                                 #  MM 39         EBANK 7         PRIO 13
009467,001123: 04,2462           27646                           OCT      27646                                 #  MM 38         EBANK 7         PRIO 13

Page 235

009469,001125: 04,2463           27643                           OCT      27643                                 #  MM 35         EBANK 7         PRIO 13
009470,001126: 04,2464           27642                           OCT      27642                                 #  MM 34         EBANK 7         PRIO 13
009471,001127: 04,2465           27641                           OCT      27641                                 #  MM 33         EBANK 7         PRIO 13
009472,001128: 04,2466           27640                           OCT      27640                                 #  MM 32         EBANK 7         PRIO 13
009473,001129: 04,2467           27637                           OCT      27637                                 #  MM 31         EBANK 7         PRIO 13
009474,001130: 04,2470           27636                           OCT      27636                                 #  MM 30         EBANK 7         PRIO 13
009475,001131: 04,2471           27631                           OCT      27631                                 #  MM 25         EBANK 7         PRIO 13
009476,001132: 04,2472           27626                           OCT      27626                                 #  MM 22         EBANK 7         PRIO 13
009477,001133: 04,2473           27625                           OCT      27625                                 #  MM 21         EBANK 7         PRIO 13
009478,001134: 04,2474           27624                           OCT      27624                                 #  MM 20         EBANK 7         PRIO 13
009479,001135: 04,2475           27614                           OCT      27614                                 #  MM 12         EBANK 7         PRIO 13
009480,001136: 04,2476           27006                           OCT      27006                                 #  MM 06         EBANK 4         PRIO 13
009481,001137: 
009482,001138:                                                                                                  #  NOTE,         THE FOLLOWING CONSTANT IS THE NUMBER OF ENTRIES IN EACH OF
009483,001139:                                                                                                  #  ----          THE ABOVE LISTS-1(IE, THE NUMBER OF MAJOR MODES (EXCEPT P00)
009484,001140:                                                                                                  #                THAT CAN BE CALLED FROM THE KEYBOARD MINUS ONE)
009485,001141: 
009486,001142: 04,2477           00035        NOV37MM            DEC      29         B-14                       #  MM'S -1
009487,001143: 
009488,001144: 04,2500           00002        DNLADMM1           ADRES    RENDEZVU                              #  P79
009489,001145: 04,2501           00002                           ADRES    RENDEZVU                              #  P78
009490,001146: 04,2502           00002                           ADRES    RENDEZVU                              
009491,001147: 04,2503           00002                           ADRES    RENDEZVU                              #  P75
009492,001148: 04,2504           00002                           ADRES    RENDEZVU                              #  P74
009493,001149: 04,2505           00002                           ADRES    RENDEZVU                              #  P73
009494,001150: 04,2506           00002                           ADRES    RENDEZVU                              #  P72
009495,001151: 04,2507           00004                           ADRES    DESASCNT                              #  P68
009496,001152: 04,2510           00004                           ADRES    DESASCNT                              #  P63
009497,001153: 04,2511           00005                           ADRES    LUNRSALN                              #  P57
009498,001154: 04,2512           00000                           ADRES    COSTALIN                              #  P52
009499,001155: 04,2513           00000                           ADRES    COSTALIN                              #  P51
009500,001156: 04,2514           00003                           ADRES    ORBMANUV                              #  P47
009501,001157: 04,2515           00003                           ADRES    ORBMANUV                              #  P42
009502,001158: 04,2516           00003                           ADRES    ORBMANUV                              #  P41
009503,001159: 04,2517           00003                           ADRES    ORBMANUV                              #  P40
009504,001160: 04,2520           00002                           ADRES    RENDEZVU                              #  P39
009505,001161: 04,2521           00002                           ADRES    RENDEZVU                              #  P38
009506,001162: 04,2522           00002                           ADRES    RENDEZVU                              #  P35
009507,001163: 04,2523           00002                           ADRES    RENDEZVU                              #  P34
009508,001164: 04,2524           00002                           ADRES    RENDEZVU                              #  P33
009509,001165: 04,2525           00002                           ADRES    RENDEZVU                              #  P32
009510,001166: 04,2526           00002                           ADRES    RENDEZVU                              #  P31LM
009511,001167: 04,2527           00002                           ADRES    RENDEZVU                              #  P30
009512,001168: 04,2530           00002                           ADRES    RENDEZVU                              #  P25
009513,001169: 04,2531           00005                           ADRES    LUNRSALN                              #  P22
009514,001170: 04,2532           00002                           ADRES    RENDEZVU                              #  P21
009515,001171: 04,2533           00002                           ADRES    RENDEZVU                              #  P20
009516,001172: 04,2534           00004                           ADRES    DESASCNT                              #  P12
009517,001173: 04,2535           00000                           ADRES    COSTALIN                              #  P06
009518,001174: 04,2536     4755               DNLADP00           =        ZERO                                  
009519,001175: 04,2536                        COSTALIN           =        0                                     

Page 236

009521,001177: 04,2536                        AGSUPDAT           =        1                                     
009522,001178: 04,2536                        RENDEZVU           =        2                                     
009523,001179: 04,2536                        ORBMANUV           =        3                                     
009524,001180: 04,2536                        DESASCNT           =        4                                     
009525,001181: 04,2536                        LUNRSALN           =        5                                     
009526,001182: 
009527,001183: 13,2026                                           BANK     13                                    
009528,001184: 13,2000                                           SETLOC   INTINIT                               
009529,001185: 13,2000                                           BANK                                           
009530,001186: 
009531,001187: 13,2026                                           COUNT*   $$/INTIN                              
009532,001188: 
009533,001189: 13,2026  E3,1554                                  EBANK=   RRECTCSM                              
009534,001190: 
009535,001191:                                                                                                  #  THIS ROUTINE DOES THE POO INTEGRATION
009536,001192: 
009537,001193: 13,2026           43014        STATEUP            SET      BOF                                   #  EXTRAPOLATE CM STATE VECTOR
009538,001194: 13,2027           01474                                    VINTFLAG                              
009539,001195: 13,2030           04347                                    SURFFLAG                              #  ALSO 6X6 W-MATRIX IF LM ON LUNAR
009540,001196: 13,2031           26036                                    DOINT                                 #        SURFACE AND W-MATRIX VALID
009541,001197: 13,2032           43014                           BOF      SET                                   #        FOR RENDEZVOUS NAVIGATION.
009542,001198: 13,2033           02756                                    RENDWFLG                              
009543,001199: 13,2034           26036                                    DOINT                                 
009544,001200: 13,2035           01476                                    DIM0FLAG                              
009545,001201: 13,2036           45014        DOINT              CLEAR    CALL                                  
009546,001202: 13,2037           01667                                    PRECIFLG                              #  ENGAGES 4-TIME STEP LOGIC IN INTEGRATION
009547,001203: 13,2040           27134                                    INTEGRV                               #  WHEN MODREG = 0
009548,001204: 
009549,001205: 13,2041           71214                           BON      DLOAD                                 
009550,001206: 13,2042           04307                                    SURFFLAG                              
009551,001207: 13,2043           26063                                    NO-INT                                
009552,001208: 13,2044           01571                                    TETCSM                                
009553,001209: 13,2045           34041                           STCALL   TDEC1                                 
009554,001210: 13,2046           27414                                    INTSTALL                              
009555,001211: 13,2047           45014                           CLEAR    CALL                                  #  EXTRAPOLATE LM STATE VECTOR
009556,001212: 13,2050           01674                                    VINTFLAG                              
009557,001213: 13,2051           26644                                    SETIFLGS                              
009558,001214: 13,2052           77614                           BOF                                            #  ALSO 9X9 W-MATRIX IF W IS VALID
009559,001215: 13,2053           02756                                    RENDWFLG                              
009560,001216: 13,2054           26060                                    DOINT2                                
009561,001217: 13,2055           43014                           SET      SET                                   
009562,001218: 13,2056           01476                                    DIM0FLAG                              
009563,001219: 13,2057           01475                                    D6OR9FLG                              
009564,001220: 13,2060           45014        DOINT2             SET      CALL                                  
009565,001221: 13,2061           01467                                    PRECIFLG                              #  DISENGAGE 4 TIME STEP LOGIC IN INTEG.
009566,001222: 13,2062           27134                                    INTEGRV                               
009567,001223: 13,2063           77614        NO-INT             CLRGO                                          
009568,001224: 13,2064           01236                                    NODOFLAG                              
009569,001225: 13,2065           26632                                    ENDINT                                

Page 237

009571,001227:                                                                                                  #  THISVINT IS CALLED BY MIDTOAV1 AND 2
009572,001228: 
009573,001229: 13,2066           43414        THISVINT           CLEAR    RVQ                                   
009574,001230: 13,2067           01674                                    VINTFLAG                              
009575,001231: 
009576,001232: 

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