Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 +MMDF+MULTI+2.11; site kcl-cs.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!ukc!kcl-cs!phil From: phil@kcl-cs.UUCP (Phil Thompson) Newsgroups: net.micro.pc Subject: Program Segment Prefix address Message-ID: <192@westo.kcl-cs.UUCP> Date: Thu, 8-Aug-85 15:09:48 EDT Article-I.D.: westo.192 Posted: Thu Aug 8 15:09:48 1985 Date-Received: Mon, 12-Aug-85 08:04:59 EDT Organization: Department of Computing, Kings College, University of London. Lines: 9 Xpath: kcl-cs westo west44 <> Is there any way that I can find out the address of the PSP from within a C program using the DeSmet compiler? The initialisation code throws away the segment registers. (I'm actually trying to write getenv() so if somebody has already done it.....) Thanks, Phil Thompson