VOGONS


First post, by aikorob

User metadata
Rank Newbie
Rank
Newbie

At work, we have a DOS program that we use for programming industrial processors (Allen-Bradley 100/150). Our old shop laptop was running Win98, and this program worked fine. New laptop--WinXP SP2- it will not work. Error message: could not open Com Port 1. I installed DosBox and configured it, now the program will load fine, but the com port is still not available. The A-B program wants Com Port 1; 19200 or 9600 baud on startup. any suggestions?

Reply 3 of 5, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

How was the program accessing ports in the older setup? Maybe it was looking for COM2 _ Your current bios setup seems correct.

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

Reply 5 of 5, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

You should also try configuring COM passthrough for DOSBox (I had never used it, heh). Edit dosbox.conf inside the folder where you have DOSBox installed. BUT IT DOES NOT WORK UNDER OFFICIAL DOSBOX 0.63 - YOU MUST USE SOME CVS VERSION LIKE Ykhwong's

E.g. This is an excerpt.

[serial] # serial1-4 -- set type of device connected to com port. # Can be disabled, dummy, modem, directserial. # […]
Show full quote

[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameters for all types are irq, startbps, bytesize,
# stopbits, parity (all optional).
# for directserial: realport (required).
# for modem: listenport (optional).

serial1=directserial irq=4, startbps=19200
serial2=dummy
serial3=disabled
serial4=disabled

This seems to work for me.

PS - Program also works for me running it natively under WinXP SP2.

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