Path: chuka.playstation.co.uk!news From: gil@snsys.com (Gil Jaysmith) Newsgroups: scee.yaroze.freetalk.english Subject: Re: Yaroze Charts Needed? Date: Fri, 22 Aug 1997 12:08:02 GMT Organization: SN Systems Lines: 42 Message-ID: <5tjv40$3qt6@chuka.playstation.co.uk> References: <5tguh4$q9q4@chuka.playstation.co.uk> <5th2ut$3qt1@chuka.playstation.co.uk> <33fd2f49.6075799@news.playstation.co.uk> <5thmmr$3qt3@chuka.playstation.co.uk> <33FD262E.77E1@cobradev.demon.co.uk> Reply-To: gil@snsys.com NNTP-Posting-Host: gil.snsys.com X-Newsreader: Forte Free Agent 1.0.82 colin adams wrote: >What do they use then? I read somewhere that the Sony Developers licence >requires that you use the supplied libraries & you must code in C/C++. The libraries shipped with the pro devkit number about 15 or so and cover all areas of the PSX including the memory card and the gun and stuff like that. The Yaroze library appears to be most of the functions rolled up into one library, and hardwired into memory at a particular place to save you having to worry about linker scripts and that sort of thing, which can save you lots of space if you pay attention to them. The Yaroze libraries don't contain the GTE functions which are what give the PSX 360K polygons a second rather than 60K or thereabouts. I guess they might not include the gun code and stuff like that too. You can code for the PSX in assembler, C, or C++ (bearing in mind that assembler is tortuous and C++ has no standard library in the way C does so you can't rely on the C++ equivalent of functions like string handling - but the C versions work fine, obviously). There isn't any difference in the final result, just in the effort it takes. All three versions can call the libraries. And yes, Sony does insist that you use the library functions, which has sometimes presented problems, as developers are fond of game speed, and you couldn't accuse earlier versions of the libraries of being all that quick. However, as part of Sony's QA for a game, the game's usage of library functions is assessed, and if you're quite patently not using any libraries, Sony will want to know (a) why not ("they're crap" is generally not an excuse) and (b) what you're using instead - since you aren't supposed to disassemble the libraries to write your own optimal versions. This task used to be performed by some black monolith of a machine of which there were three in the world, or something like that, but is now much easier thanks to the Performance Analyser. This is available to developers as a debug and tuning aid, but it also conveniently provides much handier stats about library usage at the Sony end. Gil Jaysmith SN Systems Software Ltd, makers of Psy-Q... http://www.snsys.com Disclaimer: What I say when I post here represents me, not my employers.