=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/vax-simh.html,v retrieving revision 1.31 retrieving revision 1.32 diff -c -r1.31 -r1.32 *** www/Attic/vax-simh.html 2015/07/02 05:49:04 1.31 --- www/Attic/vax-simh.html 2015/11/16 23:58:23 1.32 *************** *** 19,25 **** It is very easy to install OpenBSD/vax on the SIMH VAX simulator. All you need is a reasonably fast machine, enough disk space for a 1.5GB ! disk image and the vax floppy53.fs file. Assuming you're going to run SIMH on an OpenBSD system, install the emulators/simh package from ports. --- 19,25 ---- It is very easy to install OpenBSD/vax on the SIMH VAX simulator. All you need is a reasonably fast machine, enough disk space for a 1.5GB ! disk image and a floppyXX.fs file from the OpenBSD/VAX distribution. Assuming you're going to run SIMH on an OpenBSD system, install the emulators/simh package from ports. *************** *** 42,48 **** at rq1 /dev/rcd0c set rq2 cdrom ! at rq2 floppy53.fs at xq0 tap:tun0 --- 42,48 ---- at rq1 /dev/rcd0c set rq2 cdrom ! at rq2 floppy58.fs at xq0 tap:tun0 *************** *** 52,57 **** --- 52,59 ---- + For OpenBSD >5.8, replace "at xq0 tap:tun0" with "at xq0 tap:tap0".
+ This configures SIMH to simulate a VAX with a whopping 128 MB of memory, a RA92 1.5GB disk, a CD-ROM unit to hold CD1 of your CD-ROM set, another CD-ROM unit to boot from, and a DELQA Qbus Ethernet *************** *** 78,90 ****
! Create the tun0 network interface, set it into layer 2 mode and bring it up:
--- 80,98 ----# ifconfig tun0 create # ifconfig tun0 link0 # ifconfig tun0 up
! Create the network interface, set it into layer 2 mode if necessary, ! and bring it up:
*************** *** 92,114 ****+ # OpenBSD <=5.8 # ifconfig tun0 create # ifconfig tun0 link0 # ifconfig tun0 up + + # OpenBSD >5.8 + # ifconfig tap0 create + # ifconfig tap0 up
! By setting appropriate permissions on /dev/tun0 you can avoid running ! SIMH as root.# ifconfig bridge0 create # ifconfig bridge0 fwddelay 4 # ifconfig bridge0 add em0 add tun0 # ifconfig bridge0 up
! Alternatively, if you cannot use bridge(4) (for example with some ! wireless drivers), you can use BPF to connect to the network. ! In this case, you can skip the above ifconfig lines and ! replace the "at xq0 tap:tun0" line with a line like this, ! replacing iwn0 with your actual network interface as necessary:
at xq0 iwn0 --- 100,130 ----! By setting appropriate permissions on /dev/tun0 or /dev/tap0 you can ! avoid running SIMH as root.+ # OpenBSD <=5.8 # ifconfig bridge0 create # ifconfig bridge0 fwddelay 4 # ifconfig bridge0 add em0 add tun0 # ifconfig bridge0 up + + # OpenBSD >5.8 + # ifconfig bridge0 create + # ifconfig bridge0 fwddelay 4 + # ifconfig bridge0 add em0 add tap0 + # ifconfig bridge0 up! 802.11 wireless interfaces cannot use bridge(4) without WDS support; ! in this case you can use BPF to connect to the network. ! Skip the above ifconfig lines and replace the ! "at xq0 tap:tun0" or "at xq0 tap:tap0" line with ! a line like this, replacing iwn0 with your actual network interface ! as necessary:
at xq0 iwn0 *************** *** 116,122 ****! Copy vax/floppy53.fs to the location of your OpenBSD/vax SIMH environment. Now fire up SIMH. At the boot prompt you should type boot --- 132,138 ----
! Copy the relevant vax/floppyXX.fs file to the location of your OpenBSD/vax SIMH environment. Now fire up SIMH. At the boot prompt you should type boot *************** *** 178,184 **** When you are done installing any additional packages, you might want to remove the lines referring to your real CD-ROM unit and ! floppy53.fs from your openbsd.simh file.
--- 194,200 ---- When you are done installing any additional packages, you might want to remove the lines referring to your real CD-ROM unit and ! floppyXX.fs from your openbsd.simh file.