Rybags, on Wed Dec 14, 2011 2:08 AM, said:
EOR looks like arse if it overlaps anything.
And if the area is clean, it wastes cycles.
About EOR I know, i read it somewhere sometime ago, but, for example Armalyte and many of these type games have that pre-calculated x,y/ scripted movements of Enemys and like that you only would have is the 'transparent/shifting' that can touch gfxs.
Then you have 'our ship' as Multicolour PMG only.
And why waste cycles?
If your cleaning area it's (00) and you put your soft sprite above isn't it only OR?
Here you still have the same, just one logical operation that it's EOR/XOR.
OR/AND/EOR don't take the same cycles (isn't it 4cycles?)
I see it the same: LDA/EOR/STA that it's 13cycles and not 17cycles (OR/AND instead of just EOR.
If you save 4cycles in each byte then, for 10 soft sprites of 3 x 3chars=3bytes x 24scanlines=72bytes
10soft sprites x 72bytes=720bytes
And that it's 720 x 4cycles = 2880cycles more to use
Edited by José Pereira, Wed Dec 14, 2011 2:53 AM.