I’ve known about this website for a while but although the author had made some (considerable) progress enhancing the VAX simulations in ‘simh‘ until a few months ago there was no code available to run on Linux.
When I noticed that the source code for ‘simh’ has been updated and now included simulations for the VAXstation I and II, I decided that at some point I was going to have to try it out, even though I had been quite successful in using my Linux PC with DEC windows.
Today I finally got around to it. Why – because I can…!
First you will need to download and compile the current version of ‘simh’, then if you want to be able to access the network from your simulated VAXstaton you will need to configure the tun/tap network interfaces.
Note – You will need to compile ‘simh’ with SDL support to be able to use the emulated video.
When starting the simulation you will need to tell it what devices are configured and several other options, the most important in this case being the cpu model.
;-- Load CPU microcode and attach non-volatile RAM
load -r ka630.bin ; Modified firmware to emulate a MicroVAX II.
attach nvr vaxstation.bin
;-- Set MAC address and attach Ethernet to a network interface
; to eth0 (If using DECnet the MAC address should be set to
; match the DECnet address).
set xq mac=AA-00-04-00-10-32
attach xq tap:tap0 ; Assuming tun/tap used.
;-- Attach defined drives to local files
set rq0 rd54
attach rq0 vax$station.dsk ; Boot disk
set rq3 cdrom
attach -r rq3 vax$vms.iso ; Installation media
;-- Disable unused devices. It's also possible to disable individual
; devices, using a construction like "set rq2 disable" if desired.
set dz lines=4
;set xq disable ; If not using the network.
set rl disable
set ts disable
set tq disable ; Tape drives
set rq1 disable
set rq2 disable
;-- Select HALT operation
set cpu conhalt ; Retuern control to VAX console.
;set cpu simhalt ; Return control to simh
;-- Set console port and break character (used to return control
; to simulator).
set console notelnet, wru=10 ; Ctrl-P to exit, do not use telnet
;-- Set CPU parmeters and boot.
;set cpu autoboot
set cpu idle=vms
set cpu 16m ; Must be not more than 16 megabytes
set cpu model=vaxstation ; The important bit!
; Exit the simulator.
To start ‘simh’ all you need to do is invoke the simulator and pass it the name of the configuration file.
$ microvax2 vaxstation.cfg
If you have already installed VMS and enabled DECwindows then after a while you should see a familiar login screen..
Unfortunately the display is only black and white (that gray window border in the screenshot below is achieved by using a pattern). In the future I hope ‘simh’ will be able to simulate the GPX colour graphics display on a VAXstation 3100 Model 76, but for now I’m very happy as I can now run my Xwindows code natively on a ‘real’ VAXstation.