; HP 3000 ONLINE DIAGNOSTICS SUITE ; ; This part of the HP Diagnostics Suite executes the online verifiers that run ; under the MPE operating system. The MPE V/R Version E.01.00 Diagnostics ; System and the MPE V/E Version G.3P.00 Diagnostics System are used as a host. ; ; Invocation: ; ; hp3000 diag-online [ ] ; ; If is null, the current directory is assumed. The path ; should end with a backslash if it is specified. The path must not contain ; embedded spaces, even if it is quoted. ; ; The verification programs are driven by individual include files. Each ; include file must start with a command to run its verifier program, ; supply whatever user input is required by the verifier, and then end with the ; CI prompt pending. ; ; For automated replies, a delay of 100 milliseconds is needed to ensure that ; the read is pending after the appropriate GO UNTIL halt. ; Capture the execution console log. set -N console log=DIAG-ONLINE-2.log ; Report the simulator version. echo echo show version ; ************************************* ; * * ; * Configure the Series III System * ; * * ; ************************************* echo echo echo ------------------------------- echo Series III System Configuration echo ------------------------------- ; Configure the simulation environment. ; ; We configure SCP's "GO UNTIL" command to break execution after a delay to ; allow MPE's I/O driver to turn the ATC port around for input. With this ; configuration, no reply delay is needed. ; ; We also configure the console DELETE key to send the ASCII DEL character. echo echo Configuring the simulation environment. break delay 100 milliseconds set console DEL=177 ; Configure the CPU. set CPU III ; Set the disc mode and attach the diagnostic system disc image file. set DS0 7920 attach -E DS0 MPE-Diagnostics.U0.7920.disc ; Set the printer mode and load the printer paper. set LP EXPAND attach -N LP LP-Verifier.printer ; Cold load MPE from the disc. echo echo Cold loading the operating system. deposit SWCH 000004 load echo echo echo ------------------- echo MPE V/R 7920 System echo ------------------- echo ; Speed-sense the system console (not usually necessary, but harmless). reply "\r" ; Specify the startup options. go until "WHICH OPTION ? " ; reply "COOLSTART\r" go until "ANY CHANGES? " ; reply "NO\r" ; Set the date and time for repeatability. go until "DATE (M/D/Y)?" ; reply "01/01/89\r" go until "TIME (H:M)?" ; reply "00:00\r" go until "(Y/N)" ; reply "Y\r" ; Wait until the system operator is logged on. go until "LOGON FOR: OPERATOR.SYS,OPERATOR ON LDEV #20" ; Configure the execution environment. go until "\r\n:" ; reply "STOPSPOOL 6\r" go until "SP#6/STOPPED\r\n" ; reply "\r" go until "\r\n:" ; reply "HEADOFF 6\r" go until "\r\n:" ; ******************************************** ; * * ; * HP 3000 Series III Online Verification * ; * * ; ******************************************** echo echo echo echo -------------------------------------- echo HP 3000 Series III Online Verification echo -------------------------------------- ; D466A Line Printer Online Verification do %1LP.inc 2607 128 ; D466A Line Printer Online Verification do %1LP.inc 2613 96 ; D466A Line Printer Online Verification do %1LP.inc 2617 96 ; D466A Line Printer Online Verification do %1LP.inc 2618 96 ; Verification suite run complete. ; ; Reply to "END OF PROGRAM" ; and ":" echo echo echo echo ----------------------------------------- echo Series III Diagnostics Suite Run Complete echo ----------------------------------------- echo ; Log the system manager off and shut the system down. reply "\r" go until "\r\n:" ; reply "BYE\r" go until "LOGOFF ON LDEV #20\r\n" ; reply "\001" go until "=" ; reply "SHUTDOWN\r" go ; Verify "Programmed halt, CIR: 030377 (HALT 17)" assert CIR=030377 ; Detach the system disc and printer in preparation for reconfiguration. detach DS0 detach LP ; Reset the system. reset -P ALL ; ************************************ ; * * ; * Configure the Series 58 System * ; * * ; ************************************ echo echo echo ------------------------------ echo Series 58 System Configuration echo ------------------------------ ; Configure the simulation environment. echo echo Configuring the simulation environment. ; Configure the CPU. set CPU S58,4096K set CPU STOP=COLDLOAD reset -P ALL ; Configure the I/O devices. set GIC COUNT=2 set GICA CHANNEL=11 set GICB CHANNEL=9 ; Set the disc mode and attach the diagnostic system disc image file. set DC0 7912 set DC1 ENABLED,9144 attach -E DC0 mpe-ve-reload.7912.disc ; Set the printer mode and load the printer paper. set LPA CHANNEL=11,BUS=4,EXPAND attach -N LPA LP-Verifier-2.printer ; Cold load MPE from the disc. echo echo Cold loading the operating system. start echo echo echo ------------------- echo MPE V/E 7912 System echo ------------------- echo ; Specify the startup options. go until "WHICH OPTION ? " ; reply "COOLSTART\r" go until "ANY CHANGES? " ; reply "NO\r" ; Set the date and time for repeatability. go until "DATE (M/D/Y)?" ; reply "01/01/89\r" go until "TIME (H:M)?" ; reply "00:00\r" go until "(Y/N)" ; reply "Y\r" ; Wait until the system operator is logged on. go until "LOGON FOR: OPERATOR.SYS,OPERATOR ON LDEV #20" ; Configure the execution environment. go until "\r\n:" ; reply "STOPSPOOL 6\r" go until "SP#6/STOPPED\r\n" ; reply "\r" go until "\r\n:" ; reply "HEADOFF 6\r" go until "\r\n:" ; ******************************************* ; * * ; * HP 3000 Series 58 Online Verification * ; * * ; ******************************************* echo echo echo echo ------------------------------------- echo HP 3000 Series 58 Online Verification echo ------------------------------------- ; D466A Line Printer Online Verification do %1LPA.inc 2611 96 ; D466A Line Printer Online Verification do %1LPA.inc 2613 96 ; D466A Line Printer Online Verification do %1LPA.inc 2617 96 ; D466A Line Printer Online Verification do %1LPA.inc 2618 96 ; D466A Line Printer Online Verification do %1LPA.inc 2619 96 ; Verification suite run complete. ; ; Reply to "END OF PROGRAM" ; and ":" echo echo echo echo ---------------------------------------- echo Series 58 Diagnostics Suite Run Complete echo ---------------------------------------- echo ; Log the system operator off and shut the system down. reply "\r" go until "\r\n:" ; reply "BYE\r" go until "LOGOFF ON LDEV #20\r\n" ; reply "\001" go until "=" ; reply "SHUTDOWN\r" go ; Verify "Programmed halt, CIR: 030377 (HALT 17)" assert CIR=030377 exit