🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.apps
Article #2961

LRH - Dos5 LoadHigh as an EXE (Was: DOS 5.0 w/4Dos)

#2961
From: JP Koivisto
Date: Tue, 18 Jun 1991 08:38
34 lines
2077 bytes
nyet@nntp-server.caltech.edu (n liu) writes:

>Hmm. Yeah, it took me a while to realize that loadhi was an INTERNAL
>command. (Gee, no wonder it doesn't work in a 4dos shell!). Unfortunately,
>by not including a external executable, you can't load hi
>in config.sys. So now were back to QEMM...

>Somebody want to try to write dos 5.0 loadhi as an executable?

Well, I did just that.  I call it LRH - for Load Real High -
as it is 'improved' from the internal LoadHigh.

I have THREE blocks of upper memory B000-B7FF CC00-DFFF AND
F800-FDFF (yes, in the midlle of BIOS.  Almost all Nokia micros
have a 'hole' somewhere around there...)

I wanted better control of WHERE in the UMB-area to load my stuff
AND I wanted to set my environment variables first thing in my
AUTOEXEC, so the LRH also makes the loaded programs to have NO
environment at all - can save a lot of memory in the UMB area!

It also works for loading programs in the LOW memory (below 640k)
as it moves itself to JUST below 640k before running the next
program (almost all done 'safely' using INT21 calls).  Also,
it lets me load LanManager NETWKSTA in UMB AND makes it use
EMS if I have reserved D000-DFFF for EMS.  (By default NETWKSTA
ignores EMS if enough UMB is available, so...)

I don't yet know if I'm allowed to make it public as nobody
in our company knows about it (yet :-)!

jpk	- JP KOivisto, Nokia Data OY, Helsinki, Finland
---
EMail:	jpk@davasun.data.nokia.fi
Technical Details
Message-ID: <1991Jun18.083844.8894@davasun.data.nokia.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!news.funet.fi!fuug!nokia.fi!davasun!jpk
References: <16648@davidsys.com> <1991Jun14.065701.15680@agate.berkeley.edu> <1991Jun14.091432.8816@nntp-server.caltech.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!news.funet.fi!fuug!nokia.fi!davasun!jpk
From: jpk@davasun.data.nokia.fi (JP Koivisto)
Newsgroups: comp.os.msdos.apps,comp.os.msdos.programmer
Subject: LRH - Dos5 LoadHigh as an EXE (Was: DOS 5.0 w/4Dos)
Message-ID: <1991Jun18.083844.8894@davasun.data.nokia.fi>
Date: 18 Jun 91 08:38:44 GMT
References: <16648@davidsys.com> <1991Jun14.065701.15680@agate.berkeley.edu> <1991Jun14.091432.8816@nntp-server.caltech.edu>
Reply-To: jpk@davasun.data.nokia.fi
Organization: Nokia Data OY, Helsinki, Finland
Lines: 34