; Load CPU microcode
load -r /usr/share/simh/vax/ka655x.bin
;
; Attache non-volatile RAM to a file
attach nvr /home/vms/data/nvram.bin
; This virtual machine has 512M memory
set cpu 512M

; enable cpu idle
set cpu idle

; enable async IO
set asynch

; Define disk drive types. RA92 is largest-supported VAX drive
set rq0 ra92
set rq1 ra92
set rq2 ra92
set rq3 cdrom

; Attach defined drives to local files
attach rq0 /home/vms/data/d0.dsk
attach rq1 /home/vms/data/d1.dsk
attach rq2 /home/vms/data/d2.dsk

; Attache the CD-ROM to its file (read-only)
attach -r rq3 /home/vms/data/openvms-vax-073-os.iso

; Disable unused devices.  It's also possible to disable individual devices,
; using a construction like 'set rq2 disable" if desired

;set r1 disable
set ts disable

; Attache Ethernet to a network interfcae
set xq ma=08-00-2B-AA-BB-CC
attach xq tap:tap0

; Uncomment the line below to enable auto-boot
dep bdr 0
; Choose one of the following lines. SET CPU CONHALT returns control to the
; VAX console monitor on a halt event (where behavior will be further
; determined by whether auto-boot is set--see above. SET CPU SIMHALT will
; cause the simulator to get control instead.
set cpu conhalt
;set cpu simhalt
;
; Now start the emulator
boot cpu
;
; Exit the simulator
exit

