TBGEN version 5

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

TBGEN version 5

Postby Vegan » 07 Aug 2008, 00:49

Well folks, I finally found the missing file I was looking for Eugene's TBGEN program. I was missing datacomp.c and found it on Dann Corbit's page (thanks). The TBGEN.CPP has been modified, but its fixable.

I already have fixed some of the problems, keep in mind the program is from a DEC alpha processor and was done < 1990. That is when version 4 of TBGEN which has 6 piece code for 42 and 33 positions.

Much of the code is deprecated or generates lots of errors so I am migrating this code to the new C++ standards and I expect it will take several months to clean up.

Once that is done, I am going to implement 43 and 44 (I know) so it will be usable for a decade or two before I need to bump up the version number.

If there are any Linux programmers here, I need some help modernizing the SMP code. I have a Windows class for a mutex object from my code library and that can be used as is. The existing code is no good for any OS.

The file IO is also no good, so I am replacing it with modern and portable standard C++ binary file IO.

I have a C++ compiler that can target XP x64 and that is the tool I will be using once the code is sanitized. Then I plan to feed it to a mainframe for a while to get the ball rolling with 7 pieces.

Should be fun, as I have to also fix EGTB.CPP for users to be able to use 7 pieces.
Vegan
 

Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 18 guests