Path: chuka.playstation.co.uk!news From: Developer Support Newsgroups: scea.yaroze.programming.2d_graphics Subject: Re: addresses Date: Wed, 06 Aug 1997 10:06:55 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 30 Message-ID: <33E83EAF.170B@interactive.sony.com> References: <33E68AF3.3F1E@erols.com> <33E6ED54.406D@interactive.sony.com> <33E7ACF5.702B@erols.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) Clint Kelly wrote: > > I tried what you said, and it didn't work. Here's what my batch file looks like: > local dload base.tim 0x80090000 <-- 32x32 > local dload boom.tim 0x80091000 <-- 384x64 > local dload bullet.tim 0x80098000 <-- 48x16 > local dload ship.tim 0x80099000 <-- 64x32 > local load ny.pxe > go > > I also tried subbing the second-last line with > local load ny.pxe 0x80100000 > and > local dload ny.pxe 0x80100000 > > Every time, I get the following error: > > The PlayStation has generated a Bus Error on Data Load exception at instruction address > 0x800229e8. Huh? > > Clint Hopefully your using local dload base.tim 80090000 etc, as the numbers are automatically hex. You can't do local load ny.pxe 80100000 as the number is the SP address. To load your program at a specific address it has to be done when linking. Try gcc -o myprog myprog.c -Xlinker -Ttext -Xlinker 80100000. Stuart