Path: chuka.playstation.co.uk!news From: Developer Support Newsgroups: scee.yaroze.freetalk.english Subject: Re: Restarting PSX Date: Wed, 28 May 1997 09:33:42 +0100 Organization: Sony Computer Entertainment Europe Lines: 45 Message-ID: <338BEDE5.2083@interactive.sony.com> References: <338B6AAD.6F38@netcomuk.co.uk> Reply-To: N/A-Use-Newsgroup 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) Ira Rainey wrote: > > It's taken some time to sink in, but I've just noticed that my Yaroze > doesn't reset when it should/I tell it to(?). > > I just realised this after going through the wad of misc source files I > have now and finding the very first hello world code and reading the > text file. That's when it clicked. > > Is this something due to the PSComUtil, or what? > > Any ideas, all I end up with is a frozen screen on the PSX and an error > in the console window unexpected error type 8. > > Ira > -- > "Never take life too seriously, 'cause you know you're not getting out > of it alive." - Bugs Bunny Not sure what you mean by 'resetting' the Yaroze. If you mean a full memory reset, this is not achievable by any software call, only by manually pressing the reset button. If you mean resetting to properly return to the CIP console, i.e. the Yaroze ready-to-download screen, then there are a couple of things to bear in mind. (Mainly that it is vital to make programs exit cleanly to return to the console; otherwise you will need hardware resets and reloading of many files). Firstly, a program will only quit and return to the console if (a) the program has a quit-condition (eg user presses start and select together) - many programs have No such terminator (b) the program exits cleanly: programs that use sound are especially in need of properly freeing up the sound resources before exiting. Also return zero from main. Secondly, our testers had problems with CodeWarrior: this seems to mke it more likely to need resetting. Best advice here: send messages to Metrowerks via the CodeWarrior newsgroup. Lewis