VOGONS


COM port not working

Topic actions

First post, by GeorgeC

User metadata

I have a PC with the following specs -
P4 3.0gHz
ASUS P4C800-E
1gb RAM
Radeon 9600XT

I have a program P4000 that I use to exchange data between my PC and a RC transmitter. I can run the program in DOSBox but I cannot communicate via the serial port. I have tried this on another DOS PC and I can get everything to work there.

I have configured the port in the config file.
I have confirmed my port is working with other software (not in DOSBox).

Can anyone help me with this problem?

Thanks, George

Reply 1 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Not yet I think. But there is patch on its way that might help you:
DirectSerial patch

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 20, by GeorgeC

User metadata

Thank you very much.

My son is a programmer now working in the USA and has built a dos box before. He works in C++ every day and is going to put this together for me over the next week. I'll post the outcome.

George

Reply 3 of 20, by GeorgeC

User metadata

Stuart (my son) has compiled the program now and the serial port works fine now.

Thanks for your help.

Reply 4 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Good to hear, George!

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 5 of 20, by PC

User metadata

George, would it be possible to get a copy of your son's patched program to try out?

Reply 6 of 20, by Guest

User metadata

Hi George, I read about "compiling the patch" but I don´t understand anything about this, so i´d be happy if could have a copy of your son´s program too.

Thanks Philipp

Reply 7 of 20, by eflip

User metadata
Rank Newbie
Rank
Newbie

Sorry, I forgot to log in (guest = eflip)

Thanks Philipp

Reply 8 of 20, by Guest

User metadata

up!

first: sorry my poor english...

I want use alarm system remote programmer in dosbox under debian/sarge linox or windows xp, but com port don't work.
I searching the answer in forum, but i don't find the mentioned patch on http://dosbox.sourceforge.net page 🙁
Please anyone direct link the patch here...

Best Regards:
Leslie Vajda
Hungary

Reply 10 of 20, by Guest

User metadata

I was download the zipped program: download.php?id=1413 (name: dosbox_cvs_serport_win32.zip), unzip file to dosbox program directory, put msvcp71.dll and msvcr.dll to c:\windows\system directory, but my dos program don't look serial port.

This program require any settings?

Reply 11 of 20, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Probably. Type in config -writeconf dosbox.conf inside DOSBox. Exit from it and edit dosbox.conf using Notepad. Check for relevant configuration strings there. 😎

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 12 of 20, by Guest

User metadata

I typed:

Type in config -writeconf dosbox.conf inside DOSBox

Then edit my dosbox.conf:

[sdl]
fullfixed.
ddraw.
hardware scaling.
focused/minimized.

fullscreen=false
fulldouble=false
fullfixed=false
fullresolution=1024x768
output=surface
hwscale=1.00
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt

[dosbox]
language=
machine=vga
captures=capture
memsize=16

[render]
frameskip=0
aspect=false
scaler=normal2x

[cpu]
core=normal
cycles=3000
cycleup=500
cycledown=20

[mixer]
nosound=false
rate=22050
blocksize=2048
prebuffer=10

[midi]
mpu401=true
intelligent=true
device=default
config=

[sblaster]
type=sb16
base=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
gus=true
rate=22050
Show last 39 lines
base=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]
pcspeaker=true
pcrate=22050
tandyrate=22050
disney=true

[modem]
modem=false
comport=2
listenport=23

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

[bios]

[dos]
xms=true
ems=true

[ipx]
ipx=false

[autoexec]
mount c c:\
c:

When start a dos program, in modem detection phase close the dosbox window (i probed with interrupt and polling modem detection modes) 🙁
[/list]

Reply 13 of 20, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

WTF?

1. What version of DOSBox are you using?

2. Try renaming your dosbox.conf first, then launching DOSBox and doing the writeconf thing. You'll get lots of helpful comments if you're using a recent version.

Reply 14 of 20, by Guest

User metadata

1. What version of DOSBox are you using?

0.6.3 (latest)

2. Try renaming your dosbox.conf first, then launching DOSBox and doing the writeconf thing. You'll get lots of helpful comments if you're using a recent version.

i follow your instructions, the comments removed by me, the code is shortest in this list...

Reply 15 of 20, by h-a-l-9001

User metadata

The dosbox_cvs_serport_win32.zip is actually from February 2005 CVS.

Reply 16 of 20, by Guest

User metadata
h-a-l-9001 wrote:

The dosbox_cvs_serport_win32.zip is actually from February 2005 CVS.

I dowbload the latest (2005.04.25) cvs, extract to a folder, but when i start it, no sdl.dll error msg is present.
I copyed sdl.dll from dosbox 0.63 (stable) directory to the cvs program directory, but the com port don't work 🙁
The error msg in dosbox terminal:
Exit to error: set priority command not handled

What's the problem?

Reply 17 of 20, by h-a-l-9001

User metadata

Dosbox's interrupt controller is not completely implemented.

Reply 19 of 20, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Try a recent CVS build.

wd