Path: chuka.playstation.co.uk!news From: "Rad" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: pmode in GsIMAGE Date: Sat, 6 Mar 1999 13:01:31 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 33 Message-ID: <7br8vg$l2g2@chuka.playstation.co.uk> References: <7ba63i$9po27@chuka.playstation.co.uk> <7bbjm6$abn3@chuka.playstation.co.uk> <7bpst3$l2g1@chuka.playstation.co.uk> NNTP-Posting-Host: vil-30.village.gre.ac.uk X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Actually that's a good question - why are the cases 0x08 and 0x09? I figured it had something to do with pmode being a signed short and the playstation's byte ordering being different. The only explanation I could come up with is that: hex bin dec 0x08 = 1000 = 0 0x09 = 1001 = 1 and that the playstation interprets the most significant bit as a positive number. Anyone care to explain/correct? Thanks, Rad. rad@cyberdude.com http://www.netyaroze-europe.com/~radpsx Rikki Prince wrote in message <7bpst3$l2g1@chuka.playstation.co.uk>... > >Thanks Rad! >Just out of interest, to maybe help boost my minimal intellect (big word >that!), could you explain why the cases are 0x08 and 0x09, or should I just >take it as a fact that it works, and that it would probably cause my puny >brain to implode severely? > >Thanks again >Rikki >