Re: Aw: [stella] BCD to pointer.

Subject: Re: Aw: [stella] BCD to pointer.
From: Glenn Saunders <mos6507@xxxxxxxxxxx>
Date: Fri, 14 May 2004 07:35:32 -0700
Isn't there a way to do scores with less RAM usage?

If you store 2 6-digit scores that eats up a whopping 24 bytes of RAM for the pointers alone.


At 02:35 PM 5/13/2004, you wrote:
Hi there!

What if you'd use 6 bytes just holding the pointers?
To increase the score by 1, you'd add 5 to the lowest pointer, and once you hit #50, you set it back to zero and increase the second lowest pointer by 5 and so on...


No decoding, no shifting, no BCD, no table...

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

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


Current Thread