Article View: comp.os.msdos.programmer
Article #4968Re: Swapping application to disk
From: Ralf Brown
Date: Sat, 02 Mar 1991 04:27
Date: Sat, 02 Mar 1991 04:27
21 lines
1767 bytes
1767 bytes
In article <274@nazgul.UUCP> bright@nazgul.UUCP (Walter Bright) writes:
}In article <10639@bunny.GTE.COM> s9023@gte.com (Paul Stubler) writes:
}/Many MSDOS applications are able to swap themselves to disk (or EMS)
}/when they enter a DOS shell.
}/Does anyone know of any PD code which does this, or know of an article
}
}Zortech C/C++ comes with library routines to do just this. All you need
}to do is link in a special .OBJ file, and then use system and spawn calls
}normally. It is the same technique used by our own tools (ZWB).
If you already have a C or C++ compiler, you can save $$$ by grabbing the
free SPAWNO30.ZIP from SIMTEL20 (in PD1:<MSDOS.C>). It's pretty much a
one-for-one replacement for the standard Turbo/MS C spawn..() functions
which leaves less than 500 bytes in memory while the child program runs.
In fact, it can be dropped into many existing programs by merely adding
an #include and two #define's.
--
{backbone}!cs.cmu.edu!ralf ARPA: RALF@CS.CMU.EDU FIDO: Ralf Brown 1:129/3.1
BITnet: RALF%CS.CMU.EDU@CMUCCVMA AT&Tnet: (412)268-3053 (school) FAX: ask
DISCLAIMER? Did | It isn't what we don't know that gives us trouble, it's
I claim something?| what we know that ain't so. --Will Rogers
Technical Details
Message-ID:
<1991Mar2.042729.28534@cs.cmu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!rice!uw-beaver!cornell!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!ralfReferences:
<10639@bunny.GTE.COM> <274@nazgul.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!rice!uw-beaver!cornell!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!ralf From: ralf+@cs.cmu.edu (Ralf Brown) Newsgroups: comp.os.msdos.programmer Subject: Re: Swapping application to disk Message-ID: <1991Mar2.042729.28534@cs.cmu.edu> Date: 2 Mar 91 04:27:29 GMT References: <10639@bunny.GTE.COM> <274@nazgul.UUCP> Sender: netnews@cs.cmu.edu (USENET News Group Software) Organization: School of Computer Science, Carnegie Mellon Lines: 21