Article View: comp.os.msdos.programmer
Article #7198Re: Shrinking my program to run another
From: Duane L. Rezac
Date: Thu, 20 Jun 1991 14:35
Date: Thu, 20 Jun 1991 14:35
33 lines
1836 bytes
1836 bytes
From article <141957@unix.cis.pitt.edu>, by ejost@unix.cis.pitt.edu (Ernest J. Obusek):
> A program I am working on has grown quite large. The language I am using
> doesn't support overlays. My program is split into 5 parts. The main part
> runs the others as needed. However, I'm still running out of room. I'd
> like to be able to have the main part remove itself from memory as much as
> possible while running one of the other parts. How is this done?
>
> I basically want a way to swap parts of my program to disk at run-time.
>
> I am a very experienced PC programmer so don't be afraid to be technical.
>
> Thank you!!
>
> Ernest
If you don't mind linking in another library instead of using your
own routines, try spawn030.zip from simtel20 - it is a swapping spawn
that will swap to ems or disk.
Duane L. Rezac
--
Verse of the Hour:
"But I say unto you, That every idle word that men shall speak , they shall
give account therof in the day of judgment.
Matt. 12:36
--
+-----------------------+---------------------------------------------------+
| Duane L. Rezac |These views are my own, and NOT representitive of my place|
| dsacg1!dcscg1!drezac drezac@dcscg1.dcsc.dla.mil of Employment. |
+-----------------------+---------------------------------------------------+
Technical Details
Message-ID:
<1131@dcsc.dla.mil>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!asi!disc.dla.mil!dsacg3.dsac.dla.mil!dcsc.dla.mil!drezacReferences:
<141957@unix.cis.pitt.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!asi!disc.dla.mil!dsacg3.dsac.dla.mil!dcsc.dla.mil!drezac From: drezac@dcsc.dla.mil (Duane L. Rezac) Newsgroups: comp.os.msdos.programmer Subject: Re: Shrinking my program to run another Message-ID: <1131@dcsc.dla.mil> Date: 20 Jun 91 14:35:46 GMT References: <141957@unix.cis.pitt.edu> Organization: Defense Construction Supply Center, Columbus Lines: 33