[comp.sys.ibm.pc.misc] MS-DOS Swapping Spawn, HIMEM.SYS

lbr@holos0.uucp (Len Reed) (08/04/90)

Does anyone know how HIMEM.SYS (it comes with Microsoft C 6.0) works?
The ram disk and codeview use it to access extended memory.

I want to modify a program to do a swapping spawn on MS-DOS.  That is,
it should copy itself to extended memory, free nearly all of its memory,
run the sub-process, and the bring itself back in.

I could use the int 15h BIOS copy to do the copy in/ copy out, but if I
can tie into HIMEM.SYS this could both simplify the problem and ensure
compatibility with other extended memory uses.

Anyone know how to tie into this driver or how I can find out?

Thanks.
-- 
Len Reed
Holos Software, Inc.
Voice: (404) 496-1358
UUCP: ...!gatech!holos0!lbr

berg@cip-s02.informatik.rwth-aachen.de (AKA Solitair) (08/08/90)

 (Len Reed) writes:
>Does anyone know how HIMEM.SYS (it comes with Microsoft C 6.0) works?

Get your hands on THE programmer's electronic bible: The INTERRUPT.LST

Available at an ftp-site near you (if not, try simtel20: the file you
need probably is available as "PD1:<MSDOS.INFO>INTER390.ZIP" )
--
Sincerely,                 berg%cip-s01.informatik.rwth-aachen.de@unido.bitnet
           Stephen R. van den Berg.
"I code it in 5 min, optimize it in 90 min, because it's so well optimized:
it runs in only 5 min.  Actually, most of the time I optimize programs."

swh@hpcupt1.HP.COM (Steve Harrold) (08/10/90)

>>> Available at an ftp-site near you (if not, try simtel20: the file you
>>> need probably is available as "PD1:<MSDOS.INFO>INTER390.ZIP" )
--
Try:   PD1:<MSDOS.INFO>INTER490.ZIP
			    ^

kji@vpnet.chi.il.us (Ken Isacson) (08/14/90)

MicroSoft will also send you a complete programmers technical
book about HIMEM.SYS.  A friend of mine called and they sent
it to him free of charge.  That was about two years ago.

Ken

kji@vpnet.chi.il.us