RE: [stella] Loops with two counters

Subject: RE: [stella] Loops with two counters
From: "Bob Montgomery" <BobM@xxxxxxxxxxx>
Date: Thu, 7 Jul 2005 16:46:54 -0400
>This is what Manuel wrote:

Thanks.  I think that's what I'm going to have to do.


-----Original Message-----
From: Thomas Jentzsch [mailto:tjentzsch@xxxxxx]
Sent: Thursday, July 07, 2005 1:43 PM
To: stella@xxxxxxxxxxxxxxxxxx
Subject: Re: [stella] Loops with two counters

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:

LDX LargerButFunkierTable,Y
BPL .nextLine

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

Archives (includes files) at
Unsub & more at
Archives (includes files) at
Unsub & more at

Current Thread