X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <20040925031218.40584.qmail@web53806.mail.yahoo.com> Date: Fri, 24 Sep 2004 20:12:18 -0700 (PDT) From: Tony Zhou Subject: Re: Is there source code for rs232 under gcc compiler To: djgpp AT delorie DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Andrew, Please send me the PMCOM. Thanks, Tony --- Andrew Cottrell wrote: > >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 > > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail