Re: [stella] Loops with two counters

Subject: Re: [stella] Loops with two counters
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Thu, 7 Jul 2005 16:43:05 -0400
Bob Montgomery wrote:
> :)  My PoP code didn't use two indices, though, like yours did.
> Did you use a better/faster method?  I'll have to go dig that thread
> up.

This is what Manuel wrote:

BTW: You can probably optimise this:

dey ; 2
tya ; 2
cmp BlockTbl,x ; 4
bne .nextRow ; 23
dex ; 2
bpl .nextBlock ; 23= 15

with something like:

DEY
LDX LargerButFunkierTable,Y
BPL .nextLine

Have fun!
Thomas
_______________________________________________________
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |

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

Current Thread