[alt.msdos.programmer] swapping spawnv

tamboer@cs.vu.nl (Tamboer Erik) (09/14/90)

I have asked this before and got some useful replies, but...

I am looking for the source (C or ASM) of a version of Turbo C's
spawnv() function (or possibly one of the other spawn..() funtions)
that will allow a program to swap itself out of memory to disk (and
possibly to EMS/XMS memory, but in any case to disk) before executing
another program. It is essential that this function work in the
COMPACT (or above) model! I have a version for the small and medium models,
but I want to use it in my (personal) shell program that must be
compiled in Turbo C in at least the compact model.
I don't know enough low level memory stuff to write one myself :-(

Please help me...
Thanks in advance,
        Erik Tamboer, Amsterdam, The Netherlands

--
    ____________________       ________________________________________
   / Erik Tamboer      /\__   / I would have included a really funny  /\__
  / tamboer@cs.vu.nl  /__\/  / joke here, but I already logged out.  /__\/
 /___________________/      /_______________________________________/

ralf@b.gp.cs.cmu.edu (Ralf Brown) (09/15/90)

In article <7563@star.cs.vu.nl> tamboer@cs.vu.nl (Tamboer Erik) writes:
}I am looking for the source (C or ASM) of a version of Turbo C's
}spawnv() function (or possibly one of the other spawn..() funtions)
}that will allow a program to swap itself out of memory to disk (and
}possibly to EMS/XMS memory, but in any case to disk) before executing
}another program. It is essential that this function work in the
}COMPACT (or above) model! I have a version for the small and medium models,

I will be releasing SPAWNO v2.0 over the weekend.  While it won't include
source, it will work under Turbo C in all memory models except Huge and
include all eight of the spawn...() functions.  There will even be a
version that runs under MS C (given some limitations on use of malloc()
and friends).

I will make an announcement once it is available.

	Ralf

-- 
{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  | Everything is funny as long as it is happening to
I claim something?| someone else.  --Will Rogers