On 25 Sep 2019, Phil Taylor said the following...
I am stuck on trying to get any door to work with dosemu and the current version of Mystic BBs running under Linux. Can someone please give me a example of there menus, dosemu configs and the your batch files so I can use them was a example to see what the issue is?
Hi Phil,
I'll go through my setup that I have here for Arrowbridge, as that was the first one listed in my Games menu. :)
Mystic is set to:
Command
(DD) Exec external program
Data
dosemu -I"serial { com 1 virtual }" "d:\doors\ab.bat %3" %3 /DOS
Sorry, the wordwrap wasn't liking the data line, so I put it on its own line.
ab.bat
d:
cd \doors\
bnu
cd \doors\ab\
abridge.exe /LOCKED=38400 /NODE%1 /Pd:\mystic\temp%1\
As for dosemu, I'm running it stock on my system.
For my directory structure, I have Mystic installed in my home directory ~/mystic. The doors are all located in ~/doors, and I have bnu in ~/doors. I just run that before the door, if needed.
My dosemu autoexec.bat file looks like:
@echo off
rem autoexec.bat for DOSEMU + FreeDOS
path z:\bin;z:\gnu;z:\dosemu;d:\path
set HELPPATH=z:\help
set TEMP=c:\tmp
rem blaster
prompt $P$G
unix -s DOSDRIVE_D
if "%DOSDRIVE_D%" == "" goto nodrived
lredir del d: > nul
lredir d: linux\fs%DOSDRIVE_D%
SET PKUNZIP=-)
:nodrived
rem uncomment to load another bitmap font
rem loadhi display con=(vga,437,2)
rem mode con codepage prepare=((850) z:\cpi\ega.cpx)
rem mode con codepage select 850
rem chcp 850
rem lredir e: linux\fs/media/cdrom c
unix -s DOSEMU_VERSION
echo "Welcome to dosemu %DOSEMU_VERSION%!"
unix -e
share
d:\doors\bnu.com /L0:57600,8N1 /F
and my dosemu config.sys:
rem config.sys for DOSEMU + FreeDOS
rem note that the initial "D:" is set to "Z:" at the end
SWITCHES=/F
DOS=UMB,HIGH
dosdata=umb
lastdrive=Z
files=200
stacks=0
buffers=99
device=d:\dosemu\ems.sys d:\doors\bnu.sys
install=d:\dosemu\lredir.com z: linux\fs\${DOSEMU_LIB_DIR}/drive_z ro shellhigh=z:\command.com /e:1024 /p
Hope this helps...
---
Black Panther(RCS)
Castle Rock BBS
--- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
* Origin: Castle Rock BBS - bbs.castlerockbbs.com (1:317/3)