Source Code

These source-code files are part of a reconstructed copy of Luminary 69/2, the flown, final release of the Apollo 10 Lunar Module (LM) Apollo Guidance Computer (AGC) software.

The reconstruction is based on the source code of Luminary 69 — i.e., the initial, unflown version, "revision 0" — of which a contemporary listing was available. The code was then updated by incorporating the differences between Luminary 69 and Luminary 69/2, known from other contemporary documentation. The only such difference is the implementation in Luminary 69/2 of the "R-2 Lunar Potential Model", the source code for which was taken from program Luminary 99/1 (Apollo 11 LM), of which a contemporary listing was also available. Finally, the now-reconstructed Luminary 69/2 was then validated by assembling it to executable form and verifying that its memory banks had the correct checksums, known from still other contemporary documentation.

Note that page numbers in the reconstructed code match those in the original Luminary 69 program listing, or in the ORBITAL INTEGRATION log section, in Luminary 99/1. Page numbers would certainly differ somewhat in a contemporary Luminary 69/2 listing. Moreover, annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change in Luminary 69/2 relative to Luminary 69. Here's a guide to the Apollo documentation referenced in those annotations:
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.

009758,000002:                                                                                                  ## Copyright:   Public domain.
009759,000003:                                                                                                  ## Filename:    FRESH_START_AND_RESTART.agc
009760,000004:                                                                                                  ## Purpose:     A section of LUM69 revision 2.
009761,000005:                                                                                                  ##              It is part of the reconstructed source code for the flown
009762,000006:                                                                                                  ##              version of the flight software for the Lunar Module's (LM)
009763,000007:                                                                                                  ##              Apollo Guidance Computer (AGC) for Apollo 10. The code has
009764,000008:                                                                                                  ##              been recreated from a copy of Luminary revsion 069, using
009765,000009:                                                                                                  ##              changes present in Luminary 099 which were described in
009766,000010:                                                                                                  ##              Luminary memos 75 and 78. The code has been adapted such
009767,000011:                                                                                                  ##              that the resulting bugger words exactly match those specified
009768,000012:                                                                                                  ##              for LUM69 revision 2 in NASA drawing 2021152B, which gives
009769,000013:                                                                                                  ##              relatively high confidence that the reconstruction is correct.
009770,000014:                                                                                                  ## Reference:   pp. 226-252
009771,000015:                                                                                                  ## Assembler:   yaYUL
009772,000016:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
009773,000017:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
009774,000018:                                                                                                  ## Mod history: 2019-07-27 MAS  Created from Luminary 69.
009775,000019: 

Page 226

009777,000021: 10,2000                                           BANK     10                                    
009778,000022: 05,2000                                           SETLOC   FRANDRES                              
009779,000023: 05,2000                                           BANK                                           
009780,000024: 
009781,000025: 05,2447  E3,1400                                  EBANK=   LST1                                  
009782,000026: 
009783,000027: 05,2447                                           COUNT*   $$/START                              #  FRESH AND RESTART
009784,000028: 05,2447           00004        SLAP1              INHINT                                         #  FRESH START. COMES HERE FROM PINBALL.
009785,000029: 05,2450           03100                           TC       STARTSUB                              #  SUBROUTINE DOES MOST OF THE WORK.
009786,000030: 
009787,000031: 05,2451           12456        STARTSW            TCF      SKIPSIM                               #  PATCH....TCF STARTSIM...FOR SIMULATION
009788,000032: 05,2452           34736        STARTSIM           CAF      BIT14                                 
009789,000033: 05,2453           05105                           TC       FINDVAC                               
009790,000034: 05,2454           77777        SIM2CADR           OCT      77777                                 #  PATCH 2CADR (AND EBANK DESIGNATION) OF
009791,000035: 05,2455           77777                           OCT      77777                                 #  SIMULATION START ADDRESS.
009792,000036: 
009793,000037: 05,2456           31036        SKIPSIM            CA       DSPTAB     +11D                       #  TURN OFF ALL DSPTAB +11D LAMPS
009794,000038: 05,2457           74771                           MASK     BITS4&6                               #  EXCEPT THE GIMBAL LOCK & NO ATT ONLY ON
009795,000039: 05,2460           64735                           AD       BIT15                                 #  REQUESTED FRESH START.
009796,000040: 05,2461           55036                           TS       DSPTAB     +11D                       
009797,000041: 
009798,000042: 05,2462           34740                           CA       BIT12                                 #  INITIALIZE DOWNLINK ERASABLE MEMORY
009799,000043: 05,2463           54333                           TS       DUMPCNT                               #  DUMP FOR ONE PASS.
009800,000044: 
009801,000045: 05,2464           34755                           CA       ZERO                                  
009802,000046: 05,2465           55365                           TS       ERCOUNT                               
009803,000047: 05,2466           54375                           TS       FAILREG                               
009804,000048: 05,2467           54376                           TS       FAILREG    +1                         
009805,000049: 05,2470           54377                           TS       FAILREG    +2                         
009806,000050: 05,2471           54320                           TS       REDOCTR                               
009807,000051: 
009808,000052: 05,2472           44644                           CS       PRIO12                                
009809,000053: 05,2473           55313                           TS       DSRUPTSW                              
009810,000054: 
009811,000055: 05,2474           34736        DOFSTART           CAF      BIT14                                 #  INSURE ENGINE IS OFF.
009812,000056: 05,2475           00006                           EXTEND                                         
009813,000057: 05,2476           01011                           WRITE    DSALMOUT                              
009814,000058: 05,2477           44755                           CS       ZERO                                  
009815,000059: 05,2500           54055                           TS       THRUST                                
009816,000060: 
009817,000061: 05,2501           34751        DOFSTRT1           CAF      FOUR                                  
009818,000062: 05,2502           55273                           TS       RCSFLAGS                              #  INITIALIZE ATTITUDE ERROR DISPLAYS.
009819,000063: 05,2503           34355                           CA       PRIO30                                
009820,000064: 05,2504           54366                           TS       RESTREG                               #  SUPER BANK PRIORITY FOR DISPLAYS.
009821,000065: 
009822,000066: 05,2505           34755                           CA       ZERO                                  
009823,000067: 05,2506           55246                           TS       ABDELV                                #  DAP INITIALIZATION
009824,000068: 05,2507           54371                           TS       NVSAVE                                
009825,000069: 05,2510           55072                           TS       EBANKTEM                              
009826,000070: 

Page 227

009828,000072: 05,2511           55262                           TS       CH5MASK                               
009829,000073: 05,2512           55263                           TS       CH6MASK                               
009830,000074: 05,2513           55276                           TS       PVALVEST                              #  FOR RCS FAILURE MONITOR
009831,000075: 05,2514           55360                           TS       ERESTORE                              #  ***** MUST NOT BE REMOVED FROM DOFSTART
009832,000076: 05,2515           55362                           TS       SMODE                                 #  ***** MUST NOT BE REMOVED FROM DOFSTART
009833,000077: 05,2516           54332                           TS       DNLSTCOD                              #  SELECT POO DOWNLIST
009834,000078: 05,2517           55324                           TS       AGSWORD                               #  ALLOW AGS INITIALIZATION
009835,000079: 05,2520           55501                           TS       UPSVFLAG                              #  ZERO UPDATE STATE VECTOR REQUEST FLAGWRD
009836,000080: 05,2521           00006                           EXTEND                                         
009837,000081: 05,2522           01005                           WRITE    CHAN5                                 #  TURN OFF RCS JETS.
009838,000082: 05,2523           00006                           EXTEND                                         
009839,000083: 05,2524           01006                           WRITE    CHAN6                                 #  TURN OFF RCS JETS.
009840,000084: 05,2525           00006                           EXTEND                                         
009841,000085: 05,2526           01012                           WRITE    CHAN12                                
009842,000086: 05,2527           00006                           EXTEND                                         
009843,000087: 05,2530           01013                           WRITE    CHAN13                                
009844,000088: 05,2531           00006                           EXTEND                                         
009845,000089: 05,2532           01014                           WRITE    CHAN14                                
009846,000090: 05,2533           41036                           CS       DSPTAB     +11D                       
009847,000091: 05,2534           74771                           MASK     BITS4&6                               
009848,000092: 05,2535           10000                           CCS      A                                     
009849,000093: 05,2536           02542                           TC       +4                                    
009850,000094: 05,2537           34771                           CA       BITS4&6                               
009851,000095: 05,2540           00006                           EXTEND                                         #  THE IMU WAS IN COARSE ALIGN IN GIMBAL
009852,000096: 05,2541           05012                           WOR      CHAN12                                #  LOCK, SO PUT IT BACK INTO COARSE ALIGN.
009853,000097: 05,2542           02643                 +4        TC       MR.KLEAN                              
009854,000098: 
009855,000099: 05,2543           44755                           CS       ZERO                                  
009856,000100: 05,2544           55011                           TS       MODREG                                
009857,000101: 
009858,000102: 05,2545           33350                           CAF      IM30INIF                              #  FRESH START IMU INITIALIZATION.
009859,000103: 05,2546           55302                           TS       IMODES30                              
009860,000104: 
009861,000105: 05,2547           33062                           CAF      MAXDB                                 
009862,000106: 05,2550           55346                           TS       DB                                    
009863,000107: 05,2551           34751                           CAF      FOUR                                  
009864,000108: 05,2552           55325                           TS       RATEINDX                              #  INITIALIZE KALCMANU RATE
009865,000109: 05,2553           33056                           CA       BOOLSTRT                              
009866,000110: 05,2554           54111                           TS       DAPBOOLS                              
009867,000111: 05,2555           35015                           CAF      EBANK6                                
009868,000112: 05,2556           54003                           TS       EBANK                                 
009869,000113: 05,2557  E6,1400                                  EBANK=   HIASCENT                              
009870,000114: 
009871,000115: 05,2557           33053                           CA       STIKSTRT                              
009872,000116: 05,2560           55442                           TS       STIKSENS                              
009873,000117: 05,2561           33054                           CA       RATESTRT                              
009874,000118: 05,2562           55474                           TS       -RATEDB                               
009875,000119: 05,2563           32000                           CAF      FULLAPS                               #  INITIALIZE MAXIMUM ASCENT MASS FOR USE
009876,000120: 05,2564           55400                           TS       HIASCENT                              #    BY 1/ACCS UNTIL THE PAD LOAD IS DONE.
009877,000121: 05,2565           33057                           CA       77001OCT                              #      LOAD DAP FILTER GAINS PAD LOAD
009878,000122: 

Page 228

009880,000124: 05,2566           55403                           TS       DKTRAP                                #     TO BEST PRESENT ESTIMATE OF GOODIES
009881,000125: 05,2567           55406                           TS       LMTRAP                                #  .14 DEG
009882,000126: 05,2570           33060                           CA       60DEC                                 
009883,000127: 05,2571           55405                           TS       DKKAOSN                               
009884,000128: 05,2572           55410                           TS       LMKAOSN                               #  6 SEC GAIN FOR ALPHA
009885,000129: 05,2573           34755                           CA       ZERO                                  
009886,000130: 05,2574           55407                           TS       LMOMEGAN                              #  UNITY GAIN
009887,000131: 05,2575           34363                           CA       TEN                                   
009888,000132: 05,2576           55404                           TS       DKOMEGAN                              #  1 SEC GAIN FOR OMEGA
009889,000133: 05,2577           34744                           CAF      BIT8                                  #  SET DOCKED DB TO 1.4 DEG.  MAY OVERWRITE
009890,000134: 05,2600           55411                           TS       DKDB                                  #    WITH PAD LOAD.
009891,000135: 05,2601           35026                           CAF      IM33INIT                              
009892,000136: 05,2602           64746                           AD       BIT6                                  #  KEEP BOTH DAP AND ERROR-NEEDLES DISPLAY
009893,000137: 05,2603           55303                           TS       IMODES33                              #    OFF UNTIL ICDU ZERO IS FINISHED.
009894,000138: 
009895,000139: 05,2604           00006                           EXTEND                                         #  INITIALIZE SWITCHES ONLY ON FRESH START.
009896,000140: 05,2605           33355                           DCA      SWINIT                                
009897,000141: 05,2606           52075                           DXCH     STATE                                 
009898,000142: 05,2607           33356                           CA       SWINIT     +2                         
009899,000143: 05,2610           54076                           TS       STATE      +2                         
009900,000144: 05,2611           34737                           CA       REFSMBIT                              #  DO NOT ALTER REFSMFLG ON FRESH START.
009901,000145: 05,2612           70077                           MASK     STATE      +3                         
009902,000146: 05,2613           63357                           AD       SWINIT     +3                         
009903,000147: 05,2614           54077                           TS       STATE      +3                         
009904,000148: 05,2615           00006                           EXTEND                                         
009905,000149: 05,2616           33361                           DCA      SWINIT     +4                         
009906,000150: 05,2617           52101                           DXCH     STATE      +4                         
009907,000151: 05,2620           00006                           EXTEND                                         
009908,000152: 05,2621           33363                           DCA      SWINIT     +6                         
009909,000153: 05,2622           52103                           DXCH     STATE      +6                         
009910,000154: 05,2623           34744                           CA       SURFFBIT                              #  DO NOT ALTER  SURFFLAG ON FRESH START.
009911,000155: 05,2624           64740                           AD       CMOONBIT                              #                CMOONFLG
009912,000156: 05,2625           64741                           AD       LMOONBIT                              #                LMOONFLG
009913,000157: 05,2626           70104                           MASK     STATE      +8D                        
009914,000158: 05,2627           63364                           AD       SWINIT     +8D                        
009915,000159: 05,2630           54104                           TS       STATE      +8D                        
009916,000160: 05,2631           33365                           CA       SWINIT     +9D                        
009917,000161: 05,2632           54105                           TS       STATE      +9D                        
009918,000162: 05,2633           34737                           CA       APSFLBIT                              #  DO NOT ALTER APSFLAG ON FRESH START.
009919,000163: 05,2634           70106                           MASK     STATE      +10D                       
009920,000164: 05,2635           63366                           AD       SWINIT     +10D                       
009921,000165: 05,2636           54106                           TS       STATE      +10D                       
009922,000166: 05,2637           33367                           CAF      SWINIT     +11D                       
009923,000167: 05,2640           54107                           TS       STATE      +11D                       
009924,000168: 
009925,000169: 05,2641           04635        ENDRSTRT           TC       POSTJUMP                              #  NOW IN ANOTHER BANK.
009926,000170: 05,2642           03205                           CADR     DUMMYJOB   +2                         #  PICKS UP AT RELINT.   (DONT ZERO NEWJOB)
009927,000171: 
009928,000172: 05,2643           00004        MR.KLEAN           INHINT                                         
009929,000173: 

Page 229

009931,000175: 05,2644           00006                           EXTEND                                         
009932,000176: 05,2645           34755                           DCA      NEG0                                  
009933,000177: 05,2646           52755                           DXCH     -PHASE2                               
009934,000178: 05,2647           00006        POOKLEAN           EXTEND                                         
009935,000179: 05,2650           34755                           DCA      NEG0                                  
009936,000180: 05,2651           52761                           DXCH     -PHASE4                               
009937,000181: 05,2652           00006        V37KLEAN           EXTEND                                         
009938,000182: 05,2653           34755                           DCA      NEG0                                  
009939,000183: 05,2654           52753                           DXCH     -PHASE1                               
009940,000184: 05,2655           00006                           EXTEND                                         
009941,000185: 05,2656           34755                           DCA      NEG0                                  
009942,000186: 05,2657           52757                           DXCH     -PHASE3                               
009943,000187: 05,2660           00006                           EXTEND                                         
009944,000188: 05,2661           34755                           DCA      NEG0                                  
009945,000189: 05,2662           52763                           DXCH     -PHASE5                               
009946,000190: 05,2663           00006                           EXTEND                                         
009947,000191: 05,2664           34755                           DCA      NEG0                                  
009948,000192: 05,2665           52765                           DXCH     -PHASE6                               
009949,000193: 05,2666           00002                           TC       Q                                     
009950,000194: 

Page 230

009952,000196:                                                                                                  #           COMES HERE FROM LOCATION 4000, GOJAM. RESTART ANY PROGRAMS WHIC
009953,000197: 
009954,000198: 05,2667  E3,1400                                  EBANK=   LST1                                  #  H MAY HAVE BEEN RUNNING AT THE TIME.
009955,000199: 05,2667           24320        GOPROG             INCR     REDOCTR                               #  ADVANCE RESTART COUNTER.
009956,000200: 
009957,000201: 05,2670           22002                           LXCH     Q                                     
009958,000202: 05,2671           00006                           EXTEND                                         
009959,000203: 05,2672           04007                           ROR      SUPERBNK                              
009960,000204: 05,2673           53433                           DXCH     RSBBQ                                 
009961,000205: 05,2674           31036                           CA       DSPTAB     +11D                       
009962,000206: 05,2675           74750                           MASK     BIT4                                  
009963,000207: 05,2676           00006                           EXTEND                                         
009964,000208: 05,2677           12703                           BZF      +4                                    
009965,000209: 05,2700           64746                           AD       BIT6                                  #  SET ERROR COUNTER ENABLE
009966,000210: 05,2701           00006                           EXTEND                                         
009967,000211: 05,2702           05012                           WOR      CHAN12                                #  ISS WAS IN COARS ALIGN SO GO BACK TO
009968,000212: 05,2703           03100                           TC       STARTSUB                              
009969,000213: 
009970,000214:                                                                                                  #                                             ERASCHK TEMPORARILY STORES THE CONTENTS OF TWO ERASABLE LOCATIONS, X
009971,000215:                                                                                                  #                                             AND X+1 INTO SKEEP5 AND SKEEP6. IT ALSO STORES X INTO SKEEP7 AND
009972,000216:                                                                                                  #                                             ERESTORE. IF ERASCHK IS INTERRUPTED BY A RESTART, C(ERESTORE) SHOULD
009973,000217:                                                                                                  #                                             EQUAL C(SKEEP7),AND BE A + NUMBER LESS THAN 2000 OCT. OTHERWISE
009974,000218:                                                                                                  #                                             C(ERESTORE) SHOULD EQUAL +0.
009975,000219: 
009976,000220: 05,2704           34350                           CAF      HI5                                   
009977,000221: 05,2705           71360                           MASK     ERESTORE                              
009978,000222: 05,2706           00006                           EXTEND                                         
009979,000223: 05,2707           12711                           BZF      +2                                    #  IF ERESTORE NOT = +0 OR +N LESS THAN 2K,
009980,000224: 05,2710           12501                           TCF      DOFSTRT1                              #  DO FRESH START - E MEMORY MIGHT BE BAD.
009981,000225: 05,2711           41360                           CS       ERESTORE                              
009982,000226: 05,2712           00006                           EXTEND                                         
009983,000227: 05,2713           12730                           BZF      DORSTART                              #  = +0 CONTINUE WITH RESTART.
009984,000228: 05,2714           61377                           AD       SKEEP7                                
009985,000229: 05,2715           00006                           EXTEND                                         
009986,000230: 05,2716           12720                           BZF      +2                                    #  = SKEEP7, RESTORE E MEMORY.
009987,000231: 05,2717           12501                           TCF      DOFSTRT1                              #  DO FRESH START - E MEMORY MIGHT BE BAD.
009988,000232: 05,2720           31374                           CA       SKEEP4                                
009989,000233: 05,2721           54003                           TS       EBANK                                 #  EBANK OF E MEMORY THAT WAS UNDER TEST.
009990,000234: 05,2722           00006                           EXTEND                                         #  (NOT DXCH SINCE THIS MIGHT HAPPEN AGAIN)
009991,000235: 05,2723           31376                           DCA      SKEEP5                                
009992,000236: 05,2724           51377                           INDEX    SKEEP7                                
009993,000237: 05,2725           52001                           DXCH     0000                                  #  E MEMORY RESTORED.
009994,000238: 05,2726           34755                           CA       ZERO                                  
009995,000239: 05,2727           55360                           TS       ERESTORE                              
009996,000240: 05,2730           12731        DORSTART           NOOP                                           #  REMOVE OSC FAIL AND LGC WARNING LOGIC
009997,000241:                                                                                                  #  SINCE SOFTWARE PROBLEMS NO LONGER
009998,000242:                                                                                                  #  CAUSE HARDWARE RESTARTS (EXCEPT PARITY).
009999,000243: 05,2731           03063        BUTTONS            TC       LIGHTSET                              #  EXIT TO DOFSTART IF ERROR RESET AND
010000,000244:                                                                                                  #  MARK REJECT DEPRESSED SIMULTANEOUSLY
010001,000245: 

Page 231

010003,000247: 05,2732           44736        SETINFL            CS       INTFLBIT                              
010004,000248: 05,2733           70106                           MASK     FLGWRD10                              
010005,000249: 05,2734           54106                           TS       FLGWRD10                              
010006,000250: 
010007,000251: 05,2735           33352                           CA       9,6,4                                 #  LEAVE PROG ALARM, GIMBAL LOCK, NO ATT
010008,000252: 05,2736           71036                           MASK     DSPTAB     +11D                       #  LAMPS INTACT ON HARDWARE RESTART
010009,000253: 05,2737           64735                           AD       BIT15                                 
010010,000254: 05,2740           57036                           XCH      DSPTAB     +11D                       
010011,000255: 05,2741           33336                           CAF      IFAILINH                              #  LEAVE IMU FAILURE INHIBITS INTACT ON
010012,000256: 05,2742           71302                           MASK     IMODES30                              #  HARDWARE RESTART. RESET ALL FAILURE
010013,000257: 05,2743           63351                           AD       IM30INIR                              #  CODES.
010014,000258: 05,2744           55302                           TS       IMODES30                              
010015,000259: 
010016,000260: 05,2745           31324                           CA       AGSWORD                               #  BE SURE OF CORRECT DOWNLIST
010017,000261: 05,2746           54332                           TS       DNLSTCOD                              
010018,000262: 
010019,000263: 05,2747           34750                           CA       BIT4                                  #  TURN ON THROTTLE COUNTER
010020,000264: 05,2750           00006                           EXTEND                                         
010021,000265: 05,2751           05014                           WOR      CHAN14                                #  TURN ON THRUST DRIVE
010022,000266: 05,2752           40101                           CS       FLAGWRD5                              
010023,000267: 05,2753           74745                           MASK     ENGONBIT                              
010024,000268: 05,2754           10000                           CCS      A                                     
010025,000269: 05,2755           12762                           TCF      +5                                    
010026,000270: 05,2756           34737                           CAF      BIT13                                 
010027,000271: 05,2757           00006                           EXTEND                                         
010028,000272: 05,2760           05011                           WOR      DSALMOUT                              #  TURN ENGINE ON
010029,000273: 05,2761           12776                           TCF      GOPROG3                               
010030,000274: 05,2762           34736                 +5        CAF      BIT14                                 
010031,000275: 05,2763           00006                           EXTEND                                         
010032,000276: 05,2764           05011                           WOR      DSALMOUT                              #  TURN ENGINE OFF.
010033,000277: 05,2765           12776                           TCF      GOPROG3                               
010034,000278: 
010035,000279: 05,2766           00004        ENEMA              INHINT                                         
010036,000280: 05,2767           03115                           TC       STARTSB1                              
010037,000281: 05,2770           12772                           TCF      GOPROG2A                              
010038,000282: 05,2771           03137        GOPROG2            TC       STARTSB2                              
010039,000283: 05,2772           03063        GOPROG2A           TC       LIGHTSET                              
010040,000284: 05,2773           43061                           CS       RSFLGBTS                              #  CLEAR BITS 7 AND 14.
010041,000285: 05,2774           70106                           MASK     FLGWRD10                              
010042,000286: 05,2775           54106                           TS       FLGWRD10                              
010043,000287: 
010044,000288: 05,2776           34756        GOPROG3            CAF      NUMGRPS                               #  VERIFY PHASE TABLE AGREEMENTS
010045,000289: 05,2777           54161        PCLOOP             TS       MPAC       +5                         
010046,000290: 05,3000           60000                           DOUBLE                                         
010047,000291: 05,3001           00006                           EXTEND                                         
010048,000292: 05,3002           50000                           INDEX    A                                     
010049,000293: 05,3003           30753                           DCA      -PHASE1                               #  COMPLEMENT INTO A, DIRECT INTO L.
010050,000294: 05,3004           00006                           EXTEND                                         
010051,000295: 05,3005           06001                           RXOR     LCHAN                                 #  RESULT MUST BE -0 FOR AGREEMENT.
010052,000296: 05,3006           10000                           CCS      A                                     
010053,000297: 

Page 232

010055,000299: 05,3007           13047                           TCF      PTBAD                                 #  RESTART FAILURE.
010056,000300: 05,3010           13047                           TCF      PTBAD                                 
010057,000301: 05,3011           13047                           TCF      PTBAD                                 
010058,000302: 
010059,000303: 05,3012           10161                           CCS      MPAC       +5                         #  PROCESS ALL RESTART GROUPS.
010060,000304: 05,3013           12777                           TCF      PCLOOP                                
010061,000305: 
010062,000306: 05,3014           54162                           TS       MPAC       +6                         #  SET TO +0.
010063,000307: 05,3015           05315                           TC       MMDSPLAY                              #  DISPLAY MAJOR MODE
010064,000308: 
010065,000309: 05,3016           00004                           INHINT                                         #  RELINT DONE IN MMDSPLAY
010066,000310: 
010067,000311: 05,3017           44736                           CS       DIDFLBIT                              #  CLEAR DIDFLAG IN ORDER TO FORCE R10 TO
010068,000312: 05,3020           70075                           MASK     FLAGWRD1                              #  RE-INITIALIZE ITSELF IF IT HAD BEEN
010069,000313: 05,3021           54075                           TS       FLAGWRD1                              #  OPERATING AT THE TIME OF THE RESTART.
010070,000314: 
010071,000315: 05,3022           34756                           CAF      NUMGRPS                               #  SEE IF ANY GROUPS RUNNING.
010072,000316: 05,3023           54161        NXTRST             TS       MPAC       +5                         
010073,000317: 05,3024           60000                           DOUBLE                                         
010074,000318: 05,3025           50000                           INDEX    A                                     
010075,000319: 05,3026           10753                           CCS      PHASE1                                
010076,000320: 05,3027           13031                           TCF      PACTIVE                               #  PNZ - GROUP ACTIVE.
010077,000321: 05,3030           13036                           TCF      PINACT                                #  +0 - GROUP NOT RUNNING.
010078,000322: 
010079,000323: 05,3031           54154        PACTIVE            TS       MPAC                                  
010080,000324: 05,3032           24154                           INCR     MPAC                                  #  ABS OF PHASE.
010081,000325: 05,3033           24162                           INCR     MPAC       +6                         #  INDICATE GROUP DEMANDS PRESENT.
010082,000326: 05,3034           33055                           CA       RACTCADR                              
010083,000327: 05,3035           04622                           TC       SWCALL                                #  MUST RETURN TO SWRETURN.
010084,000328: 
010085,000329: 05,3036           10161        PINACT             CCS      MPAC       +5                         #  PROCESS ALL RESTART GROUPS.
010086,000330: 05,3037           13023                           TCF      NXTRST                                
010087,000331: 
010088,000332: 05,3040           10162                           CCS      MPAC       +6                         #  NO, CHECK PHASE ACTIVITY FLAG
010089,000333: 05,3041           12641                           TCF      ENDRSTRT                              #  PHASE ACTIVE
010090,000334: 05,3042           34735                           CAF      BIT15                                 #  IS MODE -0
010091,000335: 05,3043           71011                           MASK     MODREG                                
010092,000336: 05,3044           00006                           EXTEND                                         
010093,000337: 05,3045           16001                           BZF      GOTOPOOH                              #  NO
010094,000338: 05,3046           12641                           TCF      ENDRSTRT                              #  YES
010095,000339: 05,3047           05567        PTBAD              TC       ALARM                                 #  SET ALARM TO SHOW PHASE TABLE FAILURE.
010096,000340: 05,3050           01107                           OCT      1107                                  
010097,000341: 
010098,000342: 05,3051           12501                           TCF      DOFSTRT1                              
010099,000343:                                                                                                  #  ******** ****** ******
010100,000344: 
010101,000345:                                                                                                  #  DO NOT USE GOPROG2 OR ENEMA WITHOUT CONSULTING POOH PEOPLE
010102,000346: 
010103,000347: 05,3052     4737               OCT10000           =        BIT13                                 
010104,000348: 

Page 233

010106,000350: 05,3052     4355               OCT30000           =        PRIO30                                
010107,000351: 05,3052           07777        OCT7777            OCT      7777                                  
010108,000352: 05,3053           32321        STIKSTRT           DEC      0.825268                              #  20 D/S MAXIMUM COMMANDED RATE
010109,000353: 05,3054           77445        RATESTRT           DEC      -218       B-14                       
010110,000354: 05,3055           03523        RACTCADR           CADR     RESTARTS                              
010111,000355: 05,3056           21312        BOOLSTRT           OCT      21312                                 
010112,000356: 05,3057           77001        77001OCT           OCT      77001                                 #  .14 DEG SCALED AT 4.5 DEG
010113,000357: 05,3060           00074        60DEC              DEC      60         B-14                       
010114,000358: 05,3061           20100        RSFLGBTS           OCT      20100                                 
010115,000359: 05,3062           03434        MAXDB              OCTAL    03434                                 #  5 DEG ATTITUDE DEADBAND, SCALED AT 45.
010116,000360: 
010117,000361: 05,3063           34747        LIGHTSET           CAF      BIT5                                  #  CHECK FOR MARK REJECT AND ERROR RESET
010118,000362: 05,3064           00006                           EXTEND                                         
010119,000363: 05,3065           02016                           RAND     NAVKEYIN                              
010120,000364: 05,3066           00006                           EXTEND                                         
010121,000365: 05,3067           13075                           BZF      NONAVKEY                              #  NO MARK REJECT
010122,000366: 05,3070           00006                           EXTEND                                         
010123,000367: 05,3071           00015                           READ     MNKEYIN                               #  CHECK IF KEYS 2M AND 5M ON
010124,000368: 05,3072           63347                           AD       -ELR                                  #  MAIN DSKY KEYCODE (BITS 1-5)
010125,000369: 05,3073           00006                           EXTEND                                         
010126,000370: 05,3074           13076                           BZF      +2                                    
010127,000371: 
010128,000372: 05,3075           00002        NONAVKEY           TC       Q                                     
010129,000373: 
010130,000374: 05,3076           03100                           TC       STARTSUB                              
010131,000375: 05,3077           12474                           TCF      DOFSTART                              
010132,000376: 

Page 234

010134,000378:                                                                                                  #           INITIALIZATION COMMON TO BOTH FRESH START AND RESTART.
010135,000379: 
010136,000380: 05,3100  E6,1537                                  EBANK=   AOSQ                                  
010137,000381: 05,3100           33337        STARTSUB           CAF      LDNPHAS1                              #  SET POINTER SO NEXT 20MS DOWNRUPT WILL
010138,000382: 05,3101           54335                           TS       DNTMGOTO                              #  CAUSE THE CURRENT DOWNLIST TO BE
010139,000383:                                                                                                  #  INTERRUPTED AND START SENDING FROM THE
010140,000384:                                                                                                  #  BEGINNING OF THE CURRENT DOWNLIST.
010141,000385: 05,3102           34746                           CAF      BIT6                                  
010142,000386: 05,3103           00006                           EXTEND                                         
010143,000387: 05,3104           02033                           RAND     CHAN33                                
010144,000388: 05,3105           63353                           AD       RMODINIT                              
010145,000389: 05,3106           54110                           TS       RADMODES                              
010146,000390: 
010147,000391: 05,3107           34733                           CAF      POSMAX                                
010148,000392: 05,3110           54026                           TS       TIME3                                 
010149,000393: 05,3111           67745                           AD       MINUS2                                
010150,000394: 05,3112           54027                           TS       TIME4                                 
010151,000395: 05,3113           67746                           AD       NEGONE                                
010152,000396: 05,3114           54030                           TS       TIME5                                 
010153,000397: 
010154,000398: 05,3115           35015        STARTSB1           CAF      EBANK6                                
010155,000399: 05,3116           54003                           TS       EBANK                                 
010156,000400: 
010157,000401: 05,3117           44737                           CS       BIT13                                 #  CAUSE DAPIDLER TO CALL 1/ACCS
010158,000402: 05,3120           71273                           MASK     RCSFLAGS                              
010159,000403: 05,3121           55273                           TS       RCSFLAGS                              #  ZERO BIT 13
010160,000404: 05,3122           34733                           CAF      POSMAX                                #  DISABLE TIME6 CLOCK.  JUST IN CASE A T6
010161,000405: 05,3123           55464                           TS       T6NEXT                                #    RUPT IS ALREADY IN THE PRIORITY CHAIN,
010162,000406: 05,3124           00006                           EXTEND                                         #    ENSURE THAT IT'S INPUTS WILL RENDER IT
010163,000407: 05,3125           03013                           WAND     CHAN13                                #    INEFFECTUAL.
010164,000408: 05,3126           34755                           CAF      ZERO                                  
010165,000409: 05,3127           55463                           TS       NXT6ADR                               
010166,000410: 05,3130           55470                           TS       NEXTP                                 
010167,000411: 
010168,000412: 05,3131           44751                           CS       ACCSOKAY                              
010169,000413: 05,3132           70111                           MASK     DAPBOOLS                              
010170,000414: 05,3133           54111                           TS       DAPBOOLS                              
010171,000415: 
010172,000416: 05,3134           00006                           EXTEND                                         #  SET T5RUPT FOR DAPIDLER PROGRAM.
010173,000417: 05,3135           33335                           DCA      IDLEADR                               
010174,000418: 05,3136           53275                           DXCH     T5ADR                                 
010175,000419: 
010176,000420: 05,3137           33346        STARTSB2           CAF      OCT30001                              #  DURING SOFTWARE RESTART, DO NOT DISTURB
010177,000421: 05,3140           00006                           EXTEND                                         #  ENGINE ON, OFF AND ISS WARNING.
010178,000422: 05,3141           03011                           WAND     DSALMOUT                              
010179,000423: 
010180,000424: 05,3142           44743                           CS       READRBIT                              #  CLEAR READRFLG FOR R29.
010181,000425: 05,3143           70077                           MASK     FLAGWRD3                              
010182,000426: 05,3144           54077                           TS       FLAGWRD3                              
010183,000427: 

Page 235

010185,000429: 
010186,000430: 05,3145           40077                           CS       FLAGWRD3                              #  DURING SOFTWARE RESTART,CLEAR TURNON,
010187,000431: 05,3146           74741                           MASK     NR29FBIT                              #  REPOSITION,CDU ZERO AND REMODE BITS
010188,000432: 05,3147           00006                           EXTEND                                         #  IN RADMODES,SINCE TASKS ASSOCIATED
010189,000433: 05,3150           13152                           BZF      +2                                    #  WITH THESE BITS HAVE BEEN KILLED
010190,000434: 05,3151           34742                           CAF      BIT10                                 #  ALSO IF R29 HAD BEEN REQUESTED,
010191,000435: 05,3152           63342                           AD       OCT32001                              #  (NOR29FLG = 0) CLEAR BIT 10 RADMODES
010192,000436: 05,3153           40000                           COM                                            #  TO MAKE R29 FORGET IT HAD STARTED
010193,000437: 05,3154           70110                           MASK     RADMODES                              #  DESIGNATING
010194,000438: 05,3155           54110                           TS       RADMODES                              
010195,000439: 05,3156           33344                           CAF      OCT27470                              #  DURING SOFTWARE RESTART, DO NOT DISTURB
010196,000440: 05,3157           00006                           EXTEND                                         #  IMU FLAGS.  (COURSE ALIGN ENABLE, ZERO
010197,000441: 05,3160           03012                           WAND     CHAN12                                #  IMU CDUS, ENABLE IMU COUNTER) AND GIMBAL
010198,000442:                                                                                                  #  TRIM DRIVES. LEAVE RR LOCKON ENABLE
010199,000443:                                                                                                  #  ALONE.
010200,000444: 
010201,000445: 05,3161           44750                           CS       NORRMBIT                              #  ENABLE R25.
010202,000446: 05,3162           70101                           MASK     FLAGWRD5                              
010203,000447: 05,3163           54101                           TS       FLAGWRD5                              
010204,000448: 
010205,000449: 05,3164           33345                           CAF      OCT74160                              #  DURING SOFTWARE RESTART, DO NOT DUSTURB
010206,000450: 05,3165           00006                           EXTEND                                         #  TELEMETRY FLAGS, RESET TRAP FLAGS, AND
010207,000451: 05,3166           03013                           WAND     CHAN13                                #  ENABLE T6RUPT FLAG.
010208,000452: 
010209,000453: 05,3167           34740                           CAF      BIT12                                 #  REENABLE RUPT10 (RUPT QUICKLY
010210,000454: 05,3170           00006                           EXTEND                                         #    RESUMES EXCEPT DURING P64)
010211,000455: 05,3171           05013                           WOR      CHAN13                                
010212,000456: 
010213,000457: 05,3172           34746                           CAF      BIT6                                  #  DURING SOFTWARE RESTART, DO NOT DISTURB
010214,000458: 05,3173           00006                           EXTEND                                         #  GYRO ENABLE FLAG.
010215,000459: 05,3174           03014                           WAND     CHAN14                                
010216,000460: 
010217,000461: 05,3175  E3,1400                                  EBANK=   LST1                                  
010218,000462: 05,3175           35007                           CAF      STARTEB                               
010219,000463: 05,3176           54003                           TS       EBANK                                 #  SET FOR E3
010220,000464: 
010221,000465: 05,3177           34734                           CAF      NEG1/2                                #  INITIALIZE WAITLIST DELTA-TS.
010222,000466: 05,3200           55407                           TS       LST1       +7                         
010223,000467: 05,3201           55406                           TS       LST1       +6                         
010224,000468: 05,3202           55405                           TS       LST1       +5                         
010225,000469: 05,3203           55404                           TS       LST1       +4                         
010226,000470: 05,3204           55403                           TS       LST1       +3                         
010227,000471: 05,3205           55402                           TS       LST1       +2                         
010228,000472: 05,3206           55401                           TS       LST1       +1                         
010229,000473: 05,3207           55400                           TS       LST1                                  
010230,000474: 
010231,000475: 05,3210           45236                           CS       ENDTASK                               
010232,000476: 05,3211           55410                           TS       LST2                                  
010233,000477: 05,3212           55412                           TS       LST2       +2                         
010234,000478: 05,3213           55414                           TS       LST2       +4                         
010235,000479: 05,3214           55416                           TS       LST2       +6                         
010236,000480: 

Page 236

010238,000482: 05,3215           55420                           TS       LST2       +8D                        
010239,000483: 05,3216           55422                           TS       LST2       +10D                       
010240,000484: 05,3217           55424                           TS       LST2       +12D                       
010241,000485: 05,3220           55426                           TS       LST2       +14D                       
010242,000486: 05,3221           55430                           TS       LST2       +16D                       
010243,000487: 05,3222           45237                           CS       ENDTASK    +1                         
010244,000488: 05,3223           55411                           TS       LST2       +1                         
010245,000489: 05,3224           55413                           TS       LST2       +3                         
010246,000490: 05,3225           55415                           TS       LST2       +5                         
010247,000491: 05,3226           55417                           TS       LST2       +7                         
010248,000492: 05,3227           55421                           TS       LST2       +9D                        
010249,000493: 05,3230           55423                           TS       LST2       +11D                       
010250,000494: 05,3231           55425                           TS       LST2       +13D                       
010251,000495: 05,3232           55427                           TS       LST2       +15D                       
010252,000496: 05,3233           55431                           TS       LST2       +17D                       
010253,000497: 
010254,000498: 05,3234           44755                           CS       ZERO                                  #  MAKE ALL EXECUTIVE REGISTER SETS
010255,000499: 05,3235           54167                           TS       PRIORITY                              #  AVAILABLE.
010256,000500: 05,3236           54203                           TS       PRIORITY   +12D                       
010257,000501: 05,3237           54217                           TS       PRIORITY   +24D                       
010258,000502: 05,3240           54233                           TS       PRIORITY   +36D                       
010259,000503: 05,3241           54247                           TS       PRIORITY   +48D                       
010260,000504: 05,3242           54263                           TS       PRIORITY   +60D                       
010261,000505: 05,3243           54277                           TS       PRIORITY   +72D                       
010262,000506: 05,3244           54313                           TS       PRIORITY   +84D                       
010263,000507: 
010264,000508: 05,3245           55313                           TS       DSRUPTSW                              
010265,000509: 05,3246           54067                           TS       NEWJOB                                #  SHOWS NO ACTIVE JOBS.
010266,000510: 
010267,000511: 05,3247           33341                           CAF      VAC1ADRC                              #  MAKE ALL VAC AREAS AVAILABLE.
010268,000512: 05,3250           54400                           TS       VAC1USE                               
010269,000513: 05,3251           63343                           AD       LTHVACA                               
010270,000514: 05,3252           54454                           TS       VAC2USE                               
010271,000515: 05,3253           63343                           AD       LTHVACA                               
010272,000516: 05,3254           54530                           TS       VAC3USE                               
010273,000517: 05,3255           63343                           AD       LTHVACA                               
010274,000518: 05,3256           54604                           TS       VAC4USE                               
010275,000519: 05,3257           63343                           AD       LTHVACA                               
010276,000520: 05,3260           54660                           TS       VAC5USE                               
010277,000521: 
010278,000522: 05,3261           34363                           CAF      TEN                                   
010279,000523: 05,3262           54154        DSPOFF             TS       MPAC                                  #  R1,R2,R3).
010280,000524: 05,3263           44740                           CS       BIT12                                 
010281,000525: 05,3264           50154                           INDEX    MPAC                                  
010282,000526: 05,3265           55023                           TS       DSPTAB                                
010283,000527: 05,3266           10154                           CCS      MPAC                                  
010284,000528: 05,3267           13262                           TCF      DSPOFF                                
010285,000529: 
010286,000530: 05,3270           55326                           TS       DELAYLOC                              
010287,000531: 05,3271           55327                           TS       DELAYLOC   +1                         
010288,000532: 

Page 237

010290,000534: 05,3272           55330                           TS       DELAYLOC   +2                         
010291,000535: 05,3273           55074                           TS       R1SAVE                                
010292,000536: 05,3274           54045                           TS       INLINK                                
010293,000537: 05,3275           54776                           TS       DSPCNT                                
010294,000538: 05,3276           55042                           TS       CADRSTOR                              
010295,000539: 05,3277           55013                           TS       REQRET                                
010296,000540: 05,3300           55015                           TS       CLPASS                                
010297,000541: 05,3301           55012                           TS       DSPLOCK                               
010298,000542: 05,3302           55020                           TS       MONSAVE                               #  KILL MONITOR
010299,000543: 05,3303           55021                           TS       MONSAVE1                              
010300,000544: 05,3304           55001                           TS       VERBREG                               
010301,000545: 05,3305           55002                           TS       NOUNREG                               
010302,000546: 05,3306           55043                           TS       DSPLIST                               
010303,000547: 05,3307           55312                           TS       MARKSTAT                              
010304,000548: 05,3310           55044                           TS       EXTVBACT                              #  MAKE EXTENDED VERBS AVAILABLE
010305,000549: 05,3311           55304                           TS       IMUCADR                               
010306,000550: 05,3312           55305                           TS       OPTCADR                               
010307,000551: 05,3313           55306                           TS       RADCADR                               
010308,000552: 05,3314           55307                           TS       ATTCADR                               
010309,000553: 05,3315           55314                           TS       LGYRO                                 
010310,000554: 05,3316           54100                           TS       FLAGWRD4                              #  KILL INTERFACE DISPLAYS
010311,000555: 05,3317           34760                           CAF      NOUTCON                               
010312,000556: 05,3320           55016                           TS       NOUT                                  
010313,000557: 
010314,000558: 05,3321           44753                           CS       ONE                                   
010315,000559: 05,3322           55100                           TS       SAMPLIM                               
010316,000560: 05,3323           34746                           CAF      BIT6                                  
010317,000561: 05,3324           71303                           MASK     IMODES33                              #  LEAVE BIT 6 UNCHANGED
010318,000562: 05,3325           65026                           AD       IM33INIT                              #  NO PIP OR TM FAILS.BIT6=0 IN THIS WORD.
010319,000563: 05,3326           55303                           TS       IMODES33                              
010320,000564: 
010321,000565: 05,3327           33340                           CAF      LESCHK                                #  SELF CHECK GO-TO REGISTER.
010322,000566: 05,3330           55361                           TS       SELFRET                               
010323,000567: 
010324,000568: 05,3331           44360                           CS       VD1                                   
010325,000569: 05,3332           54777                           TS       DSPCOUNT                              
010326,000570: 
010327,000571: 05,3333           00002                           TC       Q                                     
010328,000572: 05,3334  E6,1537                                  EBANK=   AOSQ                                  
010329,000573: 05,3334           02024 34066  IDLEADR            2CADR    DAPIDLER                              
010330,000574: 05,3336           00435        IFAILINH           OCT      435                                   
010331,000575: 05,3337           03437        LDNPHAS1           GENADR   DNPHASE1                              
010332,000576: 05,3340           03344        LESCHK             GENADR   SELFCHK                               
010333,000577: 05,3341           00400        VAC1ADRC           ADRES    VAC1USE                               
010334,000578: 05,3342           32001        OCT32001           OCT      32001                                 
010335,000579: 05,3343           00054        LTHVACA            DEC      44         B-14                       
010336,000580: 
010337,000581: 05,3344           27470        OCT27470           OCT      27470                                 
010338,000582: 

Page 238

010340,000584: 05,3345           74160        OCT74160           OCT      74160                                 
010341,000585: 05,3346           30001        OCT30001           OCT      30001                                 
010342,000586: 05,3347     5007               STARTEB            EQUALS   EBANK3                                
010343,000587: 05,3347     4756               NUMGRPS            EQUALS   FIVE                                  
010344,000588: 05,3347           77755        -ELR               OCT      -22                                   #  -ERROR LIGHT RESET KEY CODE.
010345,000589: 05,3350           37411        IM30INIF           OCT      37411                                 #  INHIBITS IMU FAIL FOR 5 SEC AND PIP ISSW
010346,000590: 05,3351           37000        IM30INIR           OCT      37000                                 
010347,000591: 05,3352     5026               IM33INIT           =        PRIO16                                #  NO PIP OR TM FAIL SIGNALS.
010348,000592: 05,3352           00450        9,6,4              OCT      450                                   
010349,000593: 05,3353           00102        RMODINIT           OCT      00102                                 
010350,000594: 05,3354           00000        SWINIT             OCT      0                                     
010351,000595: 05,3355           00000                           OCT      0                                     
010352,000596: 05,3356           00000                           OCT      0                                     
010353,000597: 05,3357           02000                           OCT      02000                                 #  BIT 11 = NOR29FLG
010354,000598: 05,3360           00000                           OCT      0                                     
010355,000599: 05,3361           00000                           OCT      0                                     
010356,000600: 05,3362           00000                           OCT      0                                     
010357,000601: 05,3363           00100                           OCT      00100                                 
010358,000602: 
010359,000603: 05,3364           00000                           OCT      0                                     
010360,000604: 05,3365           00000                           OCT      0                                     
010361,000605: 05,3366           00000                           OCT      0                                     
010362,000606: 05,3367           40000                           OCT      40000                                 #  BIT 15 = LRBYPASS.
010363,000607: 

Page 239

010365,000609:                                                                                                  #  PROGRAM NAME    GOTOPOOH                   ASSEMBLY       SUNDANCE
010366,000610:                                                                                                  #  LOG SECTION     FRESH START AND RESTART
010367,000611: 
010368,000612:                                                                                                  #  FUNCTIONAL DESCRIPTION
010369,000613: 
010370,000614:                                                                                                  #        FLASH V 37 ON DSKY %MM CHANGE REQUEST "
010371,000615: 
010372,000616:                                                                                                  #  INPUT/OUTPUT INFORMATION
010373,000617: 
010374,000618:                                                                                                  #        A. CALLING SEQUENCE        TC GOTOPOOH
010375,000619: 
010376,000620:                                                                                                  #        B. ERASABLE INITIALIZATION       NONE
010377,000621: 
010378,000622:                                                                                                  #        C. OUTPUT FLASH V 37 ON DSKY
010379,000623: 
010380,000624:                                                                                                  #        D. DEBRIS       L
010381,000625: 
010382,000626:                                                                                                  #  PROGRAM ANALYSIS
010383,000627: 
010384,000628:                                                                                                  #        A. SUBROUTINES CALLED PRIODSPR,  LINUS
010385,000629: 
010386,000630:                                                                                                  #        B. NORMAL EXIT        TCF ENDOFJOB
010387,000631: 
010388,000632:                                                                                                  #        C. ALARM AND ABORT EXITS       NONE
010389,000633: 
010390,000634:    6001                                           BLOCK    03                                    
010391,000635:    6000                                           SETLOC   FFTAG5                                
010392,000636:    6000                                           BANK                                           
010393,000637: 
010394,000638:    6001                                           COUNT*   $$/P00                                
010395,000639:    6001           34764        GOTOPOOH           CAF      OCT33                                 #  4.33 SPOT FOR GOPOOFIX
010396,000640:    6002           54001                           TS       L                                     
010397,000641:    6003           40000                           COM                                            
010398,000642:    6004           52761                           DXCH     -PHASE4                               
010399,000643: 
010400,000644:    6005           04635                           TC       POSTJUMP                              
010401,000645:    6006           10024                           CADR     GOPOOFIX                              
010402,000646:    6007           00024        OCT24              MM       20         B-14                       
010403,000647:    6010           00031        OCT31              MM       25         B-14                       
010404,000648: 
010405,000649: 20,2004                                           BANK     20                                    
010406,000650: 04,2000                                           SETLOC   VERB37                                
010407,000651: 04,2000                                           BANK                                           
010408,000652: 
010409,000653: 04,2024                                           COUNT*   $$/P00                                #  VERB 37 AND P00 IN BANK 4.
010410,000654: 04,2024           05516        GOPOOFIX           TC       DOWNFLAG                              #  ALLOW X-AXIS OVERRIDE
010411,000655: 04,2025           00311                           ADRES    XOVINFLG                              
010412,000656: 
010413,000657: 04,2026           05516                           TC       DOWNFLAG                              #  INSURE THAT ULLAGE IS OFF
010414,000658: 04,2027           00314                           ADRES    ULLAGFLG                              
010415,000659: 

Page 240

010417,000661: 04,2030           32036                           CAF      V37N99                                
010418,000662: 04,2031           04616                           TC       BANKCALL                              
010419,000663: 04,2032           20351                           CADR     GOFLASH                               
010420,000664: 04,2033           12030                           TCF      -3                                    
010421,000665: 04,2034           12030                           TCF      -4                                    
010422,000666: 04,2035           12030                           TCF      -5                                    
010423,000667: 
010424,000668: 04,2036           11343        V37N99             VN       3799                                  
010425,000669: 

Page 241

010427,000671:                                                                                                  #  PROGRAM NAME          V37                     ASSEMBLY SUNDANCE
010428,000672: 
010429,000673:                                                                                                  #  LOG SECTION     FRESH START AND RESTART
010430,000674: 
010431,000675:                                                                                                  #  FUNCTIONAL DESCRIPTION
010432,000676: 
010433,000677:                                                                                                  #        1. CHECK IF NEW PROGRAM ALLOWED. IF BIT 1 OF FLAGWRD2(NODOFLAG) IS SET, AN ALARM 1520 IS CALLED.
010434,000678:                                                                                                  #        2. CHECK FOR VALIDITY OF PROGRAM SELECTED. IF AN INVALID PROGRAM  IS SELECTED, THE OPERATOR ERROR LIGHT IS
010435,000679:                                                                                                  #           SET AND CURRENT ACTIVITY, IF ANY, CONTINUES.
010436,000680:                                                                                                  #        3. SERVICER IS TERMINATED IF IT HAS BEEN RUNNING.
010437,000681:                                                                                                  #        4. INSTALL IS EXECUTED TO AVOID INTERRUPTING INTEGRATION.
010438,000682:                                                                                                  #        5. THE ENGINE IS TURNED OFF AND THE DAP IS INITIALIZED FOR COAST.
010439,000683:                                                                                                  #        6. TRACK AND UPDATE FLAGS ARE SET TO ZERO.
010440,000684:                                                                                                  #        7. DISPLAY SYSTEM IS RELEASED.
010441,000685:                                                                                                  #        8. THE FOLLOWING ARE PERFORMED FOR EACH OF THE THREE CASES.
010442,000686:                                                                                                  #           A. PROGRAM SELECTED IS P00.
010443,000687:                                                                                                  #              1. RENDEZVOUS AND P25 FLAGS ARE RESET.(KILL P20 AND P25)
010444,000688:                                                                                                  #              2. STATINT1     IS SCHEDULED BY SETTING RESTART GROUP 2.
010445,000689:                                                                                                  #              3. MAJOR MODE 00 IS STORED IN THE MODE REGISTER (MODREG).
010446,000690:                                                                                                  #              4. SUPERBANK 3 IS SELECTED.
010447,000691:                                                                                                  #              5. NODOFLAG IS RESET.
010448,000692:                                                                                                  #              6. ALL RESTART GROUPS EXCEPT GROUP 2 ARE CLEARED. CONTROL ISTRANSFERRED TO RESTART PROGRAM (GOPROG2)
010449,000693:                                                                                                  #                 WHICH CAUSES ALL CURRENT ACTIVITY TO BE DISCONTINUED AND A 9 MINUTE INTEGRATION CYCLE TO BE
010450,000694:                                                                                                  #                 INITIATED.
010451,000695:                                                                                                  #           B. PROGRAM SELECTED IS P20 OR P25.
010452,000696:                                                                                                  #              1. IF THE CURRENT MAJOR MODE IS THE SAME AS THE SELECTED NEWPROGRAM, THE PROGRAM IS RE-INITIALIZED
010453,000697:                                                                                                  #                 VIA V37XEQ, ALL RESTART GROUPS, EXCEPT GROUP 4 ARE CLEARED.
010454,000698:                                                                                                  #              2. IF THE CURRENT MAJOR MODE IS NOT EQUAL TO THE NEW REQUEST, A CHECK IS MADE TO SEE IF THE REQUEST-
010455,000699:                                                                                                  #                 ED MAJOR MODE HAS BEEN RUNNING IN THE BACKGROUND,
010456,000700:                                                                                                  #                 AND IF IT HAS, NO NEW PROGRAM IS SCHEDULED, THE EXISTING
010457,000701:                                                                                                  #                 P20 OR P25 IS RESTARTED TO CONTINUE, AND ITS M M IS SET.
010458,000702:                                                                                                  #              3. CONTROL IS TRANSFERRED TO GOPROG2.
010459,000703:                                                                                                  #           C. PROGRAM SELECTED IS NEITHER P00,P20, NOR P25
010460,000704:                                                                                                  #              1. V37XEQ IS SCHEDULED (AS A JOB) BY SETTING RESTART GROUP 4
010461,000705:                                                                                                  #              2. ALL CURRENT ACTIVITY EXCEPT RENDEZVOUS AND TRACKING IS DISCONTINUED BY CLEARING ALL RESTART
010462,000706:                                                                                                  #                 GROUPS. IF THE RENDEZVOUS OR THE P25 FLAG IS ON, GROUP 2 IS NOT CLEARED, ALLOWING THESE PROGRAMS
010463,000707:                                                                                                  #                 TO CONTINUE.
010464,000708: 
010465,000709:                                                                                                  #  INPUT/OUTPUT INFORMATION
010466,000710: 
010467,000711:                                                                                                  #        A. CALLING SEQUENCE
010468,000712: 
010469,000713:                                                                                                  #            CONTROL IS DIRECTED TO V37 BY THE VERBFAN ROUTINE.
010470,000714:                                                                                                  #               VERBFAN GOES TO C(VERBTAB+C(VERBREG)). VERB 37 = MMCHANG.
010471,000715:                                                                                                  #               MMCHANG EXECUTES A   TC POSTJUMP, CADR V37.
010472,000716: 
010473,000717:                                                                                                  #        B. ERASABLE INITIALIZATION      NONE
010474,000718: 
010475,000719:                                                                                                  #        C. OUTPUT
010476,000720: 

Page 242

010478,000722:                                                                                                  #            MAJOR MODE CHANGE
010479,000723: 
010480,000724:                                                                                                  #        D. DEBRIS
010481,000725:                                                                                                  #             MMNUMBER, MPAC +1, MINDEX, BASETEMP +C(MINDEX), FLAGWRD0, FLAGWRD1, FLAGWRD2, MODREG, GOLOC -1,
010482,000726:                                                                                                  #             GOLOC, GOLOC +1, GOLOC +2, BASETEMP, -PHASE2, PHASE2, -PHASE4
010483,000727: 
010484,000728:                                                                                                  #  PROGRAM ANALYSIS
010485,000729: 
010486,000730:                                                                                                  #        A. SUBROUTINES CALLED
010487,000731:                                                                                                  #             ALARM, RELDSP, PINBRNCH, INTSTALL, ENGINOF2, ALLCOAST, V37KLEAN, GOPROG2, FALTON, FINDVAC, SUPERSW,
010488,000732:                                                                                                  #             DSPMM
010489,000733: 
010490,000734:                                                                                                  #        B. NORMAL EXIT        TC ENDOFJOB
010491,000735: 
010492,000736:                                                                                                  #        C. ALARMS      1520 (MAJOR MODE CHANGE NOT PERMITTED)
010493,000737: 
010494,000738: 04,2037           54775        V37                TS       MMNUMBER                              #  SAVE MAJOR MODE
010495,000739: 04,2040           34355                           CAF      PRIO30                                #  RESTART AT PINBALL PRIORITY
010496,000740: 04,2041           54366                           TS       RESTREG                               
010497,000741: 
010498,000742: 04,2042           31302                           CA       IMODES30                              #  IS IMU BEINB INITIALIZED
010499,000743: 04,2043           74746                           MASK     BIT6                                  
010500,000744: 04,2044           10000                           CCS      A                                     
010501,000745: 04,2045           12064                           TCF      CANTROO                               
010502,000746: 
010503,000747: 04,2046           40775                           CS       MMNUMBER                              #  IS P70 REQUESTED?
010504,000748: 04,2047           62375                           AD       DEC70                                 
010505,000749: 04,2050           00006                           EXTEND                                         
010506,000750: 04,2051           12370                           BZF      SETUP70                               #  YES
010507,000751: 04,2052           64753                           AD       ONE                                   #  IS P71 REQUESTED?
010508,000752: 04,2053           00006                           EXTEND                                         
010509,000753: 04,2054           12367                           BZF      SETUP71                               #  YES
010510,000754: 
010511,000755: 04,2055           30775                           CA       MMNUMBER                              #  IS NEW REQUEST POO
010512,000756: 04,2056           00006                           EXTEND                                         
010513,000757: 04,2057           12106                           BZF      ISSERVON                              #  YES, CHECK SERVICER STATUS
010514,000758: 
010515,000759: 04,2060           40076                           CS       FLAGWRD2                              #  NO, IS NODO V37 FLAG SET
010516,000760: 04,2061           74753                           MASK     NODOBIT                               
010517,000761: 04,2062           10000                           CCS      A                                     
010518,000762: 04,2063           12071                           TCF      CHECKTAB                              #  NO
010519,000763: 04,2064           05567        CANTROO            TC       ALARM                                 
010520,000764: 04,2065           01520                           OCT      1520                                  
010521,000765: 
010522,000766: 04,2066           04457        V37BAD             TC       RELDSP                                #  RELEASES DISPLAY FROM ASTRONAUT
010523,000767: 
010524,000768: 04,2067           04635                           TC       POSTJUMP                              #  BRING BACK LAST NORMAL DISPLAY IF THERE
010525,000769: 04,2070           20723                           CADR     PINBRNCH                              #  WAS ONE. OTHERWISE DO AN EOJ.
010526,000770: 
010527,000771: 04,2071           32474        CHECKTAB           CA       NOV37MM                               #  INDEX FOR MM TABLES.
010528,000772: 

Page 243

010530,000774: 04,2072           54155        AGAINMM            TS       MPAC       +1                         
010531,000775: 04,2073           50155                           NDX      MPAC       +1                         
010532,000776: 04,2074           32436                           CA       PREMM1                                #  OBTAIN WHICH MM THIS IS FOR
010533,000777: 04,2075           76073                           MASK     LOW7                                  
010534,000778: 04,2076           40000                           COM                                            
010535,000779: 04,2077           60775                           AD       MMNUMBER                              
010536,000780: 04,2100           10000                           CCS      A                                     
010537,000781: 04,2101           10155                           CCS      MPAC       +1                         #  IF GR, SEE IF ANY MORE IN LIST
010538,000782: 04,2102           12072                           TCF      AGAINMM                               #  YES, GET NEXT ONE
010539,000783: 04,2103           12317                           TCF      V37NONO                               #  LAST TIME OR PASSED MM
010540,000784: 
010541,000785: 04,2104           30155                           CA       MPAC       +1                         
010542,000786: 04,2105           54774                           TS       MINDEX                                #  SAVE INDEX FOR LATER
010543,000787: 
010544,000788: 04,2106           40103        ISSERVON           CS       FLAGWRD7                              #  V37 FLAG SET - I.E. IS SERVICER GOING
010545,000789: 04,2107           74746                           MASK     V37FLBIT                              
010546,000790: 04,2110           10000                           CCS      A                                     
010547,000791: 04,2111           12133                           TCF      CANV37                                #  NO
010548,000792: 
010549,000793: 04,2112           05516                           TC       DOWNFLAG                              #  YES, TURN OFF THE AVERAGE FLAG AND
010550,000794: 04,2113           00163                           ADRES    AVEGFLAG                              #  WAIT FOR SERVICER TO RETURN TO CANV37.
010551,000795: 
010552,000796: 04,2114           32363                           CAF      V37RETAD                              
010553,000797: 04,2115           55260                           TS       OUTROUTE                              
010554,000798: 
010555,000799: 04,2116           15155                           TCF      ENDOFJOB                              
010556,000800: 
010557,000801: 04,2117           40074        V37RET             CS       FLAGWRD0                              #  IS P20 OR P22 RUNNING?
010558,000802: 04,2120           74745                           MASK     RNDVZBIT                              
010559,000803: 04,2121           10000                           CCS      A                                     
010560,000804: 04,2122           12124                           TCF      +2                                    #  NO. CHECK FOR P25.
010561,000805: 04,2123           12131                           TCF      2.7SPT                                #  YES.  DO 2.7SPOT
010562,000806: 04,2124           40074                           CS       FLAGWRD0                              #  IS P25 RUNNING?
010563,000807: 04,2125           74743                           MASK     P25FLBIT                              
010564,000808: 04,2126           10000                           CCS      A                                     
010565,000809: 04,2127           32364        2.0SPT             CA       OCT37667                              
010566,000810: 04,2130           64747        2.11SPT            AD       BIT5                                  
010567,000811: 04,2131           62365        2.7SPT             AD       OCT40072                              
010568,000812: 04,2132           05357                           TC       PHSCHNGA                              
010569,000813: 
010570,000814: 04,2133           34755        CANV37             CAF      ZERO                                  
010571,000815: 04,2134           00006                           EXTEND                                         
010572,000816: 04,2135           01007                           WRITE    SUPERBNK                              
010573,000817: 
010574,000818: 04,2136           32362                           CAF      ROOAD                                 
010575,000819: 04,2137           54374                           TS       TEMPFLSH                              
010576,000820: 
010577,000821: 04,2140           05353                           TC       PHASCHNG                              
010578,000822: 04,2141           00014                           OCT      14                                    
010579,000823: 

Page 244

010581,000825: 
010582,000826: 04,2142           06036        ROO                TC       INTPRET                               
010583,000827: 
010584,000828: 04,2143           77624                           CALL                                           #  WAIT FOR INTEGRATION TO FINISH
010585,000829: 04,2144           27412                                    INTSTALL                              
010586,000830: 04,2145           77776        DUMMYAD            EXIT                                           
010587,000831: 
010588,000832: 04,2146           05516                           TC       DOWNFLAG                              
010589,000833: 04,2147           00124                           ADRES    3AXISFLG                              #  RESET 3-AXIS FLAG
010590,000834: 
010591,000835: 04,2150           34735                           CAF      LRBYBIT                               #  CLEAN UP THE R12 FLAGWORD.
010592,000836: 04,2151           54107                           TS       FLGWRD11                              
010593,000837: 
010594,000838: 04,2152           05516                           TC       DOWNFLAG                              #  INSURE THAT THE R04FLAG IS CLEAR.
010595,000839: 04,2153           00063                           ADRES    R04FLAG                               
010596,000840: 
010597,000841: 04,2154           05516                           TC       DOWNFLAG                              #  ALLOW X-AXIS OVERRIDE.
010598,000842: 04,2155           00311                           ADRES    XOVINFLG                              
010599,000843: 04,2156           10775                           CCS      MMNUMBER                              #  IS THIS A POOH REQUEST
010600,000844: 04,2157           12305                           TCF      NOUVEAU                               #  NO, PICK UP NEW PROGRAM
010601,000845: 
010602,000846: 04,2160           04457        POOH               TC       RELDSP                                #  RELEASE DISPLAY SYSTEM
010603,000847: 
010604,000848: 04,2161           35017                           CAF      PRIO5                                 #  SET VARIABLE RESTART PRIORITY FOR
010605,000849: 04,2162           55056                           TS       PHSPRDT2                              #  P00 INTEGRATION.
010606,000850: 
010607,000851: 04,2163           06011                           TC       CLRADMOD                              #  CLRADMOD DOES AN INHINT.
010608,000852: 
010609,000853: 04,2164           44753                           CS       NODOBIT                               #  TURN OFF NODOFLAG.
010610,000854: 04,2165           70076                           MASK     FLAGWRD2                              
010611,000855: 04,2166           54076                           TS       FLAGWRD2                              
010612,000856: 
010613,000857: 04,2167           34756                           CA       FIVE                                  #  SET RESTART FOR STATEINT1
010614,000858: 04,2170           54001                           TS       L                                     
010615,000859: 04,2171           40000                           COM                                            
010616,000860: 04,2172           52755                           DXCH     -PHASE2                               
010617,000861: 
010618,000862: 04,2173           42366                           CS       OCT700                                #  TURN OFF P20,P25,IMU IN USE FLAG
010619,000863: 04,2174           70074                           MASK     FLAGWRD0                              
010620,000864: 04,2175           54074                           TS       FLAGWRD0                              #                         RENDFLG
010621,000865: 
010622,000866: 04,2176           34755                           CAF      DNLADP00                              
010623,000867: 
010624,000868: 04,2177           54332        SEUDOPOO           TS       DNLSTCOD                              #  SET UP APPROPRIATE DOWNLIST CODE
010625,000869: 04,2200           55324                           TS       AGSWORD                               #   (CURRENT LIST WILL BE COMPLETED BEFORE
010626,000870:                                                                                                  #     NEW ONE IS STARTED)
010627,000871: 04,2201           04674                           TC       IBNKCALL                              
010628,000872: 04,2202           75555                           CADR     ENGINOF1                              
010629,000873: 
010630,000874: 04,2203           04674                           TC       IBNKCALL                              #  INSURE ALLCOAST.
010631,000875: 04,2204           40204                           CADR     ALLCOAST                              #  DOES A RESTORDB.
010632,000876: 

Page 245

010634,000878: 
010635,000879: 04,2205           44775                           CS       OCT120                                #  TURN OFF TRACK, UPDATE FLAGS
010636,000880: 04,2206           55072                           TS       EBANKTEM                              
010637,000881: 04,2207           70075                           MASK     FLAGWRD1                              
010638,000882: 04,2210           54075                           TS       FLAGWRD1                              
010639,000883: 
010640,000884: 04,2211           04674                           TC       IBNKCALL                              #  KILL GROUPS 1,3,5,6
010641,000885: 04,2212           12652                           CADR     V37KLEAN                              
010642,000886: 
010643,000887: 04,2213           10775                           CCS      MMNUMBER                              #  IS IT POOH
010644,000888: 04,2214           12223                           TCF      RENDVOO                               #  NO
010645,000889: 04,2215           04674        GOMOD              TC       IBNKCALL                              #  REDUNDANT EXCEPT FOR GROUP 4
010646,000890: 04,2216           12647                           CADR     POOKLEAN                              
010647,000891: 
010648,000892: 04,2217           30775                           CA       MMNUMBER                              
010649,000893: 04,2220           55011                           TS       MODREG                                
010650,000894: 
010651,000895: 04,2221           04635        GOGOPROG           TC       POSTJUMP                              
010652,000896: 04,2222           12771                           CADR     GOPROG2                               
010653,000897: 
010654,000898: 04,2223           41011        RENDVOO            CS       MODREG                                #  IS CURRENT PROGRAM 22
010655,000899: 04,2224           62323                           AD       OCT26                                 
010656,000900: 04,2225           00006                           EXTEND                                         
010657,000901: 04,2226           12245                           BZF      RESET22                               #  YES - CLEAR RENDEZVOUS FLAG
010658,000902: 
010659,000903: 
010660,000904: 04,2227           40775                           CS       MMNUMBER                              #  IS NEW PROGRAM P22
010661,000905: 04,2230           62323                           AD       OCT26                                 
010662,000906: 04,2231           00006                           EXTEND                                         
010663,000907: 04,2232           12245                           BZF      RESET22                               
010664,000908: 
010665,000909: 
010666,000910: 04,2233           67745                           AD       NEG2                                  #  IS NEW PROGRAM = P20 OR P25
010667,000911: 04,2234           00006                           EXTEND                                         
010668,000912: 04,2235           12257                           BZF      RENDNOO                               #  YES
010669,000913: 04,2236           64756                           AD       FIVE                                  #  25
010670,000914: 04,2237           00006                           EXTEND                                         
010671,000915: 04,2240           12257                           BZF      RENDNOO                               #  YES
010672,000916: 
010673,000917: 04,2241           32321                           CA       OCT500                                #  NO, IS EITHER P20 OR P25 RUNNING
010674,000918: 04,2242           70074                           MASK     FLAGWRD0                              
010675,000919: 04,2243           10000                           CCS      A                                     
010676,000920: 04,2244           12254                           TCF      POOFIZZ                               #  YES, LEAVE GROUP 2 TO PICK UP P20 OR P25
010677,000921: 
010678,000922: 04,2245           42366        RESET22            CS       OCT700                                #  CLEAR RENDEZVOUS,P25
010679,000923: 04,2246           70074                           MASK     FLAGWRD0                              #  AND IMU IN USE FLAGS
010680,000924: 04,2247           54074                           TS       FLAGWRD0                              
010681,000925: 04,2250           06011                           TC       CLRADMOD                              
010682,000926: 
010683,000927: 04,2251           00006        KILL2              EXTEND                                         #  NO, KILL 2
010684,000928: 04,2252           34755                           DCA      NEG0                                  
010685,000929: 

Page 246

010687,000931: 04,2253           52755                           DXCH     -PHASE2                               
010688,000932: 
010689,000933: 04,2254           32361        POOFIZZ            CAF      V37QCAD                               #  RESTART POINT FOR V37XEQ
010690,000934: 04,2255           54374                           TS       TEMPFLSH                              
010691,000935: 
010692,000936: 04,2256           12221                           TCF      GOGOPROG                              
010693,000937: 
010694,000938: 04,2257           41011        RENDNOO            CS       MODREG                                
010695,000939: 04,2260           66007                           AD       OCT24                                 
010696,000940: 04,2261           00006                           EXTEND                                         
010697,000941: 04,2262           12251                           BZF      KILL2                                 #  P20 OR P25 ON TOP OF P20 OR P25 -
010698,000942: 
010699,000943: 04,2263           64756                           AD       FIVE                                  
010700,000944: 04,2264           00006                           EXTEND                                         
010701,000945: 04,2265           12251                           BZF      KILL2                                 
010702,000946: 
010703,000947: 04,2266           32321                           CA       OCT500                                
010704,000948: 04,2267           70074                           MASK     FLAGWRD0                              
010705,000949: 04,2270           60775                           AD       MMNUMBER                              
010706,000950: 04,2271           40000                           COM                                            
010707,000951: 04,2272           62324                           AD       P20REG                                #  IS IT 20 AND IS RENDEZVOUS FLAG ON
010708,000952: 04,2273           00006                           EXTEND                                         
010709,000953: 04,2274           12301                           BZF      STATQUO                               #  YES
010710,000954: 04,2275           62322                           AD       OCT305                                #  IS IT 25 AND IS P25 BIT ON
010711,000955: 04,2276           00006                           EXTEND                                         
010712,000956: 04,2277           12301                           BZF      STATQUO                               #  YES, LEAVE AS IS
010713,000957: 04,2300           12251                           TCF      KILL2                                 
010714,000958: 
010715,000959: 04,2301           40075        STATQUO            CS       FLAGWRD1                              #  SET TRACKFLAG
010716,000960: 04,2302           74775                           MASK     OCT120                                #      UPDATE FLAG
010717,000961: 04,2303           26075                           ADS      FLAGWRD1                              
010718,000962: 
010719,000963: 04,2304           12215                           TCF      GOMOD                                 
010720,000964: 
010721,000965: 04,2305           32321        NOUVEAU            CAF      OCT500                                #  IS P20 OR P25 FLAG SET
010722,000966: 04,2306           70074                           MASK     FLAGWRD0                              
010723,000967: 04,2307           10000                           CCS      A                                     
010724,000968: 04,2310           12313                           TCF      +3                                    #  YES
010725,000969: 04,2311           05516                           TC       DOWNFLAG                              #  NO,RESET IMUINUSE FLAG
010726,000970: 04,2312           00007                           ADRES    IMUSE                                 
010727,000971: 
010728,000972: 04,2313           50774                           INDEX    MINDEX                                
010729,000973: 04,2314           32475                           CAF      DNLADMM1                              #  OBTAIN APPROPRIATE DOWNLIST ADDRESS
010730,000974: 
010731,000975: 04,2315           00004                           INHINT                                         
010732,000976: 04,2316           12177                           TCF      SEUDOPOO                              
010733,000977: 
010734,000978: 04,2317           04364        V37NONO            TC       FALTON                                #  COME HERE IF MM REQUESTED DOESNT EXIST
010735,000979: 
010736,000980: 04,2320           12066                           TCF      V37BAD                                
010737,000981: 

Page 247

010739,000983: 04,2321     4750               OCT00010           EQUALS   BIT4                                  
010740,000984: 04,2321           00500        OCT500             OCT      500                                   #  BITS 7 AND 9
010741,000985: 04,2322           00305        OCT305             OCT      305                                   
010742,000986: 04,2323           00026        OCT26              OCT      26                                    
010743,000987: 04,2324           00124        P20REG             OCT      124                                   
010744,000988: 
010745,000989: 04,2325           00004        V37XEQ             INHINT                                         
010746,000990: 04,2326           50774                           INDEX    MINDEX                                
010747,000991: 04,2327           32436                           CAF      PREMM1                                #  OBTAIN PRIO, EBANK, AND MM
010748,000992: 04,2330           55060                           TS       MMTEMP                                
010749,000993: 04,2331           54020                           TS       CYR                                   #  SHIFT RIGHT TO BITS 14 - 10
010750,000994: 
010751,000995: 04,2332           30020                           CA       CYR                                   
010752,000996: 04,2333           77724                           MASK     PRIO37                                
010753,000997: 04,2334           55062                           TS       PHSPRDT4                              #  PRESET GROUP 4 RESTART PRIORITY
010754,000998: 04,2335           54063                           TS       NEWPRIO                               #  STORE PRIO FOR SPVAC
010755,000999: 
010756,001000: 04,2336           31060                           CA       MMTEMP                                #  OBTAIN EBANK - BITS 8, 9, 10 OF MMTEMP.
010757,001001: 04,2337           00006                           EXTEND                                         
010758,001002: 04,2340           74744                           MP       BIT8                                  
010759,001003: 04,2341           74757                           MASK     LOW3                                  
010760,001004: 04,2342           54001                           TS       L                                     
010761,001005: 
010762,001006: 04,2343           50774                           INDEX    MINDEX                                
010763,001007: 04,2344           32400                           CAF      FCADRMM1                              
010764,001008: 04,2345           55061                           TS       BASETEMP                              #  MAKE BBCON BY ADDING HI5 OF FCADR
010765,001009: 04,2346           74350                           MASK     HI5                                   
010766,001010: 04,2347           26001                           ADS      L                                     
010767,001011: 
010768,001012: 04,2350           31061                           CA       BASETEMP                              #  OBTAIN GENADR PORTION OF 2CADR.
010769,001013: 04,2351           75012                           MASK     LOW10                                 
010770,001014: 04,2352           64741                           AD       BIT11                                 
010771,001015: 
010772,001016: 04,2353           05116                           TC       SPVAC                                 
010773,001017: 
010774,001018: 04,2354           31060        V37XEQC            CA       MMTEMP                                #  UPON RETURN FROM FINDVAC PLACE THE
010775,001019: 04,2355           76073                           MASK     LOW7                                  #  NEW MM IN MODREG (THE LOW 7 BITS OF
010776,001020: 04,2356           05314                           TC       NEWMODEA                              #  PHSPRDT1)
010777,001021: 
010778,001022: 04,2357           04457                           TC       RELDSP                                #  RELEASE DISPLAY
010779,001023: 04,2360           05155                           TC       ENDOFJOB                              #  AND EXIT
010780,001024: 
010781,001025: 04,2361     5660               NEG7               EQUALS   OCT77770                              
010782,001026: 
010783,001027: 04,2361     1060               MMTEMP             EQUALS   PHSPRDT3                              
010784,001028: 04,2361     1061               BASETEMP           EQUALS   TBASE4                                
010785,001029: 04,2361           10330        V37QCAD            CADR     V37XEQ     +3                         
010786,001030: 04,2362           10145        ROOAD              CADR     DUMMYAD                               
010787,001031: 04,2363           10117        V37RETAD           CADR     V37RET                                
010788,001032: 04,2364           37667        OCT37667           OCT      37667                                 
010789,001033: 

Page 248

010791,001035: 04,2365           40072        OCT40072           OCT      40072                                 
010792,001036: 04,2366           00700        OCT700             OCT      700                                   
010793,001037: 
010794,001038: 04,2367           36244        SETUP71            CAF      THREE                                 
010795,001039: 04,2370           54002        SETUP70            TS       Q                                     
010796,001040: 04,2371           00006                           EXTEND                                         
010797,001041: 04,2372           32377                           DCA      P70CADR                               
010798,001042: 04,2373           60002                           AD       Q                                     
010799,001043: 04,2374           52006                           DTCB                                           
010800,001044: 
010801,001045: 04,2375           00106        DEC70              DEC      70         B-14                       
010802,001046: 04,2376  E7,1516                                  EBANK=   R                                     
010803,001047: 04,2376           02166 42067  P70CADR            2CADR    P70                                   
010804,001048:                                                                                                  #  FOR VERB 37 TWO TABLES ARE MAINTAINED. EACH TABLE HAS AN ENTRY FOR EACH
010805,001049:                                                                                                  #  MAJOR MODE THAT CAN BE STARTED FROM THE KEYBOARD. THE ENTRIES ARE PUT
010806,001050:                                                                                                  #  INTO THE TABLE WITH THE ENTRY FOR THE HIGHEST MAJOR MODE COMING FIRST,
010807,001051: 
010808,001052:                                                                                                  #  TO THE LOWEST MAJOR MODE WHICH IS THE LAST ENTRY IN EACH TABLE.
010809,001053: 
010810,001054:                                                                                                  #           THE FCADRMM TABLE CONTAINS THE FCADR OF THE STARTING JOB OF
010811,001055:                                                                                                  #  THE MAJOR MODE.   FOR EXAMPLE,
010812,001056: 
010813,001057:                                                                                                  #                                          FCADRMM1 FCADR   P79             START OF P 79
010814,001058:                                                                                                  #                                                   FCADR   PROG18          START OF P 18
010815,001059:                                                                                                  #                                                   FCADR   P01             START OF P 01
010816,001060: 
010817,001061:                                                                                                  #  NOTE,    THE FIRST ENTRY MUST BE LABLED FCADRMM1.
010818,001062:                                                                                                  #  ----
010819,001063: 
010820,001064: 04,2400           71524        FCADRMM1           FCADR    P79                                   
010821,001065: 04,2401           71274                           FCADR    P78                                   
010822,001066: 04,2402           26207                           FCADR    P76                                   
010823,001067: 04,2403           72673                           FCADR    P75                                   
010824,001068: 04,2404           72513                           FCADR    P74                                   
010825,001069: 04,2405           72164                           FCADR    P73                                   
010826,001070: 04,2406           72031                           FCADR    P72                                   
010827,001071: 04,2407           62172                           FCADR    LANDJUNK                              
010828,001072: 04,2410           64772                           FCADR    P63LM                                 
010829,001073: 04,2411           33317                           FCADR    P57                                   
010830,001074: 04,2412           32050                           FCADR    PROG52                                
010831,001075: 04,2413           31340                           FCADR    P51                                   
010832,001076: 04,2414           75436                           FCADR    P47LM                                 
010833,001077: 04,2415           75410                           FCADR    P42LM                                 
010834,001078: 04,2416           75272                           FCADR    P41LM                                 
010835,001079: 04,2417           75147                           FCADR    P40LM                                 
010836,001080: 04,2420           71517                           FCADR    P39                                   
010837,001081: 04,2421           71271                           FCADR    P38                                   
010838,001082: 04,2422           72667                           FCADR    P35                                   
010839,001083: 04,2423           72511                           FCADR    P34                                   
010840,001084: 

Page 249

010842,001086: 04,2424           72162                           FCADR    P33                                   
010843,001087: 04,2425           72027                           FCADR    P32                                   
010844,001088: 04,2426           72414                           FCADR    P31                                   
010845,001089: 04,2427           72000                           FCADR    P30                                   
010846,001090: 04,2430           50427                           FCADR    PROG25                                
010847,001091: 04,2431           50022                           FCADR    PROG22                                
010848,001092: 04,2432           51402                           FCADR    PROG21                                
010849,001093: 04,2433           50022                           FCADR    PROG20                                
010850,001094: 04,2434           60006                           FCADR    P12LM                                 
010851,001095: 04,2435           77641                           FCADR    P06                                   
010852,001096:                                                                                                  #           THE PREMM TABLE CONTAINS THE E-BANK,MAJOR MODE, AND PRIORITY
010853,001097:                                                                                                  #  INFORMATION, IT IS IN THE FOLLOWING FORM,
010854,001098: 
010855,001099:                                                                                                  #           PPP PPE EEM MMM MMM
010856,001100: 
010857,001101:                                                                                                  #           WHERE THE 7 M BITS CONTAIN THE MAJOR MODE NUMBER
010858,001102:                                                                                                  #                      3 E BITS CONTAIN THE E-BANK NUMBER
010859,001103:                                                                                                  #                      5 P BITS CONTAIN THE PRIORITY AT WHICH THE JOB IS
010860,001104:                                                                                                  #                          TO BE STARTED
010861,001105: 
010862,001106:                                                                                                  #           FOR EXAMPLE,
010863,001107: 
010864,001108:                                                                                                  #                                          PREMM1   OCT     67213           PRIORITY      33
010865,001109:                                                                                                  #                                                                           E-BANK         5
010866,001110:                                                                                                  #                                                                           MAJOR MODE    11
010867,001111:                                                                                                  #                                                   OCT     25437           PRIORITY       12
010868,001112:                                                                                                  #                                                                           E-BANK         6
010869,001113:                                                                                                  #                                                                           MAJOR MODE    31
010870,001114: 
010871,001115:                                                                                                  #  NOTE,    THE FIRST ENTRY MUST BE LABELED PREMM1
010872,001116: 04,2436           27717        PREMM1             OCT      27717                                 #  MM 79  EBANK 7  PRIO 13
010873,001117: 04,2437           27716                           OCT      27716                                 #  MM 78  EBANK 7  PRIO 13
010874,001118: 04,2440           27714                           OCT      27714                                 #  MM 76  EBANK 7  PRIO 13
010875,001119: 04,2441           27713                           OCT      27713                                 #  MM 75  EBANK 7  PRIO 13
010876,001120: 04,2442           27712                           OCT      27712                                 #  MM 74  EBANK 7  PRIO 13
010877,001121: 04,2443           27711                           OCT      27711                                 #  MM 73  EBANK 7  PRIO 13
010878,001122: 04,2444           27710                           OCT      27710                                 #  MM 72  EBANK 7  PRIO 13
010879,001123: 04,2445           27704                           OCT      27704                                 #  MM 68  EBANK 7  PRIO 13
010880,001124: 04,2446           27677                           OCT      27677                                 #  MM 63  EBANK 7  PRIO 13
010881,001125: 04,2447           27271                           OCT      27271                                 #  MM 57  EBANK 5  PRIO 13
010882,001126: 04,2450           27264                           OCT      27264                                 #  MM 52  EBANK 5  PRIO 13
010883,001127: 04,2451           27263                           OCT      27263                                 #  MM 51  EBANK 5  PRIO 13
010884,001128: 04,2452           27657                           OCT      27657                                 #  MM 47  EBANK 7  PRIO 13
010885,001129: 04,2453           27652                           OCT      27652                                 #  MM 42  EBANK 7  PRIO 13
010886,001130: 04,2454           27651                           OCT      27651                                 #  MM 41  EBANK 7  PRIO 13
010887,001131: 04,2455           27650                           OCT      27650                                 #  MM 40  EBANK 7  PRIO 13
010888,001132: 04,2456           27647                           OCT      27647                                 #  MM 39  EBANK 7  PRIO 13
010889,001133: 04,2457           27646                           OCT      27646                                 #  MM 38  EBANK 7  PRIO 13
010890,001134: 04,2460           27643                           OCT      27643                                 #  MM 35  EBANK 7  PRIO 13
010891,001135: 04,2461           27642                           OCT      27642                                 #  MM 34  EBANK 7  PRIO 13
010892,001136: 

Page 250

010894,001138: 04,2462           27641                           OCT      27641                                 #  MM 33  EBANK 7  PRIO 13
010895,001139: 04,2463           27640                           OCT      27640                                 #  MM 32  EBANK 7  PRIO 13
010896,001140: 04,2464           27637                           OCT      27637                                 #  MM 31  EBANK 7  PRIO 13
010897,001141: 04,2465           27636                           OCT      27636                                 #  MM 30  EBANK 7  PRIO 13
010898,001142: 04,2466           27631                           OCT      27631                                 #  MM 25  EBANK 7  PRIO 13
010899,001143: 04,2467           27626                           OCT      27626                                 #  MM 22  EBANK 7  PRIO 13
010900,001144: 04,2470           27625                           OCT      27625                                 #  MM 21  EBANK 7  PRIO 13
010901,001145: 04,2471           27624                           OCT      27624                                 #  MM 20  EBANK 7  PRIO 13
010902,001146: 04,2472           27614                           OCT      27614                                 #  MM 12  EBANK 7  PRIO 13
010903,001147: 04,2473           27006                           OCT      27006                                 #  MM 06  EBANK 4  PRIO 13
010904,001148: 
010905,001149:                                                                                                  #  NOTE,     THE FOLLOWING CONSTANT IS THE NUMBER OF ENTRIES IN EACH OF
010906,001150:                                                                                                  #  ----      THE ABOVE LISTS-1(IE, THE NUMBER OF MAJOR MODES(EXCEPT P00)
010907,001151:                                                                                                  #            THAT CAN BE CALLED FROM THE KEYBOARD MINUS ONE)
010908,001152: 
010909,001153: 04,2474           00035        NOV37MM            DEC      29         B-14                       #  MM'S -1
010910,001154: 
010911,001155: 04,2475           00002        DNLADMM1           ADRES    RENDEZVU                              #  P79
010912,001156: 04,2476           00002                           ADRES    RENDEZVU                              #  P78
010913,001157: 04,2477           00002                           ADRES    RENDEZVU                              
010914,001158: 04,2500           00002                           ADRES    RENDEZVU                              #  P75
010915,001159: 04,2501           00002                           ADRES    RENDEZVU                              #  P74
010916,001160: 04,2502           00002                           ADRES    RENDEZVU                              #  P73
010917,001161: 04,2503           00002                           ADRES    RENDEZVU                              #  P72
010918,001162: 04,2504           00004                           ADRES    DESASCNT                              #  P68
010919,001163: 04,2505           00004                           ADRES    DESASCNT                              #  P63
010920,001164: 04,2506           00005                           ADRES    LUNRSALN                              #  P57
010921,001165: 04,2507           00000                           ADRES    COSTALIN                              #  P52
010922,001166: 04,2510           00000                           ADRES    COSTALIN                              #  P51
010923,001167: 04,2511           00003                           ADRES    ORBMANUV                              #  P47
010924,001168: 04,2512           00003                           ADRES    ORBMANUV                              #  P42
010925,001169: 04,2513           00003                           ADRES    ORBMANUV                              #  P41
010926,001170: 04,2514           00003                           ADRES    ORBMANUV                              #  P40
010927,001171: 04,2515           00002                           ADRES    RENDEZVU                              #  P39
010928,001172: 04,2516           00002                           ADRES    RENDEZVU                              #  P38
010929,001173: 04,2517           00002                           ADRES    RENDEZVU                              #  P35
010930,001174: 04,2520           00002                           ADRES    RENDEZVU                              #  P34
010931,001175: 04,2521           00002                           ADRES    RENDEZVU                              #  P33
010932,001176: 04,2522           00002                           ADRES    RENDEZVU                              #  P32
010933,001177: 04,2523           00002                           ADRES    RENDEZVU                              #  P31LM
010934,001178: 04,2524           00002                           ADRES    RENDEZVU                              #  P30
010935,001179: 04,2525           00002                           ADRES    RENDEZVU                              #  P25
010936,001180: 04,2526           00005                           ADRES    LUNRSALN                              #  P22
010937,001181: 04,2527           00002                           ADRES    RENDEZVU                              #  P21
010938,001182: 04,2530           00002                           ADRES    RENDEZVU                              #  P20
010939,001183: 04,2531           00004                           ADRES    DESASCNT                              #  P12
010940,001184: 04,2532           00000                           ADRES    COSTALIN                              #  P06
010941,001185: 04,2533     4755               DNLADP00           =        ZERO                                  
010942,001186: 04,2533                        COSTALIN           =        0                                     
010943,001187: 04,2533                        AGSUPDAT           =        1                                     
010944,001188: 04,2533                        RENDEZVU           =        2                                     
010945,001189: 

Page 251

010947,001191: 04,2533                        ORBMANUV           =        3                                     
010948,001192: 04,2533                        DESASCNT           =        4                                     
010949,001193: 04,2533                        LUNRSALN           =        5                                     
010950,001194: 
010951,001195: 13,2026                                           BANK     13                                    
010952,001196: 13,2000                                           SETLOC   INTINIT                               
010953,001197: 13,2000                                           BANK                                           
010954,001198: 
010955,001199: 13,2026                                           COUNT*   $$/INTIN                              
010956,001200: 
010957,001201: 13,2026  E3,1554                                  EBANK=   RRECTCSM                              
010958,001202: 
010959,001203:                                                                                                  #  THIS ROUTINE DOES THE POO INTEGRATION
010960,001204: 
010961,001205: 13,2026           43014        STATEUP            SET      BOF                                   #  EXTRAPOLATE CM STATE VECTOR
010962,001206: 13,2027           01474                                    VINTFLAG                              
010963,001207: 13,2030           04347                                    SURFFLAG                              #  ALSO 6X6 W-MATRIX IF LM ON LUNAR
010964,001208: 13,2031           26036                                    DOINT                                 #       SURFACE AND W-MATRIX VALID
010965,001209: 13,2032           43014                           BOF      SET                                   #       FOR RENDEZVOUS NAVIGATION.
010966,001210: 13,2033           02756                                    RENDWFLG                              
010967,001211: 13,2034           26036                                    DOINT                                 
010968,001212: 13,2035           01476                                    DIM0FLAG                              
010969,001213: 13,2036           45014        DOINT              CLEAR    CALL                                  
010970,001214: 13,2037           01667                                    PRECIFLG                              #  ENGAGES 4-TIME STEP LOGIC IN INTEGRATION
010971,001215: 13,2040           27134                                    INTEGRV                               #  WHEN MODREG = 0
010972,001216: 
010973,001217: 13,2041           71214                           BON      DLOAD                                 
010974,001218: 13,2042           04307                                    SURFFLAG                              
010975,001219: 13,2043           26063                                    NO-INT                                
010976,001220: 13,2044           01571                                    TETCSM                                
010977,001221: 13,2045           34041                           STCALL   TDEC1                                 
010978,001222: 13,2046           27412                                    INTSTALL                              
010979,001223: 13,2047           45014                           CLEAR    CALL                                  #  EXTRAPOLATE LM STATE VECTOR
010980,001224: 13,2050           01674                                    VINTFLAG                              
010981,001225: 13,2051           26644                                    SETIFLGS                              
010982,001226: 13,2052           77614                           BOF                                            #  ALSO 9X9 W-MATRIX IF W IS VALID
010983,001227: 13,2053           02756                                    RENDWFLG                              
010984,001228: 13,2054           26060                                    DOINT2                                
010985,001229: 13,2055           43014                           SET      SET                                   
010986,001230: 13,2056           01476                                    DIM0FLAG                              
010987,001231: 13,2057           01475                                    D6OR9FLG                              
010988,001232: 13,2060           45014        DOINT2             SET      CALL                                  
010989,001233: 13,2061           01467                                    PRECIFLG                              #  DISENGAGE 4 TIME STEP LOGIC IN INTEG.
010990,001234: 13,2062           27134                                    INTEGRV                               
010991,001235: 13,2063           77614        NO-INT             CLRGO                                          
010992,001236: 13,2064           01236                                    NODOFLAG                              
010993,001237: 13,2065           26632                                    ENDINT                                
010994,001238: 
010995,001239: 
010996,001240:                                                                                                  #  THISVINT IS CALLED BY MIDTOAV1 AND 2
010997,001241: 

Page 252

010999,001243: 13,2066           43414        THISVINT           CLEAR    RVQ                                   
011000,001244: 13,2067           01674                                    VINTFLAG                              

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