Subject: [stella] Very BASIC ASM Info needed... From: Manuel Polik <manuel.polik@xxxxxxxxxxx> Date: Wed, 07 Mar 2001 12:02:04 +0100 |
Mornin' Supposed I want to have a counter which does 0/1/2 and then repeats. Straightforward everybody will come up with something like this: INC frameCounter LDA frameCounter CMP #$03 BNE CounterOk LDA #$00 STA frameCounter Now, I'm almost 100% certain, that there must be a more elegant EOR trick here. Can someone please find _and_ explain it to me? :-) Greetings, Manuel - Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] Overscan & Vblank conf, Manuel Polik | Thread | Re: [stella] Very BASIC ASM Info ne, Andrew Davie |
[stella] Overscan & Vblank confusio, Manuel Polik | Date | Re: [stella] Very BASIC ASM Info ne, Andrew Davie |
Month |