N.B. This text is taken from several PDF files.

Vol4P3_1-1.2.6 + 2 containing contents, section 1 to 1.2.6, and all of section 2.

Vol4P3_1.2.7-ApD containing sections 1.2.7 to appendix D of section 1, excluding appendix A which is missing from paper manual.

Vol4P3_3-ApA1, Vol4P3_ApA1_Ap2 2 (4 duplicated pages at end ignored), Vol4P3_3-ApA3-ApC (last page has been ignored as out of sequence.

The PDF files are here:
N.B. In Appendix A3 of section 3, the first page dealing with hardware configuration, does not agree with the contents of the similar form in appendix A1. Either an updated page for A3 is missing from the manual, or it was never issued.


                                                        Volume IV

     PART 3 : ASSOCIATED PROGRAMS

                              CONTENTS

     1    MASTER PROGRAM INPUT SEQUENCES
          1.1  Purpose of Input Sequences
          1.2  Description of System
          1.3  Production and Modification of the System
          Appendix A : Control Data for Input Sequence
          Appendix B : Layout of Interim Modifications
          Appendix C : Loading Procedure for Master Program
          Appendix D : Data for Paper Tape or Decimal Card Start

     2    MAGNETIC TAPE SENTINEL PRODUCTION PROGRAM (09004)
          2.1  Purpose and Scope
          2.2  Data
          2.3  Results
          2.4  Procedure
          2.5  Operating Notes
          Appendix A : Control Data and Sentinel Layout (09004)

     3    MASTER ROUTINE GENERATOR (08004)
          3.1  Purpose and Scope
          3.2  Data
          3.3  Results
          3.4  Procedure
          3.5  Operating Notes
          Appendix A : Control Data
          Appendix B : The Generation Process
          Appendix C : Master Routine Input Sequences


5/0                                                     Amendment No. 42
                                                        March 1968


Section 1 1. MASTER PROGRAMME INPUT SEQUENCES 1.1 Purpose of Input Seguences The Master Programme Input sequences are a standard part of the LEO III Software system. They provide facilities to: (a) Load the Master Programme held on magnetic tape in either Intercode Pass 3 or Input Sequence format (see below). (b) Load temporary modifications from paper tape or cards. (c) Copy the store (including the Master Programme) onto magnetic tape. The Input Sequences also perform part of the 'Initial Set Up' procedure. The Input Sequences are written in Intercode thereby ensuring ease of modification and documentation. 1.2 Description of System 1.2.1 Loading the Input Sequences The Input Sequences are designed to be loaded by means of the magnetic tape start key. If an installation does not have the magnetic tape start facility it can be simulated by means of the paper tape/ card start facility and a special paper tape/card as specified in Appendix D. The magnetic tape start reads the first block of the magnetic tape on any route of channel 0, 1, 16 or 17. This block contains the primary input sequence which reads the next block, containing the secondary input sequence, into division 1 and this in turn reads in the first two divisions of store. If doubtful block, route closed or alignment failure occurs on reading this tape, the computer halts and the operator must start the procedure again. When loading is completed the main input routine will lie in the latter half of division 1 and division 0 will contain a version of the Master Programme. The full identity of the version is typed out and alarm 77 then offered with four options: (i) to read the date from the indicators, and proceed direct to the initial set up routine (section 1.2.8.). 6/0 Amendment No. 28. June 1965.
Section 1.2 (Cont'd) (ii) to read control data and pass through the main input routine (sections 1.2.2 to 1.2.7) before entering the initial set up routine. (iii) to read the date from the indicators, and proceed direct to the initial set up routine (section 1.2.8), but avoiding unloading the tape start tape. (iv) to read control data and pass through the main input routine (sections 1.2.2 to 1.2.7) before entering the initial set up routine, but avoiding unloading the tape start tape. The first and third option allows a Master Programme to be loaded without the use of control data. The date which must be stacked in the form DD M YY (e.g. 11 11 66), is range checked in these cases but the Master Programme identity is not. However, this identity has been typed out and should have been checked by the operator before the alam was dealt with. 1.2.2 Control Data (a) Standard The standard control data contains five blocks of information held in fixed field form: Block 1 The first block holds the sentinel '%%%%%' and the date (DD M YY). The date is range checked. If this check fails the route is set to manual, a comment is made, and on the route being re-opened the programme will expect to re-read the control data. Block 2 The second block contains three words. The first word contains the programme identity, the second the Intercode serial number and the third the interim modification number (see section 2.4) of the Master Programme required. Block 3 The third block contains up to five 5-digit modification identifiers. Block 4 The fourth block contains up to two 5-digit numbers specifying the tapes onto which new copies are to be written. If the tape numbers are preceded by 'TOTAL', the contents of the ‘tape start’ tape will be copied up to the end sentinel. Block 5 The fifth block contains an indicator if the Master Programme loaded at the end of this run is not to be entered. The programme will return to alarm 77 so that another run can be performed without repeating the tape- start procedure. For layout of control data see Appendix A. 6/4 Amendment No. 33 December 1966
Section 1.2 (Cont'd) (b) Non-Standard Non-standard control data may be submitted in the following form: To produce new versions of Input Sequences The control data contains '>>>>>' in its first word. The purpose is to facilitate the production of new versions of the input sequences and its use is reserved for those responsible for Input Sequence production. The control data specifies certain routes and facilities to be used on the installation for which the new version is being made (see section 1.3). The block contains ten items in variable field form. Following the control data word (>>>>>) are three items in channel and route form specifying the routes to be used in future by the typewriter, for submission of control data, and for modifications respectively. The next item specifies the total number of divisions in the first bank of store to be catered for, and the next three are indicators specifying whether the Saxby clock, millisecond timer and lockout are to be tested. They should be numeric and if they are non-zero the test will be carried out. The next item is an indication of whether the installation will have magnetic tape on channels O and 1, or 16 and 17; the last item specifies the number of divisions in the second bank of store. The routes and number of divisions are range checked and if this check fails the route is set to manual and a comment typed. On the route being re-opened the programme will expect a control data word (>>>>>) and will not accept standard control data until the former control data has been read and processed successfully. When the table of routes and facilities has been updated a comment is typed to enable it to be checked. This block is followed by the standard control data or the second type of control data. 1.2.3 Errors on Attempting to Read Control Data If the programme is expecting a control data word but does not find one the route is set to manual and a comment typed. On the route being opened the programme tries again. If doubtful block occurs on reading control data the route is set to manual and a comment type. The paper tape or cards must then be re-aligned to the start of any previous control data heading block. 4/3 Amendment No. 27 February 1965.
Section 1.2 (Cont'd) 1.2.4 Loading the Master Programme The process of loading the Input Sequences will also have loaded a version of the Master Programme into the store; a comparison is made between the identity of the Master Programme in the store and that requested by control data. If the check fails and the Interim modification number is non-zero, a report is made and the loading process must be repeated or corrected control data fed. If the check fails and the Interim modification number is zero, a check is made on the magnetic tapes loaded (if any) to determine if one contains the required Intercode (i.e. ex Translator) version of the Master Programme. If one does, that version is loaded, otherwise the operator either loads the required Intercode version or repeats the complete loading process. If doubtful block occurs on reading the Intercode version, the block number is checked and if the block is the one expected it will be re-read up to six times. If then it has still not been read successfully the programme is abandoned and the whole loading process must be repeated. If the block is not the one expected the occurrence is treated as an alignment failure. If alignment failure occurs and the first word of the block contains a faulty block marker the programme reads the next block and checks that. Otherwise the programme conducts a limited search. If at the start of the search or at any time during it the tape appears to be aligned before the required block, the programme reads up to a maximum of a hundred blocks. If at the start of the search or at any time during it the tape appears to be aligned after the required block, the programme steps back ten blocks. If the tape then appears to be aligned, before the required block, control is passed to the appropriate procedure, but if not a conment is typed and the programme abandoned. 1.2.5 Interim Modification The facility to make temporary modifications to the Master Programme and Input Sequences is reserved for the use of Master Programme Programmers. Its principal function is to assist in trials of new versions and issues of the Master Programme but it could if the need arose be used to amend an operational version of the Master Programme pending the arrival of a new Intercode version. 6/0 Amendment No. 28. June 1965.
Section 1.2 (Cont'd) The format of interim modification is shown in Appendix B. Several checks are carried out and if any fails, the route is set to manual and a comment is typed. Such failures are of two types. If the failure occurs when the program is expecting a block heading a new set of modifications or if the wrong set of modifications is submitted the above comment is followed by a route closed comment and the correct set of modifications will be expected when the route is opened. On the other hand, if an error is discovered in the middle of a set of modifications, it is possible that the Master Program has been corrupted and accordingly the comment is followed by 'ABANDON' and the whole Loading process must be repeated with the offending set of modifications either amended or omitted. If doubtful block occurs the route is set to manual and a comment typed. The tape must then be aligned to the beginning of the set of modifications and on the route being opened the set will be re-read. Each set of modifications is headed by a block containing the identifier of that set. The identifiers must be the same as those on the control data and the sets of modifications must be submitted in the order given on the control data. Every time the Master Program is modified by a batch of modifications the interim modification number is stepped by one. 1.2.6 Production of New Copies New copies of the Input Sequences and (possibly modified) Master Program may be made by specifying the numbers of the new tapes on the control data (see Appendix A). These tapes must bear sentinels as a check is made on the tape number. If this check fails the tape is unloaded and when the route is re—opened the check will be repeated. As many tapes must be written as are specified in the control data. The first blocks on the tape are described in section 1.2.1, i.e. there is first a block containing the primary input sequences, then one containing the secondary input sequence, then up to thirty-two containing the contents of the first two divisions of store. Finally the standard sentinels are written, to enable the tape: (a) to be used again without re-sentinelling; (b) to hold additional software programs after the Master Program. If doubtful block occurs when writing any of the blocks up to and including the source block the program will attempt to re-write the whole tape up to three times. If this fails, standard sentinels are written on the tape, which is then unloaded and removed from the new copies list. Otherwise the program will attempt to re-write in the usual manner. However, if it fails to write the block correctly after ten attempts, the copy is abandoned. 6/7 Amendment No. 35 April 1967
Section 1.2 (Cont'd) If doubtful block or alignment failure occurs when reading, it is dealt with in the same way as when loading from Intercode (section 1.2.3) i.e. in the case of doubtful block the programme will attempt to reed the block six times, and in the case of alignment failure will conduct a limited search. 1.2.7 Initial Set Up Before passing control to the Master Programme the Input Sequences perform as much of the initial set up routine as possible. Tag 14 will already have been stacked throughout the store, except compartments 0 and 32 which have tag 0 (not on LEO 326). Compartment 9 is set up. Compartments 128 to 137 are set up as required by the floating point actions. The Saxby clock, millisecond timer, lockout and unassigned interruption are tested if the installation possesses them; tests for interruption and overflow are then made. The lockout test involves locking out and requires resetting by the operator, except on LEO 326, but the others are passed through automatically. If a test fails a comment is typed and the test repeated. Finally the date is placed in two forms in fixed locations, the compartments 64 to 127 are cleared, the coding for the entry to the independent store print will have been placed in compartments 140 to 153, which are given tag 15, the route on which the tape start tape was read is placed in a fixed location, modification group 0 is set, registers A, B and C and the indicators are cleared, a comment is typed, and the Master Programme is entered. 1.3 Production and Modification of the System The programme will be loaded in the first instance under the Master Programme and will overlay itself into the second half of division 1. On gaining control the programme will set non-interruptible mode, call for control data, and carry on from there as already described. The first control data submitted must be non-standard (i.e. beginning with '>>>>>'). Versions of the Input Sequences for computers other than that on which they are produced are automatically generated by means of control data. The loading sequence has a 'master' table specifying the routes and facilities available for use. When the loading sequence is first entered, this master table is copied to working locations to which the loading sequence makes reference as required. When a version is being made for another installation, the master table is set up (from '>>>>>' set of control data, see Appendix A), for that installation and copies of the store made in the usual manner. Such copies are then in a form which can be used on that installation. 4/0 Amendment No. 23 August 1964
APPENDIX A IS MISSING
Appendix B APPENDIX B : LAYOUT OF INTERIM MODIFICATIONS Interim modifications are written on the usual six-column computer code sheets. The sixth column contains the directive which may be zero, 11, 98, 99, or -98, and must be in decimal. Each set of modifications must begin with a block containing an 11 directive, and end with a block containing a -98 directive followed by a zero block. The 98 end 99 directives are stacking directives and specify how the following items (containing zero directive) are to be stacked. 11 directive Columns 1 to 4 are ignored, Column 5 | . | . | . | . |09001| 11 || contains the modification identifier which is compared with the next one on the control data. 98 directive Columns 1 to 4 are ignored, Column 5 | . | . | . | . | 1364| 98 || contains the compartment beginning at | 28| . | 3 | . | 9462| || which the following instructions are to be | 6| 1 | . | 1 | 6 | || stacked and must be in decimal. Instructions Column 1 = Action: must be ≥ 0 and < 32 Column 2 = Discriminant: = 0 or 1 Column 3 = Modifier: = 0, 1, 2 or 3 Column 4 = Reference: = 0 or 1 Column 5 = Item: The address is formed by taking the item, and if the reference = 1, adding to it column 5 of the block containing the last 98 directive. The address may be in 15-bit or 13-bit form, but if in 15-bit form must be within the limits of the installation concerned. Each column must be in decimal. 99 directive Columns 1 to 4 are ignored, Column 5 | . | . | . | . | 4392| 99 || contains in decimal the address beginning | | | | | | || | . | . | . | . |31156| || at which the following constants are to be be stacked. Constants Columns 1 to 4 are ignored. Column 5 contains the quartet values of the constant to be stacked. Minus zero is stacked as zero. -98 directive Columns 1 to 5 are ignored. Column 6 is | . | . | . | . | . |-99 || checked in numeric so that -0098 is | . | . | . | . | . | || acceptable.
Appendix C APPENDIX C: LOADING PROCEDURE FOR MASTER PROGRAM C.1 Routes Used Input Sequences and Master Program } { (IPS form) } { } { Any routes of channels 0 or 1 Master Program (Pass 3 form) } { (of channels 16 or 17 on (if required) } { installations with Fast } { Channels) First new copy (if required) } { } { Second new copy (if required) } { Typewriter route 2 (of appropriate Assembler) Control data (if required) route 0 or 4 (card/paper tape input assembler) Modifications (if required) route 1 or 6 (card/paper tape assembler) Note: The Master Program will load programs on the magnetic tape route used to load the IPS form Input Sequences and Master Program. C.2 To Load a Version of the Master Program Step 1 Place required version of Master Program on any M.T. route (if version output by Input Sequences) If Pass 3 Translator version is required, place any Input Sequence version on any M.T. route. Step 2 Press Magnetic Tape Start Key (On machines without this facility, load paper tape or card as specified in Appendix D and press Paper Tape or Card Start Key). Step 3 If lockout occurs, reset lockout (order register (15 15 15 15 15)). If 'LOCKOUT PLEASE' is typed, switch lockout on and reset when lockout occurs. Step 4 When the version has been loaded, its full identity is typed as follows: *** 77 (program no.) (issue and serial no.) (interim mod.no.) xxxxx xxxxx xxxxx C.3 Action following Alarm 77 Steps 1, 2, 3, If control data IS NOT to be submitted 1. Check Master Program identity is one required. 2. If the Tape Start tape also contains the first program to be allocated, take option 3. Otherwise take option 1. 3. At Opt.l or Opt.3, stack the date in decimal on the indicators. 4. (see below) 6/3 Amendment No.30 October 1966
Appendix C (Cont'd) Steps 1, 2, 3, If control data IS to be submitted. 1 Place control data on route 0 of Paper Tape Input Card Input Assembler). Layout of control data blocks is given in Appendix A. 2 To load Master Program (Pass 3 output) Place Master Program (Pass 3 output) on any M.T. route. To feed Interim Modifications Place Interim Modifications on route 1 of Paper Tape Input Assembler (or if no paper tape input, on route 6 of Card Input Assembler). To make copies of the Master Program. Place first tape for copy on any M.T. route and second, if required, on any M.T. route. 3 If the Tape Start tape contains the first program to Step 4. When the Master Program is entered, it is ready for command when the green light goes on. C.4 Alarms, Halts and Warnings C.4.1 Halts in the Primary and Secondary Input Sequences Halt 1/0/3 Route closed Halt 1/0/5 Doubtful block Halt 1/0/14 Identification failure If either of the latter two occur, the program must be abandoned. C.4.2 Initial Alarm *77 (program no.) (serial no.) (interim mod. no.) OPTION 1 - Stack date and enter Master Program OPTION 2 - Feed control data OPTION 3 - As option 1 but without unloading the route O tape. OPTION 4 - As option 2 but without unloading the route O tape. OPTIONS 5-13 This stacks (option no. -4) in compartment 180 of division 0 and returns to *77. This is the machine number to be printed, instead of the time, with red log comments if the Master has optional facility 34. 6/8 Amendment No. 4/41 March 1968.
Appendix C (Cont'd) OPTION 14 - This alters the Master Routine store tables to prevent the on-line store dump (see Part 1, Section 10), contained on the first five hundred locations of division 1 being over- written. Then as Option 1. OPTION 15 - As Option 14 except that it continues as Option 2. C.4.3 Special Operator Warning Lights Amber Lit Option Outstanding. Red Lit Typewriter Route Closed. 6/8 Amendment No. 4/41 March 1968.
Appendix C (Cont'd) C.5 Log Comments Comment Meaning Action ABANDON The programme is unable Start again to continue C D REJ X A check failed when Refeed corrected altering the routes and control data. facilities table X = C: Control data route not in octary M: Modifications route not in octary S: Number of store divisions out of range T: Typewriter route not in octary CLOCK PLEASE Saxby clock is not Switch it on switched on DATE PLEASE Programme awaits data to Do so be stacked on indicators DATE REJ The range check on the Refeed control data date has failed. or re-stack DB (Ch.rte)(first word) Doubtful block has of block occurred. END (Prog.) (Serial) The Master Programme Continue with next (Interim) with this identity has run of Input Sequences been loaded but not without tape—starting entered again. FIND I/P M/T An 'Intercode' tape is Load correct tape required, but one is not loaded. FIND O/P M./T A copy tape is required, Load correct tape but one is not loaded HDG(prog.ident)(file ident) 'Intercode' tape is not Load correct tape found found 'O80' suite file 'A' HIP HOP As for Master Programme LIP LOP INTERRUPT PLEASE The hardware is not Inform Engineer interrupting ISSUE X MASTER ROUTINE The Master Programme with (Prog)(Serial) (Interim) this identity has been loaded and entered LDB Doubtfill block ocurred on the typewriter and the comment is being repeated 6/0 Amendment No. 28. June 1965.
Appendix C (Cont'd) Comment Meaning Action LOCKOUT PLEASE Lookout is not switched on Switch it on MASTER TOO LARGE Master is bigger than one Next comment is ABANDON and a half divisions MOD REJ X (wrong mod) Mods. incorrect If next comment 'RC' block refeed set of mods. X : A: Action <0 or ≥ 32 or not in decimal If next comment 'ABANDON', do so AD: 98 or 99 directive address <0 or ≥ 16384 or not in decimal B: Too many items in block C: Instruction not constant after 99 directive D: Discriminant ≠ 0 or 1 D-: 98 or 99 directive immediately after -98 D?: Unacceptable directive I: Item (after 98 directive) negative or not in decimal IR: Reference + item (after 98 directive) ≥ 16384 M: Modifier <0 or >3 R: Reference ≠0 or 1 O: Zero directive immediately after 11 or -98 directive 11: 11 directive but not after -98 --: Two -98 directives in a row MODS (identifiers) The specified mods. have been loaded 6/2 Amendment No. 29. August 1966
Appendix C (Cont'd) Comment Meaning Action (word ) NOT CD Control data fed does Re-feed correct control found not commence with an data acceptable word OPT X Option X has been taken O REJ X The option stacked (X) Try again is unacceptable OVERFLOW PLEASE Overflow is not switched Switch it on on PROG REJ (CD )(CD ) The programs specified Refeed control data prog serial on control data is not or start again (CD ) the same as that in the interim store, and has a non- zero interim. (The programme in store is typed at Alarm 77) RC (ch.rte) Route is closed. Open it SER (ch.rte)(block ) Serial number failure expected has occurred and is (block ) being dealt with found TAPE REJ The tape does not Load correct tape contain Pass 3 of the specified Master TAPES (tape nos) Specified new copies have been written. '?????' means a tape should have been written but was abandoned because of DB's TIMER PLEASE Millisecond timer is not Switch it on switched on U A PLEASE The hardware is not Inform engineer interrupting on obeying an unassigned action (on LEO 326 only) WE (ch.rte) Warning of end has No action is taken occurred on indicated route 6/2 Amendment No. 29. August 1966
Appendix C (Cont'd) Comment Meaning Action WRONG MODS (set ) (set ) The set of mods. fed Feed correct set expected found is not the next one expected WRONG TAPE (tape no) The tape loaded to be Feed correct tape found written on is not one specified in the control data >>>>>(items as on ) The table of routes and Check items control data facilities has been altered as shown 4/0 Amendment No. 23 August 1964
Appendix D APPEMDIX D : LAYOUT OF DATA FOR PAPER TAPE OR CARD START D.1 Paper Tape or Decimal Card Layout for LEO III This is in fixed field form. Spaces denote spaces. On a card the block end is not needed. The magnetic tape is to be loaded only on Route 0 of Channel 0. | Q | | S | | | 1st word | & | | L | | | 2nd word | Q | | K | | | 3rd word | ' | 8 | | | 5 | 4th word | 6 | 8 | | | 4 | 5th word | ' | | 1 | | | 6th word | | | | | | | H | 8 | 1 | |10 | 7th word | 6 | | 1 | 1 | 1 | 8th word | 2 | | | 4 | | 9th word | C | 2 | | | | 10th word | = | 8 | | | | 11th word | | | 1 | | 3 | 12th word | | | | | | | H | 8 | 1 | |13 | 13th word | | | 1 | | 5 | 14th word | | | | | | |15 | | | | | 15th word | H | 8 | | | 1 | 16th word | | | | | | |BE | | | | | 17th word D.2 Data for Load Store (Pager Tape Start) for LEO 326 and 360 The data is in fixed field form. The magnetic tape is to be loaded on Route 0 of Channel 0 or 1, If Route 0 of Channel 16 or 17 is to be used, the 35th word should be ‘00080' | 6 | 0 | 0 | 1 | 8 | 1st word | 2 | 0 | 0 | 1 | 3 | 2nd word | 2 | 8 | 0 | 0 | 2 | 3rd word | 2 | 0 | 0 | 0 | 4 | 4th word | | | | | | | 1 |14 | 0 | 1 | 5 | 5th word | 2 | 0 | 0 | 0 | 5 | 6th word | | | | | | | 6 | 2 | 0 | 1 |12 | 7th word 6/2 Amendment No. 29 August 1966
Appendix D.2 (Cont'd) | 2 | 4 | 8 | 0 | 0 | 8th word | I | 2 | 0 | 0 | 2 | 9th word | I | 4 | 0 | 0 | 1 | 10th word | | | | | | | 6 | 0 | 0 | 1 |10 | 11th word | H | 8 | 8 | 0 | 0 | 12th word | | | | | | | H | 8 | 0 | 0 |12 | 13th word | | | | | | |15 | 0 | 0 | 0 | 0 | 14th word | H | 2 | 8 | 1 | 4 | 15th word | 2 | 0 | 0 | 4 | 0 | 16th word | H | 2 | 8 | 1 | 4 | 17th word | = | 8 | 0 | 0 | 0 | 18th word | H | 8 | 8 | 1 | 1 | 19th word | 3 | 0 | 0 | 0 | 0 | 20th word | 3 | 0 | 0 | 0 | 0 | 21st word | 3 | 0 | 0 | 0 | 0 | 22nd word | H | 2 | 8 | 1 | 4 | 23th word | C | 2 | 0 | 0 | 0 | 24th word | H | 2 | 8 | 1 | 4 | 25th word | = | 8 | 0 | 0 | 0 | 26th word | 0 | 0 | 1 | 0 | 3 | 27th word | | | | | | | H | 8 | 8 | 0 |10 | 28th word | 0 | 0 | 1 | 0 | 5 | 29th word | 3 | 0 | 0 | 0 | 0 | 30th word | H | 8 | 0 | 0 | 1 | 31st word | | | | | | | 1 |14 | 0 | 0 | 8 | 32nd word | 7 | 0 | 8 | 1 | 4 | 33rd word | H | 8 | 0 | 1 | 4 | 34th word | 0 | 0 | 0 | 0 | 0 | 35th word | | | | | | |BE | | | | | 36th word 6/2 Amendment No. 29. August 1966.
Section 2 2 MAGNETIC TAPE SENTINEL PRODUCTION PROGRAM (09004) 2.1 Purpose and Scope This program writes onto magnetic tapes the 'Start of Tape' sentinels followed by the 'End of File' sentinels. These include alignment mark words to prevent running back past the beginning of the tape, a tape number which is checked to be in the Released Tapes Index when a file is opened for output, and a 'Xeronic Word'. 2.2 Data (i) The magnetic tape(s) on which sentinels are to be written. (ii) Control data on paper tape or cards consisting of a list of tape numbers on which sentinels are required. The tape numbers must be specified in the order that the tapes are loaded. Up to 15 tapes may be written in succession using one control data file. If more than 15 tapes require sentinels, the program may be re-entered from the final alarm. For layout of control data see Appendix A. 2.3 Results (i) Six ‘Start of Tape’ sentinels} One 'Source' block } on each tape Three ‘End of File‘ sentinels} For layout of sentinels see Appendix A. (ii) Log comments (see 2.5.2) 2.4 Procedure The program is allocated normally with two files, A1 (magnetic tape output with alternate routes) and C1 (paper tape or card input). On entry the control data is read and sentinels are written on the first tape, which is then rewound, read, checked and unloaded. A comment is typed and the magentic tape route alternated (if allocated) to deal with the next tape. The magnetic tape input/output actions are performed in the program using two annexes. The route is tested before each action in the Master Program, and if a doubtful block caused by another program is discovered, it will be dealt with in the normal manner. If another program discovers a doubtful block caused by 09004 it will simply set up an indicator in the special chapter of 09004. If sentinels are found to be wrong on checking, or if doubtful block occurs on reading or writing, the tape is rewound and the sentinels are rewritten. A log comment is made recording the occurrence of a doubtful block or of an error in the sentinels. After three unsuccessful attempts to write sentinels the tape is unloaded and writing commences on the next tape (if any). When end of control data is reached Alarm 44 is given with options to unload or submit further control data and tapes. 4/0 Amendment No. 34 March 1967
Section 2.5 2.5 Operating Notes 2.5.1 Allocation Details (i) Chapter Lengths: 1. 504 short words 2. 506 short words (ii) Routes Required: MT Input A1 (Alternate routes) PT/CARD Input C1 (iii) The program is re-entrant and may be timeshared. 2.5.2 Log Comments 09004 SENTINELS ON (xxxxx) Sentinels written correctly on specified tape which has been unloaded. 09004 DB (cr) (xxxxx) Doubtful block on specified tape. Tape rewound and writing of sentinels recommenced. 09004 ID (cr) (xxxxx) Sentinels on specified tape found to be in error when read. Tape rewound and writing of sentinels recommenced. 09004 (xxxxx) ABANDONED Three unsuccessful attemtps to write correct sentinels on specified tape have been made. Tape is unloaded and next tape commenced. 2.5.3 Alarm *44 ALL TAPES HAVE SENTINELS Block end or zero word reached on control data OPTION 1 — Unload program OPTION 2 - Write sentinels on further tapes using new control data. 4/0 Amendment No. 34 March 1967
Appendix A (09004) APPENDIX A: CONTROL DATA AND SENTINEL LAYOUTS (09004) 1 CONTROL DATA /////09004C1101 BE (Up to 15 five-figure tape numbers the last followed by BE) /////09004C1301 BE 4/0 Amendment No. 34 March 1967
Appendix A (09004) 2 SENTINEL LAYOUT (as produced by this program) Start of Tape Sentinels | | | | | | | 1 | | 2 | | 3 | | | | | | | | | | | | | | | | | | | | 50001 | | 50002 | | 50003 | | | | | | | | Tape Number | | Tape Number | | Tape Number | | | | | | | | BE Word | | BE Word | | BE Word | | | | | | | | 4 | | 5 | | 6 | | | | | | | | | | | | | | | | | | | | 50004 | | 50005 | | 50006 | | | | | | | | \\\\\ | | \\\\\ | | Tape Number | | | | | | | | BE Word | | BE Word | | BE Word | 'Source' Block | | | 7 | | | | | | | | 30 7 | | | | ?? | | | | | | | | | | | | Date | | | | 09001 | | | | | | | | BE Word | 4/0 Amendment No. 34 March 1967
Appendix A (09004) End of File Sentinels | | | | | | | 8 | | ££££ 3 | | (END) | | | | | | | | \\\\\ | | \\\\\ | | (END) | | | | | | | | FINIS | | 9 | | 9 | | | | | | | | BE Word | | BE Word | | BE Word | 4/0 Amendment No. 34 March 1967
3 MASTER ROUTINE GENERATOR (08004) 3.1 Purpose and Scope The program produces a 'tailor-made' Master Routine from a given BASIC version, according to control data specifying the facilities required. 3.2 Data (i) Input magnetic tape. This must be the current Basic Master Routine, as output by the Intercode Translator. (e.g. program 09001, serial 600XX, file A2.) (ii) Paper tape or card parameter file. (See Appendix A.) 3.3 Results (i) Magnetic Tape containing Pass 1 (Intercode) and Pass 3 (Machine Code) of the generated Master Routine, in the form as produced by the Intercode Translator. (ii) Magnetic Tape containing a copy of Pass 3. (iii) A print out of the parameters, the generated amendments and the generated Master Routine. This file may be printed off-line by allocating the Generator with (A) non-zero. This file is then printed using 08002 with control data "09001 INTER". 3.4 Procedure The control data is used to set up a list of required facilities. The Basic Master Routine carries indicators in the annotation which are compared with the list in store to determine whether an amend- ment is required. Amendments are written onto a working tape as they are produced. When the end of the Basic Master Routine is reached, this tape is rewound, and Pass 1 of the Intercode Translator is entered. The generation process is described in greater detail in Appendix B. 3.5 Operating Notes 3.5.1 Allocation Details (i) Chapter Lengths: Chapter 1 3906 Locations Chapter 2 8072 Locations Special Chapter 512 Locations 5/0 Amendment No. 42 March 1968
(ii) Files in order of A1location:- D1 Printer B1 Paper tape/card control data A1 Basic Master Routine Input A2 Intercode + Machine Code Output A6 Working tape and Machine Code copy 3.5.2 Log Comments a. 08004 AMEND 09001 (Serial) This is typed as soon as the input has been checked and accepted. b. (i) 08004 NO DUMMY (Line serial) (ii) 08004 INDICATOR WRONG (Line Serial) These reports both indicate errors in the Basic Master Routine. In either case alarm 13 is offered, and the recommended procedure should be followed. c. 08004 PROG OUT 09001 (New Serial) d. 08004 MAKES PASS 3 COPY ON (Spool No.) These reports are produced as in the translator, before the final alarm. e. 08004 ALLOCATED EXTRA ROUTE (Ch. Ch. Rte) This report is produced as in the translator when a change in the print medium occurs. 3.5.3 Alarms *02 Input tape does not contain a Basic Master Routine. Option 1 Unload Option 2 Open a new input tape. *03 The parameter file does not have data type 1 on the first block. Option 1 Unload Option 2 Re-enter at the beginning of the Generator. 5/0 Amendment No. 42 March 1968
*06 and *07 End of Generation Alarm. Alarm 7 is offered if the printing is off-line; and the program bears errors, or if a reference is made before a chapter start (see Alarm 13). Option 1 Unload Option 2 Re-enter Generator, printing on-line. (i.e. Make another master.) Option 3 Enter the Master Routine Input sequences to make a tape start version of the generated Master Routine. Option 4 Re-enter Generator, printing off-line. Note:- When Option 3 is taken the Generator must not be time-sharing and must have tag 1. *10 The requested print medium is not available. Option 1 Unload Option 2 Attempt allocation of the required print medium again (A route should be set available by command before this option is taken). Option 3 Continue, using the present print medium. *13 Error in the basic master routine, as specified in the preceeding log comment. Option 1 Unload Option 2 Re-enter at the beginning. Option 3 Continue, ignoring such errors. Option 4 Continue, reporting such errors. Alarm 13 will be offered after each report in this case. Note:- The recommended procedure is to take option 4 and continue generating. When end is reached, send all details to the Company for investigation. (Log, parameters and print-out.) 5/0 Amendment No. 42 March 1968
Appendix A (08004) APPENDIX A : CONTROL DATA The paper tape/card parameters for the Master Routine Generator consists of three data types and the end sign "END". In the case of paper tape, data is punched in variable field format. When using card parameters the data is punched as follows:- (i) Each card has the data type punched in column 5 (END in 3-5). (ii) Each item of data is assigned a 5 column field and is right aligned in the field. No number ends are punched. Zero items must NOT be punched, otherwise following items will be ignored. Data type 1. This specifies the required version number of the master routine to be generated, (this will generally be the machine number, e.g. 45 for III/45). Data type 2. These specify the facilities required in the master routine to be generated. One number is submitted for each facility. The sample data forms are designed to facilitate punching of control data. Instructions are included on the sheets,and notes on each optional facility will be found in Appendix A2, and should be studied before attempting to use the parameter forms. Data type 3. This data type specifies the intended use of each input/output route. One block is submitted for each channel. The form of the data is described on the appropriate sheet. If no data type 3 is submitted, no change will be made to the form of routes in the basic master routine, but if any data type 3 is submitted, all channels must be specified. The routes as in the basic master routine are shown in Appendix A4. 5/0 Amendment No. 42 March 1968
Appendix A1 (08004) Sample Data Forms GENERATOR HEADING SHEET || /////08000B1101 || (Data Type) (Version No. Enter 2 digit Machine No.) || 1 | . .|| 5/0 Amendment No. 42 March 1968
Appendix A1 (08004) (Cont'd) Data || 2 | YES/NO Type || | |(1) Do you require the "Prefer PT" and "Prefer | | | | | Card" Commands? | | | 7 | |(2) Do you require the "Type Priority Queue" | | | | | Command? | | | 8 | |(3) Do you require the facility to start and stop | | | | | timings? | | | 9 | |(4) Do you require the "Interchange Priorities" | | | | | Command? | | | 11 | |(5) Do you require the "Change Run No." Command? | | | | | | | | 12 | |(6) Do you require the "Open"and "Close Program" | | | | | Commands? | | | 13 | |(7) Do you wish to be able to optionally specify | | | | | the program in commands by its Tag? | | | 61 | |(8) Do you require the "Dump Store" Command? | | | | | | | | 41 | |(9) Do you require the "Change Route" Command? | | | | | | | | 11 | |(10) Do you require the facility to amend the | | | || | routes availability table? | | | 12|| Read Appendix A2 before answering questions. Answer all questions YES or NO. Wherever the answer is NO, block out the number and box opposite the question. Those numbers then remaining should be submitted to the generator. If no numbers remain, the sheet in question may be omitted (i.e. blank blocks may be omitted). Non significant number ends must NOT be punched. For examples see Appendix A3. 5/0 Amendment No. 42 March 1968
Appendix A1 (08004) (Cont'd) Data || 2 | Type || | |(11) Do you wish to specify Channel and Route | | | | | on the Indicators for the above Command? | | |515 | |(12) Do you require the Intercode action | | | | | "Release Route" | | | 13 | |(13) Do you require the availability of the Abandon | | | | | Option to Master Routine alarms 1, 2 and 3? | | | 14 | |(14) Do you require the facility to defer answers | | | | | to options? | | | 46 | |(15) Do you require the availability (1) on MT| | | 17 | | of alternate routes, when requested ---------|-----|-----|----| | by program? (2) on PT| | | 18 | |(16) Do you require the Intercode action "Select | | | | | Reel Counter"? | | | 19 | |(17) Do you require the Intercode action "Step | | | | | Forward"? | | |111 | |(18) Do you require options for realignment | | | | | following a doubtful block on PT or card input?| | | 42 | |(19) Do you require the option to "Change Deck" | | | || | following a doubtful block or misalignment | | | || | alarm on MT? | | |512|| 5/0 Amendment No. 42. March 1968
Appendix A1 (08004) (Cont'd) Data || 2 | Type || | |(20) Do you wish the Master Routine to punch a | | | | | 'Librarian Card' when opening an output | | | 25 | | magnetic tape file? | | | | |(21) Do you require a shortened 'Released Tapes | | | | | Index' of 24 locations? | | |413 | |(22) Do you require the facility for allotting | | | | | a serial number to each RTI? | | |614 | |(23) Do you wish the Master Routine to input | | | | | magnetic tape via a single annex? | | | 10 | |(24) Do you wish to use non-standard paper | | | | | tape output? | | | 28 | |(25) How many program switches do you require? | | | | | 1 | | |114 | | --|-----|-----|----| | | | | | | N.B. Only select one number: 2 | | |113 | | --|-----|-----|----| | | | | | | e.g. for 4 switches select key 3 | | |115 | | --|-----|-----|----| | number 38 NOT 114, 113, | | | | | 4 | | | 38 | | 115, 38 --|-----|-----|----| | | | | | | 5 | | | 39 | | --|-----|-----|----| | | | | | | 6 | | |414 | | --|-----|-----|----| | | | | | | 7 | | |510 | | --|-----|-----|----| | | | | | | 8 | | |511 | |(26) Do you wish the Master Routine to type | | | | | 'EDG' when a program closes file prematurely? | | |110 | |(27) Do you wish the Master Routine to type 'DB' | | | | | on curing a doubtful block on magnetic tape? | | | 43 | |(28) If you have DB comments, do you wish this to | | | | | be restricted to every fifteenth occurrence of| | | 51 | | the condition on output files? | | | | |(29) Do you wish the Master Routine to type | | | | | 'SER' on curing serial number failure? | | | 50 | |(30) Do you require the 'Omit Category Typing' | | | || | Commands? | | |513|| 5/0 Amendment No. 42. March 1968
Appendix A1 (08004) (Cont'd) Data || 2 | Type || | |(31) Do you require shortened comments for | | | | | Lockout and Overflow? | | | 34 | |(32) Do you require shortened 'Command rejected' | | | | | comments? | | | 36 | |(33) Do you wish the Master Routine type a serial | | | | | number against "LOP" and "HOP" comments? | | |315 | |(34) Do you wish the Master Routine to type a | | | | | machine number, in place of the time for | | | 58 | | all comments typed in red? | | | | |(35) Do you wish the Master Routine to type 'hours | | | | | and minutes' about every 15 black comments | | |611 | | (i.e. about one per page)? | | | | |(36) Do you require the 'Overwrite Allocate | | | | | command to allocate programs in place of | | | 40 | | the Master Routine allocation routines? | | | | |(37) Do you require the facility for sharing | | | | | Modification groups by two or more programs? | | | 59 | |(38) Do you wish to be able to allocate on any | | | | | channel or route? (i.e. Multiroute loading) | | | 57 | |(39) Do you require the ineffective time counter? | | | | | | | |215 | |(40) Do you wish the Master Routines preferred | | | | | route type to be paper tape? | | |314 | |(41) Do you wish to use PTS? | | | | | | | | 60 | |(42) Do you wish all PTS dumps to be | | | | | printed on-line at the end of the trial? | | | 54 | |(43) Do you wish comparison dumps only to be | | | | | printed on-line by PTS? | | | 44 | |(44) Do you wish the Master Routine to check the | | | | | suite of input files against that of the program? | | 48 | |(45) Do you wish the control data route to be | | | || | closed after allocation? | | | 20|| 5/0 Amendment No. 42. March 1968
Appendix A1 (08004) (Cont'd) Data || 2 | Type || | |(46) Do you wish to use Channel O route 7 as an | | | | | available route for programs? | | | 45 | |(47) Do you wish to vary the area of a card which is| | | | | to be checked during option 8 realignment | | | 66 | | following a doubtful block? | | | | |(48) Do you require the 'Type Available Storage' | | | | | command? | | | 67 | |(49) Do you require the 'Type Available Routes' | | | | | command? | | | 68 | |(50) Do you require the 'Rewind' or 'Unload program | | | | | Tape' commands? | | | 69 | |(51) Do you wish the program identity written on | | | | | the magnetic tape to be typed in LIP, HIP, LOP | | | 71 | | and HOP comments (in addition to the identity | | | | | of the program handling the file)? | | | | |(52) Do you wish 'RC' comments to be delayed by | | | | | about 12 seconds, preventing time wasting by | | |615 | | typing? | | | | |(53) Do you wish the 500 millisecond delay in | | | | | changing direction on Magnetic Tapes to be | | |514 | | interruptible | | | | |(54) Have you a mixture of high and low density | | | | | channels on magnetic tape? | | | 72 | |(55) Do you wish to allocate specifying program | | | || | identity only? | | | 70|| 5/0 Amendment No. 42. March 1968
Appendix A1 (08004) (Cont'd) Data || 2 | YES/NO Type || | |(1) Paper tape input | | | | | | | | 2 | |(2) Paper tape output | | | | | | | | 3 | |(3) Card input | | | | | | | | 4 | |(4) Card output | | | | | | | | 5 | |(5) 'Uptime' card reader | | | | | | | | 16 | |(6) Two 'Uptime' card readers | | | | | | | | 85 | |(7) Autolector | | | | | | | | 30 | |(8) MICR Cheque-Reader-Sorter | | | | | | | | 49 | |(9) Data Transmission input | | | | | | | | 56 | |(10) Data Transmission output | | | | | | | | 82 | |(11) Special Printer Assembler | | | | | | | |214 | |(12) Both types of Printer (i.e. GP and SP) | | | | | | | | 85 | |(13) 'Old' log typewriter (at present III/2, 3 | | | | | 4, and 5) | | | 35 | |(14) Saxby Clock | | | | | | | | 31 | |(15) Millisecond Timer | | | | | | | |312 | |(16) Have you paper tape input on channel 2? | | | | | | | | 53 | |(17) Have you paper tape input on channel 4? | | | | | | | | 10 | |(18) To which type of assembler is the GP Assr | | | 29 | | Log typewriter connected? PT O/P | | | 26 | |(19) Have you both a GP assembler and a | | | | | special paper tape output assembler? | | | 55 | |(20) Is this the speed of your machine? | | | | | LEO III | | |310 | | | |-----| | | | | | | | LEO 326 | | |411 | | | |-----| | | | | | | | LEO 360 | | |412 | |(21) Has the machine more than one store? | | | | | | | |311 | |(22) Has the machine a 160 column printer? | | | || | | | | 62|| 5/1 Amendment No. 4/43 December 1968
Appendix A1 (08004) (Cont'd) Data || 2 | Type || | |(23) Do you require extra annex start locations? | | | | | (i.e. are most of the input/output routes | | |415 | | on your machine allotted to actual equipment?).| | | | | N.B. This applies to 326's and 360's only | | | | |(24) Have you High Density Magnetic Tape Decks? | | | | | | | | 1 | |(25) What type of magnetic tape decks | | | | | have you? III/1 | | |212 | | | |-----| | | | | | | | III/2 | | |213 | | | |-----| | | | | | | | TM 2 | | |211 | | | |-----| | | | | | | | TM 4 | | |210 | | | |-----| | | | | | | | POTTER | | |210 | |(26) Have you 'Fast Channels' (16, 17, 18)? | | | | | | | |313 | |(27) How many magnetic tape channels have you'? | | | | | 1 | | | 22 | | | |-----| | | | | | | | 2 | | | 23 | | | |-----| | | | | | | | 3 | | | 24 | |(28) Does your machine have the hardware | | | | | "Compare" action? | | | 80 | |(29) Non standard 5-8 hold paper tape output. | | | | | | | | 81 | |(30) Non standard 5-8 hole paper tape input. | | | || | | | | 83|| 5/1 Amendment No. 4/43 December 1968
Appendix A1 (08004) (Cont'd) ROUTE USAGE REQUIREMENTS. Before filling in this form please read notes. DT 0 1 2 3 4 5 6 7 CHANNEL 0 || 3 | | | | | | | | || CHANNEL 1 || 3 | | | | | | | | || CHANNEL 2 || 3 | | | | | | | | || CHANNEL 3 || 3 | | | | | | | | || CHANNEL 4 || 3 | | | | | | | | || CHANNEL 5 || 3 | | | | | | | | || CHANNEL 6 || 3 | | | 10| 10| 10| 10| 10| 10|| CHANNEL 7 || 3 | | | | | | | | || CHANNEL 16 || 3 | | | | | | | | || CHANNEL 17 || 3 | | | | | | | | || CHANNEL 18 || 3 | | | | | | | | || 5/0 Amendment No. 42. March 1968
Appendix A1 (08004) (Cont'd) GENERATOR END SHEET. || END || || /////08000B1301 || 5/0 Amendment No. 42. March 1968
Appendix A2 (08004) Notes on optional facilities. The figures quoted below are only intended to give a rough guide and will vary depending on the interaction caused by the peripheral equipment used and the facilities selected. 1) The Master Routine has an indicator showing the "preferred route type" for control data to the main software programs (see 40). The preferred route type, paper tape or cards, is allocated to these programs if available. If you wish to be able to use either media for control data, you will need the "Prefer PT" and "Prefer Card" commands. These commands occupy 12 locations. If facility 3O is not required a further 5 locations are saved. 2) This facility occupies 27 locations, plus a further 4 if facility 7 is specified plus a further 6 if more than 4 program switches are required. 3) This facility can only be used on machines which have a millisecond timer. It occupies about 95 locations. 4) This facility occupies 46 locations. If facilities 4, 5, 6 and 15 are not required 14 locations are saved. 5) This facility is used to re-enter programs at their original entry point. It can only be used when the program has reached END, i.e. obeys a 151 action Programs to be re-entered in this way must not assume that working areas are initially clear, and must not overwrite set-up routines with data. The facility occupies 59 locations. See note 4. 6) A program can be "closed" by closing one of its routes, which will generate a "RC" comment every 3 minutes - this introduces a small overhead in programs of lower priority. The facility occupies 45 locations. See note 4. 7) The tag of each program is typed against the program number in the priority queue, in place of its priority. Instead of the control data route the appropriate tag is stacked on indicators 5-8. Commands which can be used with this facility are Change Run No., Abandon program, Open program, Close program, and Interchange priorities, or whatever subset of these is in your master. The facility occupies 21 locations. The original commands remain available. 8) The Independent Post Mortem Programs 09005 and 09006 will need to be used if the Dump Store command is not selected. These are read from paper tape or cards whenever a dump is required, but part of the store, (possibly the vital part) is corrupted when this is done. The Master Routine must then be re-fed. The "Dump Store" facility occupies 200 locations. 9) This is not available for magnetic tape, paper tape input or routes in use by the Master Routine. The facility occupies 110 locations. If facilities 9 and 10 are not required, 33 locations are saved. If facilities 9, 12 and 15 are not required, 35 locations are saved. If facility 38 is not required a further 13 locations are saved. 5/0 Amendment No. 42. March 1968
Appendix A2 (08004) (Cont'd) 10) It is possible for available routes to be allocated when there is no equipment which can be switched to them - when equipment is out of action, for instance. In such a situation it is desirable to be able to withdraw the appropriate routes until the equipment is repaired, so that alternative routes will be allocated. The facility occupies 51 locations. See note 9. 11) This facility occupies 15 locations plus a further 4 for F.C.C. 12) No software programs use this action. If a program attempts to use the facility when it is not supplied in the Master Routine ZZZ01 will occur. It occupies 41 locations, plus a further 14 if alternate routes used. 13) The alternative is to defer the option and then abandon by command. The facility occupies 95 locations. 14) If the facility to defer options is not required, all "RC" comments are made only once, not repeated after three minutes. The facility occupies 43 locations. It is recommended that either facility 13 or 14 is made available. 15) If one type only is required, 73 locations are occupied. An additional 10 locations are occupied if both are required. See notes 4 and 9. 16) This is Intercode action 44, available for Magnetic tape and paper tape input. (It is used by some software programs). If a program attempts to use the facility when it is not supplied in the Master Routine ZZZ01 will occur. The facility occupies 17 locations. 17) This is Intercode action 49 for magnetic tape input. No software programs use it. Programmers can instead write a routine to read and ignore the appropriate number of blocks. If a program attempts to use the facility when it is not supplied in the Master Routine ZZZ01 will occur. The facility occupies 60 locations. 18) This refers to options 8 and 9 to alarm 1. The programmer can use a doubtful block link to the read action to initiate his own realignment routine instead. The facility occupies 90 locations. 19) This refers to option 13. The facility occupies 150 locations. 20) This facility occupies 150 locations. 21) This facility saves 26 locations. 22) This facility occupies 6 locations. 23) This facility saves 37 locations, but introduces non-interruptible time overheads while operating on program tapes. These are not significant for 28 K MT systems. 5/0 Amendment No. 42. March 1968
Appendix A2 (08004) Cont'd) 24) This facility occupies 36 locations. 25) A program switch is required for each program to be timeshared. Put "yes" for the maximum number you require only. If you want 6 or more switches then you must not allocate programs last translated by Issue 6 or earlier trans- lators. Each program switch occupies 48 locations, plus a further 16 for each program. 26) This facility occupies 22 locations. 27) This facility occupies 15 locations. 28) This facility occupies 46 locations. 29) This facility occupies 24 locations. 30) If the log typewriter is connected to a General Purpose Assembler 109 locations are used; if a Special Paper Tape Output Assembler, 86 locations. 31) No details are typed regarding the reason for the failure. The operator should write down the contents of all registers when the machine halts. This facility saves 110 locations. 32) No information is given on the reason for rejection. This facility saves 66 locations. 33) The serial number typed will be that of the Librarian Card, if any. The facility occupies 4 locations. 34) The required number is specified when the Master is loaded. No extra space is occupied. 35) This facility occupies 15 locations. 36) From 450-750 more locations are made available for programs, depending on how many commands are in the Master. The command will not be accepted unless the priority queue is empty and either, no program has been allocated, or a REJECT comment has been given. The only operator command available is "Abandon" and the Master Routine must be reloaded before the next job. 37) This facility occupies 64 locations plus a further 12 locations for each program switch specified in facility 25 38) Allocation, other than for PTS trials, on route 7 of any channel is not permitted. The facility occupies 150 locations. 39) This facility occupies 21 locations. 40) The answer to this question specifies the initial "preferred route type". The commands made available by facility 1 may be used to alter it. No extra space is involved. 5/0 Amendment No. 42. March 1968
Appendix A2 (08004) (Cont'd) 41) The facility occupies 100 locations. 42) No space is taken up in the Master Routine, but the trial takes more time. Dumps can alternatively be printed off using 08002. 43) Comparison dumps will be lost if they are not printed on-line. No space is involved, but the trial takes more time. 44) This facility occupies 11 locations. 45) This facility occupies 2 locations. 46) This facility occupies 47 locations. 47) This is the 1/C/9 command. C=0 causes columns 1-10 to be checked, C=1 causes columns 6-15 to be checked etc. The facility occupies 28 locations. 48) This is the 1/0/8 command. It occupies 53 locations. 49) This is the 1/C/7 command. C specifies the channel number, (or channel number - 8 if the channel number is greater than 15). It occupies 69 locations 50) This is the 1/x/6 command, x=1 causes the tape on Channel O route O (or channel 16 route O) to be rewound, x=0 causes it to be unloaded. It occupies 37 locations. 51) This facility occupies 2 locations. 52) This facility occupies 10 locations. 53) This facility makes timesharing more effective through increased utilisation of the Central Processor. This facility can only be used on machines with a millisecond timer,and must not be used with facility 3. It occupies 27 locations. 54) This facility occupies 2 locations. 55) This facility occupies 6 locations. 5/0 Amendment No. 42. March 1968
Appendix A2 (08004) (Cont'd) Notes on Route Usage Details. Unless all the routes provided by the basic master are acceptable, see Appendix A4, the complete Route Usage Details from must be submitted. One block of information for each channel, in ascending order. For machines without Fast Channel Control Channels 16, 17 and 18 may be omitted. The intended use of each route must be specified by entering in the appropriate space a number calculated as below: 1 Available routes: Enter the route type - these are listed below: 2 Potentially available routes: Enter the route type plus 10. 3 Master Routine routes: The following routes must always be entered Channel O/16 Routes O and 7 Channel 7 Routes 2 to 7 The typewriter route, and the odd route of a card input pair should also be submitted for Master Routine use. If facility 38 (Multi-route loading) has been selected into the master, then the additional routes which are to be used for allocation should be set potentially available (see 2 above). If Channel 0/16 route 7 is required for program use (see facility 46) the number 10 must still be submitted. The Control Data route to be specified to the Master Routine Input sequences (see Volume IV Part 3 Section 1 Appendix A) must be available or potentially available on the appropriate medium. 4 Pseudo routes: All routes not used for any other purpose will submitted. An entire block of zeros must still be submitted. 5/0 Amendment No. 42. March 1968
Appendix A2 (08004) Cont'd 5 Route types: Paper tape output 1 Data Transmission 2 Card output 3 Standard (G.P.) Printer 4 Paper tape input 5 Card input - even route 6 odd route 10 Magnetic tape - 1st channel 7 2nd channel 8 __ 3rd channel 11 Special (Anelex) Printer 9 __ Cheque-Sorter-Reader 10 __ Autolector 12 __ Uptime card reader 13 5/0 Amendment No. 42. March 1968
Appendix A3 (08004) Examples of how to fill in and punch questionaire. Data 2 YES/NO Type (1) Paper tape input YES 2 (2) Paper tape output NO 3 (3) Card input YES 4 (4) Card output YES 5 (5) 'Uptime' card reader NO 16 (6) Autolector NO 30 (7) MICR Cheque-Reader-Sorter NO 49 (8) Data Transmission input YES 56 (9) Data Transmission output NO 82 __ (10) Special Printer Assembler YES 214 (11) 'Old' Log typewriter (at present III/2, 3, 4 and 5) NO 30 Amendment No. 42. March 1968 Appendix A3 (08004) (Cont'd) Data || 2 | YES/NO Type || | |(1) Do you require the "Prefer PT" and "Prefer | NO | | | | Card" Commands? | | | 7 | |(2) Do you require the "Type Priority Queue" | YES | | | | Command? | | | 8 | |(3) Do you require the facility to start and stop | NO | | | | timings? | | | 9 | |(4) Do you require the "Interchange Priorities" | YES | | | | Command? | | | 11 | |(5) Do you require the "Change Run No." Command? | YES | | | | | | | 12 | |(6) Do you require the "Open" and "Close Program" | NO | | | | Commands? | | | 13 | |(7) Do you wish to be able to optionally specify | NO | | | | the program in commands by its Tag? | | | 61 | |(8) Do you require the "Dump Store" Command? | YES | | | | | | | 41 | |(9) Do you require the "Change Route" Command? | NO | | | | | | | 11 | |(10) Do you require the facility to amend the routes| NO | | || | availability table? | | | 12|| This page and the previous page should each be punched as one block. On paper tape they would be punched as:- || | | | | | || || 2 | 2 | 4 | 5 | 56 | 214 || || | | | | || || 2 | 8 | 11 | 12 | 41 || 5/0 Amendment No. 42. March 1968
Appendix A3 (08004) (Cont'd) and on cards they would be:- Card 1 Card 2 Col. 5 2 Col. 5 2 Col. 10 2 Col. 10 8 Col. 15 4 Col. 15 11 Col. 20 5 Col. 20 4 and 8 Col. 24 5 Co1. 24 4 Col. 25 6 Col. 25 1 Col. 29 2 Col. 30 6 and 8 5/0 Amendment No. 42. March 1968
Appendix A4 (08004) ROUTE USAGE REQUIREMENTS - As in Basic Master DT 0 1 2 3 4 5 6 7 CHANNEL 0 || 3 | 10| 7| 7| 7| 17| 17| 17| 10|| CHANNEL 1 || 3 | 18| 18| 18| 8| 8| 8| 8| 18|| CHANNEL 2 || 3 | 0| 0| 0| 0| 3| 3| 0| 0|| CHANNEL 3 || 3 | 15| 5| 5| 5| 6| 10| 6| 10|| CHANNEL 4 || 3 | 19| 9| 9| 0| 0| 0| 0| 0|| CHANNEL 5 || 3 | 0| 0| 0| 0| 0| 0| 0| 0|| CHANNEL 6 || 3 | 0| 0| 0| 0| 0| 0| 0| 0|| CHANNEL 7 || 3 | 1| 1| 10| 10| 10| 10| 10| 10|| 5/0 Amendment No. 42. March 1968
Appendix B (08004) APPENDIX B : THE GENERATION PROCESS 1) List of required facilities Each available facility in the Master Routine has associated with it a code number. This is the number shown against the facility in the Questionnaire in Appendix A. The numbers of the required facilities comprise data type 2. A bit pattern is set up from this data, 16 bits to each control word, e.g. if 210 is submitted, bit 10 of the third control word is set up. If 13 is submitted, bit 3 of the second control word is set up, and so on. The appropriate number is then said to be "active". 2) Indicators in the Annotation of the Basic Master Routine. The presence of an indicator is recognised by the presence of an asterisk as the first character of the annotation. The indicators following are 3-digit binary numbers. The first two digits in each case are the code number relating to the facility in question, the third digit determines what type of amendment, if any, is to be produced More than one indicator may appear on a line, and these may or may not be separated by asterisks, depending on their function. If they are not separated, action will be taken if all numbers are active. 3) Types of Amendment. The last digit of each indicator specifies the type of amendment which is produced. 1 Delete this line if the code number is active. 2 Delete from this line to the next line bearing the same indicator, number is active. 3 Replace this line by the first stored dumny bearing the same 4 Replace the item of this instruction by five digits taken from the 6 Replace the reference of this line by the reference of the first 9 -14. as for types 1-6, but carried out provided the code number is 5/1 Amendment No. 4/43 December 1968 Appendix B (08004) (Cont'd) Special Indicators These are the 3-digit numbers which begin 15 15. Action is taken as follows: 15 15 0 Store ten dummy lines from here onwards. 15 15 1 Delete this line. . 15 15 2 Delete from this line to the next bearing the same indicator, or to the end of the section, whichever is reached first. 15 15 3 Replace this line by zero (if an action, by a 100/0/0 action with zero address). 15 15 8 Beginning of Master Routine routes table (see next page). 5/0 Amendment No. 42. March 1968
Appendix B (08004) (Cont'd) Amendments to the Master Routine Routes Table These are controlled by control data type 3. The appropriate routine is entered when the indicator 15 15 8 is found. Control data type 3 is now stored. It consists of one word for each input/output route on the machine. If a change to any route is specified the appropriate amendment is generated. When the program END sign is reached, the amendment file is terminated, and Pass 1 of the translator entered. e.g. 1. The indicator: *15 15 0*15 15 1*7103*4311*1634211 will initiate the following action: a) The next ten lines, or the remainder of the section, whichever is least, will be stored as dummy lines. b) This line itself will be deleted. c) The action will be used to replace lines later in the Master Routine: (i) Lines bearing the indicator *7103, provided 710 is set active in this run. (ii) Lines bearing the indicator *4311, provided 43 is not set active in this run. (iii) Lines bearing the indicator *1634211, provided 16 is set active and 42 inactive, (note that lines bearing the indicator 4211163 will not be affected) until the next line bearing *15 15 O among its indicators is reached, at which stage the stored dummies will be overwritten by new dummies. 2 The line: 14708 101 1752 1 3 *4104*6312 0113400600 will be replaced by 14708 101 1154 1 3 if 410 is active. or by 14708 101 600 1 5 if 63 is inactive. If both apply i.e. 410 is active and 65 inactive, the first indicator will be used. 5/0 Amendment No. 42. March 1968
Appendix C (08004) APPENDIX C : MASTER ROUTINE INPUT SEQUENCES The Master Routine Input Sequences are incorporated in the Generator, and are called by taking option 3 to the end alarm. The effect is the same as that of allocating the input sequences. If it is intended to enter the input sequences 08004 must not be timesharing when option 3 is taken and must have tag 1. The input sequences can be allocated directly by allocating 08004 with (B) equal to "09000". A machine code copy of the generated master will automatically have been made. This tape should be reloaded by the operator on the appropriate route. Non-standard paper tape or card control data, exactly as specified for the input sequences (see Part III Section 1) should be given, followed by standard control data. Operating instructions are as given for the input sequences. 5/0 Amendment No. 42. March 1968
Appendix C (Cont'd) Steps 1, 2, 3, If control data IS to be submitted. 1. Place control data on route O of Paper Tape Input Assembler (or if no paper tape input, on route 4 of Card Input Assembler). Layout of control data blocks is given in Appendix A. 2. To load Master Program (Pass 3 output) Place Master Program (Pass 3 output) on any M.T. route. To feed Interim Modifications Place Interim Modifications on route 1 of Paper Tape Input Assembler (or if no paper tape input, on route 6 of Card Input Assembler). To make copies of the Master Program. Place first tape for copy on any M.T. route and second, if required, on any M.T. route. 3. If the Tape Start tape contains the first program to be allocated, take option 4. Otherwise take option 2. Step 4. When the Master Program is entered, it is ready for command when the green light goes on. C.4 Alarms, Halts and Warnings C.4.1 Halts in the Primary and Secondary Input Sequences Halt 1/0/3 Route closed Halt 1/0/5 Doubtful block Halt 1/0/14 Identification failure If either of the latter two occur, the program must be abandoned. C.4.2 Initial Alarm *77 (program no.) (serial no.) (interim mod. no.) OPTION 1 - Stack date and enter Master Program OPTION 2 - Feed control data OPTION 3 - As option 1 but without unloading the route O tape. OPTION 4 - As option 2 but without unloading the route O tape. OPTIONS 5-13 This stacks (option no. -4) in compartment 180 of division 0 and returns to *77. This is the machine number to be printed, instead of the time, with red log comments if the Master has optional facility 34. 6/8 Amendment No. 4/41 March 1968.
Appendix C (Cont'd) OPTION 14 - This alters the Master Routine store tables to prevent the on-line store dump (see Part 1, Section 10), contained on the first five hundred locations of division 1 being over- written. Then as Option 1. OPTION 15 - As Option 14 except that it continues as Option 2. C.4.3 Special Operator Warning Lights Amber Lit Option Outstanding. Red Lit Typewriter Route Closed. 6/8 Amendment No. 4/41 March 1968.