Mail Archives: djgpp/2002/01/23/06:31:06
>I would like to hear from You a recomendation for simple but good rs232
>library for djgpp.
>It should be used on PC (DOS) with aproximately 8 ports and com speed 19200
>bit/sec.
This limits it to two as far as I know PMCOM and DZCOMM. There are a
number of single port comms libraries and there may be a few more
multiport comms libraries available, but I have not used them.
The serial comms libraries are in the v2tk directory.
>As the communication might be logged, it should be bulet proof mainly
>because of huge amount of disk writing.
I have logged over 320 MB in 15 hours on a 486 DX2-66 on a single
serial line runnign at 9600 baud using PMCOM. I have a Data sniffer
application in source code form that is fully self contained it
includes PMCOM and timers (cut down Allegro to minimise exe size) that
is available at http://homepages.ihug.com.au/~acottrel/
There have been a number of improvements and enhancements made to
DZCOMM since I last used it.
Logging to the hard drive is the tricky part as you need to way up the
time to write a block of data, CPU usage in writing the data, type of
H/D in respect of access time, storage buffer to save data before
writing to the hard drive and finally the amount of dat abeing
received.
>Where do I find such serial comms packages, and would they be for 32-bit DOS
>(DPMI) without MS-Windows?
Both PMCOM and DZCOMM work on MS-DOS with CWSDPMI and under Win 9x, NT
4.0, 2K and XP.
>I have Borland version of this program working quite well, but I am getting
>out of memory, so I try to look for other alternatives.
PMCOM also works with Borland so you if you investigate using this
then you may be able to do a staged upgrade.
>I would like also to hear about other possible alternatives with 32 bit
>protected mode system, which is reliable and simple as DOS is but runs
>nauraly in 32 bit mode (no 16 bit switching)
You may also want to have a look at Linux if you want to use another
32 bit OS, but I do not have any experience in Linux serial comms.
There are other commercial 32 bit OS's out there, but you need to
consider maintenance and costs.
I would try DJGPP and PMCOM or DZCOMM first as it will be the least
cost and time compared to other alternatives. If you don't like it
then you have only spent time in learning what DJGPP is capable of.
By the way what is hanging on the other end of the multiport serial
card? Does that card use 16554 or 16552s?
By the way PMCOM also supports 9 bit protocol (wakeup mode).
Andrew
- Raw text -