Subject: RE: [stella] RAM usage From: adavie@xxxxxxxxxx Date: Wed, 21 Jun 2000 10:45:39 +1000 |
Why do you say (assume?) that Video Chess uses 64 bytes for board position? I could do it with 32 by simply having one byte for each PIECE, and recording its square number But each square only numbers from 0-63, so you only need 7 bits Haven't wee been thru all this before? 7 bits x 32 pieces = 214 bits / 8 = 27 bytes approx. I'm sure there are lots more efficient codings possible. A -----Original Message----- From: owner-stella@xxxxxxxxxxx [mailto:owner-stella@xxxxxxxxxxx]On Behalf Of Glenn Saunders Sent: Wednesday, June 21, 2000 10:19 AM To: stella@xxxxxxxxxxx Subject: [stella] RAM usage The TIA reference says there are 45 reserved hardware registers. These are mapped into the 128 bytes, right? So that means a game like Video Chess, which uses 64 bytes for board position, only has 19 free bytes for the program and the stack, right? Glenn Saunders - Producer - Cyberpunks Entertainment Personal homepage: http://www.geocities.com/Hollywood/1698 Cyberpunks Entertainment: http://cyberpunks.uni.cc -- 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] RAM usage, Glenn Saunders | Thread | [stella] Chess RAM usage, Glenn Saunders |
Re: [stella] RAM usage, Glenn Saunders | Date | Re: [stella] RAM usage, Burger |
Month |