home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / os2 / misc / 41045 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.7 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!al919
  2. From: al919@cleveland.Freenet.Edu (Bruce Halco)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Make COM3 talk to COM4
  5. Date: 4 Jan 1993 03:07:15 GMT
  6. Organization: Case Western Reserve University, Cleveland, Ohio (USA)
  7. Lines: 26
  8. Message-ID: <1i89l3INNte@usenet.INS.CWRU.Edu>
  9. NNTP-Posting-Host: slc10.ins.cwru.edu
  10.  
  11.  
  12. Some DOS software I'm writing involves async communications, and
  13. I figured using OS/2 to serve as 2 DOS machines would be more
  14. convenient than hooking up two physical computers.  So I
  15. installed a 2-port serial card as COM3 and COM4 and looped the
  16. connectors back on the card.  I modified CONFIG.SYS to correspond
  17. with the serial ports thusly:
  18.  
  19.     DEVICE=C:\OS2\COM.SYS (3,3E8,5) (4,2E8,9)
  20.  
  21. But I _CAN NOT_ get reliable communications between the ports.
  22. What really drives me nuts is that I don't even get REPEATABLE
  23. results.  One time I'll need COM_DIRECT_ACCESS on, the next day
  24. it needs to be off.  COM_SELECT is restricted to the individual
  25. ports.    IDLE_SENSITIVITY is set to 100 (disabled). I know the
  26. physical connection is OK because I can send individual bytes
  27. with DEBUG.  Even when it _almost_ working, one port will send
  28. for a while, than pause until I hit a key in that session.  Other
  29. times it sends nothing, or even refuses to start the session with
  30. an error about another session having access to that port (even
  31. if nothing else but the WPS is running).  I've about run out of
  32. DOS session settings to modify, and I think I'm completely on the
  33. wrong track by now.  What have I overlooked?  BTW, the system is
  34. a 486/33, 16M RAM, SP installed over the GA release.
  35.  
  36. Any and all suggestions will be welcomed.
  37.