Re: [stella] Kernel help #2

Subject: Re: [stella] Kernel help #2
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Tue, 27 Aug 2002 22:07:05 +0200
Dennis Debro wrote:
>I'm using a jsr after the critical code is done but this 
pushes me over the 72 cycle limit when I position the player.
>
>Can someone help me with this please :) I also want to put my 
PF updates back in to eventually.

You could move some of your code into the previous scanline 
(e.g. inc scanLine, sta HMOVE), but IMO your main problem is, 
that you are 'wasting' to much time with using subroutines. 
Each call needs addtional 12 cycles, which is ~1/6 of your 76 
cycles. So try to avoid JSR inside the kernel.

Have fun!	
Thomas


----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread