Subject: Re: [stella] Generic kernal or just build a game? From: Manuel Rotschkar <cybergoth@xxxxxxxx> Date: Mon, 29 Mar 2004 23:07:49 +0200 |
Just had some more thoughts about playfield destruction. When you have the PF refelected like this:
PF0 PF1 PF2 PF2 PF1 PF0 u r u r u r
So if you use PF1 and PF2 _only_, you have "r u" repeating twice! That means, you should get away with one 16 byte AND table, starting reversed:
disintigratetab .byte %11111110 .byte %11111101 .byte %11111011 .byte %11110111 .byte %11101111 .byte %11011111 .byte %10111111 .byte %01111111 .byte %01111111 .byte %10111111 .byte %11011111 .byte %11101111 .byte %11110111 .byte %11111011 .byte %11111101 .byte %11111110
LDA xpos LSR LSR ; divide by 4 SEC SBC #$04 ; skip PF0 AND #$0F ; limit to our table range TAX LDA disintigratetab,X
x.##.. .####. ###### .####. ..##..
y.##.. .####. #####x .####. ..##..
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] Generic kernal or just, stella | Thread | Re: [stella] Generic kernal or just, Manuel Rotschkar |
Re: OT: patch , Dasm WAS: [stella] , KirkIsrael | Date | Re: [stella] Generic kernal or just, Manuel Rotschkar |
Month |