Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!lll-winken!taco!lea.csc.ncsu.edu!bank From: bank@lea.csc.ncsu.edu (Belgarath the Sorcerer) Newsgroups: comp.os.msdos.programmer Subject: Re: IBM Serial/Para. Port Message-ID: <1991Jun27.212201.14870@ncsu.edu> Date: 27 Jun 91 21:22:01 GMT References: Sender: news@ncsu.edu (USENET News System) Organization: /etc/organization Lines: 21 In article llee@rocket.uucp (Leonard Lee) writes: >Fellow comp.sys.ibm.pc.programmers: > >I need to read/write data to the ibm pc serial/parallel port (on a >386DX-based machine). Could someone provide some C code that does this >or provide a good reference? Thanks. Len. I'm assuming you're working in C. If not, this book will still be useful, but not reasily so. I would suggest "C Programmer's Guide to Serial Communications" by Joe Campbell. ISBN 0-672-22584-0, published by Howard Sams & Co. Ooops...just looked at your message again. You said you were working in C. Ignore my first paragraph. Anyway, the book is an excellent reference and includes code to create both polled and interrupt-driven serial I/O applications. Belgarath the Sorcerer bank@lea.csc.ncsu.edu