Source Code

This is a reconstruction of the AGC program Luminary 99 Rev 0. It was the third release of the Lunar Module flight software targeted for use in Apollo 11, after Luminary 96 and 97. A bug (which had been around since at least Apollo 10, Luminary 69) was discovered in Rev 0 shortly before the Apollo 11 flight, resulting in a last minute revision into Rev 1, which is what actually flew rather than the Rev 0 presented here. A hardcopy of Rev 0 is known to exist — it belonged to AGC developer Allan Klumpp for many years — but unfortunately the Virtual AGC Project has not had access to that hardcopy. Thus the code you see here had been reconstructed (we believe accurately) rather than transcribed. The first step of the reconstruction of the Rev 0 source code was the transcription of the Rev 1 source code from a hardcopy in the MIT Museum collection. The process of reverting the active portion of the source code (i.e., other than program comments) from Rev 1 to Rev 0 was very minor, consisting only of moving the position of the STARTSB1 label in FRESH START AND RESTART. Allan had previously given us the checksums of the memory banks of Rev 0, and we have verified the program presented here has checksums identical to all banks of Allan's listing of Rev 0. The notations on Allan's Rev 0 program listing read, in part:

	GAP:  ASSEMBLE REVISION 099 OF AGC PROGRAM LUMINARY BY NASA 2021112-051

A single program comment is known to differ between Rev 0 and Rev 1, but these are harder to reconstruct and verify than changes to the active portion of the code. Thus it is possible that there are additional differences between the program comments in Rev 0 and Rev 1 that are unknown to us, and therefore are not reflected in the code presented here.

010309,000002:                                                                                                  ## Copyright:   Public domain.
010310,000003:                                                                                                  ## Filename:    AOTMARK.agc
010311,000004:                                                                                                  ## Purpose:     Part of the reconstructed source code for LMY99 Rev 0,
010312,000005:                                                                                                  ##              otherwise known as Luminary Rev 99, the third release
010313,000006:                                                                                                  ##              of the Apollo Guidance Computer (AGC) software for Apollo 11.
010314,000007:                                                                                                  ##              It differs from LMY99 Rev 1 (the flown version) only in the
010315,000008:                                                                                                  ##              placement of a single label. The corrections shown here have
010316,000009:                                                                                                  ##              been verified to have the same bank checksums as AGC developer
010317,000010:                                                                                                  ##              Allan Klumpp's copy of Luminary Rev 99, and so are believed
010318,000011:                                                                                                  ##              to be accurate. This file is intended to be a faithful 
010319,000012:                                                                                                  ##              recreation, except that the code format has been changed to 
010320,000013:                                                                                                  ##              conform to the requirements of the yaYUL assembler rather than 
010321,000014:                                                                                                  ##              the original YUL assembler.
010322,000015:                                                                                                  ##
010323,000016:                                                                                                  ## Assembler:   yaYUL
010324,000017:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
010325,000018:                                                                                                  ## Website:     www.ibiblio.org/apollo.
010326,000019:                                                                                                  ## Pages:       244-261
010327,000020:                                                                                                  ## Mod history: 2009-05-10 SN   (Sergio Navarro).  Started adapting
010328,000021:                                                                                                  ##                              from the Luminary131/ file of the same
010329,000022:                                                                                                  ##                              name, using Luminary099 page images.
010330,000023:                                                                                                  ##              2016-12-13 RSB  GOTOP00H -> GOTOPOOH
010331,000024:                                                                                                  ##              2016-12-13 RSB  Proofed text comments with octopus/ProoferComments
010332,000025:                                                                                                  ##                              and corrected the errors found.
010333,000026:                                                                                                  ##              2017-03-06 RSB  Some comment-text fixes identified while proofing
010334,000027:                                                                                                  ##                              Luminary 116.
010335,000028:                                                                                                  ##              2017-03-14 RSB  Comment-text fixes identified in 5-way
010336,000029:                                                                                                  ##                              side-by-side diff of Luminary 69/99/116/131/210.
010337,000030:                                                                                                  ##              2017-08-01 MAS  Created from LMY99 Rev 1.
010338,000031:                                                                                                  ##              2017-08-19 MAS  Fixed a typo found while transcribing Zerlina 56.
010339,000032: 
010340,000033:                                                                                                  ## This source code has been transcribed or otherwise adapted from
010341,000034:                                                                                                  ## digitized images of a hardcopy from the MIT Museum.  The digitization
010342,000035:                                                                                                  ## was performed by Paul Fjeld, and arranged for by Deborah Douglas of
010343,000036:                                                                                                  ## the Museum.  Many thanks to both.  The images (with suitable reduction
010344,000037:                                                                                                  ## in storage size and consequent reduction in image quality as well) are
010345,000038:                                                                                                  ## available online at www.ibiblio.org/apollo.  If for some reason you
010346,000039:                                                                                                  ## find that the images are illegible, contact me at info@sandroid.org
010347,000040:                                                                                                  ## about getting access to the (much) higher-quality images which Paul
010348,000041:                                                                                                  ## actually created.
010349,000042:                                                                                                  ##
010350,000043:                                                                                                  ## The code has been modified to match LMY99 Revision 0, otherwise
010351,000044:                                                                                                  ## known as Luminary Revision 99, the Apollo 11 software release preceeding
010352,000045:                                                                                                  ## the listing from which it was transcribed. It has been verified to
010353,000046:                                                                                                  ## contain the same bank checksums as AGC developer Allan Klumpp's listing
010354,000047:                                                                                                  ## of Luminary Revision 99 (for which we do not have scans).
010355,000048:                                                                                                  ##
010356,000049:                                                                                                  ## Notations on Allan Klumpp's listing read, in part:
010357,000050:                                                                                                  ##
010358,000051:                                                                                                  ##      ASSEMBLE REVISION 099 OF AGC PROGRAM LUMINARY BY NASA 2021112-51
010359,000052: 

Page 244

010361,000054: 12,2000                                           BANK     12                                    
010362,000055: 07,2000                                           SETLOC   AOTMARK1                              
010363,000056: 07,2000                                           BANK                                           
010364,000057: 
010365,000058: 07,2000  E7,1551                                  EBANK=   XYMARK                                
010366,000059: 07,2000                                           COUNT*   $$/MARK                               
010367,000060: 
010368,000061: 07,2000           00004        AOTMARK            INHINT                                         
010369,000062: 07,2001           11312                           CCS      MARKSTAT                              #  SEE IF AOTMARK BUSY
010370,000063: 07,2002           02004                           TC       +2                                    #  MARK SYSTEM BUSY - DO ALARM
010371,000064: 07,2003           02006                           TC       EXTVBCHK                              
010372,000065: 07,2004           05652                           TC       POODOO                                
010373,000066: 07,2005           00105                           OCT      00105                                 
010374,000067: 
010375,000068: 07,2006           36242        EXTVBCHK           CAF      SIX                                   #  SEE IF EXT. VERB WORKING
010376,000069: 07,2007           71044                           MASK     EXTVBACT                              
010377,000070: 07,2010           10000                           CCS      A                                     
010378,000071: 07,2011           12044                           TCF      MKABORT                               #  YES - ABORT
010379,000072: 
010380,000073: 07,2012           34752                           CAF      BIT2                                  #  NO - DISALLOW SOME EXTENDED VERB ACTION
010381,000074: 07,2013           27044                           ADS      EXTVBACT                              #  BIT2 RESET IN ENDMARK
010382,000075: 07,2014           10400        MKVAC              CCS      VAC1USE                               #  LOOK FOR A VAC AREA - DO ABORT IF
010383,000076: 07,2015           12031                           TCF      MKVACFND                              #  NONE AVAILABLE
010384,000077: 07,2016           10454                           CCS      VAC2USE                               
010385,000078: 07,2017           12031                           TCF      MKVACFND                              
010386,000079: 07,2020           10530                           CCS      VAC3USE                               
010387,000080: 07,2021           12031                           TCF      MKVACFND                              
010388,000081: 07,2022           10604                           CCS      VAC4USE                               
010389,000082: 07,2023           12031                           TCF      MKVACFND                              
010390,000083: 07,2024           10660                           CCS      VAC5USE                               
010391,000084: 07,2025           12031                           TCF      MKVACFND                              
010392,000085: 07,2026           52134                           DXCH     BUF2                                  
010393,000086: 07,2027           05716                           TC       BAILOUT1                              #  ALL VAC AREAS OCCUPIED - ABORT.
010394,000087: 07,2030           01207                           OCT      01207                                 
010395,000088: 
010396,000089: 07,2031           64752        MKVACFND           AD       TWO                                   
010397,000090: 07,2032           55312                           TS       MARKSTAT                              #  STORE VAC ADR IN LOW 9 OF MARKSTAT
010398,000091: 
010399,000092: 07,2033           34755                           CAF      ZERO                                  
010400,000093: 07,2034           51312                           INDEX    MARKSTAT                              
010401,000094: 07,2035           53777                           TS       0          -1                         #  ZERO IN VACUSE REG TO SHOW VAC OCCUPIED
010402,000095: 
010403,000096: 07,2036           35025                           CAF      PRIO15                                
010404,000097: 07,2037           05105                           TC       FINDVAC                               #  SET UP JOB FOR GETDAT
010405,000098: 07,2040  E7,1551                                  EBANK=   XYMARK                                
010406,000099: 07,2040           02063 16067                     2CADR    GETDAT                                
010407,000100: 
010408,000101: 07,2042           00003                           RELINT                                         
010409,000102: 07,2043           14631                           TCF      SWRETURN                              

Page 245

010411,000104: 07,2044           52134        MKABORT            DXCH     BUF2                                  
010412,000105: 07,2045           05716                           TC       BAILOUT1                              #  CONFLICT WITH EXTENDED VERB
010413,000106: 07,2046           01211                           OCT      01211                                 
010414,000107: 
010415,000108: 07,2047           34755        MKRELEAS           CAF      ZERO                                  
010416,000109: 07,2050           57312                           XCH      MARKSTAT                              #  SET MARKSTAT TO ZERO
010417,000110: 07,2051           75004                           MASK     LOW9                                  #  PICK UP VAC AREA ADR
010418,000111: 07,2052           10000                           CCS      A                                     
010419,000112: 07,2053           50000                           INDEX    A                                     
010420,000113: 07,2054           54000                           TS       0                                     #  SHOW MKVAC AREA AVAILABLE
010421,000114: 07,2055           34753                           CAF      ONE                                   
010422,000115: 07,2056           04674                           TC       IBNKCALL                              
010423,000116: 07,2057           17665                           CADR     GOODEND                               #  GO WAKE UP CALLING JOB
010424,000117: 

Page 246

010426,000119: 07,2060           34755        KILLAOT            CAF      ZERO                                  
010427,000120: 07,2061           55044                           TS       EXTVBACT                              #  TERMINATE AOTMARK - ALLOW EXT VERB
010428,000121: 07,2062           06001                           TC       GOTOPOOH                              
010429,000122: 07,2063           41312        GETDAT             CS       MARKSTAT                              #  SET BIT12 TO DISCOURAGE MARKRUPT
010430,000123: 07,2064           74740                           MASK     BIT12                                 #        BIT12 RESET AT GETMARK
010431,000124: 07,2065           27312                           ADS      MARKSTAT                              
010432,000125: 
010433,000126: 07,2066           32330                           CAF      V01N71                                #  DISPLAY DETENT AND STAR CODE
010434,000127: 07,2067           04616                           TC       BANKCALL                              
010435,000128: 07,2070           20334                           CADR     GOMARKF                               
010436,000129: 
010437,000130: 07,2071           12060                           TCF      KILLAOT                               #  V34 - DOES GOTOPOOH
010438,000131: 07,2072           12074                           TCF      DODAT                                 #  V33 - PROCEED - USE THIS STAR FOR MARKS
010439,000132: 07,2073           12063        ENTERDAT           TCF      GETDAT                                #  ENTER - REDISPLAY STAR CODE
010440,000133: 
010441,000134: 07,2074           37744        DODAT              CAF      HIGH9                                 #  PICK DETENT CODE FROM BITS7-9 OF AOTCODE
010442,000135: 07,2075           70735                           MASK     AOTCODE                               #  AND SEE IF CODE 1 TO 6
010443,000136: 07,2076           00006                           EXTEND                                         
010444,000137: 07,2077           74743                           MP       BIT9                                  
010445,000138: 07,2100           55551                           TS       XYMARK                                #  STORE DETENT
010446,000139: 
010447,000140: 07,2101           00006                           EXTEND                                         
010448,000141: 07,2102           62063                           BZMF     GETDAT                                #  COAS CALIBRATION CODE - NO GOOD HERE
010449,000142: 
010450,000143: 07,2103           65660                           AD       NEG7                                  #  SEE IF DETENT 7 FOR COAS
010451,000144: 07,2104           00006                           EXTEND                                         
010452,000145: 07,2105           12107                           BZF      CODE7                                 
010453,000146: 
010454,000147: 07,2106           12123                           TCF      CODE1TO6                              
010455,000148: 
010456,000149: 07,2107           32331        CODE7              CAF      V06N87*                               #  CODE 7, COAS SIGHTING, GET OPTIC AXIS
010457,000150: 07,2110           04616                           TC       BANKCALL                              #  AZ AND EL OF SIGHTING DEVICE FROM ASTRO
010458,000151: 07,2111           20334                           CADR     GOMARKF                               
010459,000152: 
010460,000153: 07,2112           12060                           TCF      KILLAOT                               #  V34 - DOES GOTOPOOH
010461,000154: 07,2113           12115                           TCF      +2                                    #  PROCEED
010462,000155: 07,2114           12107                           TCF      CODE7                                 #  ON ENTER, RECYCLE
010463,000156: 07,2115           00006                           EXTEND                                         
010464,000157: 07,2116           31350                           DCA      AZ                                    #  PICK UP AZ AND EL IN SP 2S COMP
010465,000158: 07,2117           50120                           INDEX    FIXLOC                                
010466,000159: 07,2120           52011                           DXCH     8D                                    #  STORE IN 8D AND 9D OF LOCAL VAC
010467,000160: 07,2121           34755                           CAF      ZERO                                  #  BACKUP SYSTEM TO BE USED
010468,000161: 07,2122           12137                           TCF      COASCODE                              #  ZERO APPARENT ROTATION
010469,000162: 
010470,000163: 07,2123           51551        CODE1TO6           INDEX    XYMARK                                #  INDEX AOT POSITION BY DET CODE
010471,000164: 07,2124           31411                           CA       AOTEL      -1                         
010472,000165: 07,2125           50120                           INDEX    FIXLOC                                
010473,000166: 07,2126           54011                           TS       9D                                    #  STORE ELEVATION IN VAC+9D
010474,000167: 
010475,000168: 07,2127           51551                           INDEX    XYMARK                                #  INDEX DET CODE 1,2 OR 3

Page 247

010477,000170: 07,2130           31403                           CA       AOTAZ      -1                         
010478,000171: 07,2131           50120                           INDEX    FIXLOC                                
010479,000172: 07,2132           54010                           TS       8D                                    #  STORE AZIMUTH IN VAC +8D
010480,000173: 
010481,000174: 07,2133           31405                           CA       AOTAZ      +1                         #  COMPENSATION FOR APPARENT ROTATION OF
010482,000175: 07,2134           00006                           EXTEND                                         #  AOT FIELD OF VIEW IN LEFT AND RIGTHT
010483,000176: 07,2135           50120                           INDEX    FIXLOC                                #  DETENTS IS STORED IN VAC +10D IN SP
010484,000177: 07,2136           20010                           MSU      8D                                    #  PRECISION ONES COMPLEMENT
010485,000178: 07,2137           50120        COASCODE           INDEX    FIXLOC                                
010486,000179: 07,2140           54012                           TS       10D                                   #  ROT ANGLE
010487,000180: 
010488,000181: 07,2141           06037                           TC       INTPRET                               #  COMPUTE X AND Y PLANE VECTORS
010489,000182: 

Page 248

010491,000184:                                                                                                  #  THE OPTAXIS SUBROUTINE COMPUTES THE X AND Y MARK PLANE VECS AND
010492,000185:                                                                                                  #  AND ROTATES THEM THRU THE APPARENT FIELD OF VIEW ROTATION UNIQUE TO AOT
010493,000186:                                                                                                  #  OPTAXIS USES OANB TO COMPUTE THE OPTIC AXIS
010494,000187: 
010495,000188:                                                                                                  #        INPUT - AZIMUTH ANGLE IN SINGLE PREC AT CDU SCALE IN 8D OF JOB VAC
010496,000189:                                                                                                  #                        ELEVATION ANGLE IN SINGLE PREC AT CDU SCALE IN 9D OF JOB VAC
010497,000190:                                                                                                  #                        ROTATION ANGLE IN SINGLE PREC 1S COMP SCALED BY PI IN 10D OF VAC
010498,000191: 
010499,000192:                                                                                                  #        OUTPUT -        OPTIC AXIS VEC IN NB COORDS IN SCAXIS
010500,000193:                                                                                                  #                        X-MARK PLANE 1/4VEC IN NB COORDS AT 18D OF JOB VAC
010501,000194:                                                                                                  #                        Y-MARK PLANE 1/4VEC IN NB COORDS AT 12D OF JOB VAC
010502,000195: 
010503,000196: 07,2142           77624        OPTAXIS            CALL                                           #  GO COMPUTE OA AND X AND Y PLANE VECS
010504,000197: 07,2143           10536                                    OANB                                  
010505,000198: 07,2144           70535                           SLOAD    SR1                                   #  LOAD APP ROTATION IN ONES COMP
010506,000199: 07,2145           00013                                    10D                                   #  RESCALE BY 2PI
010507,000200: 07,2146           73406                           PUSH     SIN                                   #  1/2SIN(ROT) 0-1
010508,000201: 07,2147           71525                           PDDL     COS                                   
010509,000202: 07,2150           74206                           PUSH     VXSC                                  #  1/2COS(ROT) 2-3
010510,000203: 07,2151           00023                                    18D                                   
010511,000204: 07,2152           74325                           PDDL     VXSC                                  #  1/4COS(ROT)UYP 4-9
010512,000205: 07,2153           00001                                    0                                     
010513,000206: 07,2154           00031                                    24D                                   #  1/4SIN(ROT)UXP
010514,000207: 07,2155           45445                           BVSU     STADR                                 #  UP 4-9
010515,000208: 07,2156           63762                           STODL    12D                                   #  YPNB=1/4(COS(ROT)UYP-SIN(ROT)UXP)
010516,000209: 07,2157           65361                           VXSC     PDDL                                  #  UP 2-3 UP 0-1 FOR EXCHANGE
010517,000210: 07,2160           00031                                    24D                                   #  1/4COS(ROT)UXP        PUSH 0-5
010518,000211: 07,2161           53361                           VXSC     VAD                                   #  1/4SIN(ROT)UYP
010519,000212: 07,2162           00023                                    18D                                   #  UP 0-5
010520,000213: 07,2163           77626                           STADR                                          
010521,000214: 07,2164           53754                           STOVL    18D                                   #  XPNB=1/4(COS(ROT)UXP+SIN(ROT)UYP)
010522,000215: 07,2165           24007                                    LO6ZEROS                              #  INITIALIZE AVE STAR VEC ACCUMULATOR
010523,000216: 07,2166           02715                           STORE    STARAD     +6                         
010524,000217: 07,2167           77776                           EXIT                                           
010525,000218: 07,2170           12202                           TCF      GETMKS                                
010526,000219: 

Page 249

010528,000221:                                                                                                  #  THE OANB SUBROUTINE COMPUTES THE OPTIC AXIS OF THE SIGHTING INSTRUMENT
010529,000222:                                                                                                  #  FROM AZIMUTH AND ELEVATION INPUT FROM THE ASTRONAUT.
010530,000223: 
010531,000224:                                                                                                  #        INPUT - AZIMUTH ANGLE IN SINGLE PREC 2S COMP IN 8D OF JOB VAC
010532,000225:                                                                                                  #                        ELEVATION ANGLE IN SINGLE PREC 2S COMP IN 9D OF VAC
010533,000226: 
010534,000227:                                                                                                  #        OUTPUT -        OPTIC AXIS IN NB COORDS. IN SCAXIS
010535,000228:                                                                                                  #                        X-PLANE 1/2VEC IN NB COORDS AT 24D OF VAC
010536,000229:                                                                                                  #                        Y-PLANE 1/2VEC IN NB COORDS AT 18D OF VAC
010537,000230: 
010538,000231: 05,3402                                           BANK     05                                    
010539,000232: 04,2000                                           SETLOC   AOTMARK2                              
010540,000233: 04,2000                                           BANK                                           
010541,000234: 
010542,000235: 04,2536                                           COUNT*   $$/MARK                               
010543,000236: 
010544,000237: 04,2536           44001        OANB               SETPD    STQ                                   
010545,000238: 04,2537           00001                                    0                                     
010546,000239: 04,2540           02736                                    GCTR                                  #  STORE RETURN
010547,000240: 04,2541           47135                           SLOAD    RTB                                   
010548,000241: 04,2542           00012                                    9D                                    #  PICK UP SP ELV
010549,000242: 04,2543           21576                                    CDULOGIC                              
010550,000243: 04,2544           71406                           PUSH     COS                                   
010551,000244: 04,2545           73525                           PDDL     SIN                                   #  1/2COS(ELV)   PD 0-1
010552,000245: 04,2546           77626                           STADR                                          
010553,000246: 04,2547           60012                           STODL    SCAXIS                                #  OAX=1/2SIN(ELV)
010554,000247: 04,2550           00011                                    8D                                    #  PICK UP AZ SP
010555,000248: 04,2551           77634                           RTB                                            
010556,000249: 04,2552           21576                                    CDULOGIC                              
010557,000250: 04,2553           71406                           PUSH     COS                                   
010558,000251: 04,2554           00025                           STORE    20D                                   #  STORE UYP(Y) 20-21
010559,000252: 04,2555           73525                           PDDL     SIN                                   #  1/2COS(AZ) PD 2-3
010560,000253: 04,2556           57406                           PUSH     DCOMP                                 #  PUSH 1/2SIN(AZ) 4-5
010561,000254: 04,2557           14027                           STODL    22D                                   #  STORE UYP(Z) 22-23
010562,000255: 04,2560           24007                                    LO6ZEROS                              
010563,000256: 04,2561           14023                           STODL    18D                                   #  STORE UYP(X) 18-19   UP 4-5
010564,000257: 04,2562           72405                           DMP      SL1                                   
010565,000258: 04,2563           00001                                    0                                     
010566,000259: 04,2564           17767                           STODL    SCAXIS     +2                         #  OAY=1/2COS(ELV)SIN(AZ)
010567,000260: 04,2565           72405                           DMP      SL1                                   #  UP    2-3
010568,000261: 04,2566           77626                           STADR                                          #  UP    0-1
010569,000262: 04,2567           50006                           STOVL    SCAXIS     +4                         #  OAZ=1/2COS(ELV)COS(AZ)
010570,000263: 04,2570           00023                                    18D                                   #  LOAD UYP VEC
010571,000264: 04,2571           53435                           VXV      UNIT                                  
010572,000265: 04,2572           03765                                    SCAXIS                                #  UXP VEC=UYP X OA
010573,000266: 04,2573           00031                           STORE    24D                                   #  STORE UXP
010574,000267: 04,2574           77650                           GOTO                                           
010575,000268: 04,2575           02736                                    GCTR                                  

Page 250

010577,000270:                                                                                                  #  SURFSTAR COMPUTES A STAR VECTOR IN SM COORDINATES FOR LUNAR
010578,000271:                                                                                                  #  SURFACE ALIGNMENT AND EXITS TO AVEIT TO AVERAGE STAR VECTORS.
010579,000272:                                                                                                  #  
010580,000273:                                                                                                  #        GIVEN   X-MARK PLANE 1/4 VEC IN NB AT 18D OF LOCAL VAC
010581,000274:                                                                                                  #                Y-MARK PLANE 1/4 VEC IN NB AT 12D OF LOCAL VAC
010582,000275:                                                                                                  #                CURSOR SP 2COMP AT POSITION 1 OF INDEXED MARKVAC
010583,000276:                                                                                                  #                SPIRAL SP 2COMP AT POSITION 3 OF INDEXED MARKVAC
010584,000277:                                                                                                  #                CDUY,Z,X AT POSITIONS 0,2,4 OF INDEXED MARKVAC
010585,000278: 
010586,000279: 15,2000                                           BANK     15                                    
010587,000280: 15,2000                                           SETLOC   P50S                                  
010588,000281: 15,2000                                           BANK                                           
010589,000282: 15,2000                                           COUNT*   $$/R59                                
010590,000283: 
010591,000284: 15,2000           77773        SURFSTAR           VLOAD*                                         
010592,000285: 15,2001           00001                                    0,1                                   #  PUT X-MARK CDUS IN CDUSPOT FOR TRG*NBSM
010593,000286: 15,2002           00767                           STORE    CDUSPOT                               
010594,000287: 15,2003           47133                           SLOAD*   RTB                                   
010595,000288: 15,2004           00002                                    1,1                                   #  PICK UP YROT
010596,000289: 15,2005           21576                                    CDULOGIC                              
010597,000290: 15,2006           00031                           STORE    24D                                   #  STORE CURSOR FOR SPIRAL COMP (REVS)
010598,000291: 15,2007           77654                           BZE                                            
010599,000292: 15,2010           16171                                    YZCHK                                 #  IF YROT ZERO - SEE IF SROT ZERO
010600,000293: 15,2011           71406        JUSTZY             PUSH     COS                                   
010601,000294: 15,2012           73525                           PDDL     SIN                                   #  1/2COS(YROT)  0-1
010602,000295: 15,2013           65361                           VXSC     PDDL                                  #  UP 0-1        1/8SIN(YROT)UXP 0-5
010603,000296: 15,2014           00023                                    18D                                   
010604,000297: 15,2015           52361                           VXSC     VSU                                   #  UP    0-5
010605,000298: 15,2016           00015                                    12D                                   #  UYP
010606,000299: 15,2017           47256                           UNIT     VXV                                   
010607,000300: 15,2020           03765                                    SCAXIS                                
010608,000301: 15,2021           41456                           UNIT     PUSH                                  
010609,000302: 15,2022           47133                           SLOAD*   RTB                                   
010610,000303: 15,2023           00004                                    3,1                                   #  PICK UP SPIRAL
010611,000304: 15,2024           21576                                    CDULOGIC                              
010612,000305: 15,2025           00033                           STORE    26D                                   #  STORE SPIRAL (REVS)
010613,000306: 15,2026           43225                           DSU      DAD                                   
010614,000307: 15,2027           00031                                    24D                                   
010615,000308: 15,2030           32047                                    ABOUTONE                              
010616,000309: 15,2031           77605                           DMP                                            
010617,000310: 15,2032           32466                                    DP1/12                                
010618,000311: 15,2033           00033                           STORE    26D                                   #  SEP=(360 + SPIRAL -CURSOR)/12
010619,000312: 15,2034           74356                           SIN      VXSC                                  #  UP    0-5
010620,000313: 15,2035           65372                           VSL1     PDDL                                  #  1/2SIN(SEP)(UPP X OA) 0-5
010621,000314: 15,2036           00033                                    26D                                   
010622,000315: 15,2037           74346                           COS      VXSC                                  
010623,000316: 15,2040           03765                                    SCAXIS                                
010624,000317: 15,2041           53372                           VSL1     VAD                                   #  UP    0-5
010625,000318: 15,2042           45056        JUSTOA             UNIT     CALL                                  
010626,000319: 15,2043           47664                                    TRG*NBSM                              
010627,000320: 15,2044           34031                           STCALL   24D                                   #  STAR VEC IN SM
010628,000321: 15,2045           16276                                    AVEIT                                 #  GO AVERAGE

Page 251

010630,000323: 15,2046           37777 37775  ABOUTONE           2DEC     .99999999                             
010631,000324: 
010632,000325: 15,2050  15,2465               DP1/12             EQUALS   DEG30                                 #  .08333333
010633,000326: 07,2171                                           BANK     7                                     
010634,000327: 07,2000                                           SETLOC   AOTMARK1                              
010635,000328: 07,2000                                           BANK                                           
010636,000329: 07,2171                                           COUNT*   $$/MARK                               
010637,000330: 07,2171           53133        YZCHK              SLOAD*   BZE                                   #  YROT ZERO AND IF SROT ZERO FORCE STAR
010638,000331: 07,2172           00004                                    3,1                                   #  ALONG OPTIC AXIS
010639,000332: 07,2173           16177                                    YSZERO                                
010640,000333: 07,2174           52145                           DLOAD    GOTO                                  
010641,000334: 07,2175           00031                                    24D                                   
010642,000335: 07,2176           32011                                    JUSTZY                                #  SROT NOT ZERO - CONTINUE NORMALLY
010643,000336: 07,2177           52175        YSZERO             VLOAD    GOTO                                  
010644,000337: 07,2200           03765                                    SCAXIS                                
010645,000338: 07,2201           32042                                    JUSTOA                                
010646,000339: 

Page 252

010648,000341:                                                                                                  #  THE GETMKS ROUTINE INITIALIZES THE SIGHTING MARK PROCEDURE
010649,000342: 
010650,000343: 07,2202           34755        GETMKS             CAF      ZERO                                  #  INITIALIZE MARK ID REGISTER AND MARK CNT
010651,000344: 07,2203           55551                           TS       XYMARK                                
010652,000345: 07,2204           55550                           TS       MARKCNTR                              
010653,000346: 07,2205           35004                           CAF      LOW9                                  #  ZERO BITS10 TO 15 RETAINING MKVAC ADR
010654,000347: 07,2206           71312                           MASK     MARKSTAT                              
010655,000348: 07,2207           55312                           TS       MARKSTAT                              
010656,000349: 07,2210           32621                           CAF      MKVB54*                               #  DISPLAY VB54 INITIALLY
010657,000350: 07,2211           04616        PASTIT             TC       BANKCALL                              
010658,000351: 07,2212           20345                           CADR     GOMARK4                               
010659,000352: 
010660,000353: 07,2213           12060                           TCF      KILLAOT                               #  V34 - DOES GOTOPOOH
010661,000354: 07,2214           12216                           TCF      MARKCHEX                              #  VB33 - PROCEED, GOT MARKS, COMPUTE LOS
010662,000355: 07,2215           12063                           TCF      GETDAT                                #  ENTER - RECYCLE TO V01N71
010663,000356: 
010664,000357: 07,2216           41312        MARKCHEX           CS       MARKSTAT                              #  SET BIT12 TO DISCOURAGE MARKRUPT
010665,000358: 07,2217           74740                           MASK     BIT12                                 
010666,000359: 07,2220           27312                           ADS      MARKSTAT                              
010667,000360: 07,2221           75004                           MASK     LOW9                                  
010668,000361: 07,2222           55551                           TS       XYMARK                                #  JAM MARK VAC ADR IN XYMARK FOR AVESTAR
010669,000362: 07,2223           34755                           CAF      ZERO                                  
010670,000363: 07,2224           55552                           TS       MKDEX                                 #  SET MKDEX ZERO FOR LOS VEC CNTR
010671,000364: 07,2225           31312                           CA       MARKSTAT                              
010672,000365: 07,2226           75015                           MASK     PRIO3                                 #  SEE IF LAST MK PARI COMPLETE
010673,000366: 07,2227           54001                           TS       L                                     
010674,000367: 07,2230           35015                           CAF      PRIO3                                 #  BITS10 AND 11
010675,000368: 07,2231           00006                           EXTEND                                         
010676,000369: 07,2232           06001                           RXOR     LCHAN                                 
010677,000370: 07,2233           00006                           EXTEND                                         
010678,000371: 07,2234           12241                           BZF      AVESTAR                               #  LAST PAIR COMPLETE - GO COMPUTE LOS
010679,000372: 07,2235           11550        CNTCHK             CCS      MARKCNTR                              #  NO PAIR SHOWING - SEE IF PAIR IN HOLD
010680,000373: 07,2236           12240                           TCF      +2                                    #  PAIR BURIED - DECREMENT COUNTER
010681,000374: 07,2237           12325                           TCF      MKALARM                               #  NO PAIR - ALARM
010682,000375: 07,2240           55550                           TS       MARKCNTR                              #  STORE DECREMENTED COUNTER
010683,000376: 
010684,000377: 07,2241           34740        AVESTAR            CAF      BIT12                                 #  INITIALIZE MKDEX FOR STAR LOS COUNTER
010685,000378: 07,2242           27552                           ADS      MKDEX                                 #  MKDEX WAS INITIALIZED ZERO IN MARKCHEX
010686,000379: 07,2243           41550                           CS       MARKCNTR                              
010687,000380: 07,2244           00006                           EXTEND                                         
010688,000381: 07,2245           76242                           MP       SIX                                   #  GET C(L) = -6 MARKCNTR
010689,000382: 07,2246           41551                           CS       XYMARK                                
010690,000383: 07,2247           60001                           AD       L                                     #  ADD - MARK VAC ADR SET IN MARKCHEX
010691,000384: 07,2250           50120                           INDEX    FIXLOC                                
010692,000385: 07,2251           54046                           TS       X1                                    #  JAM - CDU ADR OF X-MARK IN X1
010693,000386: 
010694,000387: 07,2252           30120                           CA       FIXLOC                                #  SET PD POINTER TO ZERO
010695,000388: 07,2253           54166                           TS       PUSHLOC                               
010696,000389: 
010697,000390: 07,2254           06037                           TC       INTPRET                               

Page 253

010699,000392: 07,2255           76614                           BON      VLOAD*                                
010700,000393: 07,2256           04307                                    SURFFLAG                              #  IF ON SURFACE COMPUTE VEC AT SURFSTAR
010701,000394: 07,2257           32000                                    SURFSTAR                              
010702,000395: 07,2260           00002                                    1,1                                   #  PUT Y-MARK CDUS IN CDUSPOT FOR TRG*NBSM
010703,000396: 07,2261           24767                           STOVL    CDUSPOT                               
010704,000397: 07,2262           00015                                    12D                                   #  LOAD Y-PLANE VECTOR IN NB
010705,000398: 07,2263           77624                           CALL                                           
010706,000399: 07,2264           47664                                    TRG*NBSM                              #  CONVERT IT TO STABLE MEMBER
010707,000400: 07,2265           76606                           PUSH     VLOAD*                                
010708,000401: 07,2266           00001                                    0,1                                   #  PUT X-MARK CDUS IN CDUSPOT FOR TRG*NBSM
010709,000402: 07,2267           24767                           STOVL    CDUSPOT                               
010710,000403: 07,2270           00023                                    18D                                   #  LOAD X-PLANE VECTOR IN NB
010711,000404: 07,2271           77624                           CALL                                           
010712,000405: 07,2272           47664                                    TRG*NBSM                              #  CONVERT IT TO STABLE-MEMBER
010713,000406: 07,2273           53435                           VXV      UNIT                                  #  UNIT(XPSM * YPSM)
010714,000407: 07,2274           77626                           STADR                                          
010715,000408: 07,2275           77746                           STORE    24D                                   
010716,000409: 
010717,000410: 07,2276           63335        AVEIT              SLOAD    PDVL                                  #  N(NUMBER OF VECS) IN 0-1
010718,000411: 07,2277           03553                                    MKDEX                                 
010719,000412: 07,2300           00031                                    24D                                   #  LOAD CURRENT VECTOR
010720,000413: 07,2301           70322                           VSR3     V/SC                                  
010721,000414: 07,2302           00001                                    0                                     
010722,000415: 07,2303           14031                           STODL    24D                                   #  VEC/N
010723,000416: 07,2304           00001                                    0                                     
010724,000417: 07,2305           56225                           DSU      DDV                                   
010725,000418: 07,2306           16623                                    DP1/8                                 #  (N-1)/N
010726,000419: 07,2307           53361                           VXSC     VAD                                   
010727,000420: 07,2310           02715                                    STARAD     +6                         #  ADD VEC TO PREVIOUSLY AVERAGED VECTOR
010728,000421: 07,2311           00031                                    24D                                   #  (N-1)/N AVESTVEC + VEC/N
010729,000422: 07,2312           02715                           STORE    STARAD     +6                         #  AVERAGE STAR VECTOR
010730,000423: 07,2313           02767                           STORE    STARSAV2                              
010731,000424: 07,2314           77776                           EXIT                                           
010732,000425: 07,2315           11550                           CCS      MARKCNTR                              #  SEE IF ANOTHER MARK PAIR IN MKVAC
010733,000426: 07,2316           12240                           TCF      AVESTAR    -1                         #  THERE IS - GO GET IT - DECREMENT COUNTER
010734,000427: 07,2317           34756        ENDMARKS           CAF      FIVE                                  #  NO MORE MARKS - TERMINATE AOTMARK
010735,000428: 07,2320           00004                           INHINT                                         
010736,000429: 07,2321           05203                           TC       WAITLIST                              
010737,000430: 07,2322  E7,1551                                  EBANK=   XYMARK                                
010738,000431: 07,2322           02047 16067                     2CADR    MKRELEAS                              
010739,000432: 
010740,000433: 07,2324           05472                           TC       ENDMARK                               
010741,000434: 
010742,000435: 07,2325           05567        MKALARM            TC       ALARM                                 #  NOT A PAIR TO PROCESS - DO GETMKS
010743,000436: 07,2326           00111                           OCT      111                                   
010744,000437: 07,2327           12202                           TCF      GETMKS                                
010745,000438: 
010746,000439: 07,2330           00307        V01N71             VN       171                                   
010747,000440: 07,2331           01527        V06N87*            VN       687                                   
010748,000441: 

Page 254

010750,000443:                                                                                                  #  MARKRUPT IS ENTERED FROM INTERUPT LEAD-INS AND PROCESSES CHANNEL 16
010751,000444:                                                                                                  #  CAUSED BY X,Y MARK OR MARK REJECT OR BY THE RATE OF DESCENT SWITCH
010752,000445: 
010753,000446: 07,2332           54016        MARKRUPT           TS       BANKRUPT                              
010754,000447: 07,2333           30033                           CA       CDUY                                  #  STORE CDUS AND TIME NOW - THEN SEE IF
010755,000448: 07,2334           54063                           TS       ITEMP3                                #  WE NEED THEM
010756,000449: 07,2335           30034                           CA       CDUZ                                  
010757,000450: 07,2336           54064                           TS       ITEMP4                                
010758,000451: 07,2337           30032                           CA       CDUX                                  
010759,000452: 07,2340           54065                           TS       ITEMP5                                
010760,000453: 07,2341           00006                           EXTEND                                         
010761,000454: 07,2342           30025                           DCA      TIME2                                 
010762,000455: 07,2343           52062                           DXCH     ITEMP1                                
010763,000456: 07,2344           56002                           XCH      Q                                     
010764,000457: 07,2345           54012                           TS       QRUPT                                 
010765,000458: 
010766,000459: 07,2346           32624                           CAF      OCT34                                 #  SEE IF X OR Y MARK OR MKREJECT
010767,000460: 07,2347           00006                           EXTEND                                         
010768,000461: 07,2350           02016                           RAND     NAVKEYIN                              
010769,000462: 07,2351           10000                           CCS      A                                     
010770,000463: 07,2352           12354                           TCF      +2                                    #  ITS A LIVE ONE - SEE IF ITS WANTED
010771,000464: 07,2353           12404                           TCF      SOMEKEY                               #  ITS SOME OTHER KEY
010772,000465: 
010773,000466: 07,2354           34740                           CAF      BIT12                                 #  ARE WE ASKING FOR A MARK
010774,000467: 07,2355           71312                           MASK     MARKSTAT                              
010775,000468: 07,2356           10000                           CCS      A                                     
010776,000469: 07,2357           05270                           TC       RESUME                                #  DONT WANT MARK OR MKREJECT - DO NOTHING
010777,000470: 
010778,000471: 07,2360           11312                           CCS      MARKSTAT                              #  ARE MARKS BEING ACCEPTED
010779,000472: 07,2361           12365                           TCF      FINDKEY                               #  THEY ARE - WHICH ONE IS IT
010780,000473: 07,2362           05567                           TC       ALARM                                 #  MARKS NOT BEING ACCEPTED - DO ALARM
010781,000474: 07,2363           00112                           OCT      112                                   
010782,000475: 07,2364           05270                           TC       RESUME                                
010783,000476: 
010784,000477: 07,2365           34747        FINDKEY            CAF      BIT5                                  #  SEE IF MARK REJECT
010785,000478: 07,2366           00006                           EXTEND                                         
010786,000479: 07,2367           02016                           RAND     NAVKEYIN                              
010787,000480: 07,2370           10000                           CCS      A                                     
010788,000481: 07,2371           12461                           TCF      MKREJ                                 #  ITS A MARK REJECT
010789,000482: 
010790,000483: 07,2372           34750                           CAF      BIT4                                  #  SEE IF Y MARK
010791,000484: 07,2373           00006                           EXTEND                                         
010792,000485: 07,2374           02016                           RAND     NAVKEYIN                              
010793,000486: 07,2375           10000                           CCS      A                                     
010794,000487: 
010795,000488: 07,2376           12422                           TCF      YMKRUPT                               #  ITS A Y MARK
010796,000489: 
010797,000490: 07,2377           34751                           CAF      BIT3                                  #  SEE IF X MARK
010798,000491: 07,2400           00006                           EXTEND                                         
010799,000492: 07,2401           02016                           RAND     NAVKEYIN                              
010800,000493: 

Page 255

010802,000495: 07,2402           10000                           CCS      A                                     
010803,000496: 07,2403           12416                           TCF      XMKRUPT                               #  ITS A X MARK
010804,000497: 
010805,000498: 07,2404           34776        SOMEKEY            CAF      OCT140                                #  NOT MARK OR MKREJECT - SEE IF DESCENT BITS
010806,000499: 07,2405           00006                           EXTEND                                         
010807,000500: 07,2406           02016                           RAND     NAVKEYIN                              
010808,000501: 07,2407           00006                           EXTEND                                         
010809,000502: 07,2410           12413                           BZF      +3                                    #  IF NO BITS
010810,000503: 
010811,000504: 07,2411           04635                           TC       POSTJUMP                              #  IF DESCENT BITS
010812,000505: 07,2412           40115                           CADR     DESCBITS                              
010813,000506: 
010814,000507: 07,2413           05567                           TC       ALARM                                 #  NO INBITS IN CHANNEL 16
010815,000508: 07,2414           00113                           OCT      113                                   
010816,000509: 
010817,000510: 07,2415           05270                           TC       RESUME                                
010818,000511: 
010819,000512: 07,2416           34755        XMKRUPT            CAF      ZERO                                  
010820,000513: 07,2417           54070                           TS       RUPTREG1                              #  SET X MARK STORE INDEX TO ZERO
010821,000514: 07,2420           34742                           CAF      BIT10                                 
010822,000515: 07,2421           12425                           TCF      +4                                    
010823,000516: 07,2422           34753        YMKRUPT            CAF      ONE                                   
010824,000517: 07,2423           54070                           TS       RUPTREG1                              #  SET Y MARK STORE INDEX TO ONE
010825,000518: 07,2424           34741                           CAF      BIT11                                 
010826,000519: 07,2425           55551                           TS       XYMARK                                #  SET MARK IDENTIFIATION
010827,000520: 
010828,000521: 07,2426           02514                           TC       MARKTYPE                              #  SEE IF SURFACE MARK
010829,000522: 07,2427           12521                           TCF      SURFSTOR                              #  SURFACE MARK - JUST STORE CDUS
010830,000523: 
010831,000524: 07,2430           34736                           CAF      BIT14                                 #  GOT A MARK - SEE IF MARK PAIR MADE
010832,000525: 07,2431           71312                           MASK     MARKSTAT                              
010833,000526: 07,2432           00006                           EXTEND                                         
010834,000527: 07,2433           12444                           BZF      VERIFYMK                              #  NOT A PAIR, NORMAL PROCEDURE
010835,000528: 07,2434           41550                           CS       MARKCNTR                              #  GOT A PAIR, SEE IF ANOTHER CAN BE MADE
010836,000529: 07,2435           64751                           AD       FOUR                                  #  IF SO, INCREMENT POINTER, CLEAR BITS 10,11
010837,000530: 07,2436           00006                           EXTEND                                         
010838,000531: 07,2437           62454                           BZMF     5MKALARM                              #  HAVE FIVE MARK PAIRS - DONT ALLOW MARK
010839,000532: 07,2440           25550                           INCR     MARKCNTR                              #  OK FOR ANOTHER PAIR, INCR POINTER
010840,000533: 07,2441           47711                           CS       PRIO23                                #  CLEAR BITS 10,11,14 FOR NEXT PAIR
010841,000534: 07,2442           71312                           MASK     MARKSTAT                              
010842,000535: 07,2443           55312                           TS       MARKSTAT                              
010843,000536: 
010844,000537: 07,2444           31551        VERIFYMK           CA       XYMARK                                
010845,000538: 07,2445           71312                           MASK     MARKSTAT                              
010846,000539: 07,2446           10000                           CCS      A                                     
010847,000540: 07,2447           12451                           TCF      +2                                    #  THIS MARK NOT DESIRED
010848,000541: 07,2450           12526                           TCF      VACSTOR                               #  MARK DESIRED - STORE CDUS
010849,000542: 07,2451           05567                           TC       ALARM                                 
010850,000543: 07,2452           00114                           OCT      114                                   
010851,000544: 07,2453           05270                           TC       RESUME                                #  RESUME - DISPLAY UNCHANGED - WAIT FOR ACTION
010852,000545: 

Page 256

010854,000547: 07,2454           05567        5MKALARM           TC       ALARM                                 #  ATTEMPTING TO MAKE MORE THAN 5 MK PAIRS
010855,000548: 07,2455           00107                           OCT      107                                   
010856,000549: 07,2456           02514                           TC       MARKTYPE                              #  SEE IF SURFACE MARK
010857,000550: 07,2457           12627                           TCF      DSPV6N79                              #  IT IS
010858,000551: 07,2460           05270                           TC       RESUME                                #  DONT CHANGE DISPLAY - DO NOTHING
010859,000552: 

Page 257

010861,000554: 07,2461           02514        MKREJ              TC       MARKTYPE                              #  SEE IF SURFACE
010862,000555: 07,2462           12507                           TCF      SURFREJ                               #  SURFACE - JUST CHECK MARK COUNTER
010863,000556: 
010864,000557: 07,2463           35015                           CAF      PRIO3                                 #  INFLIGHT - SEE IF MARKS MADE
010865,000558: 07,2464           71312                           MASK     MARKSTAT                              
010866,000559: 07,2465           10000                           CCS      A                                     
010867,000560: 07,2466           12472                           TCF      REJECT                                #  MARKS MADE - REJECT ONE
010868,000561: 07,2467           05567        REJALM             TC       ALARM                                 #  NO MARK TO REJECT - BAD PROCEDURE - ALARM
010869,000562: 07,2470           00115                           OCT      115                                   
010870,000563: 07,2471           05270                           TC       RESUME                                #  DESIRED ACTION DISPLAYED
010871,000564: 
010872,000565: 07,2472           44355        REJECT             CS       PRIO30                                #  ZERO BIT14, SHOW REJ., SEE IF MARK SINCE
010873,000566: 07,2473           71312                           MASK     MARKSTAT                              #  LAST REJECT
010874,000567: 07,2474           64737                           AD       BIT13                                 
010875,000568: 07,2475           57312                           XCH      MARKSTAT                              
010876,000569: 07,2476           74737                           MASK     BIT13                                 
010877,000570: 07,2477           10000                           CCS      A                                     
010878,000571: 07,2500           12505                           TCF      REJECT2                               #  ANOTHER REJECT SET BIT 10+11 TO ZERO
010879,000572: 
010880,000573: 07,2501           41551                           CS       XYMARK                                #  MARK MADE SINCE REJECT - REJECT MARK IN 1D
010881,000574: 07,2502           71312        RENEWMK            MASK     MARKSTAT                              
010882,000575: 07,2503           55312                           TS       MARKSTAT                              
010883,000576: 07,2504           12577                           TCF      REMARK                                #  GO REQUEST NEW MARK ACTION
010884,000577: 
010885,000578: 07,2505           45015        REJECT2            CS       PRIO3                                 #  ON SECOND REJECT - DISPLAY VB53 AGAIN
010886,000579: 07,2506           12502                           TCF      RENEWMK                               
010887,000580: 
010888,000581: 07,2507           11550        SURFREJ            CCS      MARKCNTR                              #  IF MARK DECREMENT COUNTER
010889,000582: 07,2510           12512                           TCF      +2                                    
010890,000583: 07,2511           12467                           TCF      REJALM                                #  NO MARKS TO REJECT - ALARM
010891,000584: 07,2512           55550                           TS       MARKCNTR                              
010892,000585: 07,2513           05270                           TC       RESUME                                
010893,000586: 

Page 258

010895,000588:                                                                                                  #  MARKTYPE TESTS TO SEE IF LEM ON LUNAR SURFACE.  IF IT IS RETURN TO LOC+1
010896,000589: 
010897,000590: 07,2514           40104        MARKTYPE           CS       FLAGWRD8                              #  SURFFLAG *******TEMPORARY*****
010898,000591: 07,2515           74744                           MASK     BIT8                                  
010899,000592: 07,2516           10000                           CCS      A                                     
010900,000593: 07,2517           24002                           INCR     Q                                     #  IF SURFACE MARK REUTNR TO LOC +1
010901,000594: 07,2520           00002                           TC       Q                                     #  IF INFLIGHT MARK RETURN TO LOC +2
010902,000595: 
010903,000596: 07,2521           34755        SURFSTOR           CAF      ZERO                                  #  FOR SURFACE MARK ZERO MARK KIND INDEX
010904,000597: 07,2522           54070                           TS       RUPTREG1                              
010905,000598: 
010906,000599: 07,2523           41312                           CS       MARKSTAT                              #  SET BITS10,11 TO SHOW SURFACE MARK
010907,000600: 07,2524           75015                           MASK     PRIO3                                 #  FOR MARKCHEX
010908,000601: 07,2525           27312                           ADS      MARKSTAT                              
010909,000602: 
010910,000603: 07,2526           35004        VACSTOR            CAF      LOW9                                  
010911,000604: 07,2527           71312                           MASK     MARKSTAT                              #  STORE MARK VAC ADR IN RUPTREG2
010912,000605: 07,2530           54071                           TS       RUPTREG2                              
010913,000606: 07,2531           00006                           EXTEND                                         
010914,000607: 07,2532           30062                           DCA      ITEMP1                                #  PICK UP MARKTIME
010915,000608: 07,2533           53562                           DXCH     TSIGHT                                #  STORE LAST MARK TIME
010916,000609: 07,2534           31550                           CA       MARKCNTR                              #  6 X MARKCNTR FOR STORE INDEX
010917,000610: 07,2535           00006                           EXTEND                                         
010918,000611: 07,2536           76242                           MP       SIX                                   
010919,000612: 07,2537           56001                           XCH      L                                     #  GET INDEX FROM LOW ORDER PART
010920,000613: 07,2540           60071                           AD       RUPTREG2                              #  SET CDU STORE INDEX TO MARKVAC
010921,000614: 07,2541           26070                           ADS      RUPTREG1                              #  INCREMENT VAC PICKUP BY MARK FOR FLIGHT
010922,000615: 07,2542           55552                           TS       MKDEX                                 #  STORE HERE IN CASE OF SURFACE MARK
010923,000616: 07,2543           30063                           CA       ITEMP3                                
010924,000617: 07,2544           50070                           INDEX    RUPTREG1                              
010925,000618: 07,2545           54000                           TS       0                                     #  STORE CDUY
010926,000619: 07,2546           30064                           CA       ITEMP4                                
010927,000620: 07,2547           50070                           INDEX    RUPTREG1                              
010928,000621: 07,2550           54002                           TS       2                                     #  STORE CDUZ
010929,000622: 07,2551           30065                           CA       ITEMP5                                
010930,000623: 07,2552           50070                           INDEX    RUPTREG1                              
010931,000624: 07,2553           54004                           TS       4                                     #  STORE CDUX
010932,000625: 07,2554           02514                           TC       MARKTYPE                              #  IF SURFACE MARK - JUST DO SURFJOB
010933,000626: 07,2555           12604                           TCF      SURFJOB                               
010934,000627: 
010935,000628: 07,2556           34737                           CAF      BIT13                                 #  CLEAR BIT13 TO SHOW MARK MADE
010936,000629: 07,2557           61551                           AD       XYMARK                                #  SET MARK ID IN MARKSTAT
010937,000630: 07,2560           40000                           COM                                            
010938,000631: 07,2561           71312                           MASK     MARKSTAT                              
010939,000632: 07,2562           61551                           AD       XYMARK                                
010940,000633: 07,2563           55312                           TS       MARKSTAT                              
010941,000634: 07,2564           75015                           MASK     PRIO3                                 #  SEE IF X, Y MARK MADE
010942,000635: 07,2565           54001                           TS       L                                     
010943,000636: 

Page 259

010945,000638: 07,2566           35015                           CA       PRIO3                                 
010946,000639: 07,2567           00006                           EXTEND                                         
010947,000640: 07,2570           06001                           RXOR     LCHAN                                 
010948,000641: 07,2571           10000                           CCS      A                                     
010949,000642: 07,2572           12577                           TCF      REMARK                                #  NOT PAIR YET, DISPLAY MARK ACTION
010950,000643: 07,2573           41312                           CS       MARKSTAT                              #  MARK PAIR COMPLETE - SET BIT14
010951,000644: 07,2574           74736                           MASK     BIT14                                 
010952,000645: 07,2575           27312                           ADS      MARKSTAT                              
010953,000646: 07,2576           12577                           TCF      REMARK                                #  GO DISPLAY V54
010954,000647: 

Page 260

010956,000649: 07,2577           35015        REMARK             CAF      PRIO3                                 #  BITS 10 AND 11
010957,000650: 07,2600           71312                           MASK     MARKSTAT                              
010958,000651: 07,2601           00006                           EXTEND                                         
010959,000652: 07,2602           74746                           MP       BIT6                                  #  SHIFT MARK IDS TO BE 0 TO 3 FOR INDEX
010960,000653: 07,2603           55552                           TS       MKDEX                                 #  STORE VERB INDEX
010961,000654: 07,2604           35025        SURFJOB            CAF      PRIO15                                
010962,000655: 07,2605           05072                           TC       NOVAC                                 #  ENTER JOB TO CHANGE DISPLAY TO
010963,000656: 07,2606  E7,1551                                  EBANK=   XYMARK                                #  REQUEST NEXT ACTION
010964,000657: 07,2606           02611 16067                     2CADR    CHANGEVB                              
010965,000658: 
010966,000659: 07,2610           05270                           TC       RESUME                                
010967,000660: 
010968,000661: 07,2611           02514        CHANGEVB           TC       MARKTYPE                              
010969,000662: 07,2612           12627                           TCF      DSPV6N79                              #  SURFACE - DISPLAY V 06 N 79
010970,000663: 07,2613           51552                           INDEX    MKDEX                                 #  INFLIGHT - PICK UP MARK VB INDEX
010971,000664: 07,2614           32616                           CAF      MKVB54                                
010972,000665: 07,2615           02211                           TC       PASTIT                                #  PASTE UP NEXT MK VERB DISPLAY
010973,000666: 
010974,000667:                                                                                                  #  THE FOUR MKVBS ARE INDEXED - THEIR ORDER CANNOT BE CHANGED
010975,000668: 
010976,000669: 07,2616           15507        MKVB54             VN       5471                                  #  MAKE X OR Y MARK
010977,000670: 07,2617           15307        MKVB53             VN       5371                                  #  MAKE Y MARK
010978,000671: 07,2620           15107        MKVB52             VN       5271                                  #  MAKE X MARK
010979,000672: 07,2621           15507        MKVB54*            VN       5471                                  #  MAKE X OR Y MARK
010980,000673: 07,2622           04000 00000  DP1/8              2DEC     .125                                  
010981,000674: 
010982,000675: 07,2624           00034        OCT34              OCT      34                                    
010983,000676: 07,2625           01507        V06N71             VN       671                                   
010984,000677: 07,2626           01517        V06N79*            VN       679                                   
010985,000678: 

Page 261

010987,000680:                                                                                                  #  ROUTINE TO REQUEST CURSOR AND SPIRAL MEASUREMENTS
010988,000681: 07,2627                                           COUNT*   $$/R59                                
010989,000682: 
010990,000683: 07,2627           32626        DSPV6N79           CAF      V06N79*                               #  CURSOR - SPIRAL DISPLAY
010991,000684: 07,2630           04616                           TC       BANKCALL                              
010992,000685: 07,2631           20334                           CADR     GOMARKF                               
010993,000686: 
010994,000687: 07,2632           12060                           TCF      KILLAOT                               #  V34 - DOES GOTOPOOH
010995,000688: 07,2633           12641                           TCF      SURFEND                               #  V33 - PROCEED, END MARKING
010996,000689: 07,2634           34746                           CAF      BIT6                                  #  IF V32(OCT40) IN MPAC DO RECYCLE
010997,000690: 07,2635           70154                           MASK     MPAC                                  #  OTHERWISE IT IS LOAD VB ENTER SO
010998,000691: 07,2636           10000                           CCS      A                                     #  RE-DISPLAY V06N79
010999,000692: 07,2637           12645                           TCF      SURFAGAN                              #  VB32 - RECYCLE
011000,000693: 07,2640           12627                           TCF      DSPV6N79                              #  ENTER
011001,000694: 
011002,000695: 07,2641           44736        SURFEND            CS       BIT14                                 #  SET BIT14 TO SHOW MARK END
011003,000696: 07,2642           71312                           MASK     MARKSTAT                              
011004,000697: 07,2643           64736                           AD       BIT14                                 
011005,000698: 07,2644           55312                           TS       MARKSTAT                              
011006,000699: 
011007,000700: 07,2645           31236        SURFAGAN           CA       CURSOR                                
011008,000701: 07,2646           51552                           INDEX    MKDEX                                 #  HOLDS VAC AREA POINTER FOR SURF MARKING
011009,000702: 07,2647           54001                           TS       1                                     #  STORE CURSOR SP 2COMP
011010,000703: 07,2650           31240                           CA       SPIRAL                                
011011,000704: 07,2651           51552                           INDEX    MKDEX                                 
011012,000705: 07,2652           54003                           TS       3                                     #  STORE SPIRAL
011013,000706: 
011014,000707: 07,2653           41312                           CS       MARKSTAT                              #  IF BIT 14 SET - END MARKING
011015,000708: 07,2654           74736                           MASK     BIT14                                 
011016,000709: 07,2655           00006                           EXTEND                                         
011017,000710: 07,2656           12216                           BZF      MARKCHEX                              
011018,000711: 07,2657           31550                           CA       MARKCNTR                              #  THIS IS RECYCLE - SEE IF 5 MARKS ALREADY
011019,000712: 07,2660           64753                           AD       ONE                                   
011020,000713: 07,2661           40000                           COM                                            
011021,000714: 07,2662           64756                           AD       FIVE                                  
011022,000715: 07,2663           00006                           EXTEND                                         
011023,000716: 07,2664           62454                           BZMF     5MKALARM                              #  CANT RECYCLE - TO MANY MARKS - ALARM
011024,000717: 07,2665           25550                           INCR     MARKCNTR                              #  OF FOR RECYCLE - INCR COUNTER
011025,000718: 07,2666           12205                           TCF      GETMKS     +3                         #  GO DISPLAY MARK VB
011026,000719: 

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