X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: any help with com port routines, please? Date: 22 Mar 2002 12:07:02 GMT Organization: Cornell University Lines: 29 Sender: asu1 AT cornell DOT invalid (on 141.149.209.91) Message-ID: References: NNTP-Posting-Host: 141.149.209.91 X-Trace: news01.cit.cornell.edu 1016798822 21979 141.149.209.91 (22 Mar 2002 12:07:02 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 22 Mar 2002 12:07:02 GMT User-Agent: Xnews/L5 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Dr Green wrote in news:feml9ug2juptiks5k4ectltvfret4jed37 AT 4ax DOT com: > On 19 Mar 2002 04:20:37 GMT, "A. Sinan Unur" wrote: > >> >>i know i didn't say much that is useful. here is my best attempt at >>getting something that at least compiles with djgpp. >> > > I forgot to ask this. You mentioned that you got it to compile with > djgpp. That means (unless i didn't post all the relavent code), that > the functions that i have no clue about may be in a library included > with djgpp. Could you tell me the settings/makefile/arguments you > used to compile this. Of course, now that i think about it... you may > not have linked it, so maybe the libraries aren't there. But, if it > compiled, then the headers were there for the definition of the low > level functions in question. The version that I got to compile was included at the end of my message. I just did a gcc -Wall -c file.c. It compiled with one warning about tbuff being unused in dbpoke. Of course, the fact that it compiled does not mean much, other than to give you a starting point. inportb etc are declared in pc.h. hope this helps. Sinan.