Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Darco Newsgroups: scee.yaroze.programming.codewarrior,scea.yaroze.programming.codewarrior Subject: Re: TestCard()? Date: Mon, 14 Sep 1998 18:15:44 -0400 Organization: SCEA News Server Lines: 39 Message-ID: <35FD9590.2579AFB5@bigfoot.com> References: <35FAE847.184C03F5@bigfoot.com> <35FCD825.712C09A4@scee.sony.co.uk> NNTP-Posting-Host: 255.dialup.datasys.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; U) To: James Russell Xref: chuka.playstation.co.uk scee.yaroze.programming.codewarrior:358 scea.yaroze.programming.codewarrior:356 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