Re: RE: [stella] "Zombie" optimizations

Subject: Re: RE: [stella] "Zombie" optimizations
From: Dennis Debro <ddebro@xxxxxxxxxxxxx>
Date: Fri, 17 Jan 2003 12:00:38 -0500
Hi Thomas,

> Your code works as long as you only new have one single object that can start at random positions.  
> 
> If you use more than one object (and/or VDELPx) then you will need a more general solution, because then you can't "waste" a whole register for every object. That's what .skipDraw and my latest "Zombie optimization" are made for.

You're right. I only have one player that is randomly positioned (the climber). All the other objects are stationary vertically.

> I think the first BMI is avoidable. As long as X is negative (or < 0) the carry flag will also be set after the compare.

Well, I'll be...you're exactly right. That's 2n bytes saved :)

Take care,
Dennis

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


Current Thread