RE: [stella] Fastest missile/ball draw

Subject: RE: [stella] Fastest missile/ball draw
From: "Bob Montgomery" <BobM@xxxxxxxxxxx>
Date: Fri, 25 Feb 2005 15:10:28 -0500
That only works for missiles/ball with a height of 1 scanline though...right?


-----Original Message-----
From: M Zach [mailto:zach_in_sac@xxxxxxxxx]
Sent: Friday, February 25, 2005 12:07 PM
To: stella@xxxxxxxxxxxxxxxxxx; 2stella@xxxxxxxxxxxxxxxxxx
Subject: Re: [stella] Fastest missile/ball draw

Yeah, there is a faster way. It's a classic trick
using the stack pointer and PHP. The advanced
programming guide linked below explains it well.
Search for "using PHP" in the text file.
--- Bob Montgomery <BobM@xxxxxxxxxxx> wrote:

> The fastest way to draw a missile or ball (of
> variable height) that I have come up with is this:
> lda BallHeight
> dcp BallYPosition
> sbc BallHeight
> sta ENABL		;+14
> Is there a faster way?

Archives (includes files) at
Unsub & more at

Current Thread