Dosemu serial port problem
Hi,
I'm having a problem regarding Dosemu. I had been searching on the net but found nothing appropriate.
There is a hardware that needs to talk to a dos program running inside dosemu through the com (serial) ports. This is a telephone register program. The serial cable is connected to COM1 and the /etc/dosemu/dosemu.conf is setup with $_com1 = /dev/ttyS0 (ttyS0 exists in the dev folder).
Unfortunately it doesn't seem to work. Though i worked ONLY ONCE! :) The developer of this particular dos program checked the serial port with another dos program that tests if it works, and it did. Only in this Telephone register program it doesn't work.
Could anyone point me out to the right direction or forum to ask for help, or give me any ideas?
Even tried to create a lock directory and set up $_ttylocks, even tried to run dosemu as root, but nothing.
My system: Ubuntu Gutsy 7.10 with dosemu v1.4.0.0
Thank You in advance for any help-
Andras Horvath
Quoted 7 lines · Horváth András
There is a hardware that needs to talk to a dos program running inside dosemu through the com (serial) ports. This is a telephone register program. The serial cable is connected to COM1 and the
/etc/dosemu/dosemu.confis setup with $_com1 =/dev/ttyS0(ttyS0 exists in the dev folder).
Quoted 8 lines
Unfortunately it doesn't seem to work. Though i worked ONLY ONCE! :) The developer of this particular dos program checked the serial port with another dos program that tests if it works, and it did. Only in this Telephone register program it doesn't work.
Could anyone point me out to the right direction or forum to ask for help, or give me any ideas?
Try the same program with dosbox http://www.dosbox.com/
I have found dosbox to have much better serial port control than dosemu.
For example, on one program I have, dosemu hangs trying to access the serial port, but dosbox works fine with it.
On closer inspection, I discovered that dosemu tends to work ok with dos programs that use the serial fifo. For dos programs that do not use the fifo, dosemu fails.
Kind Regards
James
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html