turboc and overlays

blair wilson blair.wilson at canrem.uucp
Tue Jan 29 08:01:52 AEST 1991


JG>Hi there,

JG>I'm wondering if it is possible to write overlays in TurboC. I've tried it
JG>a few times, but it didn't work. (I mean: I didn't get it to work)
JG>The reference manual says Tlink wasn't designed to be used with overlays, so
JG>I decided to use the microsoft linker supplied with dos. The problem is, the
JG>library routines internally call procedures declared in the startup code,
JG>which I don't want to be included. (If I would do that, it wouldn't be an
JG>overlay any more).
JG>Does anyone know if there is another way of doing it, or is it just not
JG>possible?

JG>By the way: the overlay will be loaded into EMS-memory, so the stack must be
JG>part of conventional memory.

JG>Thanks in advance.

JG>                       John Graat
JG>                       University of Nijmegen
JG>                       The Netherlands
JG>                       email: bs1 at wn2.sci.kun.nl

The newest version of Turbo C (3.0), has a built in overlay manager
which is supposed to relieve you of the task of building an overlay
structure.  You just specify that you want overlay support, and it
builds it for you.  RTLink (PocketSoft, Houston Texas, (713) 460-2651),
also sells a linker which supports Turbo C obj's.  (Turbo C version 3 is
actually Turbo C++ 3.0, but it includes a C and a C++ compiler)

email - blair.wilson at canremote.uucp
---
 ~ DeLuxe}ab #280sa ~ I tried the rest but bought the best!!!!
--
Canada Remote Systems.  Toronto, Ontario
NorthAmeriNet Host



More information about the Comp.lang.c mailing list