Sunrise Door and Home Software





How to setup Sunrise Door Software products Using LINUX Operating System

Contact information to obtain clarification and answer your questions:

Author Bryan Ashby
BBS ENiGMA½ WHQ Xibalba: xibalba.l33t.codes:44510
IRC #enigma-bbs on chat.freenode.net
EMAIL bryan -at- l33t.codes
FACEBOOK ENiGMA½ group

INTRODUCTION

Running 16-bit DOS doors can be a little tricky under Linux. Some possibilties for doing this include DOSEMU, DOSBox, and QEMU. This guide covers QEMU. With QEMU we can load FreeDOS and execute doors. To make this flexible with multiple doors, a small "bootstrap" script can be used.


GENERAL INFORMATION and SETUP

An up to date guide for QEMU with ENiGMA½'s "abracadabra" module (used for launching most doors) can be found at the following URL:

https://github.com/NuSkooler/enigma-bbs/blob/master/docs/doors.md

The important note with Sunrise Doors is that upon exit, if a "vfat" drive (e.g. QEMU's -hdX fat:/... param) is used for dropfile location for example, FreeDOS will lock up! This appears to occur due to the door attempting to perform a write operation on the dropfile/drive.

This can be remedied using the follwoing 2 steps:

1) Use DORINFOx.DEF dropfile format for your Sunrise Doors

2) DO NOT point to a virtual drive such as D:\DORINFOx.DEF for in door configurations. Instead, ensure your "GO.BAT" *copies* from D:\DORINFOx.DEF to a non-virtual location such as somewhere on C:\. A good place can simply be the path of the particular door such as C:\DOORS\NORA\.


EXAMPLE

An example bootstrap technique, using the Sunrise Doors Quest for Nora product:

----/cut here/----

#!/bin/bash

NODE=$1
DROPFILE=D:\\$2
SRVPORT=$3
mkdir -p /home/enigma/dos/go/node$NODE
cat > /home/enigma/dos/go/node$NODE/GO.BAT << EOF
C:
CD \DOORS\NORA
COPY /Y $DROPFILE
QFNMAINT.EXE
CALL TQFN.BAT $NODE
FDAPM POWEROFF
EOF
unix2dos /home/enigma/dos/go/node$NODE/GO.BAT

qemu-system-i386 -localtime /home/enigma/dos/images/freedos_c.img -chardev socket,port=$SRVPORT,nowait,host=localhost,id=s0 -device isa-serial,chardev=s0 -hdb fat:/home/enigma/xibalba/dropfiles/node$NODE -hdc fat:/home/enigma/dos/go/node$NODE -nographic

----/cut here/----



Moving Eye Line

Moving Eye Line


Last modified: January 12, 2020        Valid XHTML 1.0 Transitional