Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Rafael Campana Newsgroups: scee.yaroze.programming.codewarrior,scea.yaroze.programming.codewarrior Subject: Re: TestCard()? Date: Fri, 18 Sep 1998 17:20:51 -0500 Organization: SCEA News Server Lines: 63 Message-ID: <3602DCC3.EB53B9C6@metrowerks.com> References: <35FAE847.184C03F5@bigfoot.com> <35FCD825.712C09A4@scee.sony.co.uk> <35FD9590.2579AFB5@bigfoot.com> NNTP-Posting-Host: mtwks80.metrowerks.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (WinNT; I) To: Darco Xref: chuka.playstation.co.uk scee.yaroze.programming.codewarrior:359 scea.yaroze.programming.codewarrior:357 Hi everybody, This problem is related to PSComUtil versus SIOCONS. I built the source code with both CodeWarrior (to generate NY.pxe) and GNU (to generate MAIN.A). If I download main.a or ny.pxe in PSComUtil, it doesn't work. If I download ny.pxe or main.a in SIOCONS, they both work. Thus, it appears to be some sort of bug in the Sony libraries or the "RDB" debug monitor in the Net Yaroze, and/or in PSComUtil. We are talking to Sony to figure this problem out.....so more news to come. Thanks. -- PlayStation Development Tools Metrowerks Darco wrote: > James Russell wrote: > > > > Darco wrote: > > > > > > Any luck with the TestCard() problem? > > > > As a workaround (and this suggestion may crash and burn horribly), > > why not compile all your code that uses TestCard using the GCC > > compiler into an object file, then link in that object file with > > the rest of your CW stuff? If, as you say, TestCard only fails when > > called by CW and not GCC, then perhaps this will fix it. > > > > Indeed, it did seem like a good idea. > > I tried it... But no avail. > > It did the same thing it always did. I even tried changing the program > entry point directly to main() but that didn't help. > > I looked at the disassembled code, checked it over and over again and > I'm starting to get sick. Honestly. My eyes hurt. I guess it's partly > because I have my monitor in 1280x1024 mode... Uggg... > > It was a valiant idea but oh well. From my research the bug seems to be > in one of 2 places : In the compiler (Ua... Not likely) or the > codewarrior-converted yaroze libraries. I thought it might be that > metrowerks was doing something funky before dropping me to the main() > subroutine; but after changing the program entry point and it still not > doing a thing, I don't think this is the case. Changing the optimization > level doesn't seem to help either. > > Either way it would seem that TestCard()'s fate now lays in the hands of > MetroWerks. I'll keep crunching away to see if I can figure out what's > up but I doubt that I'll come up with anything. > > Adios! > > 'Darco