; Automatically boot the MPE system from the disc. ; ; This command file cold loads MPE from the system disc and executes a ; COOLSTART to bring the system up. It is invoked as follows: ; ; hp3000 mpe-auto ; ; The date and time are set, and MPE logs OPERATOR.SYS into the system console. ; ; The ATC is configured to listen for Telnet connections on local port 1054. ; Connecting an HP terminal emulator (for ENQ/ACK support) to the port and ; pressing ENTER will bring up the MPE logon prompt. The MANAGER.SYS account is ; provided (with no password). ; ; ; NOTES: ; ; - A newly RESTOREd system disc will be named "mpe-reload.7920.disc". The ; file must be renamed "mpe.7920.disc" for use with this command file (this ; prevents a new system generation from overwriting a good system disc). ; ; - Line printer output goes to the file "printer.txt", which is cleared or ; recreated each time the simulator is restarted. If you prefer to append ; each session's output onto the file's previous contents, then remove the ; "-N" switch from the LP attach line. ; ; - If the terminal used for the system console responds to the ENQ/ACK ; protocol, speed-sensing does not require the user to enter a carriage ; return. The default setting for ATC channel 0 (LOCALACK) is to reply to ; ENQ with an ACK internally, so the REPLY "\r" command below is not needed, ; although it is harmless. However, if the setting is changed to REMOTEACK, ; then the REPLY will be required. ; ; - Concurrent mode is enabled on the system console so that ATTACH commands do ; not require stopping the simulator and so cause the MPE system clock to ; lose time. ; ; - MPE-V/R is not year-2000 compliant. As such, only dates from 1999 and ; earlier are accepted. This script selects a year whose days of the week ; and leap-year status are identical to the current year. For example, ; February 29, 2016 is a Monday, as is February 29, 1988. ; Set up the console log. set -N console log=mpe-sysdc-reload-auto.log set -N console debug=mpe-sysdc-reload-auto-debug.log ; Configure the CPU. set CPU 512K,CIS,IDLE=10 ; 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. break delay 100 milliseconds set console DEL=177 ; Set up the ATC to listen for Telnet connections on local port 1054. attach ATCD 1054 ; Load paper into the line printer. ; attach -N LP printer.txt ; Set the disc mode and attach the configured disc image file. set DS0 7920 attach -E DS0 mpe-sysdc-reload-U0.7920.disc set DC0 7912,BUS=0,UNIT=0 set DC1 ENABLED,7912,BUS=0,UNIT=1 attach -E DC0 mpe-sysdc-reload-U0.7912.disc ; Set the debugging options. ; set cpu debug ;set iop debug=dio;irq,filter=0-87 ;set imba debug ;set gic debug=xfer set dc debug=cmd;inco ;set cpp debug=opnd;cmd ; Cold load MPE from the disc. deposit SWCH 000004 load ; 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 current date and time. go until "DATE (M/D/Y)?" ; reply "%DATE_MM%/%DATE_DD%/%DATE_RR%\r" go until "TIME (H:M)?" ; reply "%TIME_HH%:%TIME_MM%\r" go until "(Y/N)" ; reply "Y\r" go