Re: [stella] Re: the big sprite

Subject: Re: [stella] Re: the big sprite
From: Eckhard Stolberg <Eckhard_Stolberg@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Apr 1998 20:07:11 +0200
At 14:39 06.04.98 -0400, you wrote:

>Alright, playfield is out.  The ball is still possible, even without
>branching.  Assuming Y is used as the counter during the draw-sprite
>routine, and the stack has been preset to ENABL:
>
>TYA
>SBC BallY
>AND #$F8	;this is a constant for ball height - must be multiple of2
>PHP
>PLA 		;to reset the stack pointer

A clever idea, but AND does not affect the carry bit. You certainly
meant ADC #hight, which doesn't have to be a multiple of 2, right?


Ciao, Eckhard Stolberg



--
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/stella.html
Don't post pirate BINs to Stellalist.  Be a programmer, not a pirate.
Write the best game, win framed autographs of famous Atari alumni!!

Current Thread