delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/30/15:06:32

From: Chris Thompson <cdthompson AT juno DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: serial ports: library supported?
Date: Thu, 30 Jan 1997 00:23:35 -0500
Organization: 4th Dimension BBS (216) 572-9328
Lines: 34
Message-ID: <32F03057.1B7F@juno.com>
References: <32EFB19C DOT 7B06 AT opentext DOT com>
NNTP-Posting-Host: pm9-11.apk.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Bill Murphy wrote:
> 
> Hi all,
> 
> A friend of mine asked me to dig up information regarding rs232 (serial
> or com port) use with dgjpp -- and though I dug (read the dgjpp faq,
> stuff about capturing interupts, etc...) I just didn't see anything
> appropriate.
> 
> Can anyone help me? I'll post a summary of replies in one week if anyone
> knows...
> 
>         How can you set port parameters {baud, parity, etc}?
> 
>         How can you send/recieve a character to/from a com port?
> 
>         Will he need to catch the interupt, and look at some icky
>           absolute memory location?
> 
>         Where can I find the hex location for common com1 com2 ports?
>           IRQ numbers?
> 
>         Is there a publicly available library? Did I just miss
>           the appropriate header file and it's already part of dgjpp?
> 
> Thanks in advance...
> 
> --Bill
> murphyw AT opentext DOT com murphyw AT math DOT grin DOT edu murphyw AT odesta DOT com

I bought a book called 'C Programmer's Guide to Serial Communications'
published by SAMS and it has ALOT of info about serial ports, UART
chips, and about everything else you could imagine. Might be worth
checking out.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019