Article View: comp.os.os2.programmer
Article #1How to use serial ports?
From: Robert Wolfe
Date: Sat, 15 Sep 2018 14:21
Date: Sat, 15 Sep 2018 14:21
23 lines
2266 bytes
2266 bytes
-=> andi.b@gmx.net wrote to All <=- an> Where can I find information how to use the serial ports under OS/2? I an> like to write a program which communicates via a com port and have no an> clue where to start reading. I've searched EDM/2 but without sucess. an> I have the latest DDK, but I don't think the information is there, an> because I don't want to write a driver but only to communicate via an> com.sys (?) an> I'm sure, there must be some OS/2 functions which tells me which com an> ports are available, setting the baud rate and let me send and receive an> data via a port. I've written serial communication programs for DOS an> long time ago, and did it with assembler routines which directly an> manipulates the 8250 registers. But on OS/2 there must be a more an> elegante way. Is this going to be a DOS application that you are trying to write? If so, you might want to use FOSSIL code, which would require something like Ray Gwinn's SIO or SIO2K packages, which have communications drivers for OS/2 and FOSSIL drivers for DOS sessions under OS/2. --- MultiMail/OS2 v0.51
Technical Details
Message-ID:
<1537021419.122.1536839706@winserver.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.os2.programmer.(35).mbox.7z!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <1537021419.122.1536839706@winserver.org> Subject: How to use serial ports? Date: Sat, 15 Sep 2018 09:21:00 -0500 From: robert.wolfe@winserver.org (Robert Wolfe) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.os2.programmer.(35).mbox.7z!not-for-mail NNTP-Posting-Date: Sat, 15 Sep 2018 11:09:41 -0500 Newsgroups: comp.os.os2.programmer Organization: Omicron Theta BBS * winserver.org Lines: 23 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-cNA+sUr0gnd0at/etZRJUhoGGDfeHzRtBfT3+mGGpUsOLHRARr/MZIPX5R4xNy9ws2TBYiuRSz7Tocs!xzHbxEXsAv5b362TQexmKFRfpg4EmTVCfpd1Qez/xnkBr2fsWwLjXGJBv38rHajyUoI= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2018 X-Received-Bytes: 2261 X-Received-Body-CRC: 1886130070