Path: chuka.playstation.co.uk!news From: alex@teeth.demon.co.uk (Alex Amsel) Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Controlling Sprites Date: Wed, 16 Apr 1997 17:45:28 GMT Organization: Into Beyond Lines: 19 Message-ID: <33550d38.6411472@news.playstation.co.uk> References: <3353BA17.39DC@mbox.ulisse.it> Reply-To: alex@teeth.demon.co.uk NNTP-Posting-Host: teeth.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent .99g/32.335 On Tue, 15 Apr 1997 19:25:43 +0200, Giulio o Riccardo did quoth at me: >Hi, >I have studied some demos and I have noticed that there is a common "if >Pad..." to check the state of the controller. >While the program is running I think it's a waste in CPU time. >I wonder if it's possible to use interrupts instead. >Anyone has an idea? I optimise a lot too, but I think this is going a bit far! Besides, the time for an interrupt (dumping registers, interrupt occuring) is far more than a few if statements.... * Alex Amsel * Into Beyond Web Design & JAVA Programming * * http://www.intobeyond.com * WWFC Utter Rubbish 1996-7* MM - "Steve Corica is every bit as good as that Kinkladze"