Subject: Re: [stella] reading the driving controllers, generic thoughts From: "Thomas Jentzsch" <tjentzsch@xxxxxx> Date: Fri, 9 Nov 2001 09:20:11 +0100 |
I wrote: > Now, in the table-less solution, I'm taking this concept a bit further: > > lda SWCHA > tay > eor last ; 01 or 10 (else: abrupt twist) > sty last > dey ; -> y = -1..2 > cpy #2 > sbc #1 ; -> a = -1, 0, 1 > beq .right > .left: Correction: As you might have already noticed, there is a litte bug in the code: After LDA SWCHA I forgot to mask out the upper bits (AND #%00000011). BTW: That also makes my attempt to use my favourite illegal opcode LAX impossible ;-) Have fun! Thomas _______________________________________________________ Thomas Jentzsch | *** Every bit is sacred ! *** tjentzsch at web dot de | ____________________________________________________ Berufsunfähigskeitversicherung von Mamax bei WEB.DE. Jetzt informieren! http://bu.web.de ---------------------------------------------------------------------------------------------- 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 -> |
---|---|---|
[stella] Re: reading the driving co, Andrew Wallace | Thread | [stella] cinciclassic, Ben Larson |
Re: [stella] unrolling inner loop, Thomas Jentzsch | Date | Re: [stella] Re: Gunfight Release C, Thomas Jentzsch |
Month |