Article View: comp.os.msdos.programmer
Article #1874Re: Fiddling With The Classes To Make Microsoft LINK Do Data Overlays
From: Walter Bright
Date: Mon, 13 Aug 1990 18:15
Date: Mon, 13 Aug 1990 18:15
18 lines
1506 bytes
1506 bytes
In article <4158@optilink.UUCP> cramer@optilink.UUCP (Clayton Cramer) writes: <My boss wants me to solve our memory problem by forcing LINK to <do data overlays. He wants to fiddle with the .OBJ files so that <the FAR_DATA segments (or at least any constant parts of them) will <be grouped with the CODE segments, causing the const data items to be <overlaid with corresponding code. <Has anyone done this? Can it be done? The trick would be to give a FAR_DATA segment the same name, group and class of the particular code segment which will reference it. Put that code segment in an overlay. The caveat when using it would be that you can only reference the data *when the overlay is resident*. This can safely be accomplished by only referencing the data from within the code overlay that has the same name. Note that there is no mechanism for reloading data overlays from a far pointer (aside from Zortech's special handle pointers). The overlays are only loaded when a function in an overlay is called.
Technical Details
Message-ID:
<2635@dataio.Data-IO.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!zephyr.ens.tek.com!uw-beaver!sumax!amc-gw!nwnexus!pilchuck!dataio!brightReferences:
<4158@optilink.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!zephyr.ens.tek.com!uw-beaver!sumax!amc-gw!nwnexus!pilchuck!dataio!bright From: bright@Data-IO.COM (Walter Bright) Newsgroups: comp.os.msdos.programmer Subject: Re: Fiddling With The Classes To Make Microsoft LINK Do Data Overlays Message-ID: <2635@dataio.Data-IO.COM> Date: 13 Aug 90 18:15:56 GMT References: <4158@optilink.UUCP> Organization: Data I/O Corporation; Redmond, WA Lines: 18