delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/07/18:37:12

From: Gamble C O <gambcl AT essex DOT ac DOT uk>
Date: Mon, 7 Mar 94 22:39:58 GMT
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Need help porting from Turbo C

Hello again,many thanks for the help I received for my last query, now I have
a new one.

I started writing an application in Turbo C but because of all the restrictions
caused by the memory layout I have decided to try porting it to DJGPP.

It was all going so well . . . I previously used getch() and gotoxy() in my
Turbo C program but now when I compile I get 'undefined ref to  . . .'
However when I checked in conio.h and subsequently in gppconio.h I saw that
getch() and gotoxy() WERE defined (or at least prototyped), can anyone tell
me why I am getting these messages and what to do about them.

One more query on a connected theme, in my program I have to create a new
subdirectory.

In Turbo C, I used a dos interrupt (can't remember the number of the top
of my head, 37h or 39h maybe), anyway, it was working!
The interrupt function required me to put the SEGMENT of a string address into
one reg. and the OFFSET into another, to do this I used FP_OFF and FP_SEG, but
now I get more 'undefined reference to  . . . '

Does anyone know how I should go about doing this?

Any help much appreciated.

Thanks in advance.


"Just when you see the light at the end of the tunnel . . .
the roof caves in!" - can't remember the name.

- Raw text -


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