Wish we had (a 64-bit) Prop II... Maybe Prop III?
Rayman
Posts: 14,817
I've started writing this chess program from scratch and it would be very convenient to have 64 bits!·
Then, every bit can represent a square on the board.· This makes programming a lot easier and execution a lot faster...
Also, with many more faster cogs looking at moves, the strength could go way up.
(side note:· I wonder if my new Imagecraft C compiler has a 64-bit data type...)
Post Edited (Rayman) : 7/7/2008 9:38:31 AM GMT
Then, every bit can represent a square on the board.· This makes programming a lot easier and execution a lot faster...
Also, with many more faster cogs looking at moves, the strength could go way up.
(side note:· I wonder if my new Imagecraft C compiler has a 64-bit data type...)
Post Edited (Rayman) : 7/7/2008 9:38:31 AM GMT
Comments
We do not -- yet, but it would be something we will be adding at some point.
Having two 32-bit DIRA and DIRB etc wouldn't really make sense for 64-bit and it's Cog architecture rather then Hub RAM which would change if we went to 64-bit.
It's chess [noparse]:)[/noparse]
No.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Because there's enough room, I want to use Bitfields to speed the calculation.· It's a lot easier and faster to use Bitfields when you have a 64-bit native type...·
·
Well, maybe next revision of C will have long long support. Anyways using 32 bits to "emulate" 64 requires loads of code. Especially due to the lack of pointers... Maybe you can do some small functions that do what you want, set/clear and test I assume and you put them into the LMM kernel that the C provides, I assume they have provided some easy way to call a function that directly in the kernel space is, or is not possible, so you do
rayman_and(&var1, &var2);
instead of
var1 = var1 & var2;
But no idea if is possible
Or do you mean C doesn't have pointers ? Surely it must ???
Post Edited (hippy) : 7/7/2008 7:08:52 PM GMT
http://www.gamedev.net/reference/programming/features/chess1/
I think that it would be fun to write a standalone chess program for the prop. Maybe you could even build your own autosensory chessboard, and use the prop to handle the RF for piece detection (see Ken Thompson's work), graphics display (maybe multiple types of displays), and even speech synthesis. But don't set your performance goals too high initially. e.g. you're probably not going to have much of a hashtable, so your branching factor is going to be high in comparison with the state of the art. I would plan on trying to compete with the Excaliber products as a personal goal. You might even lobomize a cheap one for fun. I think that fun would come from the level of integration you could achieve, and having something portable that could run from batteries and have a decent battery life.
My guess is that it will simply be two props 'glued' together. in theory that would make it more powerful, and easier (faster) to design.
Ray
Graham
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
As far as the Propeller goes I'm firmly in the embedded camp. Its a nice multiprocessor chip thats easily accessible to us mere mortals unlike the other ones like Cell or Xmos. Hell its easier to learn than any of the ARM variants out there with their 800 page data books.
FWIW