Path: chuka.playstation.co.uk!news From: "pal" Newsgroups: scee.yaroze.freetalk.english Subject: Re: weird behaviour in vsync callback Date: 22 Feb 2002 22:37:10 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 15 Message-ID: <01c1bbf0$9e6d6880$e194933e@pal-s-omnibook> References: <01c1ba1d$77e99820$57a1933e@pal-s-omnibook> NNTP-Posting-Host: nas-cbv-6-148-225.dial.proxad.net X-Newsreader: Microsoft Internet News 4.70.1155 Peter Armstrong wrote in article ... > if you add the line > __asm__ volatile ("la $28, _gp"); > at the start of your callback function you'll be able to access global > variables. Yes! that works! Thank you Peter. I should have a look at the CW docs, they seem to be interesting. Don't know where my CW is now though... btw do those docs come on the cd or was there a printed booklet with it? I'm sure I can find back my cd but I don't remember seeing printed docs... pal