1


















                         Telefile Diagnostic System

                         Telefile Computer Products

                             Irvine, California

                        The United States of America
1


















                         Telefile Diagnostic System

                         Telefile Computer Products

                             Irvine, California

                        The United States of America
1
 Telefile Diagnostic System                                             1
 Table of contents

 ------------------------------------------------------------------------

     1. General overview

      1.1  Introduction to release G00..................................4
      1.2  Enhancements to Xerox diagnostics............................5
      1.3  Additional features..........................................6
      1.4  Development and organization.................................7
      1.5  Contents of the diagnostic system tape.......................8
      1.6  Diagnostic names............................................11
      1.7  Major modifications.........................................12

     2. Diagnostic software development

      2.1  Development accounts........................................13
      2.2  Information contained in the MTLREVJC account...............14
      2.3  Comparison (SNAP-DATA) files................................18
      2.4  Catalog numbering convention................................19
      2.5  Diagnostic listings.........................................20
      2.6  Modification of diagnostics.................................21
      2.7  Creation of diagnostic tapes................................22

     3. Release G01

      3.1  Overview....................................................23
      3.2  Notes on major modifications................................24

     4. Release G02

      4.1  Overview....................................................25
      4.2  Notes on major modifications................................27
      4.3  MTL control program directives..............................31
      4.4  State of the remote packages (MTL, DPM, GUIDE, SEX).........33

     5. Release H00

      5.1  Overview....................................................34
      5.2  Notes on major modifications................................36
      5.3  Expanded 3281 disk capability...............................39




 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 Telefile Diagnostic System                                             2
 Table of contents (continued)

 ------------------------------------------------------------------------

     6. Release H01

      6.1  Introduction................................................40
      6.2  Overview of modifications...................................41
      6.3  Notes on major modifications................................44
      6.4  Known problems..............................................47

     7. Release H02

      7.1  Overview of modifications...................................48
      7.2  Notes on major modifications................................51

     8. VOLINIT

      8.1  Sense switch functions......................................54
      8.2  Order of I/O operations and pattern data....................55
      8.3  New commands and parameters.................................56
      8.4  Command formats and functions...............................60
      8.5  Examples of VOLINIT commands................................62
      8.6  Recovery and operator interruption..........................64
      8.7  Console I/O operations......................................65
      8.8  Disk types recognized by VOLINIT............................66
      8.9  Format of the VOLINIT label.................................67

     9. DEVDMP

      9.1  Introduction................................................68
      9.2  Command parameters..........................................69
      9.3  Command examples............................................72
      9.4  Sense switch functions......................................73
      9.5  Operational notes...........................................74
      9.6  Absolute recovery and PCP interrupt.........................76
      9.7  Format of rotating memory data on tape......................77
      9.8  Format details..............................................78
      9.9  Rotating memory devices recognized..........................79
      9.10 Tape length requirements....................................80
      9.11 Gap and block lengths.......................................81




 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 Telefile Diagnostic System                                             3
 Table of contents (continued)

 ------------------------------------------------------------------------

    10. Telefile Ethernet Controller diagnostic

     10.1  General notes...............................................82
     10.2  Functional tests............................................83
     10.3  Basic diagnostic directives.................................89
     10.4  Random exerciser............................................90
     10.5  Diagnostic utilities........................................91
     10.6  Internal diagnostic parameters..............................92

































 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 1.  General overview                                                   4
 1.1 Introduction to release G00

 ------------------------------------------------------------------------

      The recently released Telefile Diagnostic System - Level G00
 provides a single-source diagnostic library for the Sigma 5 through
 Sigma 9 and the Telefile T-series computers.  This package contains
 major revisions of Xerox diagnostics and additional Telefile diagnostics
 on one reel of magnetic tape.

      The Telefile Diagnostic System supports all Telefile peripherals
 and includes new i/o exercisers and soft-hardcore diagnostics for all
 32-bit Sigma-compatible computers.

      The Telefile Diagnostic System tape is available at any density
 (800, 1600, 6250) and is organized as follows:

          32-bit soft-hardcore diagnostic
          diagnostic monitors (MTL, GUIDE, DPM)
          system exercisers (SEX, IOX, PORT)
          cpu diagnostics (T-series, Sigma 9/7/5)
          memory diagnostics
          iop diagnostics
          peripheral diagnostics
          utilities
          iop and cpu snap data



















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 1.  General overview                                                   5
 1.2 Enhancements to Xerox diagnostics

 ------------------------------------------------------------------------

      The System Exerciser (SEX) has been essentially completely
 rewritten to add support for the Telefile T-series cpus, all new
 peripherals, and large memory systems (greater than 128k-words
 physical).  Included are enhancements for large disk drives (600MB),
 proper random positioning logic for disks, control over disk
 checkwriting, a new handler for the memory-to-memory move option of
 Sigma 9 and T-series MIOPs, and a rewritten handler for magnetic tapes.

      The 9-TRACK MAGNETIC TAPE diagnostic has been rewritten with
 careful attention paid to software integrity and more sensible
 engineering messages.  The random exerciser has been replaced with a new
 routine that performs simplified error recovery and uses truly random
 record lengths as well as randomized data chaining.  All features of
 TELEFILE'S new magnetic tape technology are tested, including automatic
 density selection.

      A new systems-level diagnostic, IOX, has been added to assist in
 the trouble-shooting of i/o processors and ports in large, multiport
 system configurations.

      Remote diagnostic support has been significantly improved and can
 now handle up to 64 coc-lines (MTL, DPM, SEX, REMGUIDE).  Control will
 pass freely back and forth between all diagnostic monitors (include SEX)
 via a coc terminal designated as system controller.

















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 1.  General overview                                                   6
 1.3 Additional features

 ------------------------------------------------------------------------

      In addition to a general cleanup of all diagnostics, many minor
 improvements and corrections have been included in this release.

      The stand-alone Volume Initializer (VOLINIT) and the
 Device-oriented Dump Program (DEVDMP) have been rewritten and now
 support all Telefile disk and tape systems.

      VOLINIT properly recovers from i/o errors, provides error and
 progress reports (every 25 cylinders), and includes a fast flawmark
 update feature.  It can now handle all disks up to 2048 cylinders.

      DEVDMP has been extensively enhanced to support the fast,
 track-by-track copying of all Telefile-supported disks to and from all
 Telefile-supported magnetic tape systems (any density).



























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 1.  General overview                                                   7
 1.4 Development and organization

 ------------------------------------------------------------------------

      All diagnostic modules have been reassembled in AP; METASYMBOL
 compatibility is a desirable goal and will be achieved in a later
 release.

      The development data base has been organized into separate TCP-V
 accounts to contain compressed source, source updates, object module
 output, listing output, and JCL input.

      Listings as well as source are available.  The Telefile Diagnostic
 System itself is being offered on a one-time-charge or on a
 monthly-lease basis.






























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 1.  General overview                                                   8
 1.5 Contents of the diagnostic system tape

 ------------------------------------------------------------------------

     The following is a list of the contents of the diagnostic system
 tape in the order in which the information appears on the tape.  After
 each listed entry appears a tapemark, with exception of those entries
 marked with a *.  An additional two tapemarks appear at the logical end
 of the tape.


          SIGHCP*            GENERAL HARDCORE
          MTLBOOT            TAPE BOOTSTRAP
          MTLLDR*            DIAGNOSTIC LOADER
          MTLBIAS            DIAGNOSTIC SYSTEM BIAS
          MTLCTRL            DIAGNOSTIC SYSTEM CONTROL PROGRAM
          DICT               DIAGNOSTIC SYSTEM TAPE DIRECTORY
          MTLDPM             DIAGNOSTIC CONTROL PROGRAM
          GUIDE              GUIDE
          REMGUIDE           REMOTE GUIDE

          SEX                 SYSTEM DIAGNOSTICS
          IOX
          PORT

          TAUTO               T-SERIES CPU DIAGNOSTICS
          TSUFFIX
          TFLOAT
          TFPA
          TDECIMAL
          TMAPWL
          TINTRAP

          9AUTO               SIGMA 8/9 CPU DIAGNOSTICS
          9SUFFIX
          9FLOAT
          9DECIMAL
          9MAPWL
          9INTRAP
          9PFS





 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 1.  General overview                                                   9
 1.5 Contents of the diagnostic system tape (continued)

 ------------------------------------------------------------------------

          5AUTO               SIGMA 5/7 CPU DIAGNOSTICS
          5SUFFIX
          7AUTO
          7SUFFIX
          7FLOAT
          7DECIMAL
          VERIFY
          PATTERN
          PROTECT
          7MAP
          7INTRAP
          RTC
          7PFS

          COMET               MEMORY DIAGNOSTICS
          MEDIC
          FAULT

          TMIOP               IOP DIAGNOSTICS
          9MIOP
          RIOP
          MIOP
          SIOP
          MS

















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 1.  General overview                                                  10
 1.5 Contents of the diagnostic system tape (continued)

 ------------------------------------------------------------------------

          MT9                 PERIPHERAL DIAGNOSTICS - TAPE
          MT7

          DC32                PERIPHERAL DIAGNOSTICS - DISK
          DISK
          RMC
          RAD

          CLP                 PERIPHERAL DIAGNOSTICS - UNIT RECORD
          NSLP
          CCE

          COC                 PERIPHERAL DIAGNOSTICS - OTHER
          DSC
          ASR
          CIU
          MEMSW
          PRFSW
          CC32
          ETHER

          VOLINIT             UTILITIES
          DEVDMP
          DCOPY
          SPEED

          SN:IOP              SNAP DATA
          SN:9AUTO
          SN:9DEC
          SN:9FLOAT
          SN:9SUFFIX










 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 1.  General overview                                                  11
 1.6 Diagnostic names

 ------------------------------------------------------------------------

      On the Telefile Diagnostic System tape some diagnostic names have
 been changed in the process of reorganising them all onto a single tape:

 IOX      formerly 'THAT'

 TFPA     version of 'TFLOAT' for T-series machines with the
          Floating-point Accelerator option

 9MIOP    Sigma 9 MIOP diagnostic

 TMIOP    Telefile MIOP diagnostic

 SIOP     formerly SIOP/MS (for Sigma 5/7)

 MIOP     formerly MIOP/MS (for Sigma 5/7)

 MS       formerly Maintenance Subcontroller Test (for Sigma 5/7)

 DC32     7270 disk diagnostic, modified to properly exercise the
          the DC32Q disk system

 DISK     OCLC/UCI-modified 7240 disk diagnostic, used for
          basic checkout of 7240, 7270, and DC32Q disk systems

 RAD      comprehensive rad diagnostic, formerly 'COMPR RAD'
















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 1.  General overview                                                  12
 1.7 Major modifications

 ------------------------------------------------------------------------

      Virtually every diagnostic module in the Telefile Diagnostic System
 has been modified to correct known problems, to improve the readability
 of the listings, and to increase general software integrity (ease of
 maintenance).

      Some of the more significant changes were carried out on the
 following modules:

 SIGHCP   soft-hardcore verification diagnostic, runs on all
          Sigma and Telefile 32-bit machines

 MTLCTRL  extensively cleaned up, corrected remote diagnostic feature

 MTLDPM   extensively cleaned up, corrected remote diagnostic feature

 SEX      extensively rewritten, support for new Telefile memory and
          magnetic tape systems

 PATTERN  runs properly on all Sigma and Telefile 32-bit machines,
          verifies all registers in all blocks and proper
          switching between blocks

 TMIOP    cleaned up various display lines, proper number
          of subchannels tested for channel A and B,
          proper handling of snap data on tape

 RMC      modified to support Telefile 3281 disk systems

 VOLINIT  completely rewritten

 DEVDMP   completely rewritten

 DCOPY    extensively rewritten

 SPEED    new diagnostic, intended to indicate speed of
          the basic processor





 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   13
 2.1 Development accounts

 ------------------------------------------------------------------------

      All throughout this document, the characters 'REV', when occurring
 in the context of a diagnostic software development account, will be
 replaced by the actual current release level, where the SI account will
 normally be of a higher level (e.g.  MTLH00CI and MTLH02SI).

 MTLREVCI contains compressed source for each diagnostic.
          Filenames begin with 'CI:'.

 MTLREVSI contains metasymbol-compatible update records for each
          diagnostic.  Filenames begin with 'SI:'. These are EDIT-
          format keyed files whose keys match (whenever possible)
          the record numbers being updated.

 MTLREVBO contains roms for each diagnostic. Filenames begin
          with 'BO:'.

 MTLREVSN contains SNAP-data files for Telefile and Xerox MIOPs
          as well as for Sigma 9 cpus.  Filenames begin with 'SN:'.

 MTLREVCL contains compressed listings for each
          diagnostic.  Filenames begin with 'CL:'.

 MTLREVJC contains JCL files and the support processor
          'MTLWRT', used to produce the actual diagnostic tapes.

















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   14
 2.2 Information contained in the MTLREVJC account

 ------------------------------------------------------------------------

 JC:DIAG   assembles a diagnostic and produces a compressed listing

 JC:DICT   assembles the MTL directory

 JC:MTLWRT assembles and links the MTLWRT processor

 JC:MTL    produces the diagnostic tape.  The job will
           reference the file 'MTLDEF.MTLREVJC' and call for
           the mounting of a free-form tape 'DIAG'.  This
           file may be batched in any account with no
           special priviledge necessary.

 JC:MTL:9  produces a diagnostic tape as described above,
           but with full SIGMA 9 snap data.  This job will reference
           the file 'MTLDEF:9.MTLREVJC'.

 JC:HIGH   recreates all high-level diagnostics and utilities.

 JC:UTILITY rebuilds all utility processors present in the
           MTLREVJC account (currently LMNROM, JCLGEN, PRINT,
           ADOC, and MTLWRT).

 JC:DOC    creates the MTL documentation file in the
           MTLREVCL account (currently CL:DOCUMENT).  This job
           will reference the file 'R:DOC:REV.MTLREVJC'.

 JC:JCL    creates the JCL files used to rebuild the
           current release of the diagnostic system.

      The above 'JC:'-files may be batched in any account with priviledge
 'C0' or higher.










 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   15
 2.2 Information contained in the MTLREVJC account (continued)

 ------------------------------------------------------------------------

 MTLDEF   contains a list of filenames (with explicit accounts)
          which are to appear as diagnostics on the actual
          magnetic tape.  The processor 'MTLWRT' uses
          this file to determine which diagnostics to
          write on the tape and also the order in which
          they must appear.  The tape directory (SI:DICT.MTLREVSI)
          must correspond to the order of the files in 'MTLDEF'.

 MTLDEF:9 contains a list of files as described immediately above,
          but with the filenames of the SIGMA 9 snap data appended.

 MTLDEF:S contains a list of files editted to produce a special
          diagnostic tape.  The corresponding directory will be
          the file 'SI:DICT:S.MTLREVSI'.

 NOTE: The order of the first 9 modules on the MTL is fixed and the
 modules MTLBOOT and MTLBIAS do not have corresponding entries in the
 directory.























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   16
 2.2 Information contained in the MTLREVJC account (continued)

 ------------------------------------------------------------------------

 JCLGEN   is the processor responsible for the creation of
          jcl files used to restore the current release.
          The various source update and compressed accounts
          are scanned and jcl is built to assemble all the
          diagnostic modules in the system.

 MTLWRT   is the processor responsible for the creation of
          the TELEFILE diagnostic system tape.  It is a multiple
          pass processor, reading and updating the directory,
          then writing and verifying the tape.  Most of the
          diagnostics are written blocked into a one page buffer,
          those modules appearing before the MTL loader are
          written unblocked.  The directory itself is a single
          physical record and the snap data are also simple
          physical records of varying lengths.

 LMNROM   is the processor responsible for the creation of a
          diagnostic ROM capable of being loaded by MTLLDR
          from the diagnostic library.  Input to this processor
          is a standard TCPV load module.  This load module
          may have been created from any number of ROMs but
          must be paged, have no TCB, have only csects of
          access type 1, and a load bias of 0.

 PRINT    is the processor intended to produce diagnostic
          listings from the development accounts.  In an
          attempt to save paper, all ejects and titles are
          replaced with blanks as the file is uncompressed.
          Program and cross-reference listings may be
          created separately.

 ADOC     is the processor responsible for the creation of
          the official accompanying document for the current
          release of the Telelfile diagnostic system.  The
          document file is placed in the MTLREVCL account
          under the name CL:DOCUMENT.  All files in the MTLREVJC
          account whose names begin with the characters 'SD:'
          are raw documentation data.



 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   17
 2.2 Information contained in the MTLREVJC account (continued)

 ------------------------------------------------------------------------

      The following files are used in conjunction with other information
 contained in the XPLLIB account.  The XPL compiler and cross-reference
 program (XCOM and XREF) are contained therein.

 SM:XPLRUN is the XPL runtime support module for all high-level
          diagnostics written in XPL.  It forms the interface
          between a high-level diagnostic module and DPM, in
          addition to performing some centralized I/O and
          other general services.

 SX:XLIB  is an XPL source library specially written to
          fulfill requirements for running in the DPM
          environment.

 XPL      is an AP system file containing procedures used
          to write XPL compatible modules in assembly
          language.
























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   18
 2.3 Comparison (SNAP-DATA) files

 ------------------------------------------------------------------------

 SN:TMIOP      IOP snap data for TMIOP and 9MIOP
 SN:9AUTO      CPU snap data for 9AUTO
 SN:9DEC       CPU snap data for 9DECIMAL
 SN:9FLOAT     CPU snap data for 9FLOAT
 SN:9SUFFIX    CPU snap data for 9SUFFIX

      The CPU snap data files appear only on the MTL produced for SIGMA 9
 systems.  The volume of snap data is such that a large tape reel (2400')
 is required at the lowest density (still 800 BPI for compatibility with
 all older systems).































 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   19
 2.4 Catalog numbering convention

 ------------------------------------------------------------------------

      All diagnostics are numbered in the format 960-nnnn-vvv:

 vvv      is the version, a single letter of the alphabet
          followed by two decimal digits.  These represent
          major and minor releases respectively.  For example,
          G02 would be the second minor release after the
          major release G00.

 nnnn     4 decimal digits (with leading zeroes):

 0000-0009         Telefile Diagnostic System tapes
 0010-0049         Diagnostic monitors
 0050-0099         System-level diagnostics
 0100-0199         CPU diagnostics, T-series
 0200-0299         CPU diagnostics, Sigma 8/9
 0300-0399         CPU diagnostics, Sigma 5/7
 0400-0499         Memory diagnostics
 0500-0599         IOP diagnostics
 0600-0699         Peripheral diagnostics
 0700-0799         Utility programs
 0800-0899         Snap comparison data

      The release level of the diagnostic tape will always be equal to or
 greater than the highest release level of all the diagnostics found on
 that tape.
















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   20
 2.5 Diagnostic listings

 ------------------------------------------------------------------------

      To obtain a listing of a diagnostic, copy the corresponding
 compressed listing file to the line printer (via TCPV-PCL).  For
 example, to list the MT9 diagnostic, version H02:

 !COPY CL:MT9.MTLH02CL(C) TO LP(VFC)

      The standard listing will include an update list (LU), an assembly
 list (LO), and a concordance (CN).

      A TCPV utility has been made available to print compressed listings
 in a mode designed to save paper and to allow separate printing of
 concordance and assembly listings during development.  To list the MT9
 diagnostic mentioned above:

 !LIST ON LP
 !PRINT.MTLH02JC CL:MT9.MTLH02CL
 options>(newline)

      A listing will appear without any page ejects, headers and titles
 being replaced with blank lines.  Furthermore, the cross-reference is
 separated from the main body of the listing by a page eject.  Symbols in
 the cross-reference that occur only once are flagged with the characters
 '***' appearing to the left.


















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   21
 2.6 Modification of diagnostics

 ------------------------------------------------------------------------

      To modify a diagnostic, simply edit the corresponding update file
 in account MTLREVSI and reassemble by batching the appropriate JCL-file
 in the MTLREVJC account.  For example, to reassemble the MT9 diagnostic,
 version H02:

 !BATCH JC:DIAG.MTLH02JC 'SOURCE'=MT9

      After modifying a diagnostic, the directory should be updated by
 modifying the release level of the diagnostic.  The release level of the
 tape is set to the highest level found in the directory.

      The date of each diagnostic as it appears in the directory is set
 to the creation date of the corresponding file specified in 'MTLDEF'.
 The date of the diagnostic tape is also inserted into the directory by
 the support processor 'MTLWRT' as the tape is actually written.

      If the contents of the diagnostic tape are modified, both the
 directory and the support file 'MTLDEF' should be updated accordingly.
 Further restrictions on modifying the order and contents of the MTL were
 mentioned previously in the description of the file 'MTLDEF'.





















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 2.  Diagnostic software development                                   22
 2.7 Creation of diagnostic tapes

 ------------------------------------------------------------------------

      To create the latest version of the Telefile Diagnostic System tape
 (in this example H02), insert the JCL-file JC:MTL.MTLH02JC into the
 batch stream.  Tape creation can also be accomplished on-line by:

 !MTLWRT.MTLH02JC MTLDEF.MTLH02JC
 DIAGNOSTIC TAPE WRITER-H00
 ENTER CHARACTER TO FORCE VERIFY>(newline)

      If a non-blank character is given in response to this request, the
 tape will be compared against the existing image of the diagnostic
 system on disk (tape writing will be skipped).  In Batch this can be
 accomplished by placing a non-blank character in column 9 of the calling
 JCL statement.

      I/O on the tape is performed via the DCB M:EO; the default value of
 the OUTSN is 'DIAG'.

      It is intended that the complete diagnostic listings should
 accompany any diagnostic system tape into the field.  The listings are
 contained in the MTLREVCL account (i.e.  MTLH02CL for revision H02) and
 may be copied to TCPV-labeled tape with any appropriate utility (e.g.
 PCL, FSAVE, or BACKUP).  Please see the notes under the MTL utility LIST
 for information on how to use the diagnostic system to create its own
 listings.

















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 3.  Release G01                                                       23
 3.1 Overview

 ------------------------------------------------------------------------

      The following modules have been changed to produce the Telefile
 Diagnostic System version G01:

 SIGHCP   corrected problems when booting from disk

 MTLCTRL  cleaned up various problems

 MTLDPM   corrected problems associated with 'ASR'

 SEX      must run on an F-level (or greater) T85 to use >128k memory

 MT9      completely new random exerciser (TST2)
          new automatic density selection test (TST1,43)

 TMIOP    corrected various problems

 SPEED    placed on the MTL for the first time

 DEVDMP   corrected problems with disk error recovery

 DCOPY    cleaned up various problems




















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 3.  Release G01                                                       24
 3.2 Notes on major modifications

 ------------------------------------------------------------------------

 DEVDMP:

 1.  Command line scanning stops at the first error.  Previous commands
 have already been processed, commands to the right of the error will be
 ignored.  Use 'ABORT' to reset parameters to default values.

 2.  Alternate tracks are only saved if allocated to flawed tracks on the
 primary portion of the surface.

 3.  Normally I/O overlap is performed only when the tape and disk are on
 different channels or MIOPs.  However, explicit control of overlapped
 I/O can be achieved through the use of the following two commands:

          F (force)   overlap takes place
          I (inhibit) overlap will be inhibited


 SIGHCP (general soft-hardcore):

 1.  All traps and interrupts come to a halt via location x'31'.  This
 facilitates the use of instruction breakpoints to catch traps.

 2.  The HCP must fit on one disk cylinder to allow for placement of the
 MTL on disk.  The MTL bootstrap must also reside on the same cylinder.
 Currently about 105 sectors are required.

 3.  MIOP testing is skipped if the HCP is executed from disk.  This is
 to avoid possible destruction of the contents of the seek register when
 an RIO instruction is issued.












 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 4.  Release G02                                                       25
 4.1 Overview

 ------------------------------------------------------------------------

      The following modules have been changed to produce the Telefile
 Diagnostic System version G02:

 MTLLDR   cleaned up BIAS processing

 MTLDPM   cleaned up remote processing

 REMGUIDE cleaned up remote processing

 7SUFFIX  corrected problem with the MBS instruction

 MEDIC    implemented system restart when operating in low memory

 SEX      added new features, tables, rewrote abstracts and explanations

 MT9      identification of skipped subtests on OC

 GUIDE    cleaned up sense switch use, KSR default, SIGMA 7 mode

 TMIOP    introduction of SIGMA 7 compatibility

 DISK     formerly on the MTL as DC32, VOLINIT compatibility

 DC32     installation of proper version of this diagnostic

 MTLBOOT  corrected code to distinguish between tape and disk boot

 MTLBIAS  corrected code to distinguish between tape and disk boot

 MTLCTRL  cleaned up remote processing

 DEVDMP   cleaned up processing of various commands

 SIGHCP   functions with all OC baud rates (110-19200)

 VOLINIT  cleanup of retry processing, LP ignored if paper low

 DCOPY    major rewrite

 PORT     equivalent to XDS PORT V3

 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 4.  Release G02                                                       26
 4.1 Overview (continued)

 ------------------------------------------------------------------------

 TFPA     corrected EM control

 TFLOAT   corrected EM control

 ASR      implemented determination of baud rate

 MTLWRT   major rewrite

 CC32     placed on the Telefile MTL for the first time

 PATTERN  cleaned up sense switch use, beeps on success

 VERIFY   cleaned up sense switch use, beeps on success




























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 4.  Release G02                                                       27
 4.2 Notes on major modifications

 ------------------------------------------------------------------------

 MT9:

 1.  Added to TST1,13 for STC short-column tapes (weof + illegal order).

 2.  TST2,N,0 implies all I/O errors are permanent with no retries being
 performed.  As before, only I/O errors considered permanent cause status
 display.  Setting SSW2 will cause termination of TST2 but will not
 suppress display of the error statistics.

 3.  TST1,13 and TST1,34 should now work properly on POTTER drives.

 4.  If a subtest is skipped (inappropriate for specific type of tape
 under test), a message to that effect will appear on the OC after the
 subtest itself is identified.  Suppression of all subtest
 identifications is achieved by setting SSW2.


 MTLLDR:

 1.  To avoid conflict with the HCP, SSW4 is used to force a request for
 the load bias.  Null input (newline) implies default bias (last page of
 memory).

 2.  SSW2 is still used to halt the loader before transfering control to
 the diagnostic module.  This halt occurs only for non-DPM diagnostics
 (standalone or GUIDE).

 3.  The load item in error is saved in register 3 before the error wait
 occurs.












 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 4.  Release G02                                                       28
 4.2 Notes on major modifications (continued)

 ------------------------------------------------------------------------

 MTLDPM:

 1.  All devices are unconditionally reset (with an HIO) before starting
 the bootstrap (BOOT directive).

 2.  An error message is issued if the boot device is not operational
 (BOOT directive).

 3.  Clock and Voltage margins are reset before the bootstrap is
 performed (BOOT directive under REMGUIDE).


 MTLWRT:

 1.  A pass was added to determine the creation date of each module as it
 appears in MTLDEF.  This date is extracted from the corresponding FIT
 and inserted into the dictionary.

 2.  A pass was added to compare the previously written MTL against the
 current image of the diagnostic system on disk.

 3.  The revision level of the tape is set to the highest level of all
 diagnostics in the dictionary.

 4.  Revision levels and creation dates are displayed as the MTL is
 written or compared.

 5.  It is now possible to compare a given MTL against a specific disk
 image without having written it in the same job step.












 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 4.  Release G02                                                       29
 4.2 Notes on major modifications (continued)

 ------------------------------------------------------------------------

 DISK:

 1.  Any format of header is acceptable, specifically headers created by
 VOLINIT do not cause errors in TST1,63.

 2.  Various problems in subtests and tables were corrected.

 3.  The DISP directive was added as is found in DC32.

 4.  Corresponding to the DC32 diagnostic, two subtests were added for
 checking rotational speed and rotational position sensing (TST1,68 and
 TST1,69).


 TMIOP:

 1.  Extensive work was performed to guarantee SIGMA 7 compatibility.

 2.  Tests yielding absurd results on the SIGMA 7 are skipped.

 3.  CPU-sensitive portions of the MIOP snap data are modified
 dynamically.



















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 4.  Release G02                                                       30
 4.2 Notes on major modifications (continued)

 ------------------------------------------------------------------------

 DCOPY:

 1.  There is no error correction or detection performed on any I/O
 operation other than timeout checking.

 2.  Verify is performed by reading both disk and tape and doing
 byte-for-byte comparisons.

 3.  Verify errors detected during the processing of a diagnosic module
 are announced on the OC and further processing of the module is skipped.

 4.  Verify errors detected during the processing of the MTL dictionary
 cause termination of the verify entirely.  This should not be a problem
 since the dictionary comparison is done only at logical end-of-tape
 anyway.

 5.  SSW4 true implies verification only.  This feature will allow
 recovery from transient errors occurring in the verify phase.


 ASR:

 1.  Auto baud determination has been added.  This is carried out at
 initialization and after the 'SYST' directive is entered.

 2.  The auto baud code has been tested at rates up to 1200.  9600 has
 been demonstrated to fail due to lack of resolution in the timer (CLOCK
 4).













 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 4.  Release G02                                                       31
 4.3 MTL control program directives

 ------------------------------------------------------------------------

      Because some confusion exists as to what directives are recognized
 by the MTL control program and what inputs are given to the scanner for
 directory searching, the following discussion is included in this
 document.

      All of the seven MTL control program directives must be preceded by
 an exclamation point (!).  Anything not preceded by an exclamation point
 will be assumed a diagnostic identifier and the directory will be
 scanned.

      The following is a list of the directives recognized by the MTL
 diagnostic control program:


 1.  !COPY,N
 2.  !UPDATE
 3.  !COMP
 4.  !LIST,N
 5.  !SWAP,N
 6.  !DIAG,N
 7.  !ROFF

      The !COPY directive causes an MTL to be copied from the boot unit
 (must be magnetic tape) to either the boot unit address plus one or the
 specified address (N).  PLEASE NOTE: the tape to be copied must be a
 diagnostic system MTL.  No other tape will be copied accurately.

      The !UPDATE and !COMP directives were once used to maintain the MTL
 (adding or replacing diagnostic modules on the tape).  They are now
 completely obsolete.

      The !LIST directive allows the user to specify an alternate message
 output device (assumed to be a line printer).  This is essentially only
 useful in obtaining a dump of the MTL directory.







 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 4.  Release G02                                                       32
 4.3 MTL control program directives (continued)

 ------------------------------------------------------------------------

      The remaining three directives (!SWAP, !DIAG, !ROFF) are used to
 enable, disable, and pass control to the remote diagnostic system.

      The command !DIAG,N enables the remote system.  N must be of the
 form DIIII, where D is the dio address of the coc (a single hex digit if
 non zero) and IIII is the iop address of the coc (up to four hex
 digits).

      Please consult the following section on the state of the remote
 packages for a better idea of the functioning of the !SWAP and !ROFF
 directives.






























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 4.  Release G02                                                       33
 4.4 State of the remote packages (MTL, DPM, GUIDE, SEX)

 ------------------------------------------------------------------------

      As a result of extensive work with remote diagnosis it is felt that
 the various packages are now in much more consistant and reliable
 condition than ever before.  A summary of features follows:

 1.  System restart from the PCP logs-off all remote users, hangs-up all
 modems, and logically removes the COC from the system.  Control is
 returned to the OC.

 2.  The '!ROFF' directive is equivalent to number 1 above wherever
 implemented (MTL, DPM, GUIDE).

 3.  Simulated system restarts and PCP interrupts have no effect on
 remote users.  Real PCP interrupt under SEX returns control to the OC
 but does not log-off the COC, however.

 4.  'SW' or '!SWAP' directives will now accept a single parameter (in
 hex) and perform as follows:

          -1<p<64 implies attempt to give control to specified line

          63<p    error

          p<0     implies attempt to give control to last line logged

 5.  If any trouble is detected with the COC (via TIO), control is
 returned to the OC.  It might still require an 'ROFF' directive or a
 system restart to properly reset the COC hardware to a state where
 further input can be accepted.

 6.  When giving control to a COC line, both observers and lines not
 currently observing but otherwise in normal condition are considered
 acceptable candidates.









 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 5.  Release H00                                                       34
 5.1 Overview

 ------------------------------------------------------------------------

      The following modules have been changed to produce the Telefile
 Diagnostic System release H00.  In addition to improvements and
 modifications, all modules in the diagnostic system were recompressed
 from the G00 compressed base and the G02 source updates.

 SEX      on-sector interrupt processing for disks, corrected
          buffer statistics, corrected processing of phantom
          i/o interrupts, added single pass mode, pass 7 correct,
          xpsds for 46 and 4C traps corrected

 MT9      n/a display for TST1,17 and SSW2 suppression of n/a display,
          basic support for long column tapes

 NSLP     defined new-series line printers, modifications
          for band printers, modifications to load
          electronic VFUs

 VOL      line printer output removed, new disks (3281, 3282, 3283)

 DEVDMP   definition of new disks (3281, 3282, 3283)

 SPEED    runs properly on machine without a map

 PROTECT  T-85 compatible, beeps on success

 COMET    cleanup of messages and listing

 MTLCTRL  COMET will load from disk properly,
          correctly waits for head-in-motion












 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 5.  Release H00                                                       35
 5.1 Overview (continued)

 ------------------------------------------------------------------------

 DISK     7275-like status for head-in-motion wait,
          3281 compatibility for TST1,68,69, extensively
          corrected processing for DC32Q disks
          (TST1,55,66 and TST2), subtest number display

 DC32     source created and reassembled module tested,
          VOLINIT compatibility, messages cleaned up

 GUIDE    runs correctly without REMGUIDE

 ASR      SSW2 will suppress autobaud detection
          (110 BAUD default), fixed improper processing
          with new-series OC controller

 RMC      various cleanups, new disks (3281, 3282, 3283)

 MTLWRT   verify summary message
























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 5.  Release H00                                                       36
 5.2 Notes on major modifications

 ------------------------------------------------------------------------

 SEX:

 1.  Disk processing now calls for the generation of an on-sector
 interrupt.  This will produce about twice as many i/o interrupts per
 disk per operation and also an occasional phantom i/o interrupt.
 Various error-log messages were added and a glance at the explanation
 for the control table (OPS field) will indicate how to suppress the
 on-sector interrupt.

 2.  It is now possible to execute SEX one pass at-a-time (the system
 returning to Halt after each pass).  Please consult the explanation for
 the System table.

 NSLP:

 1.  A few modifications were necessary to process the fast STC band
 printer.  The model parameter of the syst directive will indicate the
 presence of such a device.

 2.  The first modifications to accomodate the new-series printers
 (electronic VFU) were added.  The model number will be used to determine
 the proper VFU format.  VFU load inhibit is specified in the SYST type
 parameter.  A 66-line page is assumed.

 DC32:

 1.  The diagnostic has been disassembled and converted to source form.
 Since DC32 is a standard DPM diagnostic, its structure is clear enough
 to allow for source readability.

 2.  Basic changes were undertaken to clean up some error and explanation
 messages and to achieve VOLINIT compatibility (subtests 30, 55, and 63).









 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 5.  Release H00                                                       37
 5.2 Notes on major modifications (continued)

 ------------------------------------------------------------------------

 DISK:

 1.  Various modifications were made to achieve 3281 compatibility for
 TST1,68,69.  A parameter on the syst directive indicates controllers
 with 7275-like status (no on-cylinder bit).

 2.  Processing for DC32Q (12 sectors) was thoroughly checked out and
 corrected.  All subtests now perform as intended (those requiring test
 mode are still skipped) and the random exerciser as well.

 3.  The subtest number is displayed during TST0 and TST1 processing.  A
 warning is issued if a subtest was skipped due to missing test mode
 options.  SSW2 will suppress all subtest number displays.

 ASR:

 1.  SSW2 will supress autobaud processing.  110 BAUD is the default in
 this case.

 2.  Many timing and processing errors were corrected when diagnosing the
 new-series OC controller.

 MT9:

 1.  Long column tapes (syst: D1=200, D2=0) are exempt from subtests 10,
 11, 20, 30, 35, and 37 when tested under TST0.  These subtests may be
 explicitly executed via TST1 when called singly (e.g.  TST1,11).

 2.  Subtests 34 and 36 rely on empirically determined constants for each
 type of tape device.  Should it appear that the long column tapes
 consistantly fail on these subtests it may be that the constants
 themselves need modification.

 3.  Subtests skipped because they are inappropriate for a given tape
 under test are indicated as such on the console.  This is intended as an
 additional check on the validity of the syst directive or even to
 indicate what the syst directive must have looked like if not available
 with the printed output.



 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 5.  Release H00                                                       38
 5.2 Notes on major modifications (continued)

 ------------------------------------------------------------------------

 MTLWRT:

 1.  A summary will appear at the end of the verify pass, indicating the
 presence or absence of errors.

 2.  Two decimal numbers appear next to the diagnostic name during copy
 and verify operations.  These represent the number of disk records and
 the number of tape records respectively.

































 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 5.  Release H00                                                       39
 5.3 Expanded 3281 disk capability

 ------------------------------------------------------------------------

       With the appearance of the SMD-technology disk drives in the
 Telefile product line, a number of diagnostics and utilities have been
 modified accordingly.  These modifications affect SEX, VOLINIT, DEVDMP,
 and RMC.

       For the purposes of expediency these devices have been arbitrarily
 named 3281 (STC 8350), 3282 (STC 8775 SMD), and 3283 (Century Data
 T302/T306 SMD).  These designations may change (please see sections on
 VOLINIT and DEVDMP).
































 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 6.  Release H01                                                       40
 6.1 Introduction

 ------------------------------------------------------------------------

      The H01 release marks a significant change of direction in the
 Telefile Diagnostic System development program, namely the introduction
 of diagnostics and utilities written in a higher-level language.  The
 utility LIST has been written in the XPL language (developed originally
 at Stanford University, taken from the version available in the Xerox
 user program library).

      The LIST utility was created to provide engineers with a convenient
 method of obtaining up-to-date listings of diagnostics in the field
 (without relying upon the availability of an operating system).  A
 listing tape will thus accompany the distributed MTL for this and all
 future releases.  Furthermore, the diagnostic documentation will also be
 present on the listing tape.

      The DCOPY utility has been rewritten for this release to properly
 accomodate all disks in the Telefile product line.  Emphasis was placed
 on adequate tape and disk error recovery, checkwriting of data as it is
 placed on disk, and full DPM compatibility.  Although DCOPY is still
 expressed in assembly language it uses the DPM-compatible XPL runtime
 module with the corresponding improvement in integrity it makes
 available to the diagnostic programmer.

      Two new subtests have been included in the HARDCORE diagnostic
 which runs whenever the Diagnostic System in loaded from tape or disk.
 These new subtests are intended to verify the functional integrity of
 clocks 3 and 4 and their various associated interrupts.

      In addition to general maintanence activity throughout all of the
 diagnostics, particular attention was given to corrections and
 improvements made necessary by the growing amount of experience with
 Telefile's new high technology disk and MOS main memory products.










 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 6.  Release H01                                                       41
 6.2 Overview of modifications

 ------------------------------------------------------------------------

      The following modules have been changed to produce the Telefile
 Diagnostic System release H01.  For support of the high-level diagnostic
 project various other subsystems have been introduced, mainly to be
 found in the MTLH01JC development account.

 SEX      various new parameters in OP table, error log
          logic reworked and rewritten, deselection of devices
          no longer recognizing their address, register pointer
          changed each pass and checked, full physical address
          space supported and MOS memory recognized, data-error
          and parity-error injectors improved, 328F device
          defined as proper subset of all 3281-class devices,
          base device logic improved, timeout implemented for
          disk error recovery i/o, suppression of seek
          overlap on base device controller, manual messages suppressed
          during configuration, control and op tables appear
          before warning during configuration, dual access
          configuration rewritten, defaults ct:pc (FF) and ct:sf (04),
          disk error recovery and interrupt syntax check modified
          for dual access, phantom i/o interrupts counted but not
          logged unless L-parameter is 0

 VOL      fast mode implemented, optional data pattern installed,
          pattern selection logic corrected, new TCPV alternate
          track format implemented, extreme sensitivity mode
          introduced (retry,0)

 DEVDMP   automatic density select corrected, TCPV alternate
          track format implemented

 RMC      updated various messages, checking of device type
          bits of sense status suppressed, tst1,5 removed
          from default list

 DISK     retrofitting of some modifications present in DC32
          for proper testing of DC32 disks

 DPM      added new entries to the monitor transfer vector
          necessitated by the high-level diagnostic project


 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 6.  Release H01                                                       42
 6.2 Overview of modifications (continued)

 ------------------------------------------------------------------------

 NSLP     timing corrected for band printers

 MTLLDR   standalone programs without transfer address are flagged,
          improper record size and id bytes are flagged, the
          SOCW loader properly computes number of cards to load

 DCOPY    DPM compatible (syst used to specify i/o addresses
          and type of target disk), commands for copy and compare,
          full error recovery and checkwrite

 REMGUIDE improved format of startup message

 COMET    full MOS support in configurator, 4KK words of physical
          address space, Logic tests A and D dropped from default
          if testing MOS memory, various messages cleaned up

 GUIDE    fixed processing of the question mark character,
          does proper scan to determine true size of
          memory to 4KK words

 ASR      corrected still more timing bugs for high speed
          consoles, automatic detection of baud rate governed
          by an syst parameter, revision and help messages
          deferred until after default syst processed

 IOX      fixed problems in setting up channel programs
          when running in systems with more than 256k memory














 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 6.  Release H01                                                       43
 6.2 Overview of modifications (continued)

 ------------------------------------------------------------------------

 TAUTO    startup and explanation messages corrected
 TSUFFIX  in all of the following T-(cpu)-diagnostics
 TFLOAT
 TFPA
 TDECIMAL
 TINTRAP  fixed problem in scanning memory after MFI
 TMAP/WL

 SPEED    continues execution forever

 SIGHCP   subtests added to verify clocks 3 and 4

 LIST     new utility to list files on diagnostic compressed
          listing tape, DPM compatible, expression in
          higher-level language, creation of associated
          support modules and processors

























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 6.  Release H01                                                       44
 6.3 Notes on major modifications

 ------------------------------------------------------------------------

 SEX:

 1.  Error logging has been extensively rewritten.  Display of selected
 portions of the log is always governed by the severity level of the
 entry and the state of the L parameter in the OP table.

 2.  The old error log is intact after reloading the exerciser from the
 base device.  Selective display can be performed at this time without
 altering the log.  Restarting the exerciser, however, will immediately
 cause the log to be cleared.

 3.  If enough errors occur or the exerciser runs a sufficiently long
 time the error log file will wrap around on itself.  The frequency of
 this event is maintained in the OP table.

 4.  Base device errors are properly retried.  If an error cannot be
 recovered, the operator is informed and operations halted.  Responding
 with the run directive will result in continued retry of the original
 base device operation.

 5.  Overlapped seeking on the devices attached to the base controller
 lead to occasional timeouts when actually exercising the base device.
 This has been avoided by suppressing seek overlap in this case.

 6.  The clock margin control word of the LMS status can be set via a
 parameter of the OP table.  For MOS memory systems this feature can be
 used to observe the "soft hit" behavior of the memory.  "Soft hits" are
 visible, when appropriately enabled, as MFI errors with severity held
 down to two.

 7.  Flaw marks are no longer considered I/O errors and are tallied
 separately in the OP table.









 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 6.  Release H01                                                       45
 6.3 Notes on major modifications (continued)

 ------------------------------------------------------------------------

 LIST:

 1.  This program will scan and read CPV-generated labeled tapes, routing
 the decoded information through the DPM MOD device.

 2.  The program has a number of options but the defaults have been set
 so that the input is assumed to be in CPV compressed format and the
 entire file is copied to the output device.

 3.  In order to save paper the carriage control character of every
 output line is forced to a blank, detected page ejects are suppressed
 but preceded by a blank line instead.

 4.  Options are available for rewinding the input tape, scanning and
 listing the filenames present on the tape, terminating the run, and
 selecting a file on the tape for processing.

 5.  The input device is specified via a DPM syst directive and all other
 DPM directives are available to the user.  Output is to the console by
 default but may be rerouted with the MOD directive.

 6.  A directive is available to provide online information on how to run
 the program (HELP) and it is hoped that sufficient explanation will be
 available at the console to facilitate normal program use.

 7.  I/O errors detected by the runtime support module (SM:XPLRUN,
 mentioned elsewhere in this document) will provide enough information on
 what went wrong with an operation to permit sensible decisions to be
 made by the user.  In the case of the LIST program only errors on tape
 input are possible.  In any case the system will indicate the logical
 unit (which address parameter in the syst directive), the physical unit,
 full TIO and TDV status, and finally the current I/O command double
 word.








 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 6.  Release H01                                                       46
 6.3 Notes on major modifications (continued)

 ------------------------------------------------------------------------

 8.  On the compressed listing tape, all filenames begin with the
 characters 'CL:'.  Use the SCAN option to determine exactly what is on
 the tape.  The diagnostic documentation is called 'CL:DOCUMENT'.

     Names of diagnostic listings are not always identical to the
 corresponding names in the MTL directory.  It should, however, be
 perfectly clear what each listing file represents.

 9.  Console input is currently restricted in that lines cannot be
 canceled nor characters deleted.  To avoid entering incorrect
 information use escape followed by carriage return.  The LIST processor
 may then be reentered with the XEQ directive.





























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 6.  Release H01                                                       47
 6.4 Known problems

 ------------------------------------------------------------------------

      The introduction of MOS memory and correspondingly large physical
 address spaces has created a number of problems in the diagnostic
 system.  Most of these have been identified and corrected but a few may
 remain and will be corrected therefore in a later release, assuming
 anyone notices.

      There is a significant probability that a number of the diagnostics
 will show errors when run on systems with large or fully implemented
 physical memory.  It is therefore advised to rerun diagnostics in a
 smaller memory environment if very strange behavior is evident.

      In order to establish some criteria for judging when the
 configuration or the diagnostic is at fault instead of the hardware
 please keep the following in mind.  DPM diagnostics use only 128K words
 of memory, the loader itself occupying the last page in the 128K word
 segment.  Of the GUIDE diagnostics only COMET and TMAP/WL access memory
 beyond 128K words.  GUIDE has been modified to properly compute memory
 size and to make this information available to all its associated
 diagnostics however.

      At the time of this release both SEX and IOX have been modified to
 function in fully implemented memory but have only been tested to 512K
 words.


















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 7.  Release H02                                                       48
 7.1 Overview of modifications

 ------------------------------------------------------------------------

 SEX      LWA of memory is displayed in configuration,
          fixed bugs in disk error recovery after timeouts,
          protect against command input buffer overflow,
          all devices now default to non-soureable,  cleaned up
          processing of null fields (used to obtain list of
          possible commands or destinations), unrecognized
          i/o interrupts no longer listed as errors, timeout
          for printers changed to accomodate band printer
          start-up delays, cleaned up extended memory and
          map configuration, report correctable error (RCE) logic
          added to shut off unending stream of soft-hits (MOS),
          mode to force proper LMS scan after memory fault
          on SIGMA 5/6/7 with MOS, new pass message reflecting
          source device and bomb state, memory bomber (from
          xerox port) added to the background data checker,
          buffer processing rate computed (sampled) and
          displayed, store branch stack instruction used in
          the configurator no longer destroys locations
          x'10' to x'1F'.

 VOLINIT  PASS-option defaults corrected, verify tries very hard
          to continue after any kind of error.

 ETHER    entirely new DPM-compatible diagnostic to aid in
          the diagnosis and checkout of the Telefile
          Ethernet controller.

 DEVDMP   recognizes DP as well as DC to identify
          rotating memory devices.

 GUIDE    fixed remote startup message, improved memory
          size detection (proper use of ma for machine
          transparency).








 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 7.  Release H02                                                       49
 7.1 Overview of modifications (continued)

 ------------------------------------------------------------------------

 COMET    fixed bug associated with display of unit number,
          added HOF display for MOS, both HOF and interleave
          warnings issued at end of configuration if any
          bank scanned had HOF or interleave set, not merely
          the last bank scanned, distinguishes properly
          between SIGMA 5/6/7 and 8/9/T85 - tries to
          make appropriate changes in trap and interrupt
          handling, logic test i replaced with h (deselected
          by default) which is the port conflict test, M
          display under the T directive has been redefined
          (use ? after T for complete explanation), pass
          and test-complete annotation modified, logic tests
          f and g improved in speed and effectiveness.

 DISK     added new subtest (TST1,71) to display the actual
          behavior of the on-sector interrupt, device
          class 3281 added to allow the test to be performed
          on 16 sector disks.

 RMC      subtests announced on the console, attempt to guard
          against unrecognized i/o interrupts from aborting
          test sequences (probably rescinded on-sector
          interrupts), TST1,86 determined to take about
          10 minutes on T306 drives regardless of the
          current state of the SEEK directive, for TST1,78
          in the processing of errors associated with the
          sense order - do TDV before TIO and always display
          gathered sense data,  with the current revision
          level of the T306 drives occasional errors in TST1,78
          should unfortunately be expected.

 9PFS     guard against attempting to address more
          than 128k of memory.

 PORT     corrected malfunction on STC short-column tape
          units, it must be stressed again that PORT will
          not run properly on SIGMA 5/6/7 with i/o reset
          jumper installed.



 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 7.  Release H02                                                       50
 7.1 Overview of modifications (continued)

 ------------------------------------------------------------------------

 TMIOP    default address of the MS has been set at x'005',
          the default dio address of the IOP remains x'0'.

 DPM      certain commands have always been rejected if the
          remote system was enabled (valid coc logged on) but
          now the rejection messages make this quite clear,
          GO1 is equivalent to GO if not in a sense wait
          (e.g. after an explicit call to wait), MLT+56 is
          now updated by the COUNTER3 routine at the rate
          of 10 hertz (during the run mode).

 MT9      by default the random exerciser is now entered
          after TST0 with cycles requested set to 250.  The
          default value of LIMT,4 is now 20 (maximum possible
          links in the random data chain).

 NSLP     the revision parameter of the SYST directive is now
          used to specify the number of lines per page for
          the electronic VFU, if appropriate.  A revision of
          zero indicates that the loading of the electronic
          VFU should be suppressed.




















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 7.  Release H02                                                       51
 7.2 Notes on major modifications

 ------------------------------------------------------------------------

 SEX:

 1.  On command input, when a single comma is scanned before any non
 blank characters, SEX responds by dumping the entire list of possible
 commands.  When a comma is scanned after a valid directive, but before
 any non blank characters in the next field, SEX responds by dumping the
 entire list of possible destinations:

 H>,     => all directives are dumped

 H>RE,   => directives beginning with RE are dumped

 H>REP,  => repeats this line

 H>REP,, => destinations are dumped, followed by a blank line,
            followed by this line repeated (minus the final comma)

 2.  The configurator will recognize extended real addressing on all
 machines by the presence of a setable ma bit in PSW2 and scan for a
 maximum of 4KK words of memory.  Furthermore, the map is properly
 configured on SIGMA 5/6/7 machines.

 3.  RCE (report correctable error) logic has been added to shut off
 reporting of MOS soft-hits after a specified number have been taken.
 The RCE parameter of the status table now controls this.  The limit is
 set to its maximum at system restart (manual or via reload/redump).
 Used in conjunction with the LMS parameter of the operator table (reset
 to 0 when specified number of hits have been taken).

 4.  A bit in the system mode byte (system table) has been redefined to
 allow SIGMA-9-like LMS scans to occur after a memory fault on a
 SIGMA-7-like machine with Telefile MOS memory.









 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 7.  Release H02                                                       52
 7.2 Notes on major modifications (continued)

 ------------------------------------------------------------------------

 5.  A memory exerciser has been added to the background user (memory
 buffer checker-spreader) very similar to the one used in Xerox Port.
 During phases 1, 2, and 3 a memory buffer is 'bombed' prior to its being
 checked, thus insuring that errors not detected by the hardware will
 show up during normal checking.

 Three bits in the OPS field of the controller table (cpu entry) are used
 to control the bomber.  The bomber operates either continuously or in
 burst mode (like a line printer).  If automatic is set (the default),
 the burst mode or continuous mode is selected at pass start according to
 the presence or absence of selected device controllers (none implies
 continuous).  If forced is set then the mode is simply determined by the
 state of the burst bit.  If neither the forced nor the automatic bit is
 set then no bombing occurs.

 The New Pass message will now indicate both the bombing and the source
 device state of the exerciser.

 6.  In order to facilitate system performance measurement, the buffer
 processing rate is now sampled (at 16HZ) and the instantaneous rate is
 displayed with the Buffer table (in buffers/second).  The rate will
 appear to drop continuously when bombing continuously because no bombing
 occurs in phase 0.


















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 7.  Release H02                                                       53
 7.2 Notes on major modifications (continued)

 ------------------------------------------------------------------------

 COMET:

 1.  The cpu type is determined to make appropriate changes in the
 trap/interrupt logic.  Extended addressing capability is also checked
 for SIGMA 5/6/7 to allow full physical address testing.

 2.  The port conflict test has been debugged and entered into the T
 parameter table as logic test H (deselected by default).  Logic test I
 (control over magnetics) has been removed from the table.  Control over
 the magnetics (as a set) is achieved with the M parameter.

 3.  Test complete messages are now enabled for at least one full pass
 after restart or any command keyin.  Passes are restarted only after the
 @-keyin or a system reset, else the pass continues from the point of
 interruption.

 4.  Random number generation is only reset at initialization time, thus
 providing for much better testing during logic tests f and g.  Timing on
 logic test g is much improved.

 PORT:

 1.  This diagnostic will do very strange things on SIGMA 5/6/7 machines
 if the music flip-flop is tied to the IO-reset logic.

 2.  Default I/O operation set is now W, R, R (write, read, read).
 Checkwrite is only valid for disks, hence the trouble with STC tapes.
 The operation set can be changed with the 'IO' command.













 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           54
 8.1 Sense switch functions

 ------------------------------------------------------------------------

 SSW1 - Suppress progress report (every 25 cylinders)
        during format and verify operations

 SSW2 - Suppress I/O error status display

 SSW3 - Suppress sense-restore on retry of
        simple transmission errors

 SSW4 - Not used
































 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           55
 8.2 Order of I/O operations and pattern data

 ------------------------------------------------------------------------

 1.  Write headers
 2.  Read headers
 3.  Compare read to written headers

 4.  Write/checkwrite pattern data (use first pattern)
 5.  Write/checkwrite pattern data (use second pattern)

 6.  Write/checkwrite pattern data (future additional operations)
 7.  Write/checkwrite pattern data (future additional operations)

      The table below indicates which data patterns are used to determine
 surface integrity.  The identifier may be specified explicitly with the
 PATTERN option or the default can be used.  The default is indicated in
 parenthesis according to the disk type; all new technology disks (3281,
 etc.) use the 7275 pattern.

 Identifier  Data (first)  Data (second)

 0 (7240)    FFFFFFFF      00000000
 1 (7275)    DB6DB6DB...   6DB6DB6D... (each pattern is 3 words)
 3 (test)    AAAAAAAA      55555555




















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           56
 8.3 New commands and parameters

 ------------------------------------------------------------------------

      The basic command format has not been changed from the original
 form used in Xerox VOLINIT.  A number of commands and options have been
 added, however.

 The following options are currently implemented:

 VERIFY:

 Verify scans headers on all cylinders or dumps private pack HGP
 granules.  A keyin is required to determine the mode of operation.  The
 'HG' and 'G' responses will dump private pack HGP's (and have not been
 tested).  The 'H' response will scan an entire pack displaying flawed
 tracks and alternates.  The presence of a flaw mark is indicated by an
 asterisk.  Verify overrides all other parameters.

 PATTERN:

 Pattern accepts a single decimal parameter to specify the worst-case
 data pattern for surface testing during formatting.  There are currently
 three patterns defined and are distinguished as follows:

 N=0    implies use of 7240 worst case pattern
 N=1    implies use of 7275 worst case pattern
 N=3    implies use of test worst case pattern

















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           57
 8.3 New commands and parameters (continued)

 ------------------------------------------------------------------------

 UPDATE:

 When adding new flawmarks to a pack it is not desirable to reformat the
 entire surface.  Update will enter a (FORMAT,NONE) specification and
 rebuild the internal map by reading all the alternate cylinders.
 Thereafter, any explicit flaw options will cause alternate tracks to be
 assigned from the first currently available alternate.  Update does not
 alter the VOLINIT label (last physical track, sector 0) and furthermore
 does not preclude reformatting specific tracks explicitly.

 Reformatting specific alternate tracks will make them available for
 future allocation via update (if they had been already allocated).
 Reformatting of already allocated alternate tracks will not automaticaly
 reformat their corresponding flawed primaries so be careful to reformat
 both tracks.

 The '(PASS,0)' option may be used in combination with 'UPDATE' to
 suppress surface testing of tracks explicitly being reformatted.

 NOLABEL:

 This option causes space for the label (last alternate track) to be
 allocated but not read to check for pack pre-initialization, nor
 rewritten after full or partial initialization.  Label writing is also
 suppressed by UPDATE.

 This can avoid problems if using VOLINIT as a header diagnostic for a
 faulty disk system.  The actual state of reformatted tracks previously
 flawed or allocated will be reflected in the MAP produced by subsequent
 updates, not in the MAP produced by the update during which the tracks
 were reformatted.










 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           58
 8.3 New commands and parameters (continued)

 ------------------------------------------------------------------------

 RETRY:

 RETRY replaces the old 'TRIES'.  Its value must lie between 0 and 50 (0
 < retry < 50).  It governs the number of retry attempts to be made on a
 given track before rejecting it.  When the number of I/O failures
 exceeds the value of the retry parameter, the affected track will be
 rejected and flawed.

 The error statistic in the MAP refers to the number of I/O failures on a
 given track.  The error statistic in the progress report (See
 description of SSW2 function) refers to the actual accumulated number of
 I/O errors.

 Comparison errors (step three) are considered I/O failures.
 Furthermore, rejects due to failures in steps one, two, or three are
 noted as header errors in the MAP comment field.

 Recovery consists of isolating the first bad track in the cylinder or
 block of tracks being formatted and restarting the formatting sequence
 (For this track only) from step one regardless of the step in which the
 failure was first detected.

 As implied in the previous paragraph, formatting is done on as many
 tracks as possible up to a maximum of one cylinder.  Recovery, however,
 is performed on a track-by-track basis.

 The retry parameter essentially governs how hard VOLINIT will try to get
 through the worst-case pattern tests.  If any write operation failed
 (undetected by the I/O system) the following checkwrite should result in
 an I/O failure.  The default retry count has been set to two (used if
 not explicitly specified).

 A retry value of zero will increase the error sensitivity to a maximum,
 causing all tracks experiencing I/O failures of any kind to be flawed.







 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           59
 8.3 New commands and parameters (continued)

 ------------------------------------------------------------------------

 PASS:

 This option will determine how many write-checkwrite pairs to perform on
 each cylinder during formatting.  The default is 2.  In addition, the
 following values have special meanings:

 0 => header write, read, and compare only (equivalent to NOTEST)

 1 => (and up) perform normal formatting including the above and the
 indicated number of write-checkwrite pairs

 TCPV:

 16 bits of each header are devoted to the specification of alternate
 track information.  Previously this was divided into 8 bits of cylinder
 and 8 bits of track address, with all one bits indicating unallocated
 alternates or unflawed primary tracks.  As the size of disks grew, the
 various tricks used to fiddle bits around within this scheme became so
 absurd that Telefile (in a move of unprecedented boldness) decided to
 abandon it altogether.

 When the TCPV option is specified, alternate track information is coded
 into the header as 11 bits of cylinder followed by 5 bits of track
 address.

















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           60
 8.4 Command formats and functions

 ------------------------------------------------------------------------

 The form of the VOLINIT command is as follows:

 DPndd,mmmm,(option),(option),...,(option)

 ndd    device address

 mmmm   model number of disk device (see table)

 Options need not be specified.  If none present, VOLINIT will attempt to
 read the label (sector 0, last physical track) and display the pack
 serial number, the public/private attribute, and the date of last
 initialization.

 VOLINIT is capable of formatting public and private packs (for TCPV) but
 only the public processing has been carefully checked.  For more
 information on command parameters for private pack formatting, consult
 the original XEROX CPV literature.

 The below-mentioned options remain unchanged from their previous
 functioning (under stand-alone VOLINIT for XEROX CPV).  Options without
 arguments may be specified without the enclosing parentheses.

 (PUBLIC,identification)

 The identification may be one to eight characters.
















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           61
 8.4 Command formats and functions (continued)

 ------------------------------------------------------------------------

 (FLAW,track range, track range, ...)

 The FLAW option will cause flaw marks to be unconditionally written in
 the headers of the specified tracks.  Alternate tracks will be assigned
 from the pool.

 (FORMAT,track range, track range, ...)

 The FORMAT option will indicate which tracks are to be subject to the
 formatting sequence given earlier.  Tracks yielding I/O failures will be
 automatically flawed (with alternate track assignment).  The 'NONE'
 range is necessary if explicitly flawing tracks and it is not desired to
 reformat a pack (see UPDATE).

 If PUBLIC is the only option specified the entire pack will be
 formatted.

 TRACK RANGE: cyl/track or cyl/track-cyl/track

 Where cyl and track are decimal integers representing the starting and
 starting-ending tracks to be formatted.




















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           62
 8.5 Examples of VOLINIT commands

 ------------------------------------------------------------------------

 1.  DP0F1,3281,(FORMAT,407/27),(FLAW,3/8),UPDATE

 Perform specific flaw and format in update mode.  If 407/27 had a
 flawmark, its alternate would not have been released to the pool.

 2.  DP1E3,7272,(FLAW,97/14),NOLABEL,UPDATE

 Add specific flawmark to pack in update mode.  The label will not be
 read.

 3.  DP0F0,7272,(PUBLIC,TRON),(RETRY,1),(PATTERN,3)

 The entire pack will be formatted.  The pack serial number will become
 TRON.  During the format processing the minimum error retries will
 apply.  Use of the optional pattern for is specified.

 4.  DP0F0,7272,VERIFY

 Read and verify all headers on the given pack.

 5.  DP1E0,3281,(FORMAT,382/29,456/0),UPDATE

 Reformat a flawed track and release assigned alternate to the pool.

 6.  DP1C4,3283,UPDATE

 Read the alternate track area and generate a map of assigned alternates
 and their corresponding primary tracks.













 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           63
 8.5 Examples of VOLINIT commands (continued)

 ------------------------------------------------------------------------

 7.  DP1E3,3232

 Read and display the VOLINIT label (known as a pack log-on operation).

 8.  DP1E2,3283,(PUBLIC,REALITY),(PASS,0)

 Initialize as fast as possible by writing, reading, and comparing of
 headers only.

 9.  DP1E1,3282,(PUBLIC,ILLUSION),(RETRY,0),TCPV

 Perform full surface initialization with maximum error sensitivity,
 flawing all tracks experiencing errors of any kind.  Alternate track
 information is coded according to the new TCPV standard.

 10.  DP1E0,3282,(PUBLIC,MAYA),(PASS,6)

 Perform full surface initialization with 6 write-checkwrite pairs being
 performed on each cylinder.






















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           64
 8.6 Recovery and operator interruption

 ------------------------------------------------------------------------

      Standard recovery can be initiated from the PCP (idle, reset, and
 run).  VOLINIT, assuming the program is still intact, will carry on as
 if just having been loaded (the date keyin will be requested).

      The PCP interrupt will cause VOLINIT to stop processing and allow
 the operator to decide on continuation or termination of the
 initialization.

      All other traps and interrupts (except the I/O interrupt) are
 considered illegal and will result in a keyin request from the
 operator's console.  A non-continue response will cause an abort of the
 current run.

      Unfortunately, the present version of VOLINIT gives no indication
 of which trap or interrupt caused the processing interruption.


























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           65
 8.7 Console I/O operations

 ------------------------------------------------------------------------

      New-line will cause unconditional input termination.  The program's
 response to null buffers (consisting of new-line only) will vary
 according to the request.

      Control-H (backspace) will cause line cancellation.  This fact will
 be indicated by the appearance of *IGNORED* on the same line.  Null
 input buffers cannot be cancelled (the backspace will be ignored).

      Control-I (tab) will cause deletion of the last character input.
 As above, the string *IGNORED* will appear on the same line and the
 current contents of the input buffer (minus the deleted character) will
 be displayed on the next line.  Tab is always effective (even when the
 buffer is currently null).

      When in command mode, the semi-colon may be used anywhere to signal
 continuation.  The scan will be terminated and another line requested.

      The address of the system console is assumed to be X'001'.























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           66
 8.8 Disk types recognized by VOLINIT

 ------------------------------------------------------------------------

                          DATA  ALTERNATE
 MODEL SECTORS HEADS CYLINDERS  CYLINDERS

 7242        6    20       200          4
 D215        6    20       404          3
 D225       12    20       404          3
 7270        6    20       400          7
 7272       12    20       400          7
 7275       11    19       403          8
 3281       16    30       546          9
 3282       16    30      1092         32
 3283       16    19       810          5





























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 8.  VOLINIT                                                           67
 8.9 Format of the VOLINIT label

 ------------------------------------------------------------------------

      The VOLINIT label is written on the first sector of the last
 physical track on the pack.  This corresponds to the last alternate
 track, which is then deallocated from the pool.

 Byte     0-3      Flag Word, X'00000000' implies PUBLIC
                              X'80000000' implies PRIVATE

 Byte     4-11     Pack Name, 8 Bytes, Left-
                   justified, trailing blanks

 Byte     12-19    Date, 'MMDD  YY'






























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            68
 9.1 Introduction

 ------------------------------------------------------------------------

      DEVDMP is a program to save and restore information on rotating
 memory devices (disks and rads).  The information is handled on a
 strictly physical basis (track by track).  Flawmarks are properly
 processed.

      The output of the DEVDMP save operation is a set of tapes, the
 first of which contains a bootable copy of the DEVDMP program and a
 table of contents (which rotating memory devices are saved in this tape
 set).

      As each tape is completed, DEVDMP will prompt the operator for the
 address of the next unit.  When the last tape has been processed, DEVDMP
 will summarize its activity for this run and accept more commands from
 the console TTY.

      Options are available to display the set directory and to process
 tapes in any order.

      The command string consists simply of a list of parameters
 separated by commas.  Processing will begin when one of the three job
 commands has been read.  An error will result in the rejection of
 remaining parameters on the line.



















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            69
 9.2 Command parameters

 ------------------------------------------------------------------------

 Three job commands are present to initiate processing:

 Save        Copy disk to tape
 Restore     Copy tape to disk
 Compare     Compare tape with disk

 MTnndd      Accepts up to 4 hex digits to specify address
             of tape unit

 DCnndd      Specify address of disk unit or range of units.
 DCnndd-dd   Each will be checked for availability.
 DPndd       Non-operational units will be ignored, but
 DPndd-ndd   can be re-entered.

 DN800       Should the tape station have selectable
 DN1600      density, these parameters will do exactly
 DN6250      that.  All tapes of the set will be the
             same density.

 #MMMM       This option specifies the model number of all
             previous and subsequent disk or rad unit addresses
             until the group command is entered.  The model
             may be changed any number of times until
             the group command is entered.  However,
             only the last model number entered is
             valid for the entire group.

 Group       This option associates a set of unit
             addresses with a specific model nuumber,
             which must have been previously entered.
             The group command is optional, necessary
             only if more than one type of rotating
             memory device is to be included.








 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            70
 9.2 Command parameters (continued)

 ------------------------------------------------------------------------

 If no MT or DC or #MMMM parameters were entered, the following defaults
 apply:

                   MT0080
                   DC00F0
                   #7232

 Print       Reads and displays the table of
             contents from the first tape of the
             set.

 Abort       Erases all previous settings and
             returns the program to the initial
             state.  All parameters remaining
             on the input line are ignored.

 Force       Normally, if disk and tape are on the
             same IOP overlapping will not occur.
             However, if the IOP capacity is sufficient
             the operator can force overlap of I/O
             operations.  The force option applies to
             the entire job.

 Inhibit     Similar to Force but used instead to
             prevent overlap of I/O operations even
             if the IOP configuration would otherwise allow it.

 X           The X parameter causes the operator
             to be prompted for input every time
             DEVDMP begins restore or compare on a
             new rotating memory device.  The input
             consists of an I/O address to substitute
             for the original rotating memory address
             present on the tape.







 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            71
 9.2 Command parameters (continued)

 ------------------------------------------------------------------------

 Y           Normaly, DEVDMP begins operations
             (for restore and compare) by skipping
             the program and table of contents on
             the first tape of a set.  Since each
             block and hence each tape is completely
             self-contained, any tape may be processed
             in any order.  To avoid infinite file
             skips on tapes other than the first
             of a set, however, the Y option must
             be specified.

 NOTE: DEVDMP will not automatically terminate a run unless the last tape
 of the set has been processed.  Normally DEVDMP will prompt for input
 expecting another tape I/O address.  Subsequent tapes read in the same
 job are not positioned after the first file before processing begins and
 thus must not have the DEVDMP bootstrap and set directory.  Therefore
 tapes to be compared or restored in random order must be processed in
 separate DEVDMP jobs.

 TCPV        Flawed track processing uses the TCPV
             compatible format of alternate track
             information found in the header (see
             description of this option under VOLINIT)


















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            72
 9.3 Command examples

 ------------------------------------------------------------------------

 1.  #7272,SAVE,MT081,DP1E2

 2.  COMPARE

 Save the DC32Q disk whose address is 1E2 on the tape unit 81.  After
 completion of the save entering the following command will compare
 (checkwrite) the tape against the disk.

 3.  #3282,MT0E1,DC0F2,SAVE,DN6250

 Save a 3282 disk on the tape unit 0E1, setting the density for every
 tape of the set to 6250 BPI.

 4.  DP0F0,MT0A2,COMP

 Compare the given disk with the given tape.  The model number is not
 necessary since, on compare and restore operations, the seek and record
 size information is contained in each record on the tape.

 5.  MT0E1,RESTORE,X

 Restore from E1, allowing the operator to reselect the disk address each
 time DEVDMP sees a different address on the tape.


















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            73
 9.4 Sense switch functions

 ------------------------------------------------------------------------

 SSW1         automatic checkwrite on restore

 SSW2         accept errors on tape/disk and continue

 SSW3         suppress disk progress report (every
              25 cylinders).

 SSW4         not used

































 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            74
 9.5 Operational notes

 ------------------------------------------------------------------------

 PRINT:

 This option will initialize DEVDMP so that the model-unit groups that
 appear on the console will be current and will be used in a subsequent
 save option.  Additional units or model numbers may be entered.  The
 abort option will reset the print-initialized information (irrelevent
 for compare/restore).

 The MT address is not affected by print and is not changed by DEVDMP
 from the last entered value.  This value will also appear on the
 bootable portion of the first tape, regardless of the unit from which
 the program was booted.

 Console operations:

 DEVDMP will enter the wait state if the console address is not X'0001'.
 Changing register 0 and clearing the wait will repeat the console
 initialization.

 Backspace (Control-H) and Tab (Control-I) will cause line cancellation.
 Null lines will be ignored and will cause the prompt to change from '>'
 to '?'.

 General format:

 Rotating memory data is written on tape in either one or two track
 records.  16K-bytes is currently the largest physical record written.

 In addition to compare and checkwrite during restore, integrity is
 further maintained by checking the observed record length against the
 expected length written in the header for each record on tape (16 bytes
 long).

 Disk error recovery:

 A standard technique is applied to all I/O errors on disks
 (sense-restore-repeat).  Ignoring of persistent errors is possible (see
 description of SSW2).  In no case are sectors-in-error zeroed or
 skipped.  Accepted data are always used as-is.


 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            75
 9.5 Operational notes (continued)

 ------------------------------------------------------------------------

 Job timing:

 All job time statistics are in elapsed time units (slow operators will
 show up here as longer processing time).

 Tape handling:

 The last tape of a set will be rewound online, all others offline
 (rewound and unloaded).

 Write protection violations on the first tape of a set while writing the
 bootstrap and directory will be tallied as tape errors, subsequent
 violations will not be tallied at all.




























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            76
 9.6 Absolute recovery and PCP interrupt

 ------------------------------------------------------------------------

      Idle, system reset, run will restart DEVDMP as if just loaded
 (without changing DC or MT addresses).  The PCP interrupt will cause a
 pause, giving the operator the chance to abort or continue.

      A PCP interrupt is simulated if an I/O abort occurs (SSW2 reset).
 The PCP interrupt can be used anytime.



































 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            77
 9.7 Format of rotating memory data on tape

 ------------------------------------------------------------------------

 The following is written only on the first tape of a set:

          Boot           (88 Bytes)
          Program 0      (at present 4, 4096-byte blocks)
          Program 1
          Program 2
          Program 3

          Table of Contents (see PRINT)

          -tapemark-

 After this point all tapes in the set are identical:

          physical record

              .
              .
              .

          pysical record

          -tapemark-

          label            *EOR*  implies more tapes follow in set
                           *EOF*  implies last tape in the set

          -tapemark-
          -tapemark-












 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            78
 9.8 Format details

 ------------------------------------------------------------------------

 Rotating memory record on tape:

 Word 0    I/O flags, size of data portion of block (8,24)
 Word 1    Seek Data (2 or 4 bytes active)
 Word 2    model number of rotating memory device
 Word 3    unit address of rotating memory device

 Data      one or two tracks of information from
           rotating memory device

 Table of contents on tape:

 Word 0    8 character creation date as
 Word 1    entered by operator when saved (MM/DD/YY)
 Word 2    Stack pointer doubleword for unit/model groups
 Word 3

 Data      Unit/model group stack    unit address
           as in memory at time      unit address
           of save command.             .
                                     model number
                                        .
                                        .
                                        .

 Stack order is reversed before processing to insure processing
 units in the same order as they were specified.














 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.  DEVDMP                                                            79
 9.9 Rotating memory devices recognized

 ------------------------------------------------------------------------

 Device     Dimension       Record Size        Records

 7202       128*16*360      32*360                  64      RADS
 7203       256*16*360      32*360                 128
 7204       512*16*360      32*360                 256
 7212       64*82*1024      12*1024                764
 7232       512*12*1024     12*1024                512
 3214       256*11*1024     11*1024                256

 7242       200*20*6*1024   12*1024                2000     DISKS
 7260       200*20*11*1024  11*1024                4000
 7270       400*20*6*1024   12*1024                4000
 7272       400*20*12*1024  12*1024                8000
 7275       400*19*11*1024  11*1024                7600
 3275       400*19*12*1024  12*1024                7600

 3281       546*30*16*1024  16*1024               16380
 3282       1092*30*16*1024 16*1024               32760
 3283       810*19*16*1024  16*1024               15390






















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.   DEVDMP                                                           80
 9.10 Tape length requirements

 ------------------------------------------------------------------------

            Total     Blocking     Total    Feet    Feet     Feet
 Device     Sectors   Factor       Blocks  (800)  (1600)   (6250)

 7232       512*12     12          512       681     354       97
 7242       200*20*6   12          2000     2660    1380      378
 7270       400*20*6   12          4000     5320    2760      756
 7272       400*20*12  12          8000    10640    5520     1511

 3281       546*30*16  16          16380   28774   14797     3988
 3282       1092*30*16 16          32760   57459   29594     7976
 3283       810*19*16  16          15390   27035   13902     3747

      From the above table it is seen that for 2400' reels, a 3281
 Winchester disk will require 12 reels of tape at 800 BPI but only two
 reels at 6250 BPI.


























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 9.   DEVDMP                                                           81
 9.11 Gap and block lengths

 ------------------------------------------------------------------------

 Density  Gap     Gap   12K block  16K block
          length  size  length     length

 800      .6      480   1.33333    1.756667
 1600     .6      960    .69000     .903333
 6250     .3     1875    .18884     .243453

 In the above table, gap lengths are given in inches and size is given in
 bytes.  The block lengths are given in feet and are understood to
 include one full gap at the appropriate density.  This table may be used
 to calculate the values given in the section on tape length
 requirements.





























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          82
 10.1 General notes

 ------------------------------------------------------------------------

     The I/O interrupt system for the ethernet diagnostic is essentially
 free-running.  This means always enabled (almost).  If an AIO
 instruction returns a device address not in the list presented with the
 SYST directive an error message is issued (spurious interrupt).  If an
 AIO returns a device address which already has an unprocessed interrupt
 stored an error message is issued (stacked interrupt).  Separate status
 tables are maintained for channel-end and attention interrupts.

     Subtests requiring a network connection are skipped in TST0 if the
 mask parameter of the SYST directive is given as 1.  Any subtest will be
 executed if explicitly specified (e.g.  TST1,34).

     The SYST directive resets the random number generator to an
 arbitrary but known starting condition.

     Error identification consists of a decimal number, a location in the
 program, and 8 hex digits of additional information (ERR, LOC, KEY).
 The error code is of the form NNXX, where NN usually equals the subtest
 number currently being executed, and XX is a further identification of
 the part of the subtest discovering the error.  Occasionally subroutines
 are called which might produce errors whose code will not indicate the
 current subtest in execution.  The utilities (TST3,P1) will usually
 identify their errors with a code of the form 83NX, where N is P1 from
 the TST3 directive.  The error KEY represents cycle number, device
 address, or count information.

     In general, the specified subtests are performed for each device
 listed in the SYST directive.  TST0, TST1, TST3, and TST4 all follow
 this rule (more or less).  TST2 (random exerciser) follows this rule if
 called automatically as part of TST0.  If called explicitly TST2 will
 attempt to use the first two units specified in the SYST (if present,
 unique, and connected to a network).  Two subtests also require a unique
 unit pair (connected to a network), namely 34 and 35.

      Standard DPM sense switch conventions apply to the Ethernet
 diagnostic with the exception of sense switch 2 (not used in DPM).  If
 set, subtest identification is suppressed for TST0, TST1, and TST4.  In
 addition, any of the cyclic tests of TST2 and TST3 will be terminated
 with summaries.


 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          83
 10.2 Functional tests

 ------------------------------------------------------------------------

     In the following descriptions, no network implies the controller is
 not connected to a transceiver.  Network present implies the controller
 is connected to a transceiver which itself is connected to a properly
 terminated ethernet coaxial cable.

 SUBTEST  FUNCTION
 -------  --------

 1.       Tests four basic i/o instructions. The
          order of testing is HIO, AIO, TIO, and TDV.

 2.       Tests basic subcontroller functions by issuing
          an i/o command with an invalid order with IUE
          set.  HIO, and TIO are issued to make sure the
          interrupt can be reset.

 3.       An i/o command with an invalid order is issued
          and the presence of UE is verified.

 4.       Tests interrupt generation and processing
          via an invalid order byte and the AIO instruction.

 5.       Normal interrupt generation is tested via a legal
          order byte and the AIO instruction.

 6.       The zero byte count interrupt is tested via a
          set mode order byte.

 7.       Basic integrity check of the NM-10 module is
          performed via the set mode order byte (self-diagnose).

 8.       All invalid modes are tested via the set mode order
          while various status bits associated with UE are
          checked.

 9.       All valid modes are tested via the set mode order,
          except for the self-diagnose mode which is tested
          separately in TST1,7.



 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          84
 10.2 Functional tests (continued)

 ------------------------------------------------------------------------

 10.      Tests read order rejection when no frame is
          present in the NM-10.

 11.      Tests rejection of write order when NM-10 offline
          and not in any loopback mode.

 12.      Tests IL handling by issuing set mode with
          buffer size of 7.

 13.      Tests IL handling for XMIT (address-insertion)
          by attempting XMIT with 1509, 1508, 8, and 7 bytes.

 14.      Tests IL handling for XMIT (non address-insertion)
          by attempting XMIT with 1515, 1514, 14, and 13 bytes.

 15.      Tests status response for the Load Physical Address
          order (uses sizes of 5, 6, and 7 bytes).

 16.      Tests status response for the Load/Delete Group
          Address orders using sizes of 378, 384,
          and for delete group address only,
          1509 and 1515 bytes.

 17.      Tests IL handling for Load/Delete Group Address
          (uses size of 378+6 bytes).

 18.      Tests Sense Statistics order.  Frame size bytes
          as well as status response are checked (uses
          sizes of 65 and 66 bytes).

 19.      Tests Sense Delay Times order.  Frame size bytes
          as well as status response are checked (uses
          sizes of 3 and 4 bytes).








 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          85
 10.2 Functional tests (continued)

 ------------------------------------------------------------------------

 20.      Tests status responses associated with a
          transmit-attention-receive sequence in the
          internal loopback mode.  A check is included
          to verify that HIO will reset the attention
          condition.  The receive buffer is specified to exactly
          accomodate the transmission and a zero remaining
          byte count is verified.

 21.      Tests status responses associated with a
          transmit-attention-receive sequence in the
          internal loopback mode.  The receive buffer
          is specified too large and the remaining
          byte count is verified.

 22.      Tests status responses associated with a
          transmit-attention-receive sequence in the
          internal loopback mode.  The receive buffer
          is specified too small and IL generation
          is verified.

 23.      Tests the ability of the controller to terminate
          operations.  Four loopbacks are attempted with
          byte counts of 256, 257, 258, and 259 going out.
          The input command is specified with a requested
          byte count of zero in each case (maximum of 64K bytes).

 24.      Four transmissions of 128-byte count patterns
          are made with receive operation consisting of
          2-link data chains with varying byte boundaries.
          The four input byte boundaries (link1/link2) are:
          0/0, 1/0, 1/1, and 0/1.










 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          86
 10.2 Functional tests (continued)

 ------------------------------------------------------------------------

 25.      Internal loopback mode is tested along with
          a possible full 32-bit data path.  A pattern of
          a sliding one bit in a background of zeroes is
          used (64 bytes long).

 26.      Same as subtest 25 with a pattern of a sliding
          zero in a background of ones.

 27.      Same as subtest 25 with interface loopback mode.

 28.      Same as subtest 26 with interface loopback mode.

 29.      Same as subtest 25 but with interface online to
          the ETHERNET.  This test works both with and without
          a network actually present.

 30.      Same as subtest 26 but with interface online
          (see note to subtest 29).

 31.      Tests the collision insertion diagnostic mode
          while online to the ETHERNET.

 32.      Tests the network loopback diagnostic mode
          while online to the ETHERNET.

















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          87
 10.2 Functional tests (continued)

 ------------------------------------------------------------------------

 33.      An attempt is made to cause an overflow condition
          by repeated self transmission (in loopback mode)
          without reading the waiting frames.  Status and
          statistics are verified.  Because of ambiguity
          in NM-10A behavior this subtest yields slightly
          different results depending on the online-loopback
          state of the NM-10A.  The subtest modifies its
          expectations appropriately.

 34.      If two units are unique and connected to an ethernet,
          an attempt is made to generate a collision by
          simultaneous transmission on both units.  The
          frame size of one of the transmissions is
          reduced one byte at-a-time until a collision
          is detected.  At present it has been found not
          possible to generate a collision by this method
          and therefore this subtest is not included in TST0.
          It can be explicitly executed, however, via TST1,34.

 35.      If two units are unique and connected to an
          ethernet, the results of the network loopback
          test are verified.



















 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          88
 10.2 Functional tests (continued)

 ------------------------------------------------------------------------

 36.      The response to load physical address is tested
          by the use of self-transmission in loopback mode.
          For each of 48 physical addresses (sliding ones,
          constrained never to produce a valid multicast
          address), the following is performed:
          load physical address, transmit to that address,
          transmit to the one's complement of that address.
          Data, frame format, status, and statistics are
          checked.  Because of ambiguity in NM-10A behavior,
          this subtest is not included in TST0.  It can
          be explicitly executed, however, via TST1,36.

 37.      Test response to broadcast in a loopback mode, before
          and after having explicitly deleted the broadcast
          group address from the table in the NM-10A.  Data,
          frame format, status, and statistics are verified.
          Not included in TST0, see note to 36.

 38.      Test response to multicast transmissions by adding
          group addresses and self transmissions in loopback
          mode.  After 48 addition-transmission pairs (sliding
          ones used for group addresses constrained to
          guarantee valid multicast address) the process is
          reversed: 48 deletion-transmission pairs are performed.
          All information is verified.  Because of ambiguity
          in NM-10A behavior, this subtest is not included
          in TST0, see note to 36.














 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          89
 10.3 Basic diagnostic directives

 ------------------------------------------------------------------------

 TST0,P1       Executes library of functional tests, proceeds
               to TST2 (random exerciser). P1 is optional
               and specifies the desired number of TST2 cycles.
               The default is 100 cycles.

 TST1,P1,P2    Executes range of subtests specified in any order
               (up or down).  If P2 not present, P1 specifies
               execution of single subtest (overrides SYST mask).

 TST4          Random functional testing.  A subtest is selected
               from the library at random and executed on all
               units specified in the SYST.





























 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          90
 10.4 Random exerciser

 ------------------------------------------------------------------------

 TST2,P1,P2,P3 Executes the random exerciser. P1 specifies the
               requested number of cycles (default is 100), P2
               and P3 specify the buffered transmission limits
               for unit0->unit1 and unit1->unit0 transmissions
               respectively (default is 8 in both cases).
               If P3 is zero only unit0->unit1 transmissions
               are performed.

               if entered from TST0, or if no network is present,
               then only unit0->unit1 transmissions are performed
               (in the loopback mode).

               If entered explicitly, only one unit is
               defined, and the network is present, then
               only unit0->unit1 transmissions are performed,
               online, with LIMT,4 used as destination address.

               If two unique units are present and the network
               is present the transmissions are made according
               to the limits (P2, P3) on both units, online with
               the physical address of each unit used as the
               appropriate destination.

               Each transmission on a given unit must ultimately
               result in a frame appearing on the same unit
               (loopback, single unit case), or on the other unit
               of the pair (online, two-unit case).  Up to 8
               transmissions of the same frame are performed
               on each relevent unit before reception and
               data checking occurs.











 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          91
 10.5 Diagnostic utilities

 ------------------------------------------------------------------------

 TST3,P1,P2,P3 Execute utility test specified by P1.

      Parameters P2 and P3 are unique to each utility.
      The P1 values and their corresponding functions are
      given as follows:

     1.  Sense, clear, and display statistics

     2.  Sense, clear, and display delay times

     3.  Reset and go online according to the value of P2.
     If P2 is zero online condition is normal, if nonzero
     the online condition is promiscuous and receive on error.

     4.  Continuously monitor and display network traffic.
     Assuming the controller is online (see TST3,3) each frame
     is displayed on the console as it is received.  If P2
     is nonzero the display is suppressed but reading and
     cycle snapshot are still performed.

     5.  Reset, go online or loopback (according to SYST) and
     generate specified number of frames.  The destination
     address is taken from LIMT,4.  The count and length
     are taken from P2 and P3 (both decimal).  Length is
     exclusive of header, addresses, and crc.

     For the following three utilities a single 6-byte transfer is made
 to each unit specified in the SYST directive.  The source of the data is
 always LIMT,4.

     6.  Add group address
     7.  Delete group address
     8.  Load physical address

     9.  Reset and echo frames received with optional
         display of frames on the console (P2>0).

    10.  Same as TST3,5 but no reset is performed.
    11.  Same as TST3,9 but no reset is performed.


 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 10.  Telefile Ethernet Controller diagnostic                          92
 10.6 Internal diagnostic parameters

 ------------------------------------------------------------------------

 LIMT,P1,P2,P3,P4 Select and alter internal diagnostic parameters.

     The parameter is specified via P1.  P2, P3, and P4
     are used in a manner specific to the particular
     parameter being altered by the LIMT directive.
     The various meanings of P1 are as follows:


     1.  Error detail flag.  If P2 is nonzero, I/O error
     reports will include bit for bit annotated displays
     of failures.  The default value of P2 is zero.

     2.  Maximum links in random data chain used by TST2.
     1<=P2<=20, where 20 is the default.

     3.  Data type (P2), seed (P3), and step (P4) for
     TST3,5.  The possible data types are as follows:

          0    fixed, value (P3)
          1    incremented, value (P2), step (P4)
          2    random, seed (P3)

     4.   Destination, group, or physical address for TST2,
     TST3,5 through TST3,8.  If P2 is zero use two
     bytes of P3 (right justified) and four bytes of P4
     to construct an ethernet address.  If P2 is nonzero
     the address is reset to the broadcast group address
     (six bytes of x'FF').  Both P3 and P4 are interpreted as HEX.

     5.  Set counter snapshot interval.  Used mainly by
     TST2, TST3 (4,5,9,10,11) to display cycle number
     versus time in seconds. P2 is the cycle increment at which
     to produce the display.  The snapshot interval is also
     currently used by TST1,37 to help investigate NM10-A
     broadcast behavior.






 ------------------------------------------------------------------------

 Telefile Diagnostic System                                       6/20/83
1
 END OF FILE
