🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #742

Swapping application to disk

#742
From: Paul Stubler
Date: Wed, 20 Feb 1991 20:06
17 lines
1108 bytes
Many MSDOS applications are able to swap themselves to disk (or EMS)
when they enter a DOS shell.

Relying on an article by Nico Mak in Dr. Dobbs (April '89), I was
able to get the application to write its memory blocks to disk.
The article is for a swapper external to the application itself, though.
I want the swapper built in to my application.  Also, I'm trying to do it
in C rather than assembly, as much as possible.  The differences  
result in some subleties which escape me, and my application crashes.

Does anyone know of any  PD code which does this, or know of an article
which discusses swapping from within an application?

----
Paul Steckler
steck@corwin.ccs.northeastern.edu
s9023@bunny.gte.com
Technical Details
Message-ID: <10639@bunny.GTE.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!sdd.hp.com!wuarchive!mit-eddie!bbn.com!nic!bunny!s9023

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!sdd.hp.com!wuarchive!mit-eddie!bbn.com!nic!bunny!s9023
From: s9023@gte.com (Paul Stubler)
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer
Subject: Swapping application to disk
Message-ID: <10639@bunny.GTE.COM>
Date: 20 Feb 91 20:06:25 GMT
Followup-To: poster
Organization: GTE Laboratories Incorporated, Waltham MA
Lines: 17