113
I'm following this guide to setting up Qemu with doors (enigma 1/2):
https://www.sunrisedoors.com/linuxsetup.php
Everything works as expected, right up until where the arguments are passed to my lord.sh file and qemu attempts to connect to the temporary server port on localhost and map that to a serial device -- e.g. the last line! I get this error:
qemu-system-i386: -chardev socket,port=1234,nowait,host=localhost,id=s0: Failed
to connect socket: Connection refused
Any qemu gurus out there??
My lord.sh file:
#!/bin/bash
NODE=$1
DROPFILE=D:\\$2
SRVPORT=$3
mkdir -p /home/robbie/enigma-bbs/dos/go/node$NODE
cat > /home/robbie/enigma-bbs/dos/go/node$NODE/GO.BAT <<EOF
C:
CD \UTILS
BNU.COM
CD \DOORS\LORD
COPY /Y $DROPFILE
CALL START.BAT $NODE
FDAPM POWEROFF
EOF
unix2dos /home/robbie/enigma-bbs/dos/go/node$NODE/GO.BAT
qemu-system-i386 -localtime /home/robbie/enigma-bbs/dos/images/freedos_c.img -chardev socket,port=$SRVPORT,nowait,host=localhost,id=s0 -device isa-serial,chardev=s0 -hdb fat:/home/robbie/enigma-bbs/dropfiles/node$NODE -hdc
fat:/home/robbie/enigma-bbs/dos/go/node$NODE -nographic
--
Alpha
Card & Claw BBS
The Drunken Gamer BBS
--- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.18.3)
* Origin: The Drunken Gamer (21:4/158.2)