Subject: [stella] Fastest missile/ball draw From: "Bob Montgomery" <BobM@xxxxxxxxxxx> Date: Fri, 25 Feb 2005 11:18:19 -0500 |
The fastest way to draw a missile or ball (of variable height) that I have come up with is this: lda BallHeight dcp BallYPosition sbc BallHeight sta ENABL ;+14 Is there a faster way? You can shave a cycle if you restrict your BallHeight to intervals of 4: lda BallHeight dcp BallYPosition sbc #0 sta ENABL ;+13 Where BallHeight = 0, 4, 8, etc. Similar for other BallHeight values. And you can shave another cycle by replacing BallHeight by #BALLHEIGHT - but is there a faster way for the general case? Thanks, -bob PS I've been waiting to subscribe to this list for about 4 months; this is my first post! Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://stella.biglist.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] New list: Update, Dennis Debro | Thread | RE: [stella] Fastest missile/ball d, Bob Montgomery |
Re: [stella] New list: Update, Piero Cavina | Date | Re: [stella] New list: Update, Rob |
Month |