🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DOS Environment questions. Guru's beware these are hard.

#3297
From: games
Date: Tue, 04 Dec 1990 18:42
35 lines
1754 bytes
I know where the current environment IS in memory, as well as where to
find the parent PSP (which I believe is always DOS's), but where does DOS store
the LENGTH of the environment.  

If you want to for instance add your own variable, you have to make sure that
you do not overwrite memory past what has been allocated in the environment.

The other problem that I seem to have is that after the environment, there is
a string containing the current executable.  In all environments except the
MASTER environment that is.  the question is, HOW do you tell when you are
in the MASTER environment block?  what if there are 2 copies of dos running,
then I can not seem to get to the master, as once you follow the parent
PSP back to the 2nd copy of DOS, it's parent seems to point to itself.

AARGH...  Where is the "DOS Internals and Data Structures Handbook."???
(Aside from being published in other galexies.., are there any book that have
this level of info on DOS...)

So, if you have any answers to the preceeding questions, please call or
e-mail me.


		John Stevens-Schlick
		7720 35'th ave S.W.
		Seattle, Wa. 98126

		(206) 935-4384 (hm)
		(206) 296-4076 (wrk)

		Games@maven.u.washington.edu or
		games@maven.acs.washington.edu or better yet
		whatever the domain is on the header this week.


	Thanx in advance.
Technical Details
Message-ID: <14679.275b7d80@maven.u.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ogicse!milton!maven!games

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ogicse!milton!maven!games
From: games@maven.u.washington.edu
Newsgroups: comp.os.msdos.programmer
Subject: DOS Environment questions.  Guru's beware these are hard.
Message-ID: <14679.275b7d80@maven.u.washington.edu>
Date: 4 Dec 90 18:42:08 GMT
Organization: University of Washington, Seattle WA
Lines: 35