Path: chuka.playstation.co.uk!news From: "John Blackburne" Newsgroups: scee.yaroze.programming.codewarrior,scea.yaroze.programming.codewarrior Subject: Re: GTE asm with CodeWarrior Date: Mon, 01 Feb 1999 22:08:39 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 35 Message-ID: <7958j6$is66@chuka.playstation.co.uk> References: <78dk65$nd41@chuka.playstation.co.uk> <36AAF8E8.E85886FB@hinge.mistral.co.uk> <78f5ll$nd46@chuka.playstation.co.uk> <36AB8574.82169D5F@hinge.mistral.co.uk> <78le37$gpd8@chuka.playstation.co.uk> NNTP-Posting-Host: th-pm01-43.ndirect.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft Outlook Express Macintosh Edition - 4.5 (0410) Xref: chuka.playstation.co.uk scee.yaroze.programming.codewarrior:443 scea.yaroze.programming.codewarrior:386 In article , developer@woodentulip.com (Sean Kennedy) wrote: > This leads into the next category. > The ASM.H refers to the R3000 registers as part of the processor definition. > That is normal. It is part of the support for R3000. As well an R3000.H > file exists too. > > What I was referring to was the GTE registers. > > Those are not documented. Not properly but: 1) The compiler undestands some but not all GTE-related op codes. I think I now may know why: they're used in the pre-main initialisation in _pssstart.c. I suspect MW would have yanked all support except then this code would not have compiled. 2) Further browsing the "Targeting Net Yaroze" (i.e. the user manual for CW for NY) the debugger chapter lists one of the ways of peeking at a running program is by opening a window to show the GTE registers. This does appear in the menu when debugging but is greyed out at all times. So it looks like GTE support, available in the Pro product according to MW's web pages, was excised from the cut-down NY version. But some limited support had to be kept and elsewhere the excisation was less than surgical. > Yep, I agree. I found THAT out coding for PowerPC. The PSX is the first Assembler coding I've done in years: I was spoilt on the PPC with its FPU which does most everything, including multiply-add, in a single cycle, at 200MHz on the laptop I'm writing this on. Coding on a processor that runs at a tenth this speed without the maths power has led me to rediscover the joys of very low level coding. John