Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Mixing 0x88 and bitboards

Author: Robert Hyatt

Date: 19:01:07 06/24/02

Go up one level in this thread


On June 24, 2002 at 20:33:32, Russell Reagan wrote:

>I am not an experienced bitboard user. I've been thinking about trying them out
>just to see how they work in comparison with my current 0x88 implementation. Is
>there any potential problem in mixing the two approaches? One problem that I can
>see would be that if you have an index for a bitboard, it's not going to index
>into the same square in your 0x88 array. I suppose the only real reason to keep
>0x88 would be for efficient edge detection. Do bitboards offer a solution to
>edge detection? Or do they even need edge detection when using bitboards (ex.
>using the BSF asm instuction would seem to avoid edge detection altogheter)?
>
>Thanks,
>Russell


If you want to try it you can _always_ indirect the bitmap square number
thru an array to convert it to its equivalent 0x88 number.  Just for
testing/comparing...



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.