VOGONS

Common searches


First post, by Space-Tech

User metadata

Newbie here.
Hi all,

I have two LED Wall displays that receive their data from a Win95 PC using the COM1 serial port.
These wall display are used for displaying messages like:
"No visitors allowed"

I would like to use the app on Windows 2000 but of course it does not work.
Can I use DOSBox 0.63 to execute a BATCH file using COM1 ?
And if so, how ?

Reply 1 of 4, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Only a batch file (echo text >com1) or is there also a .exe with the displays? First case should work in windows 2000, if not try to set the handshake of that port to none (device manager -> your com port -> settings). If there is an exe it might work with a Dosbox CVS.
In the dosbox.conf:

[serial]
serial1 directserial realport:com1
# serial1 is the com1 inside dosbox, com1 is the Windows port name

1+1=10

Reply 2 of 4, by Guest

User metadata

This is the exact line copied from my shortcut:
C:\walld\NY\send.bat C:\walld\MOC\opscon0 1

Here is the contents of my BATCH file
@ECHO OFF

REM CE FICHIER DE COMMANDE PERMET DE COMPILER, LINKER, ET ENVOYER
REM DES MESSAGES DEJA EDITES A UN PANNEAU VIPCO NEW YORK.

IF EXIST %1.MSG GOTO CPL
ECHO.
CLS
ECHO Voici la liste des messages disponibles:
DIR /W/ON *.MSG
ECHO.
ECHO Veuillez ecrire SEND, le nom du fichier sans extension et
ECHO le num‚ro du panneau
ECHO.
GOTO END
:CPL

COMPILE %1.MSG %1.DAT
LINKADD SEND.ADD %2 %1.DAT
LINKLOC SEND.LOC 663-8552 9600 SEND.ADD
CALLX LD SEND.LOC
DEL *.LOG
ECHO.
:END

Here is the dosbox.conf file
directserial=true
comport=1
realport=COM1
defaultbps=9600
parity=N
bytesize=8
stopbit=1

And I do not understand what you mean by the "serial1"

Reply 3 of 4, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Hmm more apps involved.

[autoexec]
mount c c:\
C:\walld\NY\send.bat C:\walld\MOC\opscon0 1

> And I do not understand what you mean by the "serial1"

Old dosbox 0.63 uses

[directserial]
directserial=true
comport=1
realport=COM1
defaultbps=9600
parity=N
bytesize=8
stopbit=1

Newer Dosbox CVS builds use

[serial]
serial1 directserial realport:com1