Re: [stella] Fastest missile/ball draw

Subject: Re: [stella] Fastest missile/ball draw
From: Manuel Rotschkar <cybergoth@xxxxxxxx>
Date: Fri, 25 Feb 2005 16:03:11 -0500
Hi there!

Well, if you have the ROM space, a faster way is always:

LDA (ballPointer),Y
sta ENABL

With ballpointer pointing to a ROM area organized like:

	.byte %00000000
	.byte %00000000 ; As many zeros as kernel is high
	.byte %00000000
       ...
	.byte %00000010
	.byte %00000010 ; As many "enables" as ball is high
	.byte %00000010
       ...
	.byte %00000000
	.byte %00000000 ; As many zeros as kernel is high
	.byte %00000000

Voil`: 8 cycles constant! ;-)

Greetings,
	Manuel

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

Current Thread