Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Elliott Lee Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: sprite adresses in memory... Date: Thu, 17 Dec 1998 23:34:09 -0800 Organization: SCEA News Server Lines: 45 Message-ID: <367A0571.8630C4AC@shell.jps.net> References: <3676996D.D17B42F2@club-internet.fr> NNTP-Posting-Host: 209-239-195-134.oak.jps.net 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: [...] > when i load just one image with the first adress, the games works > when i load the two files the sprite are bad : i have the bricks of the > download screen of the Netyaroze OS!! Are you sure that you set the GsSPRITE structure correctly? If you see Yaroze bricks then sounds like one of your sprites has an X coordinate less than 320... Test: Without adjusting the rest of the program, make sure you clear the frame buffers. You shouldn't see bricks at all. > I use Tim Util to arrange the position of my files in the buffers. Make sure that when you use Tim Util that you DO NOT put sprites in the (0,0)-(319,511) area. If you do, they are probably being overwritten by the Yaroze bricks. If you have CLUTs, also make sure that they are not within that same area. Unless you move your frame buffers around, that area will be used for page flipping. > My question now: > Is it arbitrary adresses? And if it isn't, > How can i find safe adresses for my files? Not arbitrary. The other post on this thread about using Dataman is a good suggestion. Short of using that, you could always allocate a lot of space for your sprites. e.g. 1st sprite at 0x80180000, 2nd sprite at 0x801c0000. There's no way your sprite should overlap there. :P > the 0x80100000 and 0x80110000 adresses are taken from a sample game by > Ira Rainey.. > > There is a tip for calculate the space in memory, and also the start > adress of my Tim files in memory? > > Thanks, chris, and sorry for my poor english... -- Mata ne, ... ... - e! ::' tenchi@shell.jps.net ':: (Protocol) :: ACiD -/- ACS -/- pHluid -/- Yaroze :: (Tenchikun) ::. http://www.jps.net/tenchi .:: ''' '''