🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.msdos.programmer
2 messages
2 total messages Started by Bert Campbell Wed, 25 Jul 1990 21:18
Overlays
#1679
Author: Bert Campbell
Date: Wed, 25 Jul 1990 21:18
15 lines
1220 bytes
I'm using MSC 5.0 and the linker that is supplied with it (3.61)
to create overlays in a big large-model program.  At first I couldn't
get them to work at all, but we finally figured out that functions in overlays
called via a function pointer wouldn't work with this linker.  Along with
that are other limitations that make a better linker a requirement.

I'm looking for general experiences with other linkers for creating
large "heavily overlayed" programs.  Recommendations for a particular
linker (RTLink? PLink?) with accompanying reasons would be a help.

In partiicular, do any of the "advanced" linkers allow you to put
the same object in more than one overlay?  Other pitfalls to look out for?


Bert Campbell  {uunet|convex}!iex!bert    214 612-2600
Re: Overlays
#1696
Author: Walter Bright
Date: Fri, 27 Jul 1990 21:16
20 lines
1479 bytes
In article <1990Jul25.211808.29645@iex.uucp> bert@neptune.iex.com (Bert Campbell) writes:
<I'm using MSC 5.0 and the linker that is supplied with it (3.61)
<to create overlays in a big large-model program.  At first I couldn't
<get them to work at all, but we finally figured out that functions in overlays
<called via a function pointer wouldn't work with this linker.  Along with
<that are other limitations that make a better linker a requirement.

Zortech's VCM linker doesn't have this problem.

<I'm looking for general experiences with other linkers for creating
<large "heavily overlayed" programs.  Recommendations for a particular
<linker (RTLink? PLink?) with accompanying reasons would be a help.

Check out Zortech's VCM linker. It enables overlays to work much like
virtual memory, i.e. overlays are loaded on demand and placed anywhere
in memory where there happens to be room. Overlays are removed from
memory when malloc starts running out. There's an article explaining
the mechanics of it in the July C User's Journal.

P.S. I wrote it.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads