🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #26452

Wanted: code for swapping on MS-DOS, MSC5.0.

#26452
From: Paul Shields
Date: Tue, 19 Apr 1988 13:01
25 lines
1529 bytes
This was requested first by someone else, but to my knowledge, no clear
solution has been found:

I need routines, Public domain or otherwise, for either Microsoft C 5.0
or Lattice C 3.2 that will swap my program and data out to disk when I 
call the system() function, so that I will have more memory available 
for the new program to run. 

 - The amount of memory required by the new program should be specifiable,
   which means the swapper must check the memory available and only swap
   if necessary. 
 - It must make sure that memory to which interrupt vectors point is
   not swapped. (there may be no easy way to do this.)
 - It must make sure it doesn't swap itself out, since it has to swap 
   back in when the other program finishes. 

I know it's possible, because SmallTalk/V and Microsoft Windows do it, but
I don't want to be bound by a license agreement that must be passed on to
my 100 or so users. 

Thanks in advance,
-- 
Paul Shields,		    Before going out to save the world, I remembered
shields@yunccn.UUCP	    that the world doesn't want to be saved. 
or yunccn!nccnat!root.	    Perhaps it can be convinced? 
Technical Details
Message-ID: <283@nccnat.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!gen1!yunccn!nccnat!root

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!gen1!yunccn!nccnat!root
From: root@nccnat.UUCP (Paul Shields)
Newsgroups: comp.sys.ibm.pc,comp.sources.wanted
Subject: Wanted: code for swapping on MS-DOS, MSC5.0.
Message-ID: <283@nccnat.UUCP>
Date: 19 Apr 88 13:01:07 GMT
Article-I.D.: nccnat.283
Posted: Tue Apr 19 09:01:07 1988
Organization: York University, Toronto Canada
Lines: 24