RE: [stella] Fastest missile/ball draw

Subject: RE: [stella] Fastest missile/ball draw
From: "Bob Montgomery" <BobM@xxxxxxxxxxx>
Date: Fri, 25 Feb 2005 12:45:38 -0500
Er, whoops.  That doesn't quite work as I wrote it.  This will work:

lda BallHeight
dcp BallYPosition
sbc BallAdjuster
sta ENABL		;+14

Where BallAdjuster = BallHeight - 2

I forgot which way the carry flag was flipped after the dcp.


-----Original Message-----
From: Bob Montgomery 
Sent: Friday, February 25, 2005 8:18 AM
To: stella@xxxxxxxxxxxxxxxxxx
Subject: [stella] Fastest missile/ball draw

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

Archives (includes files) at
Unsub & more at

Current Thread