🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Robert Wolfe Sat, 15 Sep 2018 14:21
How to use serial ports?
#1
Author: Robert Wolfe
Date: Sat, 15 Sep 2018 14:21
23 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads