delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/24/23:01:00

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Andrew Cottrell <andspamtrap DOT aty DOT exemail DOT doty DOT com DOT doty DOT au AT unknown DOT addr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Is there source code for rs232 under gcc compiler
Date: Sat, 25 Sep 2004 08:48:40 +1000
Organization: HOME
Message-ID: <kr89l0d0rcjmoce11qta2i5f21052bk1jq@4ax.com>
References: <20040923160729 DOT 27599 DOT qmail AT web53808 DOT mail DOT yahoo DOT com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Lines: 39
NNTP-Posting-Host: 220.233.15.233
X-Trace: 1096057770 un-2park-reader-01.sydney.pipenetworks.com.au 31700 220.233.15.233:2032
X-Complaints-To: Abuse, including message IDs to abuse AT pipenetworks DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>I am going to make a program to transfer and receive
>the data via rs232, the
>client will be a a system with CPU. The host will just
>receive and send data
>via PC rs232. The program will run on win2K system.
>
>I am mot going to use the MFC like under MS VC++, does
>anybody have free
>code for drive the low PC COM can send me or any
>suggustion? I have DJGPP
>copiler, Thanks.

There are a number of comms libraries for DJGPP and they all work
under IWn 95,98,ME, NT 4.0, Win 2000 and XP. I have used the same
application on all of these Windows versions (with the exception that
to use it on WIN 2000 and XP I had to use the 2.04 LIBC as I use file
I/O).

Now for some things to consider:-
- Some also work with Linux. 
- Some support wakeup mode (aka 9 bit). 
- Some support only one com port and other support up to 16/32/64 (I
can't remember as I only used a maximum of 2 at a time.
- Some have a C++ wrapper available for them (never used the wrapper)
- Some are all in assembly
- Some need to be modified to use the latest GAS (GNU Assember)

To start with have a look in the V2TK directory and see what is in
there. I personally have used DZCOMM and PMCOM over the years. The
latest DZCOMM is available from sourceforge. I have a beta of PMCOM
1.1 if you decide to use PMCOM. 

I also have a data sniffer available with full source that I can send
you that I license under the GNU GPL license. It uses PMCOMM and bits
from ALEGRO for keyboard and timing. If you want this then let me know
and I will email it to you, its about 300K zipped from memory.

Andrew

- Raw text -


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