Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!rpi!crdgw1!steinmetz!sagittarius!dixon From: dixon@sagittarius.steinmetz (walt dixon) Newsgroups: comp.sys.ibm.pc Subject: Re: Current Process in MSDOS Message-ID: <13777@steinmetz.ge.com> Date: 9 May 89 12:03:17 GMT References: Sender: news@steinmetz.ge.com Reply-To: dixon@sagittarius.steinmetz.ge.com (walt dixon) Distribution: usa Organization: General Electric CRD, Schenectady, NY Lines: 12 The current PSP is stored in a DOS global variable and presumably you could access its contents directly; of course this technique is highly dependent on the DOS version. I don't understand the reluctance to use the DOS functions to retrieve this value. The PSP manipulation services do no stack switching and are always safe (if properly used) -- at least in all DOS 3.1 and above. Don't know about DOS 4.0 and 4.0.1. Walt Dixon {arpa: dixon@ge.crd.com } {us mail: ge crd } { po box 8 } { schenectady, ny 12345 } {phone: 518-387-5798 }