www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/23/13:21:42

From: "Tim Nicholson" <djgpp_mail AT gizzy DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Async COM managing
Date: Sat, 23 Dec 2000 17:59:19 -0000
Organization: Skyforce avionics Limited
Lines: 32
Message-ID: <922p7b$8u5$1@uranium.btinternet.com>
References: <91vcmd$3ap$1 AT pollux DOT ip-plus DOT net> <5137-Fri22Dec2000173842+0200-eliz AT is DOT elta DOT co DOT il> <92005j$d2r$1 AT pollux DOT ip-plus DOT net>
NNTP-Posting-Host: host62-7-96-7.btinternet.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


> Is it another way to obtain the expected result, without bioscom() ?
> Can I use another functions able to *OPEN* / init / send / receive /
*CLOSE*
> the com port and leave the things clean on exit ?
>

I use a library called dzcomm which is an allegro add-on. It will allow you
to access up to eight com ports and supports shared interrupts. You can
implicitly open and close ports at any speed that your UART chip supports.
It is very easy to implement and has some good library functions for common
async serial requirements. Although there is an overhead with allegro it is
not too bad.

The user guide is a little hard going as the guy the wrote is Russian and
English is obviously very much his second language. Having said that, It is
all there and seems to be pretty much bug free.

If you are interested I suggest you check out

http://www.robots.ox.ac.uk/~neil/dzcomm

You can get Allegro from DJ's zip picker, if you don't already have it.

Regards

Tim Nicholson




- Raw text -


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