Path: chuka.playstation.co.uk!news From: Developer Support Newsgroups: scee.yaroze.beginners Subject: Re: Memory address selection? Date: Thu, 10 Jul 1997 10:22:07 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 26 Message-ID: <33C4A9BF.4B06@interactive.sony.com> References: <33C3449A.34EB@hotmail.com> <33C34446.520@interactive.sony.com> <33c3e6ed.8639997@news.scea.sony.com> NNTP-Posting-Host: 194.203.13.10 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) > >The Yaroze kernal and base library take up the memory > >from 0x80000000 - 0x8008ffff, so Never load anything before > >0x80090000; this is effectively the starting address. > >The top address is 0x801fffff, but the stack grows down from that > >point, so best to leave it some space; hence you can take > >values like 0x801f0000 or 0x801ff000 as the top-most address. > > program stack grows down from 0x801ffff, and the > linker option to load your executable will load at that point and > upward, say at 0x801e3000 and upward, so that the only thing > colliding would be the program stack and the program exectable, > and everything below 0x801e3000 is ok? yes? no? If you were loading your program at 801e3000, and you made the linker generate a mapfile, and hence you knew the program space ended at e.g. 0x801f0000, then you can be sure of no overlap of stack and program; and use of the space between 0x80090000 and 0x801e2fff would be fine. > > Jamin > > >Lewis