TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jim Louvau
from: Paul Edwards
date: 1995-03-17 08:40:16
subject: OS/2 COMM ROUTINES

PE> I know it's a bit late, but I released some comms routines
PE> into the public domain some time ago, that are 32-bit for
PE> OS/2.  You can FREQ them from 3:711/934 as PDCOM*.ZIP, 12k
PE> in size.  Written in C.  The only problem is that they only
PE> go up to 57600.  Does anyone know why this would be?  115200
PE> causes a parameter error, despite the fact that I'm using
PE> the extended set bit rate function 0x43.  There was some
PE> mention in the docs of higher bit rates only  working for
PE> enhanced uarts or something, but I am using it on a port
PE> with a 16550, and I have used the mode command to set
PE> BUFFER=ON, so I've run out of ideas after that.  BFN.

JL> Using MODE to turn the FIFOs on doesn't necessarily enable
"enhanced" 
JL> mode... Try enabling it with an ASYNC_IOCTL function 54h.

Doing this, using a flag value of 0x02, succeeded, and I was able
to set the baud rate to 115200.  However, the characters transmitted
were garbled.  Another thing is that I was unable to use the MODE
command to set the baud rate to 115200, it told me that my serial
port hardware wasn't up to it.  However, I tried it with SIO and
was able to set the baud rate to 115200.  BFN.  

Paul
@EOT:

---
* Origin: This is just another kludge line like SEENBY (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.