Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!CZHRZU1A.BITNET!K538915 From: K538915@CZHRZU1A.BITNET.UUCP Newsgroups: comp.sys.atari.st Subject: Re: ...._shell_p.... (once more, now the_env) Message-ID: <8705201755.AA05312@ucbvax.Berkeley.EDU> Date: Wed, 20-May-87 15:07:56 EDT Article-I.D.: ucbvax.8705201755.AA05312 Posted: Wed May 20 15:07:56 1987 Date-Received: Fri, 22-May-87 00:44:29 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 19 I write: >As I just noticed there IS a pointer reserved for the environment string >the_env ($4BC). What I'll do right now is patch my copy of GEMBOOT and .......... As John Stanley correctly remarks the location $4BC is WRONG, I accidently was using the old Data Becker ST Intern (Abacus ST Internals) book, the most recent release (If I remember correctly something like mid 1986 (I don't think this version ever made it to the US)) gives the correct value $4BE. The ST internal books does say it IS the default enviroment string (4 nul bytes), but as I was unable to find any reference to it in the system code it is probably safe to use it as a pointer. I've patched my copy of GEMBOOT and SETPATH and they work as normal without any problems. For the undocumented/unpublished system variables freaks: according to the BIOS listing a different location is used by the BIOS as a pointer to the enviroment string, the location is $XXXX (CENSORED BY THE ATARI MAIL FILTER). Simon Poole K538915@CZHRZU1A.BITNET