; HP 21XX/1000 DIAGNOSTICS SUITE ; 32-BIT ARITHMETIC VERSION ; ; This version of the HP Diagnostics Suite executes the diagnostics that are ; affected by the compilation of the HP simulator without 64-bit arithmetic ; available. Specifically, the various diagnostics that test floating-point ; operation must be run in reduced-capability mode, as several instructions are ; not simulated when 64-bit arithmetic is not supported by the host compiler. ; ; Invocation: ; ; hp2100-32 diag-suite-32 [ ] ; ; If is null, the current directory is assumed. The path ; must end with a backslash if it is specified and must not contain embedded ; spaces, even if it is quoted. ; ; See the notes in the regular diagnostics suite file for additional details. ; Capture the suite execution console log. set -N console log=DIAG-SUITE-32.log ; Report the simulator version and starting time. echo echo echo Run started on %DATE_MMM% %DATE_DD%, %DATE_YYYY% at %TIME_HH%:%TIME_MM%:%TIME_SS% echo show version ; ***************************** ; * * ; * Diagnostic Configurator * ; * * ; ***************************** echo echo echo ------------------------------- echo Diagnostic Configurator Pretest echo ------------------------------- ; Establish the initial environment. ; ; Note that the tape drive select code must be <= 17 to work on a 2114; this is ; a limitation of the 12607B DMA controller. set -F CPU 1000-M,32K set MSC SC=16 ; Enable normally disabled I/O devices so that all devices are available. echo echo Configuring the simulation environment. set ALL ENABLED ; Load the diagnostic configurator. attach -E -R MSC0 %124396-13601_Rev-2326.abin.tape echo echo Loading the diagnostic configurator from magnetic tape. echo Expect halt 102077 if successful. deposit S 000000 boot MSC0 assert T=102077 ; Verify the Diagnostic Serial Number. echo echo Verifying DSN 000200. deposit M 126 assert T=000200 ; Run the diagnostic configurator pretest. echo echo Executing the diagnostic configurator pretest. echo Expect halt 102077 for successful completion. deposit P 000002 deposit S 000011 reset go assert T=102077 ; Test the diagnostic configurator CPU detection. echo echo echo Testing CPU and option detection. ; Configure as a 2114B with DMA. echo echo echo Configuring the CPU as a 2114 with DMA. set -F CPU 2114,16K deposit S 000011 reset go 100 until "MEMORY\r\n" deposit M 115 assert T=060214 ; Configure as a 2115A with DMA. echo echo echo Configuring the CPU as a 2115 with DMA. set -F CPU 2115,8K deposit S 000011 reset go 100 until "MEMORY\r\n" deposit M 115 assert T=040004 ; Configure as a 2116 with DMA, MP, and EAU. echo echo echo Configuring the CPU as a 2116 with DMA and MPRT. set -F CPU 2116,32K,EAU deposit S 000011 reset go 100 until "MEMORY\r\n" deposit M 115 assert T=010044 ; Configure as a 2100 with DMA, MP, and EAU. echo echo echo Configuring the CPU as a 2100 with DMA and MPRT. set CPU 2100,32K deposit S 000011 reset go 100 until "MEMORY\r\n" deposit M 115 assert T=070077 ; Configure as a 1000-M with DMA and MP. echo echo echo Configuring the CPU as a 1000-M (21MX-M) with DMA and MPRT. set CPU 1000-M,128K deposit S 000011 reset go 100 until "MEMORY\r\n" deposit M 115 assert T=100177 ; Configure as a 1000-E with DMA and MP. echo echo echo Configuring the CPU as a 1000-E (21MX-E) with DMA and MPRT. set CPU 1000-E,128K deposit S 000011 reset go 100 until "MEMORY\r\n" deposit M 115 assert T=110177 ; CPU and option detection complete. echo echo echo Detection tests complete. ; ************************************************* ; * * ; * HP 1000 Diagnostics Suite -- 32-bit Version * ; * * ; ************************************************* echo echo echo echo echo ------------------------------------------- echo HP 1000 Diagnostics Suite -- 32-Bit Version echo ------------------------------------------- ; Establish the base CPU for the diagnostics. echo echo Configuring the CPU as a 1000-E with 128K. set CPU 1000-E,128K ; Establish the standard break time for diagnostic responses. break delay 300 milliseconds ; Prepare for automatic configuration with program load from magnetic tape. echo echo Configuring the diagnostic configurator for magnetic tape loading. echo Expect halt 102077 if successful. deposit P 000100 deposit S 011611 reset go assert T=102077 ; Floating Point Instruction Group diagnostic (DSN = 101207). do %1CPU-FP.inc ; M/E-Series Fast FORTRAN Package 1 diagnostic (DSN = 101213). do %121MX-FFP-1-32.inc ; M/E-Series Fast FORTRAN Package 2 diagnostic (DSN = 101114). do %121MX-FFP-2-32.inc ; ************************************************* ; * * ; * HP 2100 Diagnostics Suite -- 32-bit Version * ; * * ; ************************************************* echo echo echo echo echo ------------------------------------------- echo HP 2100 Diagnostics Suite -- 32-Bit Version echo ------------------------------------------- ; Establish base CPU for diagnostics. echo echo Reconfiguring the CPU as a 2100 with 32K. set -F CPU 2100,32K ; Load the diagnostic configurator. attach -E -R MSC0 %124396-13601_Rev-1713.abin.tape echo echo Loading the diagnostic configurator from magnetic tape. echo Expect halt 102077 if successful. deposit S 000000 boot MSC0 assert T=102077 ; Verify the Diagnostic Serial Number. echo echo Verifying DSN 000200. deposit M 126 assert T=000200 ; Prepare for automatic configuration with program load from magnetic tape. echo echo Configuring the diagnostic configurator for magnetic tape loading. echo Expect halt 102077 if successful. deposit P 000100 deposit S 011611 reset go assert T=102077 ; 2100 Fast FORTRAN Package diagnostic (DSN = 101110). do %12100-FFP-32.inc ; Diagnostics suite run is complete. ; ; Exit the simulator. echo echo echo echo ------------------------------ echo Diagnostics Suite Run Complete echo ------------------------------ echo echo Run ended on %DATE_MMM% %DATE_DD%, %DATE_YYYY% at %TIME_HH%:%TIME_MM%:%TIME_SS% echo exit