Wayne Conrad's Blog

home

Simh/Nova - Scripting Startup

09 Dec 2015

This post is part of the series on Learning the Data General Nova with simh.

Starting simh the hard way

In order to start simh with RDOS, we need to enter the same series of commands every time:

$ dgnova

NOVA simulator V3.8-1
sim> att dkp0 rdos_d31.dsk
sim> set tti dasher
sim> boot dkp0

NOVA simulator V3.8-1

Starting simh with a script

We can put those commands into a file so that we don’t have to type them. Create a file boot.simh with the simh commands:

att dkp0 rdos_d31.dsk
set tti dasher
boot dkp0

If we pass the name of that file to simh, it will run the commands from that file:

$ dgnova boot.simh

NOVA simulator V3.8-1

But I don’t want to type even that much. Let’s create the file boot.sh:

#!/bin/sh
dgnova boot.simh

Mark it as executable:

chmod +x boot.sh

And now start the sim with it:

$ ./boot.sh

NOVA simulator V3.8-1
comments powered by Disqus