www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/02/17:34:40

From: Rene Berber <rberber AT my-deja DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Serial Cmmunications
Date: Wed, 02 Aug 2000 21:25:37 GMT
Organization: None
Lines: 19
Message-ID: <soh4eh1vdbm168@corp.supernews.com>
References: <Pine DOT SOL DOT 4 DOT 05 DOT 10008021525140 DOT 22781-100000 AT mud>
X-Complaints-To: newsabuse AT supernews DOT com
X-Newsreader: RadicalNews (TM) 1.0 Beta 2(i)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In <Pine DOT SOL DOT 4 DOT 05 DOT 10008021525140 DOT 22781-100000 AT mud> Michael Chen wrote:
> 
> 	I've got a board hooked up to com1 and I'm using djgpp, but for
> some reason I don't seem to be writing to the port. I've tried stdio.h,
> bios.h, and iostream/fstream. Any suggestions? 

Use one of the available libraries to communicate through the ports:

bcsio20 
pmcom10 
dzcom072 - http://www.robots.ox.ac.uk/~neil/dzcomm/

The first one has some bugs, a patch appeared in this news group.   All of 
them look good and seem to work (bcsio patched) except that I'm having 
trouble detecting parity, framming, etc. errors.
--
René Berber


- Raw text -


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