From: Chris Thompson 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.