delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/22/07:18:02

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
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: <Xns91D948626AD7Dasu1cornelledu@132.236.56.8>
References: <embb9ugb5e4hvkg7puugclhucgi69to7ca AT 4ax DOT com> <Xns91D5ED750A415asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <feml9ug2juptiks5k4ectltvfret4jed37 AT 4ax DOT com>
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 <drgreen27_no AT spam_hotmail DOT com> wrote in
news:feml9ug2juptiks5k4ectltvfret4jed37 AT 4ax DOT com: 

> On 19 Mar 2002 04:20:37 GMT, "A. Sinan Unur" <asu1 AT cornell DOT edu> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019