                      SIMH/HP 21XX DIAGNOSTICS PERFORMANCE
                      ====================================
                             Last update: 2008-08-07


The HP 24396 diagnostic suite has been run against the SIMH HP 21xx simulation.
Diagnostic programs were obtained from two magnetic tapes, HP 24396-13601 Rev.
1713 and Rev. 2326, plus a few standalone paper tapes.  For each diagnostic, the
recommended standard tests were selected, plus any available optional tests that
broadened the test coverage.

Except where noted in the individual diagnostic reports, the test system
configuration is the default SIMH configuration with these alterations:

 * All I/O devices are enabled.
 * The CPU is configured as a 1000-E with 128KW of memory.

Detailed diagnostic configuration, operation, and results are given after the
summary table.  These may be used to duplicate the diagnostic results.


The results of the diagnostic runs are summarized below:

                                                 Date  SIMH
 DSN    Diagnostic Name                          Code  Vers.  Result
------  ---------------------------------------  ----  -----  -------------
000200  Diagnostic Configurator Pretest          1627  3.2-3  Passed

101100  Memory Reference Instruction Group       1624  3.2-3  Passed
101001  Alter-Skip Instruction Group             1431  3.2-3  Passed
101002  Shift-Rotate Instruction Group           1431  3.2-3  Passed
102200  Core Memory (2100/16/15/14)              1624  3.3-0  Passed
102104  Semiconductor Memory (21MX)              1644  3.2-3  Passed

101004  EAU Instruction Group                    1431  3.2-3  Passed
101207  Floating Point Instruction Group         1551  3.2-3  Passed
102001  Memory Protect                           1431  3.7-0  Passed
102002  Memory Parity Check                      1431    -    No simulation
102305  Memory Protect/Parity Error              1705  3.3-0  Partial

101206  Power Fail/Auto Restart                  1635    -    No simulation
141203  I/O Instruction Group - I/O Extender     2326  3.2-3  Passed
143300  General Purpose Register                 1813  3.2-3  Passed
101105  Direct Memory Access (2114/15/16)        1502  3.7-0  Passed
101220  Direct Memory Access (2100/21MX)         1705  3.2-3  Passed

101011  Extended Instruction Group (Index)       1432  3.2-3  Passed
101112  Extended Instruction Group (Word, Byte)  1728  3.2-3  Passed
101110  2100 Fast FORTRAN Package                1632  3.4-0  Partial
101213  M/E-Series Fast FORTRAN Package 1        1822  3.4-0  Passed
101114  M/E-Series Fast FORTRAN Package 2        1632  3.4-0  Passed
101121  F-Series FPP/SIS/FFP                     1926  3.7-0  Passed
101016  2000/Access Comm Processor for 2100      1526  3.2-3  Partial

102103  Memory Expansion Unit                    1830  3.2-3  Passed
102103  Semiconductor Memory Microcoded 21MX     1644    -    No simulation
103301  Time Base Generator                      1830  3.2-3  Passed
103115  12936 Privileged Interrupt               1643  3.8-1  Passed
143300  12620 Breadboard Interface/Priv Int      1813  3.8-1  Passed
103105  12908/12978 WCS 256 Word                 1502    -    No simulation
103023  13197 WCS 1024 Word                      1640    -    No simulation
103207  12889 Hardwired Serial Interface         1717    -    No simulation
103122  59310 Interface Bus Interface            1728    -    No simulation

103003  12587 Asynchronous Data Set Interface    1552    -    No simulation
103110  12920 Asynchronous Multiplexer (Data)    1805  3.7-1  Passed
103011  12920 Asynchronous Multiplexer (Cntl)    1444  3.7-1  Passed
103012  12621 Synchronous Data Set (Receive)     1532    -    No simulation
103013  12622 Synchronous Data Set (Send)        1532    -    No simulation
103116  12967 Synchronous Interface              1438    -    No simulation
103017  12966 Asynchronous Data Set              1519  3.8-0  Passed
103121  12968 Asynchronous Comm. Interface       1602    -    No simulation
103024  12821 ICD Disc Interface                 1928    -    No simulation

104000  2600 Keyboard Display Terminal           1615    -    No simulation
104003  Teleprinter                              1509  3.2-3  Partial
144105  2762A/B Terminal (Terminet)              1546    -    No simulation
104007  2615 Video Terminal                      1347    -    No simulation
104011  2640 Interactive Terminal                1502    -    No simulation
104012  2644 Mini Data Station (non CTU)         1542    -    No simulation
104013  2644 Mini Data Station (CTU Only)        1542    -    No simulation
104017  92900 Terminal Subsystem (3070, 40280)   1643    -    No simulation

105000  2610/14 Line Printer                     1451    -    No simulation
105101  2767 Line Printer                        1611  3.3-0  Passed
105102  2607 Line Printer                        1446  3.3-0  Passed
145103  2613/17/18 Line Printer                  1633    -    No simulation
105104  9866 Line Printer                        1541    -    No simulation
105106  2631 Printer                             1913    -    No simulation
105107  2635 Printing Terminal                   1913    -    No simulation
105105  2608 Line Printer                        2026    -    No simulation

111001  Disc File (2883)                         1451  3.3-0  Partial
111104  12732 Flexible Disc Subsystem            1708    -    No simulation
151302  7900/01 Cartridge Disc                   1805  3.2-3  Partial
151403  7905/06/20/25 Disc                       1805  3.3-1  Partial
104117  92900 Terminal Subsystem                 1814    -    No simulation

112200  9-Track Magnetic Tape (7970, 13181/3)    2040  3.2-3  Partial
112102  7/9-Track Magnetic Tape (13184 Interf.)  1629    -    No simulation
010000  Diagnostic Cross Link                    1627    -    No simulation
011000  7900/05/20 Disc Initialization           1627    -    No simulation
146200  Paper Tape Reader/Punch                  1725  3.2-3  Passed
107000  Digital Plotter Interface (CALCOMP)      1540    -    No simulation
113100  2892 Card Reader                         1537    -    No simulation
113001  2894 Card Reader Punch                   1728    -    No simulation
113003  7261 Card Reader                         1546    -    No simulation
103006  12909B PROM Writer                       1420    -    No simulation


The following stand-alone diagnostics were run for devices not supported by the
24396 suite:

                                                           Date  SIMH
Part Number   DSN    Diagnostic Name                       Code  Vers.  Result
-----------  ------  ------------------------------------  ----  -----  ----------
13207-16001  101217  2000/Access Comm Processor for 21MX   1728  3.2-3  Passed
20433-60001    --    HP 3030 Magnetic Tape Subsystem        --     -    Not tested
22682-16017  177777  HP 2100 Fixed Head Disc/Drum (277x)   1612  3.3-0  Passed
24197-60001    --    12875 Processor Interconnect Cable     B    3.7-1  Passed
24203-60001    --    HP2100A Cartridge Disc Memory (2871)   A    3.3-0  Partial


The following online diagnostics were run for devices not supported by the
offline diagnostics:

                                              Date    Host    Date  SIMH
Part Number  Diagnostic Name                  Code  Op. Sys.  Code  Vers.  Result
-----------  -------------------------------  ----  --------  ----  -----  ----------
92067-16013  Extended Memory Area Firmware    1805  RTE-IVB   5010  3.8-0  Passed
92084-16423  Virtual Memory Area Firmware     2121  RTE-6/VM  6200  3.8-0  Passed
12824-16002  Vector Instruction Set Firmware  2026  RTE-IVB   5010  3.8-0  Passed
12829-16006  Vector Instruction Set Firmware  2226  RTE-6/VM  6200  3.8-0  Passed
92835-16006  SIGNAL/1000 Firmware Diagnostic  2040  RTE-6/VM  6200  3.8-0  Passed


The "SIMH Version" is the version number of the earliest SIMH system that was
tested with the given diagnostic.  Earlier versions may or may not work
properly.

The "Result" column indicates the level of success in passing the given
diagnostic:

  Term           Meaning
  -------------  ---------------------------------------------------------------
  Passed         All of the standard tests relevant to the hardware model passed
                 without error.  Optional "utility" tests, where present, were
                 not run unless they broadened the test coverage.

  Partial        One or more of the standard tests relevant to the hardware
                 model were either excluded or failed as expected, due to known
                 limitations in the simulation, e.g., the lack of "defective
                 cylinder" flags in a disc simulation.

  Failed         One or more of the standard tests relevant to the hardware
                 model failed unexpectedly.

  Not tested     The diagnostic has not been run with the device simulation.

  No simulation  A simulation of the given device does not exist.

See the "Test Notes" associated with each diagnostic report below for details on
subsets, limitations, or errors encountered.



24396 DIAGNOSTIC SUITE DETAILED EXECUTION AND RESULTS
=====================================================

Each execution note below presumes that the target diagnostic has been loaded.
For all runs other than the diagnostic configurator pretest, the configurator
was used in automatic mode to load the target diagnostic via its Diagnostic
Serial Number (DSN), as follows:

  sim> attach -r MSC0 24396-13601_Rev-2326.abin.tape
  sim> deposit S 000000
  sim> boot MSC0

  HALT instruction 102077

  sim> deposit A [DSN]
  sim> deposit B 000000
  sim> deposit S 113011
  sim> reset
  sim> go 100

For the pretest, only the first three commands above were used to load the
diagnostic configurator.



--------------------------------------------
DSN 000200 - Diagnostic Configurator Pretest
--------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu.c)

CONFIGURATION:  sim> deposit S 000011
                sim> reset
                sim> go 2

TEST REPORT:    HALT instruction 102077

TEST RESULT:    Passed.



-----------------------------------------------
DSN 101100 - Memory Reference Instruction Group
-----------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu.c)

CONFIGURATION:  sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    HALT instruction 102077

TEST RESULT:    Passed.



------------------------------------
DSN 101001 - Alter-Skip Instructions
------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu.c)

CONFIGURATION:  sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    HALT instruction 102077

TEST RESULT:    Passed.



--------------------------------------
DSN 101002 - Shift-Rotate Instructions
--------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu.c)

CONFIGURATION:  sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    HALT instruction 102077

TEST RESULT:    Passed.



----------------------------------------
DSN 102200 - Core Memory (2100/16/15/14)
----------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu.c)

CONFIGURATION:  sim> set CPU 2100
                sim> set CPU 32K

                sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    HALT instruction 102077

TEST RESULT:    Passed.



---------------------------------
DSN 102104 - Semiconductor Memory
---------------------------------

TESTED DEVICE:  CPU (hp2100_cpu.c)

CONFIGURATION:  sim> deposit S 001000
                sim> reset
                sim> go 100

                HALT instruction 102075

                sim> deposit A 054777
                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    HALT instruction 102077

TEST RESULT:    Passed.

TEST NOTES:     The standard tests 00-10, plus optional tests 13, 14, and 16 are
                executed.



----------------------------------
DSN 101004 - EAU Instruction Group
----------------------------------

TESTED DEVICE:  CPU (hp2100_cpu1.c)

CONFIGURATION:  sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    2100 SERIES EAU DIAGNOSTIC
                END OF PASS        1

                HALT instruction 102077

TEST RESULT:    Passed.



---------------------------------------------
DSN 101207 - Floating Point Instruction Group
---------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu2.c)

CONFIGURATION:  sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    2100-21MX FLOATING POINT DIAGNOSTIC
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



---------------------------
DSN 102001 - Memory Protect
---------------------------

TESTED DEVICE:  MP (hp2100_cpu.c)

CONFIGURATION:  sim> set CPU 2100
                sim> set CPU 32K

                sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    HP 2100 SERIES MEMORY PROTECT DIAGNOSTIC
                H07. PRESS PRESET (EXT/INT), RUN

                HALT instruction 102007

                sim> reset
                sim> go

                H13. PRESS HALT, PRESET(INT), RUN
                IN LESS THAN 15 SEC.

                [CTRL+E]
                Simulation stopped

                sim> reset
                sim> go

                PASS  000001

                HALT instruction 102077

TEST RESULT:    Passed.



----------------------------------------
DSN 102305 - Memory Protect/Parity Error
----------------------------------------

TESTED DEVICE:  MP (hp2100_cpu.c)

CONFIGURATION:  sim> set LPS diag
                sim> deposit S 140014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 001000
                sim> reset
                sim> go

                MEMORY PROTECT-PARITY ERROR DIAGNOSTIC

                HALT instruction 102075

                sim> deposit A 035777
                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    H061 POWER DOWN COMPUTER
                  INSTALL JUMPERS PER TABLE 3-5 IN MOD
                  POWER UP COMPUTER

                HALT instruction 102061

                sim> set MP jsbout,intout,sel1in
                sim> go

                H314 PRESS HALT,PRESET AND RUN WITHIN 30 SECONDS

                [CTRL+E]
                Simulation stopped

                sim> reset
                sim> go

                PASS 000001

                H062 POWER DOWN COMPUTER
                  SET JUMPERS TO INITIAL SETTINGS
                  PER TABLE 3-1 IN MOD
                  POWER UP COMPUTER

                HALT instruction 102062

                sim> set MP jsbin,intin,sel1out
                sim> go

                HALT instruction 102077

TEST RESULT:    Partially passed.

TEST NOTES:     Test 10 is not executed.  This test verifies parity error
                detection.  This feature is not simulated.



----------------------------------
DSN 141103 - I/O Instruction Group
----------------------------------

TESTED DEVICE:  CPU (hp2100_cpu.c)

CONFIGURATION:  sim> set LPS diag
                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    I-O INSTRUCTION GROUP & CHANNEL OR
                EXTENDER DIAGNOSTIC DSN 141103
                H033 SET S-REG TO 125252, PRESS RUN

                HALT instruction 102033

                sim> deposit S 125252
                sim> go

                H033 SET S-REG TO 052525, PRESS RUN

                HALT instruction 102033

                sim> deposit S 052525
                sim> go

                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



-------------------------------------
DSN 143300 - General Purpose Register
-------------------------------------

TESTED DEVICE:  LPS (hp2100_lps.c)

CONFIGURATION:  sim> set LPS diag
                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    GENERAL PURPOSE REGISTER DIAGNOSTIC,  DSN 143300
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BASIC I-O COMPLETED

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



----------------------------------------------
DSN 101105 - Direct Memory Access (2114/15/16)
----------------------------------------------

TESTED DEVICE:  DMA0/DMA1 (hp2100_cpu.c)

CONFIGURATION:  sim> set CPU 2116
                sim> set CPU 16K
                sim> set LPS diag

                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    H0. START DMA DIAGNOSTIC

                HALT instruction 102027

                sim> reset
                sim> go

                H77. END DIAGNOSTIC

                HALT instruction 102077

TEST RESULT:    Passed.



----------------------------------------------
DSN 101105 - Direct Memory Access (2114/15/16)
----------------------------------------------

TESTED DEVICE:  DMA0 (hp2100_cpu.c)

CONFIGURATION:  sim> set CPU 2114
                sim> set CPU 16K
                sim> set LPS diag

                sim> deposit 003612 004036

                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    H0. START DMA DIAGNOSTIC

                HALT instruction 102027

                sim> reset
                sim> go

                H77. END DIAGNOSTIC

                HALT instruction 102077

TEST RESULT:    Passed.

TEST NOTES:     Diagnostic tapes 24322-16001 Revs. 1431 and 1502 have a bug in
                Test 17.  Test 17 checks byte unpacking for output transfers on
                2115 and 2116 computers.  The documentation says that it is not
                performed on 2114 computers.  The prolog for Test 17 does check
                if packing is supported, and if not, it skips the test.

                However, the target of the skip is not the entry to Test 20 but
                is instead the short version of Test 17.  When DMA channel 2 is
                tested in Test 17, it fails with:

                  E53. D2 FLG CLR
                  E71. D2 OUT. GOOD=000001, BAD=000000

                ...because there is no DMA channel 2 on the 2114.

                We work around this problem by setting the jump target to Test
                20 with "deposit 003612 004036".



---------------------------------------------
DSN 101220 - Direct Memory Access (2100/21MX)
---------------------------------------------

TESTED DEVICE:  DCPC0/DCPC1 (hp2100_cpu.c)

CONFIGURATION:  sim> set LPS diag
                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    DMA-DCPC DIAGNOSTIC

                H324 PRESS PRESET AND RUN

                HALT instruction 107024

                sim> reset
                sim> go

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



-----------------------------------------------
DSN 101011 - Extended Instruction Group (Index)
-----------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu2.c)

CONFIGURATION:  sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    EIG (INDEX) DIAGNOSTIC
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



---------------------------------------------------------
DSN 101112 - Extended Instruction Group (Word, Byte, Bit)
---------------------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu2.c)

CONFIGURATION:  sim> set LPS diag
                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    EIG (WORD,BYTE,BIT) DIAGNOSTIC  DSN 101112
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



--------------------------------------
DSN 101110 - 2100 Fast FORTRAN Package
--------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu3.c)

CONFIGURATION:  sim> set CPU 2100
                sim> set CPU 32K
                sim> set CPU FFP

                sim> deposit S 000013
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    START 2100A-S FFP DIAGNOSTIC
                H030 .GOTO TEST
                H050 .ENTR TEST
                H060 .ENTP TEST
                H100 .SETP TEST
                H110 ..MAP TEST
                H120 SNGL TEST
                H130 DBLE TEST
                H140 .XADD TEST

                TEST  07
                E142 NOT INTERRUPTIBLE

                HALT instruction 106042

                sim> go

                H150 .XSUB TEST
                H160 .XMPY TEST

                TEST  11
                E162 NOT INTERRUPTIBLE

                HALT instruction 106062

                sim> go

                H200 .XDIV TEST
                H210 .DFER TEST
                H220 .XFER TEST
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Partially passed.

TEST NOTES:     Tests 07 and 11 test the interruptibility of the .XADD and .XMPY
                instructions.  These features are not simulated.



----------------------------------------------
DSN 101213 - M/E-Series Fast FORTRAN Package 1
----------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu3.c)

CONFIGURATION:  sim> set CPU FFP
                sim> set LPS diag

                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    START 21MX FFP DIAGNOSTIC 1
                H110 ..MAP TEST
                H120 SNGL TEST
                H130 DBLE TEST
                H210 .DFER TEST
                H220 .XFER TEST
                H230 PWR2 TEST
                H240 .PACK TEST
                H250 FLUN TEST
                H260 .XPAK TEST
                H300 .XCOM TEST
                H310 ..DCM TEST
                H320 DDINT TEST
                H330 .CFER TEST
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



----------------------------------------------
DSN 101114 - M/E-Series Fast FORTRAN Package 2
----------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu3.c)

CONFIGURATION:  sim> set CPU FFP
                sim> set LPS diag

                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    START 21MX FFP DIAGNOSTIC 2
                H030 .GOTO TEST
                H050 .ENTR TEST
                H060 .ENTP TEST
                H100 .SETP TEST
                H115 XADD TEST
                H125 XSUB TEST
                H135 XMPY TEST
                H140 .XADD TEST
                H150 .XSUB TEST
                H160 .XMPY TEST
                H200 .XDIV TEST
                H215 XDIV TEST
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



---------------------------------
DSN 101121 - F-Series FPP/SIS/FFP
---------------------------------

TESTED DEVICE:  CPU (hp2100_cpu3.c)

CONFIGURATION:  sim> set CPU 1000-F
                sim> set LPS diag

                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    FPP-SIS-FFP DIAGNOSTIC  DSN 101121
                BEGIN BASIC CONTROL TEST
                OVFL TEST
                CONF TEST
                BASE RETN TEST
                SIS1 RETN TEST
                SIS2 RETN TEST
                SIS3 RETN TEST
                FPP1 RETN TEST
                FFP2 RETN TEST
                FFP3 RETN TEST
                END BASIC CONTROL TEST
                LONG  PASSES
                FIXS TEST
                FIXD TEST
                FLTS TEST
                FLTD TEST
                ADD  TEST
                SUB  TEST
                MPY  TEST
                DIV  TEST
                ACC  TEST
                SIS1 TEST
                SIS2 TEST
                SIS3 TEST
                FFP1 TEST
                FFP2 TEST
                FFP3 TEST
                PASS  00001

                HALT instruction 102077

TEST RESULT:    Passed.



------------------------------------------------
DSN 101016 - 2000/Access Comm Processor for 2100
------------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu2.c)

CONFIGURATION:  sim> set CPU 2100
                sim> set CPU 32K
                sim> set CPU IOP

                sim> deposit S 000013
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    2100 2000-ACCESS COMM. PROC. FIRMWARE DIAGNOSTIC
                H030 CRC TEST
                H040 ENQ, DEQ AND PENQ TESTS
                H060 IAL TEST
                H110 READF, SAVE AND RESTR TESTS
                H120 LAI AND SAI TESTS
                H130 PFREX TEST
                H140 PFREI TEST
                H150 PFRIO TEST
                H160 STORE-LOAD BYTE, TRSLT
                AND BYTE MOVE TEST

                TEST  10
                E165 TRSLT NOT INTERRUPTIBLE

                HALT instruction 106065

                sim> go

                H230 WORD MOVE TEST

                TEST  11
                E234 WORD MOVE NOT INTERRUPTIBLE

                HALT instruction 103034

                sim> go

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Partially passed.

TEST NOTES:     Tests 10 and 11 test the interruptibility of the TRSLT and MWORD
                instructions.  These features are not simulated.



----------------------------------
DSN 102103 - Memory Expansion Unit
----------------------------------

TESTED DEVICE:  CPU (hp2100_cpu2.c)

CONFIGURATION:  sim> set LPS diag
                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 001000
                sim> reset
                sim> go

                MEMORY EXPANSION MODULE DIAGNOSTIC, DSN = 102103

                HALT instruction 102075

                sim> deposit A 177777
                sim> deposit B 000037
                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    H115 PRESS HALT-PRESET-RUN IN LESS THAN 10 SECONDS

                [CTRL+E]
                Simulation stopped

                sim> reset
                sim> go

                H117 PRESET TEST COMPLETE
                H327 00128K OF CONTIGUOUS MEMORY INSTALLED
                H024 PRESS PRESET, RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.

TEST NOTES:     The standard tests 00-22 plus optional tests 23 and 24 are
                executed.

                Test 25 (Register Crusher Test) is not executed.  This test is
                designed specifically for the RAM chips present on the hardware
                and isn't relevant to simulation.

                Test 23 cannot be run with more than 256K of memory, or the
                diagnostic will be corrupted.  There is a fixed-size table in
                revision 1830 that overflows if memory size is greater than
                256K.



--------------------------------
DSN 103301 - Time Base Generator
--------------------------------

TESTED DEVICE:  CLK (hp2100_stddev.c)

CONFIGURATION:  sim> set CLK diag
                sim> deposit S 100013
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    TBG DIAGNOSTIC, DSN = 103301
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H030 TEST 01 IN PROGRESS
                H030 TEST 02 IN PROGRESS
                H030 TEST 03 IN PROGRESS
                H030 TEST 04 IN PROGRESS
                H030 TEST 05 IN PROGRESS
                H030 TEST 06 IN PROGRESS
                H030 TEST 07 IN PROGRESS
                H030 TEST 10 IN PROGRESS
                H030 TEST 11 IN PROGRESS
                H030 TEST 12 IN PROGRESS
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



---------------------------------
DSN 103115 - Privileged Interrupt
---------------------------------

TESTED DEVICE:  PIF (hp2100_pif.c)

CONFIGURATION:  sim> set PIF 12936A
                sim> set LPT DEV=44

                sim> deposit S 004414
                sim> reset
                sim> go 100

                HALT instruction 102070

                sim> deposit S 000037
                sim> go

                HALT instruction 102074

                sim> deposit S 000000
                sim> go

TEST REPORT:    12936 PRIVILEGED INTERRUPT CARD DIAGNOSTIC
                H032 PRESS PRESET(EXT), RUN

                HALT instruction 102032

                sim> reset
                sim> go

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



-------------------------------------
DSN 143300 - General Purpose Register
-------------------------------------

TESTED DEVICE:  PIF (hp2100_pif.c)

CONFIGURATION:  sim> set PIF 12620A

                sim> deposit S 000037
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 001000
                sim> go

TEST REPORT:    GENERAL PURPOSE REGISTER DIAGNOSTIC,  DSN 143300

                HALT instruction 102075

                sim> deposit A 000001
                sim> deposit S 000000
                sim> go

                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BASIC I-O COMPLETED

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



---------------------------------------------------
DSN 103110 - 12920A Asynchronous Multiplexer (Data)
---------------------------------------------------

TESTED DEVICE:  MUX, MUXL (hp2100_mux.c)

CONFIGURATION:  sim> set MUX DIAG
                sim> deposit S 004040
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    ASYNC MULTIPLEXER DATA BOARD DIAGNOSTIC   DSN 103110
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



---------------------------------------------------
DSN 103011 - 12920A Asynchronous Multiplexer (Cntl)
---------------------------------------------------

TESTED DEVICE:  MUXM (hp2100_mux.c)

CONFIGURATION:  sim> set MUX DIAG
                sim> deposit S 004042
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    ASYNC MULTIPLEXER CONTROL BOARD DIAGNOSTIC
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



----------------------------------------
DSN 103017 - 12966 Asynchronous Data Set
----------------------------------------

TESTED DEVICE:  BACI (hp2100_baci.c)

CONFIGURATION:  sim> set BACI realtime
                sim> set BACI diag
                sim> deposit S 000035
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    BUFFERED ASYNC COMM INTFC DIAG
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                PASS 000001

TEST RESULT:    Passed.



------------------------
DSN 104003 - Teleprinter
------------------------

TESTED DEVICE:  TTY (hp2100_stddev.c)

CONFIGURATION:  sim> deposit S 000011
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 001000
                sim> reset
                sim> go

                START TTY DIAGNOSTIC

                HALT instruction 102075

                sim> deposit A 000373
                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H030 TURN TTY PUNCH ON
                PRESS RUN

                HALT instruction 102030

                sim> attach TTY2 scratch.2752.punch
                sim> go

                H045 TURN TTY PUNCH OFF
                PRESS RUN

                HALT instruction 102045

                sim> detach TTY2
                sim> deposit S 100000
                sim> go

                HALT instruction 102076

                sim> go

                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
                 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_

                HALT instruction 102076

                sim> set console WRU=003
                sim> go

                INPUT THE FOLLOWING:
                1    2    3    4    5    6    7    8    9    0    :    -

                Q    W    E    R    T    Y    U    I    O    P

                A    S    D    F    G    H    J    K    L    ;

                Z    X    C    V    B    N    M    ,    .    /

                SHIFT+
                !    "    #    $    %    &    '    (    )    *    =

                _    @    +    ^    <    >    ?

                CNTRL+
                WRU  TAPE NTAP XOFF EOT  RU   BELL TAB  VT   FORM


                RBOT CR   LF


                HALT instruction 102076

                sim> set console WRU=005
                sim> go

                INPUT ANY KEY
                T    H    I    S    040  I    S    040  A    040
                T    E    S    T

                [CTRL+E]
                Simulation stopped

                sim> deposit S 000002
                sim> go

                [CTRL+E]
                Simulation stopped

                sim> deposit S 000000
                sim> go

                H044 INPUT TERMINATED

                ECHO MODE ANY INPUT IS ECHOED
                THIS IS A TEST

                [CTRL+E]
                Simulation stopped

                sim> deposit S 000002
                sim> go

                [CTRL+E]
                Simulation stopped

                sim> deposit S 100000
                sim> go

                H044 INPUT TERMINATED

                HALT instruction 102076

                sim> deposit TTY TTIME 158000
                sim> deposit S 000000
                sim> go

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Partially passed.

TEST NOTES:     Test 2 is not executed.  This test uses the teleprinter paper
                tape reader.  This feature is not simulated.

                Test 7 is the oscillator tolerance test, so the TTY TTIME is set
                for realistic timing.



------------------------------
DSN 105101 - 2767 Line Printer
------------------------------

TESTED DEVICE:  LPS (hp2100_lps.c)

CONFIGURATION:  sim> set LPS realtime
                sim> attach LPS scratch.2767.printer
                sim> deposit S 000014
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    2767 L.P. DIAGNOSTIC
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H035 TURN OFF L.P. POWER

                HALT instruction 102035

                sim> set LPS poweroff
                sim> go

                H036 TURN ON L.P. POWER

                HALT instruction 102036

                sim> set LPS poweron
                sim> go

                H033 PUT L.P. ON-LINE

                HALT instruction 102033

                sim> set LPS online
                sim> go

                H034 MASTER CLEAR L.P.

                HALT instruction 102034

                sim> set LPS offline
                sim> go

                H033 PUT L.P. ON-LINE

                HALT instruction 102033

                sim> set LPS online
                sim> go

                H040 PUT L.P. OFF-LINE.  TOGGLE TOP-OF-FORM SWITCH

                HALT instruction 102040

                sim> set LPS offline
                sim> go

                H033 PUT L.P. ON-LINE

                HALT instruction 102033

                sim> set LPS online
                sim> go

                H041 PUT L.P. OFF-LINE.  TOGGLE PAPER-STEP 5 TIMES

                HALT instruction 102041

                sim> set LPS offline
                sim> go

                H033 PUT L.P. ON-LINE

                HALT instruction 102033

                sim> set LPS online
                sim> go

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.

TEST NOTES:     The simulation provides no manual Master Clear, Top of Form, or
                Paper Step functions, so these are merely presumed above.



------------------------------
DSN 105102 - 2607 Line Printer
------------------------------

TESTED DEVICE:  LPT (hp2100_lpt.c)

CONFIGURATION:  sim> attach LPT scratch.2607.printer
                sim> deposit S 100015
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 001000
                sim> reset
                sim> go

                2607 LINE PRINTER DIAGNOSTIC

                HALT instruction 102075

                sim> deposit A 000377
                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H040 PWR OFF LP,PRESS RUN

                HALT instruction 102040

                sim> set LPT poweroff
                sim> go

                H041 PWR ON LP,READY LP,PRESS RUN

                HALT instruction 102041

                sim> set LPT poweron
                sim> go

                H042 PRINT SW OFF,PRESS RUN

                HALT instruction 102042

                sim> set LPT offline
                sim> go

                H043 PRINT SW ON,PRESS RUN

                HALT instruction 102043

                sim> set LPT online
                sim> go

                H044 OPEN PLATEN,PRESS RUN

                HALT instruction 102044

                sim> set LPT offline
                sim> go

                H045 CLOSE PLATEN,PRESS RUN

                HALT instruction 102045

                sim> set LPT online
                sim> go

                H046 REMOVE PAPER FROM LP,PRESS RUN

                HALT instruction 102046

                sim> detach LPT
                sim> go

                H047 RESTORE PAPER IN LP, READY LP,PRESS RUN

                HALT instruction 102047

                sim> attach LPT scratch.2607.printer
                sim> go

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.

TEST NOTES:     The standard tests 00-07 are executed.  Test 08 (operator
                design) is selected as a standard test in this diagnostic only
                and so is excluded manually.



-----------------------------------------------------
DSN 111001 - HP2100A Disc File (2883) (multiple unit)
-----------------------------------------------------

TESTED DEVICE:  DQ (hp2100_dq.c)

CONFIGURATION:  sim> attach DQC0 scratch.U0.2883.disc
                sim> attach DQC1 scratch.U1.2883.disc
                sim> reset
                sim> go 100

                H0 HP 2100 SERIES DISC FILE(2883) DIAGNOSTIC

                H72 ENTER SELECT CODES,DMA CHANNEL IN SWITCH REGISTER,PRESS RUN

                HALT instruction 107001

                sim> deposit S 002411
                sim> go

                H1 ENTER PROGRAM OPTIONS IN SWITCH REGISTER,PRESS RUN

                HALT instruction 107077

                sim> deposit S 000400
                sim> go

TEST REPORT:    H65 PASS  0001
                H65 PASS  0002

                [CTRL+E]
                Simulation stopped

TEST RESULT:    Passed.

TEST NOTES:     Two passes are required to test all head/unit combinations.



--------------------------------------------------------
DSN 111001 - HP2100A Disc File (2883) (user interaction)
--------------------------------------------------------

TESTED DEVICE:  DQ (hp2100_dq.c)

CONFIGURATION:  sim> attach DQC0 scratch.U0.2883.disc
                sim> reset
                sim> go 100

                H0 HP 2100 SERIES DISC FILE(2883) DIAGNOSTIC

                H72 ENTER SELECT CODES,DMA CHANNEL IN SWITCH REGISTER,PRESS RUN

                HALT instruction 107001

                sim> deposit S 002411
                sim> go

                H1 ENTER PROGRAM OPTIONS IN SWITCH REGISTER,PRESS RUN

                HALT instruction 107077

                sim> deposit S 000142
                sim> go

TEST REPORT:    H66 SET FORMAT SWITCH ON UNIT  0,PUSH RUN

                HALT instruction 102002

                sim> go

                H37 READ ADDRESS IN S0
                E47 DATA WORD 0000 IS 000000 SHOULD BE  100000
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 0002 UNIT 00

                HALT instruction 102001

                sim> go

                H37 READ ADDRESS IN S0
                E47 DATA WORD 0000 IS 000000 SHOULD BE  100001
                H51 CYL 0001 HEAD 01 SECTOR 00 WORD COUNT 0002 UNIT 00

                HALT instruction 102001

                sim> go

                H33 WRITE DEFECTIVE TRACK IN S0
                E64 STATUS IS 000000 SHOULD BE  000031
                H51 CYL 0000 HEAD 01 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H41 READ DEFECTIVE TRACK IN S0
                E64 STATUS IS 000000 SHOULD BE  000031
                H51 CYL 0000 HEAD 01 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H67 CLEAR FORMAT SWITCH ON UNIT  0,PUSH RUN

                HALT instruction 102002

                sim> go

                H33 WRITE DEFECTIVE TRACK IN S0
                E64 STATUS IS 000000 SHOULD BE  000031
                H51 CYL 0000 HEAD 01 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H41 READ DEFECTIVE TRACK IN S0
                E64 STATUS IS 000000 SHOULD BE  000031
                H51 CYL 0000 HEAD 01 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H42 WRITE PROTECTED TRACK IN S0
                E64 STATUS IS 000000 SHOULD BE  000011
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H36 WRITE ADDRESS IN  S0
                E64 STATUS IS 000000 SHOULD BE  000011
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 0046 UNIT 00

                HALT instruction 102001

                sim> go

                H66 SET FORMAT SWITCH ON UNIT  0,PUSH RUN

                HALT instruction 102002

                sim> go

                H67 CLEAR FORMAT SWITCH ON UNIT  0,PUSH RUN

                HALT instruction 102002

                sim> go

                H70 DISABLE UNIT   0,PUSH RUN

                HALT instruction 102002

                sim> set DQC0 unloaded
                sim> go

                H40 ENABLE UNIT  0

                [CTRL+E]
                Simulation stopped

                sim> set DQC0 loaded
                sim> go

                H71 PRESS PRESET THEN PRESS RUN

                HALT instruction 102002

                sim> deposit S 010140
                sim> reset
                sim> go

                H74 SHORT PASS
                H65 PASS  0001

                HALT instruction 102077

TEST RESULT:    Partially passed.

TEST NOTES:     Step 0 tests the FORMAT OVERRIDE switch, the use of the flagged
                track bit to indicate a protected or defective track, and the
                ability to write a sector address field that differs from the
                sector location to indicate track sparing.  These features are
                not simulated.



----------------------------------------------------------
DSN 151302 - 7900/01 Cartridge Disc Memory (multiple unit)
----------------------------------------------------------

TESTED DEVICE:  DP (hp2100_dp.c)

CONFIGURATION:  sim> attach DPC0 scratch.U0.7900.disc
                sim> attach DPC1 scratch.U1.7900.disc
                sim> attach DPC2 scratch.U2.7900.disc
                sim> attach DPC3 scratch.U3.7900.disc
                sim> deposit S 000022
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000004
                sim> reset
                sim> go

                H0 7900/7901 CARTRIDGE DISC MEMORY DIAGNOSTIC
                H24 CYLINDER TABLE
                000,001,002,004,008,016,032,064,128,202
                H25 WISH TO CHANGE?
                NO

                H27 PATTERN TABLE
                000000  177777  125252  052525  007417
                170360  162745  163346  155555  022222
                H25 WISH TO CHANGE?
                NO

                H62 TYPE A FOR HEADS 0,1;B FOR 2,3;C FOR ALTERNATELY 0,1 THEN 2,3
                C

                H23  00020 ERRORS/PASS ALLOWED
                H25 WISH TO CHANGE?
                NO

                H37 UNIT TABLE/ 01 DRIVE(S); 0
                H25 WISH TO CHANGE?
                YES

                H34 ENTER UNIT NUMBERS(0-3)SEPARATED BY COMMAS
                0,1,2,3

                H37 UNIT TABLE/ 04 DRIVE(S); 0 1 2 3
                H25 WISH TO CHANGE?

                [CTRL+E]
                Simulation stopped

                sim> deposit S 000000
                sim> go

                NO

TEST REPORT:    H65 LONG  PASS  0001,HEADS 0/1,UNIT 00, 0000 ERRORS
                H65 LONG  PASS  0002,HEADS 0/1,UNIT 01, 0000 ERRORS
                H65 LONG  PASS  0003,HEADS 0/1,UNIT 02, 0000 ERRORS
                H65 LONG  PASS  0004,HEADS 0/1,UNIT 03, 0000 ERRORS,MULTI-DRIVE
                H65 LONG  PASS  0005,HEADS 2/3,UNIT 00, 0000 ERRORS
                H65 LONG  PASS  0006,HEADS 2/3,UNIT 01, 0000 ERRORS
                H65 LONG  PASS  0007,HEADS 2/3,UNIT 02, 0000 ERRORS
                H65 LONG  PASS  0008,HEADS 2/3,UNIT 03, 0000 ERRORS,MULTI-DRIVE

                [CTRL+E]
                Simulation stopped

TEST RESULT:    Passed.

TEST NOTES:     Eight passes are required to test all head/unit combinations.



-------------------------------------------------------------
DSN 151302 - 7900/01 Cartridge Disc Memory (user interaction)
-------------------------------------------------------------

TESTED DEVICE:  DP (hp2100_dp.c)

CONFIGURATION:  sim> attach DPC0 scratch.U0.7900.disc
                sim> deposit S 000022
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000160
                sim> reset
                sim> go

TEST REPORT:    H0 7900/7901 CARTRIDGE DISC MEMORY DIAGNOSTIC
                H66 SET OVERRIDE SWITCH,PUSH RUN

                HALT instruction 102002

                sim> go

                H46 READ IN STEP  04
                E64 STATUS IS 000000 SHOULD BE  000010
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H22 CYCLIC CHECK IN STEP  04
                E64 STATUS IS 000000 SHOULD BE  000010
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 0001 UNIT 00

                HALT instruction 102001

                sim> go

                H67 CLEAR OVERRIDE SWITCH,PUSH RUN

                HALT instruction 102002

                sim> go

                H46 READ IN STEP  07
                E64 STATUS IS 000000 SHOULD BE  000031
                H51 CYL 0001 HEAD 00 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H45 WRITE  IN STEP  08
                E64 STATUS IS 000000 SHOULD BE  000011
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H36 INITIALIZE DATA  IN STEP  09
                E64 STATUS IS 000000 SHOULD BE  000011
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 6144 UNIT 00

                HALT instruction 102001

                sim> go

                H66 SET OVERRIDE SWITCH,PUSH RUN

                HALT instruction 102002

                sim> go

                H67 CLEAR OVERRIDE SWITCH,PUSH RUN

                HALT instruction 102002

                sim> go

                H70 UNLOAD UNIT  0,PUSH RUN

                HALT instruction 102002

                sim> set DPC0 unloaded
                sim> go

                H40 PROTECT U/D THEN READY UNIT  0

                [CTRL+E]
                Simulation stopped

                sim> set DPC0 locked
                sim> set DPC0 loaded
                sim> go

                H41 CLEAR U/D PROTECT,LOAD,PUSH RUN

                HALT instruction 102002

                sim> set DPC0 writeenabled
                sim> go

                H71 PRESS PRESET(S) THEN PRESS RUN

                HALT instruction 102002

                sim> reset
                sim> go

                H65 SHORT PASS  0001,HEADS 0/1,UNIT 00, 0005 ERRORS

                [CTRL+E]
                Simulation stopped

TEST RESULT:    Partially passed.

TEST NOTES:     Steps 4, 7, 8, and 9 test the defective and protected cylinder
                bits and the FORMAT switch.  These features are not simulated.



-----------------------------------------------
DSN 151403 - 7905/06/20/25 Disc (multiple unit)
-----------------------------------------------

TESTED DEVICE:  DS (hp2100_ds.c)

CONFIGURATION:  sim> set DS0 7905
                sim> set DS1 7906
                sim> set DS2 7920
                sim> set DS3 7925
                sim> set DS4 7905
                sim> set DS5 7906
                sim> set DS6 7920
                sim> set DS7 7925
                sim> attach DS0 scratch.U0.7905.disc
                sim> attach DS1 scratch.U1.7906.disc
                sim> attach DS2 scratch.U2.7920.disc
                sim> attach DS3 scratch.U3.7925.disc
                sim> attach DS4 scratch.U4.7905.disc
                sim> attach DS5 scratch.U5.7906.disc
                sim> attach DS6 scratch.U6.7920.disc
                sim> attach DS7 scratch.U7.7925.disc
                sim> deposit S 000034
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000004
                sim> reset
                sim> go

                H0 79XX/13037 DISC MEMORY DIAGNOSTIC
                H37 UNIT TABLE: 01 DRIVE(S); 0
                H25 WISH TO CHANGE?
                YES

                H34 ENTER UNIT NUMBERS(0-7)SEPARATED BY COMMAS
                0,1,2,3,4,5,6,7

                H37 UNIT TABLE: 08 DRIVE(S); 0 1 2 3 4 5 6 7
                H25 WISH TO CHANGE?
                NO

                ENTER:(U)NIT,(?) ERRS,(H)EAD,(O)UTPUT,(P)ATT,(S)OFT,(C)YL,(M)CPU,(E)XIT
                H

                H62 HEAD TABLE;  UNIT  0  7905A , 02 HEAD(S) 0 1
                H62 HEAD TABLE;  UNIT  1  7906A , 02 HEAD(S) 0 1
                H62 HEAD TABLE;  UNIT  2  7920A , 05 HEAD(S) 0 1 2 3 4
                H62 HEAD TABLE;  UNIT  3  7925A , 09 HEAD(S) 0 1 2 3 4 5 6 7 8
                H62 HEAD TABLE;  UNIT  4  7905A , 02 HEAD(S) 0 1
                H62 HEAD TABLE;  UNIT  5  7906A , 02 HEAD(S) 0 1
                H62 HEAD TABLE;  UNIT  6  7920A , 05 HEAD(S) 0 1 2 3 4
                H62 HEAD TABLE;  UNIT  7  7925A , 09 HEAD(S) 0 1 2 3 4 5 6 7 8
                H25 WISH TO CHANGE?
                YES

                H132 TYPE UNITS YOU WISH TO CHANGE SEPERATED BY COMMAS
                0,1,4,5

                H62 HEAD TABLE;  UNIT  0  7905A , 02 HEAD(S) 0 1
                H106 ENTER HEADS SEPARATED BY COMMAS
                0,1,2

                H62 HEAD TABLE;  UNIT  0  7905A , 03 HEAD(S) 0 1 2
                H25 WISH TO CHANGE?
                NO

                H62 HEAD TABLE;  UNIT  1  7906A , 02 HEAD(S) 0 1
                H106 ENTER HEADS SEPARATED BY COMMAS
                0,1,2,3

                H62 HEAD TABLE;  UNIT  1  7906A , 04 HEAD(S) 0 1 2 3
                H25 WISH TO CHANGE?
                NO

                H62 HEAD TABLE;  UNIT  4  7905A , 02 HEAD(S) 0 1
                H106 ENTER HEADS SEPARATED BY COMMAS
                0,1,2

                H62 HEAD TABLE;  UNIT  4  7905A , 03 HEAD(S) 0 1 2
                H25 WISH TO CHANGE?
                NO

                H62 HEAD TABLE;  UNIT  5  7906A , 02 HEAD(S) 0 1
                H106 ENTER HEADS SEPARATED BY COMMAS
                0,1,2,3

                H62 HEAD TABLE;  UNIT  5  7906A , 04 HEAD(S) 0 1 2 3
                H25 WISH TO CHANGE?
                NO

                ENTER:(U)NIT,(?) ERRS,(H)EAD,(O)UTPUT,(P)ATT,(S)OFT,(C)YL,(M)CPU,(E)XIT
                E

TEST REPORT:    H121 WARNING-FORMAT SWITCH OFF
                H65 LONG  PASS 0001,HEAD 012      ,UNIT 0,0000 ERRORS-0000 SOFT
                H65 LONG  PASS 0002,HEAD 0123     ,UNIT 1,0000 ERRORS-0000 SOFT
                H65 LONG  PASS 0003,HEAD 01234    ,UNIT 2,0000 ERRORS-0000 SOFT
                H65 LONG  PASS 0004,HEAD 012345678,UNIT 3,0000 ERRORS-0000 SOFT
                H65 LONG  PASS 0005,HEAD 012      ,UNIT 4,0000 ERRORS-0000 SOFT
                H65 LONG  PASS 0006,HEAD 0123     ,UNIT 5,0000 ERRORS-0000 SOFT
                H65 LONG  PASS 0007,HEAD 01234    ,UNIT 6,0000 ERRORS-0000 SOFT
                H65 LONG  PASS 0008,HEAD 012345678,UNIT 7,0000 ERRORS-0000 SOFT,MULTI-UNIT

                [CTRL+E]
                Simulation stopped

TEST RESULT:    Passed.

TEST NOTES:     Eight passes are required to test all head/unit combinations.



--------------------------------------------------
DSN 151403 - 7905/06/20/25 Disc (user interaction)
--------------------------------------------------

TESTED DEVICE:  DS (hp2100_ds.c)

CONFIGURATION:  sim> set DS0 7905
                sim> attach DS0 scratch.U0.7905.disc
                sim> deposit S 000034
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000120
                sim> reset
                sim> go

                H0 79XX/13037 DISC MEMORY DIAGNOSTIC
                H37 UNIT TABLE: 01 DRIVE(S); 0
                H25 WISH TO CHANGE?
                NO

TEST REPORT:    H66 SET FORMAT SWITCH ON UNIT  0,PUSH RUN

                HALT instruction 102002

                sim> set DS0 format
                sim> go

                H46 READ IN STEP  04
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 0 1 0 00000 XXXX XXXX / 0 000010 0 0 0 1  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"
                START 0000/00/00-LAST 0000/00/01 WORD COUNT  00128,OLD CYL  0000,UNIT 00

                HALT instruction 102001

                sim> go

                H22 VERIFY IN STEP  04
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 0 1 0 00000 XXXX XXXX / 0 000010 0 0 0 1  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"
                START 0000/00/00-LAST 0001/00/00 WORD COUNT  00048,OLD CYL  0000,UNIT 00

                HALT instruction 102001

                sim> go

                H67 CLEAR FORMAT SWITCH ON UNIT  0,PUSH RUN

                HALT instruction 102002

                sim> set DS0 noformat
                sim> go

                H46 READ IN STEP  07
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 0  0  0  0  0 0
                    SHOULD BE 0 0 1 10001 XXXX XXXX / 0 000010 0 0 0 0  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"  SHOULD BE "DEFECTIVE TRK "
                START 0001/00/00-LAST 0001/00/01 WORD COUNT  00128,OLD CYL  0000,UNIT 00

                HALT instruction 102001

                sim> go

                H45 WRITE  IN STEP  08
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 0  0  0  0  0 0
                    SHOULD BE 0 1 0 10110 XXXX XXXX / 0 000010 0 0 0 0  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"  SHOULD BE "WRT PROTEC TRK"
                START 0000/00/00-LAST 0000/00/01 WORD COUNT  00128,OLD CYL  0001,UNIT 00

                HALT instruction 102001

                sim> go

                H66 SET FORMAT SWITCH ON UNIT  0,PUSH RUN

                HALT instruction 102002

                sim> set DS0 format
                sim> go

                H45 WRITE  IN STEP  10
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 0 1 0 00000 XXXX XXXX / 0 000010 0 0 0 1  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"
                START 0000/00/00-LAST 0000/00/08 WORD COUNT  01024,OLD CYL  0000,UNIT 00

                HALT instruction 102001

                sim> go

                H70 UNLOAD UNIT  0,PUSH RUN

                HALT instruction 102002

                sim> set DS0 unloaded
                sim> go

                H107 READY UNIT  0

                [CTRL+E]
                Simulation stopped

                sim> set DS0 loaded
                sim> go

                H142 PROTECT  U/D,PUSH RUN

                HALT instruction 102002

                sim> set DS0 locked
                sim> go

                H143 CLEAR  U/D PROTECT,PUSH RUN

                HALT instruction 102002

                sim> set DS0 writeenabled
                sim> go

                H110 PRESS PRESET(S),PRESS RUN

                HALT instruction 102002

                sim> reset
                sim> go

                H46 READ IN STEP  38
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 0 0 0 00111 0000 0000 / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"  SHOULD BE "CYL CMP ERROR "
                START 0000/00/01-LAST 0000/00/03 WORD COUNT  00138,OLD CYL  0000,UNIT 00

                HALT instruction 102001

                sim> go

                H46 READ IN STEP  39
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 0 0 0 01001 XXXX XXXX / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"  SHOULD BE "HD/SEC CMP ERR"
                START 0000/00/01-LAST 0000/00/03 WORD COUNT  00138,OLD CYL  0000,UNIT 00

                HALT instruction 102001

                sim> go

                H46 READ IN STEP  40
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 0 0 0 01001 XXXX XXXX / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"  SHOULD BE "HD/SEC CMP ERR"
                START 0000/00/01-LAST 0000/00/03 WORD COUNT  00138,OLD CYL  0000,UNIT 00

                HALT instruction 102001

                sim> go

                H46 READ IN STEP  41
                E47 DATA WORD 0065 IS 075126 SHOULD BE  030400
                E47 DATA WORD 0066 IS 000762 SHOULD BE  030400
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 0 0 0 01111 XXXX XXXX / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"  SHOULD BE "POSS CORR DATA"
                START 0000/00/00-LAST 0000/00/03 WORD COUNT  00128,OLD CYL  0000,UNIT 00

                HALT instruction 102001

                sim> go

                H46 READ IN STEP  42
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 0 0 0 01000 XXXX XXXX / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"  SHOULD BE "UNCOR DATA ERR"
                START 0000/00/00-LAST 0000/00/03 WORD COUNT  00276,OLD CYL  0000,UNIT 00

                HALT instruction 102001

                sim> go

                H22 VERIFY IN STEP  43
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 0 0 1 10001 XXXX XXXX / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"  SHOULD BE "DEFECTIVE TRK "
                START 0016/00/00-LAST 0017/00/00 WORD COUNT  00048,OLD CYL  0128,UNIT 00

                HALT instruction 102001

                sim> go

                H22 VERIFY IN STEP  43
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 1 0 0 10000 XXXX XXXX / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"  SHOULD BE "SPR TRK ACCESS"
                START 0128/01/00-LAST 0129/01/00 WORD COUNT  00048,OLD CYL  0016,UNIT 00

                HALT instruction 102001

                sim> go

                H45 WRITE  IN STEP  43
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 1 0 0 00000 XXXX XXXX / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"
                START 0016/00/33-LAST 0016/00/34 WORD COUNT  00128,OLD CYL  0128,UNIT 00

                HALT instruction 102001

                sim> go

                H46 READ IN STEP  43
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 1 0 0 00000 XXXX XXXX / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"
                START 0016/00/33-LAST 0016/00/34 WORD COUNT  00128,OLD CYL  0016,UNIT 00

                HALT instruction 102001

                sim> go

                H46 READ IN STEP  43
                E47 DATA WORD 0000 IS 156164 SHOULD BE  144300
                E47 DATA WORD 0001 IS 023302 SHOULD BE  117306
                E47 DATA WORD 0002 IS 114642 SHOULD BE  045322
                H135          S P D TSTAT XXXX UNIT / E DRTYPE X A P F DF FS SC NR B
                E64 STATUS IS 0 0 0 00000 0000 0000 / 0 000010 0 0 0 1  0  0  0  0 0
                    SHOULD BE 1 0 0 00000 XXXX XXXX / 0 000010 0 0 0 X  0  0  0  0 0
                H137 TERMINATION STATUS IS "NORMAL COMPLET"
                START 0016/00/33-LAST 0016/00/34 WORD COUNT  00128,OLD CYL  0016,UNIT 00

                HALT instruction 102001

                sim> go

                H65 SHORT PASS 0001,HEAD 01       ,UNIT 0,0015 ERRORS-0015 SOFT

                [CTRL+E]
                Simulation stopped

TEST RESULT:    Partially passed.

TEST NOTES:     Steps 4, 8, and 10 test the protected cylinder bit.  Step 7
                tests the defective cylinder bit.  Steps 38, 39, and 40 test the
                Write Full Sector command.  Steps 41 and 42 test error
                correction.  Step 43 tests the spare cylinder bit and track
                sparing.  These features are not simulated.



-------------------------------------------------
DSN 112200 - 9-Track Magnetic Tape (7970B, 13181)
-------------------------------------------------

TESTED DEVICE:  MS (hp2100_ms.c)

CONFIGURATION:  sim> detach MSC0
                sim> set MSC 13181A
                sim> set MSC realtime
                sim> attach MSC0 scratch.U0.7970.tape
                sim> attach MSC1 scratch.U1.7970.tape
                sim> attach MSC2 scratch.U2.7970.tape
                sim> attach MSC3 scratch.U3.7970.tape
                sim> deposit S 102030
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000217
                sim> reset
                sim> go

TEST REPORT:    7970-13181 DIAG.
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H025 FOR DATA CH
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H025 FOR CMND CH
                H154 UNIT 000000
                H034 UNIT ON-LINE
                H155 STATUS IS      0 000 000 001 000 000
                H154 UNIT 000001
                H034 UNIT ON-LINE
                H155 STATUS IS      0 000 000 001 000 000
                H154 UNIT 000002
                H034 UNIT ON-LINE
                H155 STATUS IS      0 000 000 001 000 000
                H154 UNIT 000003
                H034 UNIT ON-LINE
                H155 STATUS IS      0 000 000 001 000 000

                H154 UNIT 000000
                H102 RECORD 000117
                H054 COMMAND 000061
                H155 STATUS IS      0 000 000 000 000 000
                H155 AND SHOULD BE  0 000 000 000 000 000

                TEST  23
                E135 LRCC ERROR

                HALT instruction 106035

                sim> go

                H154 UNIT 000000
                H102 RECORD 000117
                H054 COMMAND 000061
                H155 STATUS IS      0 000 000 000 000 000
                H155 AND SHOULD BE  0 000 000 000 000 000
                E141 CRCC ERROR

                HALT instruction 106041

                sim> go

                H126 EXCHANGE REELS

                HALT instruction 106026

                sim> attach MSC0 scratch.U3.7970.tape
                sim> attach MSC1 scratch.U2.7970.tape
                sim> attach MSC2 scratch.U1.7970.tape
                sim> attach MSC3 scratch.U0.7970.tape
                sim> go

                H127 SET SW 13 TO LOOP

                HALT instruction 106027

                sim> go

                H130 REMOVE WRITE RING

                HALT instruction 106030

                sim> set MSC0 locked
                sim> go

                H131 REPLACE WRITE RING

                HALT instruction 106031

                sim> set MSC0 writeenabled
                sim> go

                H137 PUT TAPE UNIT ON-LINE

                HALT instruction 106037

                sim> set MSC0 online
                sim> go

                H137 PUT TAPE UNIT ON-LINE

                HALT instruction 106037

                sim> set MSC1 online
                sim> go

                H137 PUT TAPE UNIT ON-LINE

                HALT instruction 106037

                sim> set MSC2 online
                sim> go

                H137 PUT TAPE UNIT ON-LINE

                HALT instruction 106037

                sim> set MSC3 online
                sim> go

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Partially passed.

TEST NOTES:     Test 23 verifies the LRCC and CRCC values obtained from the
                interface.  These features are not simulated.  (Setting bit 7 of
                the S register during configuration eliminates most LRCC/CRCC
                checks but does not inhibit test 23.)

                If test 34 is selected manually, E065 WRITE ERROR will occur.
                This is due to the implementation of the tape simulation
                library.  Test 34 writes data in a single record until a data
                error or EOT occurs (conceivably 20+ megabytes for the largest
                reel size at 800 bpi).  Because the tape simulation library
                writes complete records, the 7970 simulator must use a data
                buffer to accumulate the entire record before calling
                "sim_tape_wrrecf" to write the record.  The simulator uses a
                data buffer of 32768 words.  When the buffer is full,
                parity-error status is returned to the program.



-------------------------------------------------
DSN 112200 - 9-Track Magnetic Tape (7970E, 13183)
-------------------------------------------------

TESTED DEVICE:  MS (hp2100_ms.c)

CONFIGURATION:  sim> detach MSC0
                sim> set MSC 13183A
                sim> set MSC realtime
                sim> attach MSC0 scratch.U0.7970.tape
                sim> attach MSC1 scratch.U1.7970.tape
                sim> attach MSC2 scratch.U2.7970.tape
                sim> attach MSC3 scratch.U3.7970.tape
                sim> deposit S 104030
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000017
                sim> reset
                sim> go

TEST REPORT:    7970-13183 DIAG.
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H025 FOR DATA CH
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H025 FOR CMND CH
                H154 UNIT 000000
                H034 UNIT ON-LINE
                H155 STATUS IS      1 000 000 001 000 000
                H154 UNIT 000001
                H034 UNIT ON-LINE
                H155 STATUS IS      1 010 000 001 000 000
                H154 UNIT 000002
                H034 UNIT ON-LINE
                H155 STATUS IS      1 100 000 001 000 000
                H154 UNIT 000003
                H034 UNIT ON-LINE
                H155 STATUS IS      1 110 000 001 000 000

                H126 EXCHANGE REELS

                HALT instruction 106026

                sim> attach MSC0 scratch.U3.7970.tape
                sim> attach MSC1 scratch.U2.7970.tape
                sim> attach MSC2 scratch.U1.7970.tape
                sim> attach MSC3 scratch.U0.7970.tape
                sim> go

                H127 SET SW 13 TO LOOP

                HALT instruction 106027

                sim> go

                H130 REMOVE WRITE RING

                HALT instruction 106030

                sim> set MSC0 locked
                sim> go

                H131 REPLACE WRITE RING

                HALT instruction 106031

                sim> set MSC0 writeenabled
                sim> go

                H137 PUT TAPE UNIT ON-LINE

                HALT instruction 106037

                sim> set MSC0 online
                sim> go

                H137 PUT TAPE UNIT ON-LINE

                HALT instruction 106037

                sim> set MSC1 online
                sim> go

                H137 PUT TAPE UNIT ON-LINE

                HALT instruction 106037

                sim> set MSC2 online
                sim> go

                H137 PUT TAPE UNIT ON-LINE

                HALT instruction 106037

                sim> set MSC3 online
                sim> go

                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



------------------------------------
DSN 146200 - Paper Tape Reader/Punch
------------------------------------

TESTED DEVICE:  PTR and PTP (hp2100_stddev.c)

CONFIGURATION:  sim> deposit S 001012
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 001000
                sim> reset
                sim> go

                PAPER TAPE READER AND PUNCH DIAGNOSTIC DSN 146200

                HALT instruction 102075

                sim> deposit A 000200
                sim> reset
                sim> go

                H060 TO MAKE LOOP, PUNCH ON AND RUN

                HALT instruction 102060

                sim> attach PTP loop.2895.punch
                sim> go

                PASS 000001

                HALT instruction 102077

                sim> detach PTP
                sim> deposit S 001000
                sim> reset
                sim> go 2000

                PAPER TAPE READER AND PUNCH DIAGNOSTIC DSN 146200

                HALT instruction 102075

                sim> deposit A 003177
                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    H050 BI-O ON PUNCH
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H055 BI-O ON READER
                H024 PRESS PRESET (EXT&INT),RUN

                HALT instruction 102024

                sim> reset
                sim> go

                H025 BI-O COMP
                H051 ALL CHARTR COMBINATIONS, PUNCH ONLY
                   TURN PUNCH ON, PRESS RUN

                HALT instruction 102051

                sim> attach PTP scratch.2895.punch
                sim> go

                H052 ALL CHARTR COMBINATIONS, VERIFY
                   TEAR TAPE AT PUNCH, PLACE IN READER, PRESS RUN

                HALT instruction 102052

                sim> detach PTP
                sim> attach PTR scratch.2895.punch
                sim> go

                H054 PLACE LOOP IN READER-PRESS RUN
                   TO START READ, SET BIT0 TO 1
                   TO EXIT TEST, SET BIT0 TO 0

                HALT instruction 102054

                sim> set PTR diag
                sim> attach PTR loop.2895.punch
                sim> deposit S 000001
                sim> go

                [CTRL+E]
                Simulation stopped

                sim> deposit S 000000
                sim> go

                H054 PLACE LOOP IN READER-PRESS RUN
                   TO START READ, SET BIT0 TO 1
                   TO EXIT TEST, SET BIT0 TO 0

                HALT instruction 102054

                sim> deposit S 000001
                sim> go

                [CTRL+E]
                Simulation stopped

                sim> deposit PTR TIME 100
                sim> deposit PTP TIME 200
                sim> deposit S 000000
                sim> go

                H056 TURN PUNCH ON, PRESS RUN. PUNCH ROUTINE
                   WILL START. LOAD THE TAPE BEING PUNCHED
                   INTO THE READER.
                   TO START READ, SET BIT0 TO 1
                   TO EXIT, SET BIT0 TO 0

                HALT instruction 102056

                sim> set PTR reader
                sim> attach PTR scratch.2895.punch
                sim> attach PTP scratch.2895.punch
                sim> go

                [CTRL+E]
                Simulation stopped

                sim> deposit S 000001
                sim> go

                [CTRL+E]
                Simulation stopped

                sim> deposit S 000000
                sim> go

                H057 TO COMPLETE, TEAR TAPE, PRESS RUN

                HALT instruction 102057

                sim> go

                H063 READER SPEED TEST. PLACE LOOP IN READER
                   BIT 5=0 FOR 2748-58, BIT 5=1 FOR 2737. PRESS RUN.

                HALT instruction 102063

                sim> set PTR diag
                sim> attach PTR loop.2895.punch
                sim> deposit PTR TIME 3150
                sim> go

                H066 TEST 11 COMPLETE
                H100 PUNCH SPEED TEST.
                   BIT 6=0 FOR 2895 OR BIT 6=1 FOR 2753-PRESS RUN

                HALT instruction 106000

                sim> deposit PTP TIME 20790
                sim> go

                H103 TEST 12 COMPLETE
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.

TEST NOTES:     Test 07 is executed to punch a tape loop that is used in tests
                04, 05, and 11.  Then the default tests 00-06, plus tests 11 and
                12, are executed.

                Test 06 punches and reads the same tape concurrently (the tape
                coming out of the punch is then fed into the reader).  Under
                simulation, it is necessary to delay starting the read until the
                punch buffer has been flushed to the disc.  Also, this test
                depends on the reader being at least twice as fast as the punch,
                so the PTR/PTP TIME registers are adjusted accordingly.

                Test 11 and test 12 are speed tests, so the PTR and PTP TIMEs
                are set for realistic timing.




STAND-ALONE DIAGNOSTIC DETAILED EXECUTION AND RESULTS
=====================================================

Each execution note below presumes that the target diagnostic has been loaded.
For all runs, the diagnostic configurator was used in automatic mode to load the
target diagnostic from a paper tape image, as follows:

  sim> attach -r MSC0 24396-13601_Rev-2326.abin.tape
  sim> deposit S 000000
  sim> boot MSC0

  HALT instruction 102077

  sim> attach PTR [paper-tape-image-file]
  sim> deposit S 001011
  sim> reset
  sim> go 100



------------------------------------------------
DSN 101217 - 2000/Access Comm Processor for 21MX
------------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu2.c)

BINARY TAPE:    13207-16001 Rev. 1728

CONFIGURATION:  sim> set CPU IOP

                sim> deposit S 000013
                sim> reset
                sim> go 100

                HALT instruction 102074

                sim> deposit S 000000
                sim> reset
                sim> go

TEST REPORT:    21MX 2000 COMPUTER SYSTEM COMM. PROC. FIRMWARE DIAGNOSTIC
                H030 CRC TEST
                H040 ENQ, DEQ AND PENQ TESTS
                H060 IAL TEST
                H110 INS,READF, SAVE AND RESTR TESTS
                H120 LAI AND SAI TESTS
                H130 PFREX TEST
                H140 PFREI TEST
                H150 PFRIO TEST
                PASS 000001

                HALT instruction 102077

TEST RESULT:    Passed.



--------------------------------------------
DSN (none) - HP 3030 Magnetic Tape Subsystem
--------------------------------------------

TESTED DEVICE:  MT (hp2100_mt.c)

BINARY TAPE:    None available.

CONFIGURATION:  (none)

TEST REPORT:    (none)

TEST RESULT:    Not tested.

TEST NOTES:     No copy of the diagnostic (HP product number 20433) has been
                found.



-----------------------------------------------------------
DSN 177777 - HP 2100 Fixed Head Disc/Drum Diagnostic (2770)
-----------------------------------------------------------

TESTED DEVICE:  DR (hp2100_dr.c)

BINARY TAPE:    22682-16017 Rev. 1612

CONFIGURATION:  sim> reset
                sim> go 100

                H0 2100 SERIES FIXED HEAD DISC/DRUM DIAGNOSTIC
                ENTER SELECT CODES, CHANNELS IN SWITCH REGISTER,PUSH RUN

                HALT instruction 107001

                sim> set DRC 180K
                sim> set DRC trackprot=8
                sim> attach DRC0 scratch.U0.2770.disc
                sim> deposit S 002611
                sim> go

                H1  CONFIGURATION COMPLETE
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED,
                H70 ENTER PROGRAM OPTIONS IN SWITCH REGISTER, PUSH RUN

                HALT instruction 107077

                sim> deposit S 010000
                sim> go

TEST REPORT:    H12 DEVICE HAS  90 SECTORS
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED, PRESS RUN

                HALT instruction 102002

                sim> set DRC unprotected
                sim> go

                H10 SET TRACK PROTECT SWITCH TO PROTECTED,PRESS RUN

                HALT instruction 102002

                sim> set DRC protected
                sim> go

                H14 DEVICE HAS  0032 TRACKS,THE FOLLOWING ARE PROTECTED:
                H63 0000 TO 0007
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED, PRESS RUN

                HALT instruction 102002

                sim> set DRC unprotected
                sim> go

                H36 PASS  0001

                HALT instruction 102077

TEST RESULT:    Passed.



---------------------------------------------------------------
DSN 177777 - HP 2100 Fixed Head Disc/Drum Diagnostic (2771-001)
---------------------------------------------------------------

TESTED DEVICE:  DR (hp2100_dr.c)

BINARY TAPE:    22682-16017 Rev. 1612

CONFIGURATION:  sim> reset
                sim> go 100

                H0 2100 SERIES FIXED HEAD DISC/DRUM DIAGNOSTIC
                ENTER SELECT CODES, CHANNELS IN SWITCH REGISTER,PUSH RUN

                HALT instruction 107001

                sim> set DRC 720K
                sim> set DRC trackprot=32
                sim> attach DRC0 scratch.U0.2771.disc
                sim> deposit S 002611
                sim> go

                H1  CONFIGURATION COMPLETE
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED,
                H70 ENTER PROGRAM OPTIONS IN SWITCH REGISTER, PUSH RUN

                HALT instruction 107077

                sim> deposit S 010000
                sim> go

TEST REPORT:    H12 DEVICE HAS  90 SECTORS
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED, PRESS RUN

                HALT instruction 102002

                sim> set DRC unprotected
                sim> go

                H10 SET TRACK PROTECT SWITCH TO PROTECTED,PRESS RUN

                HALT instruction 102002

                sim> set DRC protected
                sim> go

                H14 DEVICE HAS  0128 TRACKS,THE FOLLOWING ARE PROTECTED:
                H63 0000 TO 0031
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED, PRESS RUN

                HALT instruction 102002

                sim> set DRC unprotected
                sim> go

                H36 PASS  0001

                HALT instruction 102077

TEST RESULT:    Passed.



-----------------------------------------------------------
DSN 177777 - HP 2100 Fixed Head Disc/Drum Diagnostic (2773)
-----------------------------------------------------------

TESTED DEVICE:  DR (hp2100_dr.c)

BINARY TAPE:    22682-16017 Rev. 1612

CONFIGURATION:  sim> reset
                sim> go 100

                H0 2100 SERIES FIXED HEAD DISC/DRUM DIAGNOSTIC
                ENTER SELECT CODES, CHANNELS IN SWITCH REGISTER,PUSH RUN

                HALT instruction 107001

                sim> set DRC 384K
                sim> set DRC trackprot=16
                sim> attach DRC0 scratch.U0.2773.disc
                sim> deposit S 002611
                sim> go

                H1  CONFIGURATION COMPLETE
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED,
                H70 ENTER PROGRAM OPTIONS IN SWITCH REGISTER, PUSH RUN

                HALT instruction 107077

                sim> deposit S 010000
                sim> go

TEST REPORT:    H12 DEVICE HAS  32 SECTORS
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED, PRESS RUN

                HALT instruction 102002

                sim> set DRC unprotected
                sim> go

                H10 SET TRACK PROTECT SWITCH TO PROTECTED,PRESS RUN

                HALT instruction 102002

                sim> set DRC protected
                sim> go

                H14 DEVICE HAS  0192 TRACKS,THE FOLLOWING ARE PROTECTED:
                H63 0000 TO 0015
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED, PRESS RUN

                HALT instruction 102002

                sim> set DRC unprotected
                sim> go

                H36 PASS  0001

                HALT instruction 102077

TEST RESULT:    Passed.



-----------------------------------------------------------
DSN 177777 - HP 2100 Fixed Head Disc/Drum Diagnostic (2775)
-----------------------------------------------------------

TESTED DEVICE:  DR (hp2100_dr.c)

BINARY TAPE:    22682-16017 Rev. 1612

CONFIGURATION:  sim> reset
                sim> go 100

                H0 2100 SERIES FIXED HEAD DISC/DRUM DIAGNOSTIC
                ENTER SELECT CODES, CHANNELS IN SWITCH REGISTER,PUSH RUN

                HALT instruction 107001

                sim> set DRC 1536K
                sim> set DRC trackprot=64
                sim> attach DRC0 scratch.U0.2775.disc
                sim> deposit S 002611
                sim> go

                H1  CONFIGURATION COMPLETE
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED,
                H70 ENTER PROGRAM OPTIONS IN SWITCH REGISTER, PUSH RUN

                HALT instruction 107077

                sim> deposit S 010000
                sim> go

TEST REPORT:    H12 DEVICE HAS  32 SECTORS
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED, PRESS RUN

                HALT instruction 102002

                sim> set DRC unprotected
                sim> go

                H10 SET TRACK PROTECT SWITCH TO PROTECTED,PRESS RUN

                HALT instruction 102002

                sim> set DRC protected
                sim> go

                H14 DEVICE HAS  0768 TRACKS,THE FOLLOWING ARE PROTECTED:
                H63 0000 TO 0063
                H11 SET TRACK PROTECT SWITCH TO NOT PROTECTED, PRESS RUN

                HALT instruction 102002

                sim> set DRC unprotected
                sim> go

                H36 PASS  0001

                HALT instruction 102077

TEST RESULT:    Passed.



-----------------------------------------------
DSN (none) - 12875 Processor Interconnect Cable
-----------------------------------------------

TESTED DEVICE:  IPLI, IPLO (hp2100_ipl.c)

BINARY TAPE:    24197-60001 Rev. B

CONFIGURATION:  sim> set IPLI DIAG
                sim> set IPLO DIAG
                sim> deposit S 003332
                sim> reset
                sim> go 2

                HALT instruction 107076

                sim> deposit S 010000
                sim> reset
                sim> go

                HALT instruction 107077

                sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    H14. START 12875 CABLE DIAGNOSTIC
                H77. END 12875 CABLE DIAGNOSTIC

                HALT instruction 102077

TEST RESULT:    Passed.



-----------------------------------------------------------------
DSN (none) - HP2100A Cartridge Disc Memory (2871) (multiple unit)
-----------------------------------------------------------------

TESTED DEVICE:  DP (hp2100_dp.c)

BINARY TAPE:    24203-60001 Rev. A

CONFIGURATION:  sim> set DPC 12557A
                sim> attach DPC0 scratch.U0.2871.disc
                sim> attach DPC1 scratch.U1.2871.disc
                sim> attach DPC2 scratch.U2.2871.disc
                sim> attach DPC3 scratch.U3.2871.disc
                sim> deposit S 002211
                sim> reset
                sim> go 2

                HALT instruction 107077

                sim> deposit S 000400
                sim> reset
                sim> go 100

                H0 HP2100A CARTRIDGE DISC MEMORY DIAGNOSTIC
                H34 ENTER UNIT NUMBERS(0-3)SEPARATED BY COMMAS
                0,1,2,3

                H33 RESET SWITCH 8

                HALT instruction 102002

                sim> deposit S 000004
                sim> go

                H24 CYLINDER TABLE
                000,001,002,004,008,016,032,064,128,202
                H25 WISH TO ALTER TABLE?
                NO

                H27 PATTERN TABLE
                000000  177777  125252  052525  007417
                170360  162745  163346  155555  022222
                H25 WISH TO ALTER TABLE?
                NO

                H62 TYPE A FOR HEADS 0,1;B FOR 2,3;C FOR ALTERNATELY 0,1 THEN 2,3
                C

                H32 RESET SWITCH 2

                HALT instruction 102002

                sim> deposit S 000000
                sim> reset
                sim> go 100

TEST REPORT:    H0 HP2100A CARTRIDGE DISC MEMORY DIAGNOSTIC
                H65 PASS  0001
                H65 PASS  0002
                H65 PASS  0003
                H65 PASS  0004

                [CTRL+E]
                Simulation stopped

TEST RESULT:    Passed.

TEST NOTES:     Four passes are required to test all head/unit combinations.



--------------------------------------------------------------------
DSN (none) - HP2100A Cartridge Disc Memory (2871) (user interaction)
--------------------------------------------------------------------

TESTED DEVICE:  DP (hp2100_dp.c)

BINARY TAPE:    24203-60001 Rev. A

CONFIGURATION:  sim> set DPC 12557A
                sim> attach DPC0 scratch.U0.2871.disc
                sim> deposit S 002211
                sim> reset
                sim> go 2

                HALT instruction 107077

                sim> deposit S 010020
                sim> reset
                sim> go 100

TEST REPORT:    H0 HP2100A CARTRIDGE DISC MEMORY DIAGNOSTIC
                H66 SET OVERRIDE SWITCH,PUSH RUN

                HALT instruction 102002

                sim> go

                H37 READ AFTER WRITE ADDRESS IN S0
                E64 STATUS IS 000000 SHOULD BE  000010
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H22 CYCLIC CHECK IN S0
                E64 STATUS IS 000000 SHOULD BE  000010
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H67 CLEAR OVERRIDE SWITCH,PUSH RUN

                HALT instruction 102002

                sim> go

                H41 READ DEFECTIVE TRACK IN S0
                E64 STATUS IS 000000 SHOULD BE  000031
                H51 CYL 0001 HEAD 00 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H42 WRITE PROTECTED TRACK IN S0
                E64 STATUS IS 000000 SHOULD BE  000011
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 0128 UNIT 00

                HALT instruction 102001

                sim> go

                H36 WRITE ADDRESS IN  S0
                E64 STATUS IS 000000 SHOULD BE  000011
                H51 CYL 0000 HEAD 00 SECTOR 00 WORD COUNT 3072 UNIT 00

                HALT instruction 102001

                sim> go

                H66 SET OVERRIDE SWITCH,PUSH RUN

                HALT instruction 102002

                sim> go

                H67 CLEAR OVERRIDE SWITCH,PUSH RUN

                HALT instruction 102002

                sim> go

                H70 UNLOCK UNIT 0,PUSH RUN

                HALT instruction 102002

                sim> set DPC0 unloaded
                sim> go

                H40 READY UNIT  0

                [CTRL+E]
                Simulation stopped

                sim> set DPC0 loaded
                sim> go

                H71 PRESS PRESET THEN PRESS RUN

                HALT instruction 102002

                sim> deposit S 000140
                sim> reset
                sim> go

                H65 PASS  0001

TEST RESULT:    Partially passed.

TEST NOTES:     Step 0 tests the the defective and protected cylinder bits and
                the FORMAT OVERRIDE switch.  These features are not simulated.




ONLINE DIAGNOSTIC DETAILED EXECUTION AND RESULTS
================================================

Online diagnostics were run under the control of the indicated operating
systems.  Unless otherwise noted, the programs were loaded with the default
configuration specified by the associated linker command file or the operating
system.



------------------------------------------------
#EMA - Extended Memory Array Firmware Diagnostic
------------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu5.c)

BINARY FILE:    92067-16013 Rev. 1805

HOST SYSTEM:    RTE-IVB Rev. 5010

CONFIGURATION:  sim> set CPU EMA
                sim> go

TEST REPORT:    EMA ON-LINE DIAGNOSTIC SUCCESSFUL COMPLETION

TEST RESULT:    Passed.



------------------------------------------------
VMACK - Virtual Memory Array Firmware Diagnostic
------------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu5.c)

BINARY FILE:    92084-16423 Rev. 2121

HOST SYSTEM:    RTE-6/VM Rev. 6200

CONFIGURATION:  sim> set CPU 1000-F
                sim> set CPU VMA
                sim> go

TEST REPORT:    VMACK  - VMA FIRMWARE DIAGNOSTIC, FIRMWARE REV#   003
                VMACK  - .IMAR     NO ERRORS DETECTED    PASS#     1
                VMACK  - .JMAR     NO ERRORS DETECTED    PASS#     1
                VMACK  - .LBP      NO ERRORS DETECTED    PASS#     1
                VMACK  - .LBPR     NO ERRORS DETECTED    PASS#     1
                VMACK  - .LPX      NO ERRORS DETECTED    PASS#     1
                VMACK  - .LPXR     NO ERRORS DETECTED    PASS#     1
                VMACK  - .PMAP     NO ERRORS DETECTED    PASS#     1
                VMACK  - .IMAP     NO ERRORS DETECTED    PASS#     1
                VMACK  - .JMAP     NO ERRORS DETECTED    PASS#     1

TEST RESULT:    Passed.



--------------------------------------------------
VISOD - Vector Instruction Set Firmware Diagnostic
--------------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu7.c)

BINARY FILE:    12824-16002 Rev. 2026

HOST SYSTEM:    RTE-IVB Rev. 5010

CONFIGURATION:  sim> set CPU 1000-F
                sim> set CPU VIS
                sim> go

TEST REPORT:    VIS ON-LINE DIAGNOSTIC SUCCESSFUL COMPLETION

TEST RESULT:    Passed.



--------------------------------------------------
VISOD - Vector Instruction Set Firmware Diagnostic
--------------------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu7.c)

BINARY FILE:    12829-16006 Rev. 2226

HOST SYSTEM:    RTE-6/VM Rev. 6200

CONFIGURATION:  sim> set CPU 1000-F
                sim> set CPU VIS
                sim> go

TEST REPORT:    VIS ON-LINE DIAGNOSTIC SUCCESSFUL COMPLETION

TEST RESULT:    Passed.



---------------------------------------
SDIAG - SIGNAL/1000 Firmware Diagnostic
---------------------------------------

TESTED DEVICE:  CPU (hp2100_cpu7.c)

BINARY FILE:    92835-16006 Rev. 2040

HOST SYSTEM:    RTE-6/VM Rev. 6200

CONFIGURATION:  sim> set CPU 1000-F
                sim> set CPU VIS
                sim> set CPU SIGNAL
                sim> go

TEST REPORT:    SIGNAL/1000 FIRMWARE DIAGNOSTIC

                SIGNAL/1000 FIRMWARE DIAGNOSTIC SUCCESSFUL COMPLETION

TEST RESULT:    Passed.
