VOGONS

Common searches


First post, by olhany

User metadata
Rank Newbie
Rank
Newbie

I run an old DOS-based PLC-programming tool in DOSBox 0.74. The programming tool seems to work well in the PC itself.

But when I am trying to use the tool in order to communicate with an external PLC through the embedded COM-port, I get "communication error".

Part of my dosbox.conf:

[serial]
serial1=directserial realport:com1

(I have checked the Device Manager, and the embedded serial port is COM1)

Is there any workaround og patch awailable?

Reply 1 of 7, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Are you sure this is a problem with DOSBox?

If the program is small enough, maybe you could try booting with a DOS boot disk and running the program from there.

Reply 6 of 7, by firealarm monkey

User metadata
Rank Newbie
Rank
Newbie

Can you expand on this answer? Im trying to use DOSBOX to run old Fire alarm programming.

I also cannot get DOSBOX to talk to the serial port. I do not understand the advice you have given here?

Reply 7 of 7, by olhany

User metadata
Rank Newbie
Rank
Newbie

This is what I have done:

1. Download and install the D-Fend Reloaded in Portable mode onto an USB-disk
(http://dfendreloaded.sourceforge.net/)

2. Download an extract the Megabuild 6
(http://home.arcor.de/h-a-l-9000/index.html)

3. Substitute the DOSBox folder installed onto the USB-disk with that one
extracted from the Megabuild 6

4. Copy the old application folder into the USB-disk
(F:\D-Fend-Reloaded\VirtualHD\)

5. Execute F:\D-Fend-Reloaded\DFend.exe

6. From the top menu, select: Extras -> Scan games folder for new games

A new line in the right pane will now represent the old application

7. Right-click this new line, and select: Create shortcut, and OK

8. Edit the [serial] -section of the applications conf-file (*.prof -file) in
F:\D-Fend-Reloaded\Confs\
(NOT the global one named DOSBox DOS.prof....)

9. Start the old application by clicking the shortcut created in 7.
(It is not nesessary to execute DFend.exe prior to this)