; Boot the MPE system from the disc. ; Set up the log(s). ; set -n console log=mpe.log set -n console debug=mpedebug.log ; Configure the simulation environment. set console DEL=177 set cpu CIS,IDLE=10 if "%SIM_MAJOR%" == "3" break after=100000 if "%SIM_MAJOR%" != "3" expect haltafter=100000; set env reply=send ; Set up the ATC. attach atcd 1054 ; Set the disc mode and image file. set ds0 7920 attach -e ds0 mpe.7920.disc ; Set the debugging options. ; set cpu debug ; set cpu stop=unimpl ; set iop debug=dio;irq,filter=3;7 ; set mpx debug ; set ms debug ; set atcd debug=csrw;xfer ; set sel debug ; set ds debug ; set clk debug ; Boot the disc. boot ds0 ; Start the MPE initiator. ; ; Respond to "WHICH OPTION ? " go until "? " ; reply "COOLSTART\r" ; Respond to "ANY CHANGES? " go until "? " ; reply "NO\r" ; Respond to "DATE (M/D/Y)?" go until "?" ; reply "%DATE_MM%/%DATE_DD%/%DATE_RR%\r" ; Respond to "TIME (H:M)?" go until "?" ; reply "%TIME_HH%:%TIME_MM%\r" ; Respond to "SUN, APR 5, 1987, 1:31 AM? (Y/N)" go until ")" ; reply "Y\r" go