On Saturday 02 October 2004 14:13, Stan Barr wrote:
Hi,
ben franchuk <bfranchuk(a)jetnet.ab.ca> said:
Why don't you get one of the 'floppy'
linux systems and build simh
to run from that.
Also AFAIK simh won't support a real console terrminal on a serial
port, which was part of my requirement.
Sure it will, just start it like:
getty -in -l /usr/bin/pdp11 ttyS0 9600 vt100
(getty syntax will vary depending on the getty that's installed on your
machine. The syntax above works with "agetty" as distributed with
Debian GNU/Linux).
Or you can just run a normal getty on your serial port, and log into the
*nix via the serial port and run simh.
So, if you felt creative, you could do:
getty -in -l /usr/local/bin/pdp11-script.sh ttyS0 9600 vt100
sleep 10 # or whatever you feel like
getty -in -l /usr/local/bin/telnet-script.sh ttyS1 9600 vt100
sleep 1
getty -in -l /usr/local/bin/telnet-script.sh ttyS2 9600 vt100
sleep 1
getty -in -l /usr/local/bin/telnet-script.sh ttyS3 9600 vt100
sleep 1
getty -in -l /usr/local/bin/telnet-script.sh ttyS4 9600 vt100
sleep 1
# repeat as necessary
And have a pdp11-script.sh which sets up and runs simh appropriately,
and a telnet-script.sh like:
#!/bin/sh
telnet localhost 10000
...assuming that you have port 10000 as the TCP port you gave to simh
for connections to your simulated DZ11.
I'm tempted to cook up a small Linux/simh image that'll do this.
Pat
--
Purdue University ITAP/RCS ---
http://www.itap.purdue.edu/rcs/
The Computer Refuge ---
http://computer-refuge.org