X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <20011204111534.21999.qmail@web9106.mail.yahoo.com> Date: Tue, 4 Dec 2001 03:15:34 -0800 (PST) From: ROLAND Subject: Re: Serial Communicaton To: andnews AT ihug DOT com DOT oz DOT au Cc: 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 Cottrell wrote: > Roland, > > Before we can get started people need to know the > following:- > 1) What comms library? I want to use pmcom, available from DJGPP mirrors > 2) What version? I'm not sure, but I guess the latest... > 3) Have you read the docs that come with the comms > library? Yes, but I'm not sure how to use it, 'cause the docs only explain compiling... > 4) Is there an example that comes with the comms > library? Not that I know of... > > After answering these then I may be able to help. > > Some other items you need to check out WRT (with > reagrds to) which > comms library you should use:- > 1) What is the larghest number COM port you need to > use?\ Just COM1 or COM2. > 2) Do you need to use multiple comm ports at once? No.. > 3) Do yuo need 9 bit / wake-up mode support? Probably not.. > 4) Do you need to use high speed comms? (Use 1655x > buffer?) No.. > 5) Need to also use a timer? Check for RX packet > within a certain > time? I'm not sure about that, I have to check.. All I know is that this program is currently on UNIX and copies some things to /dev/tty00 and it has to be ported to PC. I am not sure if the programs waits for an ACK from the external device... > 6) Ability to use Allegro at the same time? No.. > 7) Ability to easily extend the code? If possible... > 8) Are there any C++ wrappers available? (None have > this as far as I > have seen. May be 100% wrong, If I am please send me > an email ASAP) Don't know... > 9) Comms library support a large TX & RX buffer for > interrupt > tansmission / receiving? Probably not... > > Once you have looked at these issues then you will > be in better shape > to pick the correct DJGPP comms library. If you do > not know how to > answe these questions then please lee me know what > you need the ASYNC > library for? If you just need a data logger then > check out my home > page at http://homepages.ihug.com.au/~acottrel/ > where you can download > the full source for DSCOPE, no warranty is given for > this. It has some > save /load bugs, but I haven't seen then yet. > > Andrew So I am having trouble with a program (which is in C by the way) and I have to port it from UNIX to a PC. I hope you can help me, 'cause I am stuck at this point... __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com