Re: [stella] Sprites source code

Subject: Re: [stella] Sprites source code
From: Piero Cavina <p.cavina@xxxxxxxxxxxxx>
Date: Fri, 7 Mar 1997 17:54:50 +0100
At 8:36 -0600 7-03-1997, Bob Colbert wrote:

>On Thu, 6 Mar 1997, Nick S Bensema wrote:
>
>> >- Do you think that a different way of storing X coordinates might lead to
>> >a more efficient code  during screen drawing? For example:
>
>> Though it could be as simple as this:
>
><tech stuff deleted>
>
>Nick, what you were talking about was unnecessary, the values that would
>be stored in the byte are already adjusted after the calcpos routine was
>called.  That routine takes an X coordinate and translates it into the
>correct rough and fine positioning values.  Those can then be combined
>into a 1 byte value as the original poster stated.

My idea was really to store X coordinates in two ways: one "standard", the
other being the best possible for use within the time critical routines.
Thus the conversion between the two could be taken out of the critical part
of the progrm.

P.




--
To unsubscribe, send the word UNSUBSCRIBE in the body of a message to
stella-request@xxxxxxxxxxx

Current Thread