[COLUG] Dosbox serial ports
charles morrison
charlie2 at ledgible.com
Tue Dec 4 08:47:40 EST 2007
I have a few programs which I wish to run under Linux which are written
in Quick Basic. The program of interest loads, starts, and runs under
Dosbox. Unfortunately, it uses the serial port. Also, unfortunately,
laptops come with USB ports.
There are patches available for Dosbox for serial port drivers, but I
have found nothing for a USB serial port.
My thinking is to redirect Dosbox I/O using a pipe command or
redirecting I/O. So far, I have been unsuccessful at figuring out how to
do it, since the O part requires going from a Dos Com1 to a Linux
/dev/ttyUSBx using a dos command, and the I part requires taking input
from a Linux /dev/ttyUSBx and redirect to a Dos Com1.
Any ideas would be appreciated.
Here are answers to unasked questions: No, I'm not buying an old
laptop. No, I can't carry a desktop where ever I go into a customer's
plant. No, I don't want to use windows. No, it doesn't work under WINE,
either. Yes, I have put renaming into the Dos partition for WINE and in
the USB drivers to recognize the USB to serial adapter and rename it as
Com1. Gambas only compiles Visual Basic programs, not Quick Basic (so
I've been told). No, I have not tried any other Dos emulators.
Thanks,
Charlie Morrison
--
Charlie Morrison
American LED-gible, Inc
1776 Lone Eagle Street
Columbus, OH 43228 USA
614-851-1100
FAX 614-851-1121
We use ISO 26300 document standards available through Open Office at http://www.openoffice.org
More information about the colug432
mailing list