Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: sprite adresses in memory... Date: Wed, 16 Dec 1998 19:40:00 +0000 Organization: Sony Computer Entertainment Europe Lines: 24 Message-ID: <36780C90.D9C4A2EF@scee.sony.co.uk> References: <3676996D.D17B42F2@club-internet.fr> NNTP-Posting-Host: mailgate.scee.sony.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en cros wrote: > > My question now: > Is it arbitrary adresses? And if it isn't, > How can i find safe adresses for my files? No, it isn't arbitrary addresses. If you load a file that is 0x11000 long to address 0x80100000, then that file takes up all memory locations from 0x80100000 to 0x80100000 + 0x11000 = 0x80111000. Therefore if you load in another file to 0x80110000, then you will be copying data over the end of the first file! There are a couple of utilities that can calculate all this for you. I have one on my homepage ( http://www.netyaroze-europe.com/~jruss1/ ) called Dataman. There are some others, I think the links are in the FAQ off the New Members page. Cheers, James -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe Microwave: Signal from a friendly micro.