Re: [stella] Object handler organisation

Subject: Re: [stella] Object handler organisation
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Thu, 07 Nov 2002 18:48:52 +0100
Manuel wrote
>    ...
>    BCS .MoveLeft
>    ADC xpos,X			; Carry is clear! Fine!
>    JMP .HorMoveDone
>
>.MoveLeft
>    EOR #$FF			; Carry is set! Excellent!
>    ADC xpos,X
>.HorMoveDone
>    STA xpos,X

Hm, why not:
    ...
    BCC .MoveRight
    EOR #$FF			; Carry is set! Excellent!
.MoveRight:
    ADC xpos,X			; Carry is clear! Fine!
    STA xpos,X

:-)

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