Re: [stella] Revolutionary Horizontal positioning 2

Subject: Re: [stella] Revolutionary Horizontal positioning 2
From: Manuel Polik <cybergoth@xxxxxxxx>
Date: Tue, 26 Nov 2002 15:48:55 +0100
Hi Thomas!

>Manuel Polik wrote:
>>       AND #$0F	     ; Manuels "forget about 
EOR/ASL
>>       TAY            ; nonsense" magic :-)
>>       LDA hmovetab,Y ;
>>       STA HMP1       ; Fine Position sprite 1

>>hmovetab
>>    .byte $80,$70,$60,$50,$40,$30,$20,$10,$00
>>    .byte $F0,$E0,$D0,$C0,$B0,$A0,$90

> Good work Manuel! 

Thanks! *proud* :-)

> Did you find this trick in other games too?

I just finished programming this, so I had no time to 
further research that yet. But I don't really think 
you'll find this in other games, since normally the 
EOR/ASL thing should do - I just desperately needed the 
cycles gained from using the table and the reliable 
carry state.

And I don't have Y as general line-counter, so I didn't 
need to worry about using it. (X would certainly do as 
well)

Greetings,
	Manuel

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread