Mail Archives: djgpp/2004/09/24/23:01:00
>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 -