Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/26/04 21:38
Read: times


 
#79854 - RE: Com1 under XP
Responding to: ???'s previous message
I use also the COM1 under Windows XP in a DOS-Box and it works great.

The main problem is, that older DOS-programs not expected such damned fast CPUs (e.g. 3GHZ) and thus e.g a timeout counter expired long time before the connection was established.

If you have the source code, then it is easy to adapt the DOS program in this way.

XP simulate a full working COM, which can be accessed by inportb() and outportb() directly, even if the COM was connected over an USB/RS-232 converter.

But then an additional delay occur and also a bigger FIFO (128 Byte) was implemented.
Also you should only select COM1...COM4, since COM5...COM255 are not known under DOS.

If you watch these changes, then you can still use DOS programs even under XP.


Peter


List of 14 messages in thread
TopicAuthorDate
Com1 under XP            01/01/70 00:00      
   RE: Com1 under XP            01/01/70 00:00      
      RE: Com1 under XP            01/01/70 00:00      
         RE: Com1 under XP            01/01/70 00:00      
            RE: Com1 under XP            01/01/70 00:00      
            Change Something            01/01/70 00:00      
      RE: Com1 under XP            01/01/70 00:00      
   RE: Com1 under XP            01/01/70 00:00      
      RE: Com1 under XP            01/01/70 00:00      
   RE: Com1 under XP            01/01/70 00:00      
      RE: Com1 under XP - Check port            01/01/70 00:00      
   RE: Com1 under XP            01/01/70 00:00      
   Information from Microsoft            01/01/70 00:00      
      RE: Information from Microsoft            01/01/70 00:00      

Back to Subject List