🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7260

SPAWNO30 and DOS5: it works!

#7260
From: Harry Pulley
Date: Fri, 21 Jun 1991 17:33
30 lines
1944 bytes
Ralf Brown's spawn replacement routines have been mentioned in the recent
discussions on how to shrink the size of your program.

In Ralf's doc's, he says that his code may fail under DOS 5 as he depends on
the size of the PSP.  DOS3.3 has lots of room, and 4 has some, but he thought
that 5 might have made the PSP large enough (or the used portion anyway) that
SPAWNO would not work.

Well, I have been running with my own replacement for COMMAND.COM for some
time now (under 3.3); this program is obviously one I don't want to have in
memory when my applications are running.  I am VERY PLEASED to announce that
Ralf's code still works properly.  The XMS swapping is lightning fast.  I no
longer bother to load a RAM disk; the swap is much faster when it goes to the
DOS5 HIMEM XMS driver.

I have only been running DOS5 for a little while now (except for the beta
testers, haven't we all?) so I cannot be certain that SPAWNO will work in all
environments, but it still works for me.  My shell uses SPAWNO for every 
program I run, so if feel highly confident that I won't have any problems.

It's interesting to note that the task swapper also swaps to XMS and disk, so
you may wish to set the XMS enable variable (in your code) to 0 if you use the
task swapper alot.  This way your program will only swap to disk (or EMS, but
there is also an enable variable for EMS).

If there is a problem with SPAWNO and DOS5 that someone has found, could they
please let me know?

Harry.
harry@aeshq.UUCP
Technical Details
Message-ID: <979@aeshq.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!aeshq!harry

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!aeshq!harry
From: harry@aeshq.UUCP (Harry Pulley)
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc
Subject: SPAWNO30 and DOS5: it works!
Keywords: SPAWNO30 DOS5
Message-ID: <979@aeshq.UUCP>
Date: 21 Jun 91 17:33:22 GMT
Followup-To: comp.os.msdos.programmer
Organization: AES Headquarters, Environment Canada, Toronto, Canada
Lines: 30