Aw: Re: Aw: Re: Re: [stella] Climber 5 beta...again???

Subject: Aw: Re: Aw: Re: Re: [stella] Climber 5 beta...again???
From: cybergoth@xxxxxxxx
Date: Fri, 27 Jun 2003 19:59:12 +0200 (CEST)
Hi there!

> >LDA flashTimer
> >AND #%00000010
> >BNE skip
> 
> Huh? Is flashTimer being incredmented or decrement somewhere? If so, from
> what/to what? In order to implement, you're also going to need something
> like:

I was just assuming that something like a timer/countdown for the next girder u-turn must exist, otherwize the girders would always flash. So if this countdown was running anyway, I'd missuse this to determine the color of the girder. Assuming a girder turn woud happen just when a counter runs out, it'd come down to something like:

LDY thatcolor
LDA turnCountdown
CMP #$20  ; Close to the turn?
BCC skip
AND #%00000010
BNE skip
LDY thiscolor
skip
STY COLUXX

> My solution would be:

Good thing as well, but it is missing the overhead for switching the flicker on/off :)

Greetings,
 Manuel


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


Current Thread