Source Code

These source-code files are part of a reconstructed copy of Comanche 45, the second release, though not the final mission release, of the Apollo 10 Command Module (CM) Apollo Guidance Computer (AGC) software. Comanche 45 was preceded by Comanche 44 and followed by Comanche 45/2 (the flown release). The reconstruction is believed to be exactly accurate, but in the absence of an actual Apollo-era listing of Comanche 45, some explanation of the reconstruction process is needed to insure confidence in that accuracy.

The starting point was the source code of Comanche 44 (itself previously accurately reconstructed). Comanche 44 source code was then modified by incorporating changes known from contemporary documentation to have been made between revisions 44 and 45. The now-reconstructed Comanche 45 source code was verified by assembling it and checking that the assembled code had the expected known-correct memory-bank checksums. Note that page numbers in the reconstructed code tend to match those in the Comanche 55, the most-similar revision of Comanche for which we have access to an actual non-reconstructed hardcopy; the source code would likely have different page numbers in a contemporary Comanche 45 listing.

Annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change relative to Comanche 44. Here's a guide to the Apollo documentation referenced in those annotations:
There is also a detailed commentary about the reconstruction process.

Comments expected to have been present in 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.

009319,000002:                                                                                                  ## Copyright:   Public domain.
009320,000003:                                                                                                  ## Filename:    SXTMARK.agc
009321,000004:                                                                                                  ## Purpose:     A section of Comanche revision 045.
009322,000005:                                                                                                  ##              It is part of the reconstructed source code for the
009323,000006:                                                                                                  ##              second release of the flight software for the Command
009324,000007:                                                                                                  ##              Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
009325,000008:                                                                                                  ##              The code has been recreated from a copy of Comanche 055. It
009326,000009:                                                                                                  ##              has been adapted such that the resulting bugger words
009327,000010:                                                                                                  ##              exactly match those specified for Comanche 45 in NASA drawing
009328,000011:                                                                                                  ##              2021153D, which gives relatively high confidence that the
009329,000012:                                                                                                  ##              reconstruction is correct.
009330,000013:                                                                                                  ## Assembler:   yaYUL
009331,000014:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
009332,000015:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
009333,000016:                                                                                                  ## Mod history: 2020-12-06 MAS  Created from Comanche 44.
009334,000017:                                                                                                  ##              2021-05-30 ABS  20/SXTMK -> 10/SXTMK
009335,000018: 

Page 222

009337,000020:                                                                                                  #  PROGRAM NAME - SXTMARK                                        DATE - 5 APRIL 1967
009338,000021:                                                                                                  #  PROGRAM MODIFIED BY 258/278 PROGRAMMERS                       LOG SECTION SXTMARK
009339,000022:                                                                                                  #  MOD BY - R. MELANSON TO ADD DOCUMENTATION                     ASSEMBLY SUNDISK REV. 116
009340,000023:                                                                                                  #  
009341,000024:                                                                                                  #  FUNCTIONAL DESCRIPTION-
009342,000025: 
009343,000026:                                                                                                  #        SXTMARK IS CALLED FROM INTERNAL ROUTINES WHICH MAY REQUIRE STAR OR LANDMARK MARKINGS BY THE ASTRONAUT.  IF
009344,000027:                                                                                                  #        THE MARK SYSTEM IS NOT IN USE, SXTMARK RESERVES A VAC AREA FOR MARKING AND REQUESTS EXECUTION OF THE MKVB51
009345,000028:                                                                                                  #        ROUTINE VIA THE EXECUTIVE JOB PRIORITY LIST.  R21 USES THIS ROUTINE TO DETERMINE IF THE MARK SYSTEM CAN BE
009346,000029:                                                                                                  #        USED.  IF YES, SXTMARK RETURNS TO R21 TO PERFORM ITS OWN MARK REQUESTS VIA THE V51 FLASH.
009347,000030: 
009348,000031:                                                                                                  #  CALLING SEQUENCE-
009349,000032: 
009350,000033:                                                                                                  #        CAF     (NO. MARK REQUESTS IN BITS 1-3 OF A)
009351,000034:                                                                                                  #        TC      BANKCALL
009352,000035:                                                                                                  #        CADR    SXTMARK
009353,000036: 
009354,000037:                                                                                                  #  NORMAL EXIT MODE-
009355,000038: 
009356,000039:                                                                                                  #        SWRETURN
009357,000040: 
009358,000041:                                                                                                  #  ALARM OR ABORT EXIT MODE-
009359,000042: 
009360,000043:                                                                                                  #        ABORT
009361,000044: 
009362,000045:                                                                                                  #  OUTPUT-
009363,000046: 
009364,000047:                                                                                                  #        1)      MARKSTAT CONTAINS MARK VALUE (BITS 14-12) AND VAC AREA ADDRESS
009365,000048:                                                                                                  #        2)      QPRET = VAC AREA POINTER VALUE
009366,000049:                                                                                                  #        3)      1ST WORD OF RESERVED VAC AREA SET TO +0
009367,000050:                                                                                                  #        4)      PRIO32 PLACED IN A REGISTER
009368,000051: 
009369,000052:                                                                                                  #  ERASABLE INITIALIZATION-
009370,000053: 
009371,000054:                                                                                                  #        1)      BITS 1-3 OF A = NO. MARKS REQUESTED
009372,000055:                                                                                                  #        2)      BITS 2,3 OF EXTVBACT = 0
009373,000056:                                                                                                  #        3)      A VAC AREA MUST BE AVAILABLE (WORD 1 = ADDRESS OF VAC AREA)
009374,000057: 
009375,000058:                                                                                                  #  DEBRIS-
009376,000059: 
009377,000060:                                                                                                  #        A,Q,L,RUPTREG1,MARKSTAT,QPRET,BIT2 OF EXTVBACT
009378,000061: 
009379,000062: 13,2036                                           BANK     13                                    
009380,000063: 07,2000                                           SETLOC   SXTMARKE                              
009381,000064: 07,2000                                           BANK                                           
009382,000065: 
009383,000066: 07,2002  E7,1725                                  EBANK=   MRKBUF1                               
009384,000067: 07,2002                                           COUNT    07/SXTMK                              
009385,000068: 
009386,000069: 07,2002           00004        SXTMARK            INHINT                                         
009387,000070: 07,2003           54070                           TS       RUPTREG1                              #  NUMBER OF MARKS WANTED
009388,000071: 
009389,000072: 07,2004           36211                           CAF      SIX                                   #  BIT2 = MARKING SYSTEM IN USE
009390,000073: 07,2005           71044                           MASK     EXTVBACT                              #  BIT3 = EXTENDED VERB IN PROGRESS
009391,000074: 07,2006           10000                           CCS      A                                     
009392,000075: 07,2007           02013                           TC       MKABORT                               #  SET THEREFORE ABORT

Page 223

009394,000077: 07,2010           35016                           CAF      BIT2                                  #  NOT SET
009395,000078: 07,2011           27044                           ADS      EXTVBACT                              #  SET IT, RESET IN ENDMARK
009396,000079: 07,2012           02015                           TC       MARKOK                                #  YES, FIND VAC AREA
009397,000080: 
009398,000081: 07,2013           07755        MKABORT            TC       BAILOUT                               
009399,000082: 07,2014           01211                           OCT      01211                                 
009400,000083: 07,2015           10400        MARKOK             CCS      VAC1USE                               #  FIND VAC AREA
009401,000084: 07,2016           02031                           TC       MKVACFND                              
009402,000085: 07,2017           10454                           CCS      VAC2USE                               
009403,000086: 07,2020           02031                           TC       MKVACFND                              
009404,000087: 07,2021           10530                           CCS      VAC3USE                               
009405,000088: 07,2022           02031                           TC       MKVACFND                              
009406,000089: 07,2023           10604                           CCS      VAC4USE                               
009407,000090: 07,2024           02031                           TC       MKVACFND                              
009408,000091: 07,2025           10660                           CCS      VAC5USE                               
009409,000092: 07,2026           02031                           TC       MKVACFND                              
009410,000093: 07,2027           07755                           TC       BAILOUT                               
009411,000094: 07,2030           01207                           OCT      01207                                 
009412,000095: 
009413,000096: 07,2031           65016        MKVACFND           AD       TWO                                   #  ADDRESS OF VAC AREA
009414,000097: 07,2032           55330                           TS       MARKSTAT                              
009415,000098: 07,2033           50000                           INDEX    A                                     
009416,000099: 07,2034           54052                           TS       QPRET                                 #  STORE NEXT AVAILABLE MARK SLOT
009417,000100: 
009418,000101: 07,2035           35021                           CAF      ZERO                                  #  SHOW VAC AREA OCCUPIED
009419,000102: 07,2036           51330                           INDEX    MARKSTAT                              
009420,000103: 07,2037           53777                           TS       0          -1                         
009421,000104: 
009422,000105: 07,2040           05364                           TC       CHECKMM                               #  BACKUP MARK ROUTINE USES SXTMARK
009423,000106: 07,2041           00065                           MM       53         B-14                       
009424,000107: 07,2042           12044                           TCF      +2                                    
009425,000108: 07,2043           14675                           TCF      SWRETURN                              
009426,000109: 07,2044           05364                           TC       CHECKMM                               
009427,000110: 07,2045           00066                           MM       54         B-14                       
009428,000111: 07,2046           12050                           TCF      +2                                    
009429,000112: 07,2047           14675                           TCF      SWRETURN                              
009430,000113: 07,2050           35004                           CAF      BIT12                                 #  DESIRED NUMBER OF MARKS IN 12-14
009431,000114: 07,2051           00006                           EXTEND                                         
009432,000115: 07,2052           70070                           MP       RUPTREG1                              
009433,000116: 07,2053           56001                           XCH      L                                     
009434,000117: 07,2054           27330                           ADS      MARKSTAT                              
009435,000118: 
009436,000119: 07,2055           37667                           CAF      PRIO32                                #  ENTER MARK JOB
009437,000120: 07,2056           05134                           TC       NOVAC                                 
009438,000121: 07,2057     1330                                  EBANK=   MARKSTAT                              
009439,000122: 07,2057           02347 16062                     2CADR    MKVB51                                
009440,000123: 
009441,000124: 07,2061           00003                           RELINT                                         
009442,000125: 07,2062           14675                           TCF      SWRETURN                              #  SAME AS MODEEXIT
009443,000126: 

Page 224

009445,000128:                                                                                                  #  PROGRAM NAME - MKRELEAS                                       DATE - 5 APRIL 1967
009446,000129:                                                                                                  #  PROGRAM MODIFIED BY 258/278 PROGRAMMERS                       LOG SECTION SXTMARK
009447,000130:                                                                                                  #  MOD BY - R. MELANSON TO ADD DOCUMENTATION                     ASSEMBLY SUNDISK REV. 116
009448,000131: 
009449,000132:                                                                                                  #  FUNCTIONAL DESCRIPTION-
009450,000133: 
009451,000134:                                                                                                  #        MKRELEAS IS EXECUTED BY INTERNAL ROUTINES TO RELEASE THE MARK SYSTEM TO MAKE IT AVAILABLE TO OTHER INTERNAL
009452,000135:                                                                                                  #        SYSTEM ROUTINES.  IT ALSO CLEARS THE COARSE OPTICS FLAG BIT AND DISABLES THE OPTICS ERROR COUNTER.
009453,000136: 
009454,000137:                                                                                                  #  CALLING SEQUENCE-
009455,000138: 
009456,000139:                                                                                                  #        TC      BANKCALL
009457,000140:                                                                                                  #        CADR    MKRELEAS
009458,000141: 
009459,000142:                                                                                                  #  NORMAL EXIT MODE-
009460,000143: 
009461,000144:                                                                                                  #        SWRETURN
009462,000145: 
009463,000146:                                                                                                  #  ALARM OR ABORT EXIT MODE-  NONE
009464,000147: 
009465,000148:                                                                                                  #  OUTPUT-
009466,000149: 
009467,000150:                                                                                                  #        1)      BIT9 OPTMODES SET TO 0
009468,000151:                                                                                                  #        2)      OPTIND SET TO -1
009469,000152:                                                                                                  #        3)      1ST WORD OF VAC AREA SET TO VAC ADDRESS TO SIGNIFY AVAILABILITY.
009470,000153:                                                                                                  #        4)      MARKSTAT CLEARED
009471,000154:                                                                                                  #        5)      BIT2 CHANNEL 12 SET TO 0
009472,000155: 
009473,000156:                                                                                                  #  ERASABLE INITIALIZATION-  NONE
009474,000157: 
009475,000158:                                                                                                  #  DEBRIS-
009476,000159: 
009477,000160:                                                                                                  #        A,MARKSTAT,BIT9 OPTMODES,OPTIND,BIT2 CHANNEL 12
009478,000161: 
009479,000162: 07,2063           35021        MKRELEAS           CAF      ZERO                                  #  SHOW MARK SYSTEM NOW AVAILABLE
009480,000163: 07,2064           57330                           XCH      MARKSTAT                              
009481,000164: 07,2065           75046                           MASK     LOW9                                  
009482,000165: 07,2066           10000                           CCS      A                                     
009483,000166: 07,2067           50000                           INDEX    A                                     
009484,000167: 07,2070           54000                           TS       0                                     
009485,000168: 07,2071           00004        MKRLEES            INHINT                                         
009486,000169: 07,2072           45007                           CS       BIT9                                  #  COARSE OPTICS RETURN FLAG.
009487,000170: 07,2073           71331                           MASK     OPTMODES                              
009488,000171: 07,2074           55331                           TS       OPTMODES                              
009489,000172: 
009490,000173: 07,2075           37716                           CA       NEGONE                                
009491,000174: 07,2076           55303                           TS       OPTIND                                #  KILL COARS OPTICS
009492,000175: 
009493,000176: 07,2077           45016                           CS       BIT2                                  #  DISABLE OPTICS ERROR COUNTER
009494,000177: 07,2100           00006                           EXTEND                                         
009495,000178: 07,2101           03012                           WAND     CHAN12                                
009496,000179: 
009497,000180: 07,2102           00003                           RELINT                                         
009498,000181: 07,2103           04675                           TC       SWRETURN                              

Page 225

009500,000183:                                                                                                  #  PROGRAM NAME - MARKRUPT                                       DATE - 5 APRIL 1967
009501,000184:                                                                                                  #  PROGRAM MODIFIED BY 258/278 PROGRAMMERS                       LOG SECTION SXTMARK
009502,000185:                                                                                                  #  MOD BY - R. MELANSON TO ADD DOCUMENTATION                     ASSEMBLY SUNDISK REV. 116
009503,000186: 
009504,000187:                                                                                                  #  FUNCTIONAL DESCRIPTION-
009505,000188:                                                                                                  #        MARKRUPT STORES CDUS,OPTICS AND TIME AND TRANSFERS CONTROL TO THE MARKIT,MARK REJECT OR KEYCOM ROUTINES IF
009506,000189:                                                                                                  #        BITS IN CHANNEL 16 ARE SET AS REQUIRED.
009507,000190: 
009508,000191:                                                                                                  #  CALLING SEQUENCE-
009509,000192:                                                                                                  #        ROUTINE ENTERED VIA KEYRUPT2 WHEN MARK,MARK REJECT OR DSKY KEYS DEPRESSED BY THE OPERATOR.
009510,000193: 
009511,000194:                                                                                                  #  NORMAL EXIT MODE-
009512,000195:                                                                                                  #        MARKIT, MKREJECT OR POSTJUMP ROUTINES (MARK, MARK REJECT OR DSKY CODE)
009513,000196: 
009514,000197:                                                                                                  #  ALARM OR ABORT EXIT MODE-
009515,000198:                                                                                                  #        ALARM AND RESUME
009516,000199: 
009517,000200:                                                                                                  #  OUTPUT-
009518,000201:                                                                                                  #        RUPTSTOR+5 = CDUT, RUPTSTOR+3 = CDUS, RUPTSTOR+2 = CDUY,
009519,000202:                                                                                                  #        RUPTREG3 = CDUZ, RUPTSTOR+6 = CDUX, RUPTSTOR+1 AND SAMPTIME+1 = TIME1,
009520,000203:                                                                                                  #        RUPTSTOR AND SAMPTIME = TIME2
009521,000204: 
009522,000205:                                                                                                  #  ERASABLE INITIALIZATION-
009523,000206:                                                                                                  #        CDUT,CDUS,CDUY,CDUZ,CDUX,TIME2,TIME1,CHANNEL 16 BITS 6,7 OR 1-5
009524,000207: 
009525,000208:                                                                                                  #  DEBRIS-
009526,000209:                                                                                                  #        A,QRUPT,RUPTREG3,SAMPTIME,SAMPTIME+1,RUPTSTOR TO RUPTSTOR+6 EXCEPT RUPTSTOR+4 (LOCATION 67)
009527,000210: 
009528,000211: 07,2104           54016        MARKRUPT           TS       BANKRUPT                              #  STORE CDUS AND OPTICS NOW
009529,000212: 07,2105           30035                           CA       CDUT                                  
009530,000213: 07,2106           54362                           TS       MKCDUT                                
009531,000214: 07,2107           30036                           CA       CDUS                                  
009532,000215: 07,2110           54360                           TS       MKCDUS                                
009533,000216: 07,2111           30033                           CA       CDUY                                  
009534,000217: 07,2112           54357                           TS       MKCDUY                                
009535,000218: 07,2113           30034                           CA       CDUZ                                  
009536,000219: 07,2114           54361                           TS       MKCDUZ                                
009537,000220: 07,2115           30032                           CA       CDUX                                  
009538,000221: 07,2116           54363                           TS       MKCDUX                                
009539,000222: 07,2117           00006                           EXTEND                                         
009540,000223: 07,2120           30025                           DCA      TIME2                                 #  GET TIME
009541,000224: 07,2121           52356                           DXCH     MKT2T1                                
009542,000225: 07,2122           00006                           EXTEND                                         
009543,000226: 07,2123           30356                           DCA      MKT2T1                                
009544,000227: 07,2124           52014                           DXCH     SAMPTIME                              #  RUPT TIME FOR NOUN 65.
009545,000228: 
009546,000229: 07,2125           56002                           XCH      Q                                     
009547,000230: 07,2126           54012                           TS       QRUPT                                 
009548,000231: 
009549,000232: 07,2127           35012                           CAF      BIT6                                  #  SEE IF MARK OR MKREJECT

Page 226

009551,000234: 07,2130           00006                           EXTEND                                         
009552,000235: 07,2131           02016                           RAND     NAVKEYIN                              
009553,000236: 07,2132           10000                           CCS      A                                     
009554,000237: 07,2133           02430                           TC       MARKIT                                #  ITS A MARK
009555,000238: 
009556,000239: 07,2134           35011                           CAF      BIT7                                  #  NOT A MARK, SEE IF MKREJECT
009557,000240: 07,2135           00006                           EXTEND                                         
009558,000241: 07,2136           02016                           RAND     NAVKEYIN                              
009559,000242: 07,2137           10000                           CCS      A                                     
009560,000243: 07,2140           02301                           TC       MKREJECT                              #  ITS A MARK REJECT
009561,000244: 
009562,000245: 07,2141           34362        KEYCALL            CAF      OCT37                                 #  NOT MARK OR MKREJECT, SEE IF KEYCODE
009563,000246: 07,2142           00006                           EXTEND                                         
009564,000247: 07,2143           02016                           RAND     NAVKEYIN                              
009565,000248: 07,2144           00006                           EXTEND                                         
009566,000249: 07,2145           12150                           BZF      +3                                    #  IF NO INBITS
009567,000250: 07,2146           04701                           TC       POSTJUMP                              
009568,000251: 07,2147           17702                           CADR     KEYCOM                                #  IT,S A KEY CODE, NOT A MARK.
009569,000252: 
009570,000253: 07,2150           05650                 +3        TC       ALARM                                 #  ALARM IF NO INBITS
009571,000254: 07,2151           00113                           OCT      113                                   
009572,000255: 07,2152           05333                           TC       RESUME                                
009573,000256: 

Page 227

009575,000258:                                                                                                  #  PROGRAM NAME - MARKCONT                               DATE - 19 SEPT 1967
009576,000259:                                                                                                  #  PROGRAM MODIFIED BY 258/278 PROGRAMMERS               LOG SECTION SXTMARK
009577,000260:                                                                                                  #  MOD BY - R. MELANSON TO ADD DOCUMENTATION             ASSEMBLY SUNDISK REV. 116
009578,000261: 
009579,000262:                                                                                                  #  FUNCTIONAL DESCRIPTION-
009580,000263:                                                                                                  #        MARKCONT IS USED TO PERFORM A SPECIAL MARK FUNCTION FOR R21, TO EXECUTE A SPECIAL DISPLAY OF OPTICS AND TIME OR
009581,000264:                                                                                                  #        TO PERFORM A MARK OF A STAR OR LAND SIGHTING BASED UPON FLASHING V-N.
009582,000265: 
009583,000266:                                                                                                  #  CALLING SEQUENCE-
009584,000267: 
009585,000268:                                                                                                  #        FROM MARKDIF
009586,000269: 
009587,000270:                                                                                                  #  NORMAL EXIT MODE-
009588,000271:                                                                                                  #        TASKOVER
009589,000272: 
009590,000273:                                                                                                  #  ALARM OR ABORT EXIT MODE-
009591,000274:                                                                                                  #        ALARM AND TASKOVER
009592,000275: 
009593,000276:                                                                                                  #  OUTPUT-
009594,000277:                                                                                                  #        1)      FOR R21-
009595,000278:                                                                                                  #                EBANK=EBANK7
009596,000279:                                                                                                  #                MRKBUF1 TO MRKBUF1+6 = TIME2,TIME1,CDUY,OPTICX,CDUZ,OPTICSY,CDUX OF CURRENT R21 MARK FUNCTION.
009597,000280:                                                                                                  #                MRKBUF2 TO MRKBUF2+6 CONTAINS PREVIOUS R21 MARK VALUES.
009598,000281:                                                                                                  #        2)      FOR SPECIAL DISPLAY JOB-
009599,000282:                                                                                                  #                RUPTREG1 AND MRKBUF1 = CDUS,RUPTREG2 AND MRKBUF1+1 = CDUT.
009600,000283:                                                                                                  #                RUPTREG3 AND MRKBUF1+2 = TIME2,RUPTREG4 AND MRKBUF1+3 = TIME1
009601,000284:                                                                                                  #        3)      FOR NORMAL MARKING-
009602,000285:                                                                                                  #                DECREMENT BITS14-12 OF MARKSTAT BY 1,
009603,000286:                                                                                                  #                BIT10 MARKSTAT SET TO 1, INCREMENT QPRET BY 7,
009604,000287:                                                                                                  #                STORE TIME2,TIME1,CDUY,CDUS,CDUZ,CDUT AND CDUX IN VAC+1 TO VAC+7
009605,000288: 
009606,000289:                                                                                                  #  ERASABLE INITIALIZATION-
009607,000290:                                                                                                  #        1)      FOR R21-
009608,000291:                                                                                                  #                BIT14 OF STATE+2 =1, MRKBUF1 TO MRKBUF1+6, ITEMP1, RUPTREG3,
009609,000292:                                                                                                  #                RUPTSTOR TO RUPTSTOR+6 EXCEPT RUPTSTOR+4
009610,000293:                                                                                                  #        2)      FOR SPECIAL DISPLAY JOB-
009611,000294:                                                                                                  #                BIT14 OF STATE+2 =0, MARKSTAT =+0, RUPTREG1,RUPTREG2,RUPTREG3
009612,000295:                                                                                                  #                RUPTREG4,RUPTSTOR,RUPTSTOR+1,RUPTSTOR+3,RUPTSTOR+5,
009613,000296:                                                                                                  #                BIT12 OF STATE+5 (V59 FLAG), MRKBUF1 THRU MRKBUF1+3
009614,000297:                                                                                                  #        3)      FOR NORMAL MARKING-
009615,000298:                                                                                                  #                BIT14 OF STATE+2 =0, MARKSTAT =VAC ADDRESS,A REG,ITEMP1,RUPTREG3,
009616,000299:                                                                                                  #                RUPTSTOR TO RUPTSTOR+6 EXCEPT RUPTSTOR+4
009617,000300: 
009618,000301:                                                                                                  #  DEBRIS-
009619,000302:                                                                                                  #        1)      FOR R21-
009620,000303:                                                                                                  #                A, ITEMP1, MRKBUF1, MRKBUF2
009621,000304:                                                                                                  #        2)      FOR SPECIAL DISPLAY JOB-
009622,000305:                                                                                                  #                A,RUPTREG1,RUPTREG2,RUPTREG3,RUPTREG4,MPAC TO MPAC+3
009623,000306:                                                                                                  #        3)      FOR NORMAL MARKING-
009624,000307:                                                                                                  #                A,MARKSTAT,ITEMP1,QPRET,VAC+1 TO VAC+7 OF VAC AREA IN USE
009625,000308: 

Page 228

009627,000310: 07,2153           35002        MARKCONT           CAF      BIT14                                 
009628,000311: 07,2154           70076                           MASK     STATE      +2                         #  R21 MARK (SPECIAL MARKING FOR R21)
009629,000312: 07,2155           00006                           EXTEND                                         
009630,000313: 07,2156           12170                           BZF      MARKET                                #  NOT SET THEREFORE REGULAR MARKING
009631,000314: 07,2157           36211        MARKIT1            CAF      SIX                                   #  SPECIAL FOR R21
009632,000315: 07,2160           05606                           TC       GENTRAN                               #  TRANSFER MRKBUF1 TO MRKBUF2
009633,000316: 07,2161           01725                           ADRES    MRKBUF1                               
009634,000317: 07,2162           01734                           ADRES    MRKBUF2                               
009635,000318: 
009636,000319: 07,2163           36211                           CAF      SIX                                   #  TRANSFER CURRENT MARK DATA TO MARKBUF1
009637,000320: 07,2164           05606                           TC       GENTRAN                               
009638,000321: 07,2165           00355                           ADRES    MKT2T1                                
009639,000322: 07,2166           01725                           ADRES    MRKBUF1                               
009640,000323: 
009641,000324: 07,2167           15324                           TCF      TASKOVER                              
009642,000325: 
009643,000326: 07,2170           11330        MARKET             CCS      MARKSTAT                              #  SEE IF MARKS CALLED FOR
009644,000327: 07,2171           02225                           TC       MARK2                                 #  COLLECT MARKS
009645,000328: 
009646,000329: 07,2172           35016                           CAF      TWO                                   #  IS MARKING SYSTEM IN USE (BIT2)
009647,000330: 07,2173           71044                           MASK     EXTVBACT                              
009648,000331: 07,2174           00006                           EXTEND                                         
009649,000332: 07,2175           12217                           BZF      MARKET3                               #  MARKING NOT CALLED FOR
009650,000333: 07,2176           35004                           CAF      BIT12                                 
009651,000334: 07,2177           70101                           MASK     STATE      +5                         #  V59FLAG
009652,000335: 07,2200           00006                           EXTEND                                         
009653,000336: 07,2201           12217                           BZF      MARKET3                               #  IF V59FLAG NOT SET-MARK UNCALLED FOR
009654,000337: 07,2202           35061                           CAF      PRIO5                                 #  CALIBRATION MARK (SET) FOR P23
009655,000338: 07,2203           05134                           TC       NOVAC                                 #  SPECIAL DISPLAY JOB
009656,000339: 07,2204  E7,1725                                  EBANK=   MRKBUF1                               
009657,000340: 07,2204           02425 76067                     2CADR    MARKDISP                              
009658,000341: 
009659,000342: 07,2206           36211                           CAF      SIX                                   
009660,000343: 07,2207           05606                           TC       GENTRAN                               #  TRANSFER MARK DATA TO MARKDOWN
009661,000344: 07,2210           00355                           ADRES    MKT2T1                                
009662,000345: 07,2211           01674                           ADRES    MARKDOWN                              
009663,000346: 07,2212           36211                           CAF      SIX                                   
009664,000347: 07,2213           05606                           TC       GENTRAN                               #  TRANSFER MARK DATA TO MRKBUF1 FOR
009665,000348: 07,2214           00355                           ADRES    MKT2T1                                #  SPECIAL DISPLAY OF SHAFT AND TRUNNION
009666,000349: 07,2215           01725                           ADRES    MRKBUF1                               #  IF V59 ACTING
009667,000350: 07,2216           15324                           TCF      TASKOVER                              
009668,000351: 07,2217           05650        MARKET3            TC       ALARM                                 
009669,000352: 07,2220           00122                           OCT      122                                   #  MARKING NOT CALLED FOR
009670,000353: 07,2221           15324                           TCF      TASKOVER                              
009671,000354: 07,2222           05650        114ALM             TC       ALARM                                 #  MARK NOT WANTED
009672,000355: 07,2223           00114                           OCT      114                                   
009673,000356: 07,2224           15324                           TCF      TASKOVER                              
009674,000357: 

Page 229

009676,000359:                                                                                                  #  STORE MARK DATA IN MKVAC AND INCREMENT POINTER
009677,000360: 
009678,000361: 07,2225           67711        MARK2              AD       74K                                   #  SEE IF MARKS WANTED-REDUCE MARKS WANTED
009679,000362: 07,2226           00006                           EXTEND                                         
009680,000363: 07,2227           62222                           BZMF     114ALM                                #  MARK NOT WANTED-ALARM
009681,000364: 07,2230           55330                           TS       MARKSTAT                              
009682,000365: 07,2231           40000                           COM                                            
009683,000366: 07,2232           75006                           MASK     BIT10                                 #  SET BIT10 TO ENABLE REJECT
009684,000367: 07,2233           27330                           ADS      MARKSTAT                              
009685,000368: 
009686,000369: 07,2234           75046                           MASK     LOW9                                  
009687,000370: 07,2235           54061                           TS       ITEMP1                                
009688,000371: 07,2236           50000                           INDEX    A                                     
009689,000372: 07,2237           56052                           XCH      QPRET                                 #  PICK UP MARK SLOT-POINTER
009690,000373: 07,2240           54062                           TS       ITEMP2                                #  SAVE CURRENT POINTER
009691,000374: 07,2241           65023                           AD       SEVEN                                 #  INCREMENT POINTER
009692,000375: 07,2242           50061                           INDEX    ITEMP1                                
009693,000376: 07,2243           54052                           TS       QPRET                                 #  STORE ADVANCED POINTER
009694,000377: 
009695,000378: 07,2244           00006        VACSTOR            EXTEND                                         
009696,000379: 07,2245           30356                           DCA      MKT2T1                                
009697,000380: 07,2246           50062                           INDEX    ITEMP2                                
009698,000381: 07,2247           52001                           DXCH     0                                     
009699,000382: 07,2250           30357                           CA       MKCDUY                                
009700,000383: 07,2251           50062                           INDEX    ITEMP2                                
009701,000384: 07,2252           54002                           TS       2                                     
009702,000385: 07,2253           30360                           CA       MKCDUS                                
009703,000386: 07,2254           50062                           INDEX    ITEMP2                                
009704,000387: 07,2255           54003                           TS       3                                     
009705,000388: 07,2256           30361                           CA       MKCDUZ                                
009706,000389: 07,2257           50062                           INDEX    ITEMP2                                
009707,000390: 07,2260           54004                           TS       4                                     
009708,000391: 07,2261           30362                           CA       MKCDUT                                
009709,000392: 07,2262           50062                           INDEX    ITEMP2                                
009710,000393: 07,2263           54005                           TS       5                                     
009711,000394: 07,2264           30363                           CA       MKCDUX                                
009712,000395: 07,2265           50062                           INDEX    ITEMP2                                
009713,000396: 07,2266           54006                           TS       6                                     
009714,000397: 
009715,000398: 07,2267           37671                           CAF      PRIO34                                #  IF ALL MARKS MADE FLASH VB50
009716,000399: 07,2270           71330                           MASK     MARKSTAT                              
009717,000400: 07,2271           00006                           EXTEND                                         
009718,000401: 07,2272           12274                           BZF      +2                                    
009719,000402: 07,2273           15324                           TCF      TASKOVER                              
009720,000403: 07,2274           37667                           CAF      PRIO32                                
009721,000404: 07,2275           05134                           TC       NOVAC                                 
009722,000405: 07,2276     1330                                  EBANK=   MARKSTAT                              
009723,000406: 07,2276           02422 16062                     2CADR    MKVB50                                
009724,000407: 
009725,000408: 07,2300           15324                           TCF      TASKOVER                              
009726,000409: 

Page 230

009728,000411:                                                                                                  #  PROGRAM NAME - MKREJECT                                       DATE - 5 APRIL 1967
009729,000412:                                                                                                  #  PROGRAM MODIFIED BY 258/278 PROGRAMMERS                       LOG SECTION SXTMARK
009730,000413:                                                                                                  #  MOD BY - R. MELANSON TO ADD DOCUMENTATION                     ASSEMBLY SUNDISK REV. 116
009731,000414: 
009732,000415:                                                                                                  #  FUNCTIONAL DESCRIPTION-
009733,000416:                                                                                                  #        ROUTINE ALLOWS OPERATOR TO REJECT MARK MADE PRIOR TO ACCEPTANCE AND ALLOWS A NEW MARK TO BE MADE BY ASTRONAUT
009734,000417: 
009735,000418:                                                                                                  #  CALLING SEQUENCE-
009736,000419:                                                                                                  #        FROM MARKRUPT IF BIT7 OF CHANNEL 16 IS 1.
009737,000420: 
009738,000421:                                                                                                  #  NORMAL EXIT MODE-
009739,000422:                                                                                                  #        RESUME
009740,000423: 
009741,000424:                                                                                                  #  ALARM OR ABORT EXIT MODE-
009742,000425:                                                                                                  #        ALARM AND RESUME
009743,000426: 
009744,000427:                                                                                                  #  OUTPUT-
009745,000428:                                                                                                  #        1)      FOR R21-
009746,000429:                                                                                                  #                MRKBUF1 SET TO -1
009747,000430:                                                                                                  #        2)      FOR NORMAL MARKING-
009748,000431:                                                                                                  #                BIT10 MARKSTAT =0, INCREMENT NO. MARKS BY 1, DECREMENT QPRET BY 7
009749,000432: 
009750,000433:                                                                                                  #  ERASABLE INITIALIZATION-
009751,000434:                                                                                                  #        1)      FOR R21-
009752,000435:                                                                                                  #                BIT14 OF STATE+2 SET TO 1
009753,000436:                                                                                                  #        2)      FOR NORMAL MARKING-
009754,000437:                                                                                                  #                BIT14 OF STATE+2 SET TO 0, MARKSTAT,QPRET
009755,000438: 
009756,000439:                                                                                                  #  DEBRIS-
009757,000440:                                                                                                  #        1)      FOR R21-
009758,000441:                                                                                                  #                A,MARKSTAT,EBANK
009759,000442:                                                                                                  #        2)      FOR NORMAL MARKING-
009760,000443:                                                                                                  #                A,MARKSTAT,ITEMP1,QPRET
009761,000444: 
009762,000445: 07,2301           35002        MKREJECT           CAF      BIT14                                 
009763,000446: 07,2302           70076                           MASK     STATE      +2                         #  R21 MARK (SPECIAL MARKING FOR R21)
009764,000447: 07,2303           00006                           EXTEND                                         
009765,000448: 07,2304           12310                           BZF      MRKREJCT                              #  NOT SET THEREFORE REGULAR REJECT
009766,000449: 07,2305           37716                           CA       NEGONE                                #  -1 (FOR R22)
009767,000450: 07,2306           55725                           TS       MRKBUF1                               #  -0 IN TIME IS FLAG TO R22 SIGNIFYING A
009768,000451: 07,2307           05333                           TC       RESUME                                #  REJECTED MARK
009769,000452: 07,2310           11330        MRKREJCT           CCS      MARKSTAT                              #  SEE IF MARKS BEING ACCEPTED
009770,000453: 07,2311           02315                           TC       REJECT2                               
009771,000454: 07,2312           05650                           TC       ALARM                                 #  MARKS NOT BEING ACCEPTED
009772,000455: 07,2313           00112                           OCT      112                                   
009773,000456: 07,2314           05333                           TC       RESUME                                
009774,000457: 
009775,000458: 07,2315           45006        REJECT2            CS       BIT10                                 #  SEE IF MARK HAD BEEN MADE SINCE LAST
009776,000459: 07,2316           71330                           MASK     MARKSTAT                              #  REJECT, AND SET BIT10 TO ZERO TO
009777,000460: 07,2317           57330                           XCH      MARKSTAT                              #  SHOW MARK REJECT

Page 231

009779,000462: 07,2320           75006                           MASK     BIT10                                 
009780,000463: 07,2321           10000                           CCS      A                                     
009781,000464: 07,2322           02326                           TC       REJECT3                               
009782,000465: 
009783,000466: 07,2323           05650                           TC       ALARM                                 #  DONT ACCEPT TWO REJECTS TOGETHER
009784,000467: 07,2324           00110                           OCT      110                                   
009785,000468: 07,2325           05333                           TC       RESUME                                
009786,000469: 
009787,000470: 07,2326           35046        REJECT3            CAF      LOW9                                  #  DECREMENT POINTER TO REJECT MARK
009788,000471: 07,2327           71330                           MASK     MARKSTAT                              
009789,000472: 07,2330           54061                           TS       ITEMP1                                
009790,000473: 07,2331           45023                           CS       SEVEN                                 
009791,000474: 07,2332           50061                           INDEX    ITEMP1                                
009792,000475: 07,2333           26052                           ADS      QPRET                                 #  NEW POINTER
009793,000476: 
009794,000477: 07,2334           35004                           CAF      BIT12                                 #  INCREMENT MARKS WANTED AND IF FIELD
009795,000478: 07,2335           61330                           AD       MARKSTAT                              #  IS NOW NON-ZERO, CHANGE TO VB51 TO
009796,000479: 07,2336           57330                           XCH      MARKSTAT                              #  INDICATE MORE MARKS WANTED
009797,000480: 07,2337           77671                           MASK     PRIO34                                #  INDICATE MORE MARKS WANTED
009798,000481: 07,2340           10000                           CCS      A                                     
009799,000482: 07,2341           05333                           TC       RESUME                                
009800,000483: 07,2342           37667                           CAF      PRIO32                                
009801,000484: 07,2343           05134                           TC       NOVAC                                 
009802,000485: 07,2344     1330                                  EBANK=   MARKSTAT                              
009803,000486: 07,2344           02347 16062                     2CADR    MKVB51                                
009804,000487: 
009805,000488: 07,2346           05333                           TC       RESUME                                
009806,000489: 

Page 232

009808,000491:                                                                                                  #  PROGRAM DESCRIPTION MKVB51 AND MKVB50
009809,000492: 
009810,000493:                                                                                                  #  AUTHOR-BARNERT DATE-2-15-67 MOD-0
009811,000494:                                                                                                  #  PURPOSE  FLASH V51N70,V51N43, OR V51 TO REQUEST MARKING,
009812,000495:                                                                                                  #           AND V50N25 R1=16 TO REQUEST TERMINATE MARKING
009813,000496: 
009814,000497:                                                                                                  #  CALLING SEQUENCE   AS JOB WITHIN SXTMARK
009815,000498: 
009816,000499:                                                                                                  #  EXIT TO ENDMARK UPON RECEIPT OF V33, V34 CAUSES GOTOPOOH, ENTER
009817,000500:                                                                                                  #           RECYCLES THE DISPLAY
009818,000501: 
009819,000502:                                                                                                  #  NOTE- SXTMARK AUTOMATICALLY CHANGES FROM CALLING MKVB51 TO MKVB50 WHEN
009820,000503:                                                                                                  #           SUFFICIENT MARKS HAVE BEEN MADE, AND THE REVERSE WHEN A MARK
009821,000504:                                                                                                  #           REJECT REDUCES THE NUMBER MADE BELOW THAT REQUIRED
009822,000505: 
009823,000506:                                                                                                  #  SUBROUTINES CALLED- BANKCALL, GOMARK2, GOODEND, ENDMARK, WAITLIST
009824,000507: 
009825,000508:                                                                                                  #  ALARM OR ABORT MODES - NONE
009826,000509: 
009827,000510:                                                                                                  #  ERASABLE USED-VERBREG,MARKSTAT,QPRET,DSPTEM1
009828,000511: 
009829,000512:                                                                                                  #  OUTPUT MARKSTAT = VAC ADDRESS
009830,000513: 
009831,000514:                                                                                                  #  QPRET = NO. MARKS
009832,000515: 
009833,000516: 07,2347           04662        MKVB51             TC       BANKCALL                              #  CLEAR DISPLAY FOR MARK VERB
009834,000517: 07,2350           20560                           CADR     KLEENEX                               
009835,000518: 07,2351           32427                           CAF      VB51                                  #  DISPLAY MARK VB51
009836,000519: 07,2352           04662                           TC       BANKCALL                              
009837,000520: 07,2353           20572                           CADR     GOMARK4                               
009838,000521: 07,2354           12357                           TCF      TERMSXT                               #  VB34-TERMINATE
009839,000522: 07,2355           12370                           TCF      ENTANSWR                              #  V33-PROCEED-MARKING DONE
009840,000523: 07,2356           12416                           TCF      MKVB5X                                #  ENTER-RECYCLE TO INITIAL MARK DISPLAY
009841,000524: 
009842,000525: 07,2357           05536        TERMSXT            TC       CLEARMRK                              #  CLEAR MARK ACTIVITY.
009843,000526: 
009844,000527: 07,2360           05364                           TC       CHECKMM                               
009845,000528: 07,2361           00003                           MM       03         B-14                       
009846,000529: 07,2362           12364                           TCF      +2                                    
009847,000530: 07,2363           02366                           TC       TERMP03                               
009848,000531: 07,2364           04701                           TC       POSTJUMP                              
009849,000532: 07,2365           30205                           CADR     TERM52                                
009850,000533: 
009851,000534: 07,2366           05546        TERMP03            TC       UPFLAG                                
009852,000535: 07,2367           00032                           ADRES    TRM03FLG                              
009853,000536: 07,2370           35046        ENTANSWR           CAF      LOW9                                  #  PUT VAC ADR IN MARKSTAT AND NO. OF
009854,000537: 07,2371           71330                           MASK     MARKSTAT                              #  MARKS MADE IN QPRET BEFORE LEAVING
009855,000538: 07,2372           55330                           TS       MARKSTAT                              #  SXTMARK
009856,000539: 07,2373           40000                           COM                                            
009857,000540: 07,2374           51330                           INDEX    MARKSTAT                              
009858,000541: 07,2375           60052                           AD       QPRET                                 

Page 233

009860,000543: 07,2376           00006                           EXTEND                                         
009861,000544: 07,2377           62403                           BZMF     JAMIT                                 #  NO MARKS MADE, SHOW IT IN QPRET, R53
009862,000545: 07,2400           00006                           EXTEND                                         #        WILL PICK IT UP AND RECYCLE
009863,000546: 07,2401           75004                           MP       BIT12                                 #  THIS PUTS NUMBER MARKS-1 IN A
009864,000547: 07,2402           65017                           AD       ONE                                   
009865,000548: 07,2403           51330        JAMIT              INDEX    MARKSTAT                              #  STORE NO OF MARKS MADE
009866,000549: 07,2404           54052                           TS       QPRET                                 
009867,000550: 07,2405           00004                           INHINT                                         #  SERVICE OPTSTALL INTERFACE WITH
009868,000551: 07,2406           35022                           CAF      FIVE                                  
009869,000552: 07,2407           05245                           TC       WAITLIST                              
009870,000553: 07,2410     1330                                  EBANK=   MARKSTAT                              
009871,000554: 07,2410           02413 16062                     2CADR    ENDMARKS                              
009872,000555: 
009873,000556: 07,2412           05534                           TC       ENDMARK                               #  KNOCKS DOWN MARKING FLAG + DOES ENDOFJOB
009874,000557: 
009875,000558: 07,2413           35017        ENDMARKS           CAF      ONE                                   
009876,000559: 07,2414           04740                           TC       IBNKCALL                              
009877,000560: 07,2415           17550                           CADR     GOODEND                               
009878,000561: 07,2416           37671        MKVB5X             CAF      PRIO34                                
009879,000562: 07,2417           71330                           MASK     MARKSTAT                              #  RE-DISPLAY VB51 IF MORE MARKS WANTED
009880,000563: 07,2420           10000                           CCS      A                                     #  AND VB50 IF ALL IN
009881,000564: 07,2421           12347                           TCF      MKVB51                                
009882,000565: 07,2422           34333        MKVB50             CAF      R1D1                                  #  OCT 16
009883,000566: 07,2423           55045                           TS       DSPTEM1                               
009884,000567: 07,2424           32426                           CAF      V50N25                                
009885,000568: 07,2425           12352                           TCF      MKVB51     +3                         
009886,000569: 
009887,000570: 07,2426           14431        V50N25             VN       5025                                  
009888,000571: 07,2427           14600        VB51               VN       5100                                  
009889,000572: 07,2430     4362               OCT37              =        LOW5                                  
009890,000573: 
009891,000574:                                                                                                  #  PROGRAM NAME - MARKIT                         DATE - 19 SEPT 1967
009892,000575: 
009893,000576:                                                                                                  #  CALLING SEQUENCE
009894,000577:                                                                                                  #        FROM MARKRUPT IF CHAN 16 BIT 6 = 1
009895,000578: 
009896,000579:                                                                                                  #  EXIT
009897,000580:                                                                                                  #        RESUME
009898,000581: 
009899,000582:                                                                                                  #  INPUT
009900,000583:                                                                                                  #        CDUCHKWD.  ALSO ALL INITIALIZATION FOR MARKCONT
009901,000584: 
009902,000585:                                                                                                  #  OUTPUT
009903,000586:                                                                                                  #        MKT2T1,MKCDUX,MKCDUY,MKCDUZ,MKCDUS,MKCDUT
009904,000587: 
009905,000588:                                                                                                  #  ALARM EXIT
009906,000589:                                                                                                  #        NONE
009907,000590: 
009908,000591: 07,2430           11341        MARKIT             CCS      CDUCHKWD                              
009909,000592: 07,2431           12434                           TCF      +3                                    #  DELAY OF CDUCHKWD CS IF PNZ

Page 234

009911,000594: 07,2432           12434                           TCF      +2                                    
009912,000595: 07,2433           35021                           CAF      ZERO                                  
009913,000596: 07,2434           65017                           AD       ONE                                   #  10 MS IF NO CHECK
009914,000597: 07,2435           05245                           TC       WAITLIST                              
009915,000598: 07,2436  E7,1725                                  EBANK=   MRKBUF1                               
009916,000599: 07,2436           02203 20067                     2CADR    MARKDIF                               
009917,000600: 
009918,000601: 07,2440           15333                           TCF      RESUME                                
009919,000602: 
009920,000603: 10,2000                                           SETLOC   SXTMARK1                              
009921,000604: 10,2000                                           BANK                                           
009922,000605: 
009923,000606: 10,2203                                           COUNT    10/SXTMK                              
009924,000607: 
009925,000608:                                                                                                  #  PROGRAM NAME - MARKDIF                        DATE- 19 SEPT 1967
009926,000609: 
009927,000610:                                                                                                  #  CALLING SEQUENCE
009928,000611:                                                                                                  #        WAITLIST FROM MARKIT
009929,000612: 
009930,000613:                                                                                                  #  EXIT
009931,000614:                                                                                                  #        TASKOVER OT IBNKCALL TO MARKCONT
009932,000615: 
009933,000616:                                                                                                  #  INPUT
009934,000617:                                                                                                  #        OUTPUT FROM MARKIT, INPUT TO MARKCONT, CDUCHKWD
009935,000618: 
009936,000619:                                                                                                  #  OUTPUT
009937,000620:                                                                                                  #        RUPTSTOR - RUPTSTOR+3, RUPTREG3, RUPTSTOR+5 - RUPTSTOR+6
009938,000621: 
009939,000622:                                                                                                  #  ALARM EXIT
009940,000623:                                                                                                  #        ALARM AND TASKOVER
009941,000624: 
009942,000625: 10,2203           31341        MARKDIF            CA       CDUCHKWD                              #  IF DELAY CHECK IS ZERO OR NEG, ACP MARK
009943,000626: 10,2204           00006                           EXTEND                                         
009944,000627: 10,2205           62216                           BZMF     MKACPT                                
009945,000628: 10,2206           45017                           CS       BIT1                                  
009946,000629: 10,2207           54354                           TS       MKNDX                                 #  SET INDEX -1
009947,000630: 10,2210           30363                           CA       MKCDUX                                
009948,000631: 10,2211           02220                           TC       DIFCHK                                #  SEE IF VEHICLE RATE TO MUCH AT MARK
009949,000632: 10,2212           30357                           CA       MKCDUY                                
009950,000633: 10,2213           02220                           TC       DIFCHK                                
009951,000634: 10,2214           30361                           CA       MKCDUZ                                
009952,000635: 10,2215           02220                           TC       DIFCHK                                
009953,000636: 
009954,000637: 10,2216           04740        MKACPT             TC       IBNKCALL                              
009955,000638: 10,2217           16153                           CADR     MARKCONT                              #  MARK DATA OK, WHAT DO WE DO WITH IT
009956,000639: 
009957,000640: 10,2220           24354        DIFCHK             INCR     MKNDX                                 #  INCREMENT INDEX
009958,000641: 
009959,000642: 10,2221           00006                           EXTEND                                         
009960,000643: 10,2222           50354                           INDEX    MKNDX                                 

Page 235

009962,000645: 10,2223           20032                           MSU      CDUX                                  #  GET MARK(ICDU) - CURRENT(ICDU)
009963,000646: 10,2224           10000                           CCS      A                                     
009964,000647: 10,2225           12231                           TCF      +4                                    
009965,000648: 10,2226           00002                           TC       Q                                     
009966,000649: 10,2227           12231                           TCF      +2                                    
009967,000650: 10,2230           00002                           TC       Q                                     
009968,000651: 10,2231           67715                           AD       NEG2                                  #  SEE IF DIFFERENCE GREATER THAN 3 BITS
009969,000652: 10,2232           00006                           EXTEND                                         
009970,000653: 10,2233           62230                           BZMF     -3                                    #  NOT GREATER
009971,000654: 
009972,000655: 10,2234           05650                           TC       ALARM                                 #  COUPLED WITH PROGRAM ALARM
009973,000656: 10,2235           00121                           OCT      00121                                 
009974,000657: 
009975,000658: 10,2236           15324                           TCF      TASKOVER                              #  DO NOT ACCEPT
009976,000659: 
009977,000660: 

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