Usin Com Ports in Windos XP for MS-DOS apps
Usin Com Ports in Windos XP for MS-DOS apps
(OP)
Hi all,
I beg your assistance with some (i think) common problem when proramming devices through serial port.
Equipment:
Modern Laptop (Pentium 4 3.0ghz)
Windows XP
No serial ports. USB-to-Serial lead
Problem:
I have to program devices with an old MS-DOS software which has no Windows version (and it seems it will never have one). Trying with clock emulation and other WinXP compatibility options for .PIF files, i managed the program to "recognize" a serial port, but when trying to read through it, it seems to loss the link.
As far as i know, there could be 2 problems. WinXP prevents software to access serial port directly (but software finally "sees" the com port), and/or software can't keep connection stable due to the speed of the laptop, even if you enable the "emulate compatible hardware clock" option.
Any suggestions?
Thank you in advance.
I beg your assistance with some (i think) common problem when proramming devices through serial port.
Equipment:
Modern Laptop (Pentium 4 3.0ghz)
Windows XP
No serial ports. USB-to-Serial lead
Problem:
I have to program devices with an old MS-DOS software which has no Windows version (and it seems it will never have one). Trying with clock emulation and other WinXP compatibility options for .PIF files, i managed the program to "recognize" a serial port, but when trying to read through it, it seems to loss the link.
As far as i know, there could be 2 problems. WinXP prevents software to access serial port directly (but software finally "sees" the com port), and/or software can't keep connection stable due to the speed of the laptop, even if you enable the "emulate compatible hardware clock" option.
Any suggestions?
Thank you in advance.





RE: Usin Com Ports in Windos XP for MS-DOS apps
How it does that at the end of a usb link is beyond my capactity to imagine.
Plus XP will not allow direct hardware access.
NT was bad enough, but it did sort of work, albeit slowly, with dos serial apps.
rgds
Zeit.
RE: Usin Com Ports in Windos XP for MS-DOS apps
Serial in XP is a headache
RE: Usin Com Ports in Windos XP for MS-DOS apps
http://msdn.microsoft.com/library/default.asp?url=/libr...
RE: Usin Com Ports in Windos XP for MS-DOS apps
Do your applications access the registers in the UART directly with i/o instructions?
When I was programming in a dos box on NT, I found that it did work though very very slowly, a 500MHz Pentium was slower than a 20MHz 386 under DOS.
I assume this is due to the instructions slowly permeating the protection rings of the op sys.
Anyone know any different?
rgds
Zeit.