Article View: net.micro.pc
Article #6324Re: Current DOS environment
From: Bill Crews
Date: Tue, 22 Apr 1986 18:28
Date: Tue, 22 Apr 1986 18:28
19 lines
1283 bytes
1283 bytes
> Yes, but for "exit and stay resident" routines, can't that be
> an "old" environment? I need a pointer to the "latest and greatest"
> environment. That is to say the "real" DOS environment. Can
> anyone help?
The "get current PSP" DOS call (DOS 3.x) will get you to the "current"
PSP. From there, you can use the thing at 2Ch to locate its environment.
I don't know of any environment more "current" than that. See the
appropriate DOS Technical Reference Manual.
For DOS 2.x, see the undocumented DOS call list that has been posted a
number of times. There is one that also "gets the current PSP".
Good luck.
--
- bc -
..!{seismo,topaz,gatech,nbires,ihnp4}!ut-sally!cyb-eng!bc (512) 835-2266
Technical Details
Message-ID:
<811@cyb-eng.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!lll-crg!mordor!ut-sally!cyb-eng!bcReferences:
<2454@pogo.UUCP> <322@bnrmtv.UUCP> <2470@pogo.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!lll-crg!mordor!ut-sally!cyb-eng!bc From: bc@cyb-eng.UUCP (Bill Crews) Newsgroups: net.micro.pc Subject: Re: Current DOS environment Message-ID: <811@cyb-eng.UUCP> Date: Tue, 22-Apr-86 13:28:23 EST Article-I.D.: cyb-eng.811 Posted: Tue Apr 22 13:28:23 1986 Date-Received: Thu, 24-Apr-86 05:54:12 EST References: <2454@pogo.UUCP> <322@bnrmtv.UUCP> <2470@pogo.UUCP> Organization: Cyb Systems, Austin, TX Lines: 19