Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.beginners Subject: Re: Halting problem Date: Mon, 21 Sep 1998 10:27:06 +0100 Organization: Sony Computer Entertainment Europe Lines: 30 Message-ID: <36061BEA.536E8D68@scee.sony.co.uk> References: <36060A0C.97E@dma-design.com> 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.5b1 [en] (Win95; I) X-Accept-Language: en Brian Baird wrote: > > Got a slight problem: I compile my program fine but when I go to run it, > after it's transferred over by siocons, the PSX just halts before > executing anything. > > I type "go" & it freezes. Needs to be reset to do anything else. I have > a feeling I'm either accessing dodgy memory or I'm not quite compiling > correctly.... Looks like: o you've linked your code to some address that's lower than 0x8009000. That will wipe over the libraries, so that won't work. o you've got a bug in your code that occurs before you set up your screen display (TMD/TIM setup?) Try putting lots of "printf"s around the functions at the beginning of your program to see where it's crashing. If you put in a printf at the very start and you don't get any output, it's very likely that you're linking to the wrong place. Cheers, James -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe Attend! The William! Shatner! School of! Acting!