tscp w/ bitboard under Linux

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
jshriver
Posts: 1357
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

tscp w/ bitboard under Linux

Post by jshriver »

Anyone been able to successfully compiled tscp w/ bitboards under Linux? Regular tscp compiles fine with just gcc -O3 *.c -o tscp but the other is throwing a lot of errors.

http://www.tckerrigan.com/Chess/TSCP/Co ... 81_mjs.zip

-Josh
Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: tscp w/ bitboard under Linux

Post by Michael Sherwin »

Dann Corbit made a Linux compatible source available.
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: tscp w/ bitboard under Linux

Post by pedrox »

Michael you have data on the speed difference between a tscp and the other?
Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: tscp w/ bitboard under Linux

Post by Michael Sherwin »

pedrox wrote:Michael you have data on the speed difference between a tscp and the other?
The x86 32 bit versions were about the same speed. In some positions the bitboard version was slightly faster and in others it was a bit slower. On average the bitboard version is maybe 1 or 2% slower (iirc). I imagine that the bitboard version would be much faster when compiled to 64 bits.
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
User avatar
Bill Rogers
Posts: 3562
Joined: Thu Mar 09, 2006 3:54 am
Location: San Jose, California

Re: tscp w/ bitboard under Linux

Post by Bill Rogers »

Changing the subject just a litle. Upon searching my laptop this morning I discovered that I have a copy of TSCP 1.0. Don't have the source, ie. the C programmng, but it works just fine. I think it is a 4-ply only program.
Bill
Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: tscp w/ bitboard under Linux

Post by Michael Sherwin »

Bill Rogers wrote:Changing the subject just a litle. Upon searching my laptop this morning I discovered that I have a copy of TSCP 1.0. Don't have the source, ie. the C programmng, but it works just fine. I think it is a 4-ply only program.
Bill
TSCP was meant to be a teaching program only (a basic alpha/beta search with a basic eval) and was not originally meant to compete. It was hard coded for 4-ply, but just changing the 4 to some other (reasonable) number would allow it to search that deep. It has just a minimal alpha/beta search, so changing the 4 to a 12 could cause it to take a month to move!
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
User avatar
Bill Rogers
Posts: 3562
Joined: Thu Mar 09, 2006 3:54 am
Location: San Jose, California

Re: tscp w/ bitboard under Linux

Post by Bill Rogers »

Hi Michael
I knew that about TSCP but I still enjoy the program. The only reason I posted this in the first place was to mention a little histroical program in case anyone besides me likes to collect old programs.
I have every Sargon program ever written. 1 & 2 for the Radio Shack TRS-80 and 3 - 5 for PC's. That is not counting Frizt 1 & 2 and countless others. Shucks, I even think you gave me an old one of yours a while back.
Bill
PK
Posts: 905
Joined: Mon Jan 15, 2007 11:23 am
Location: Warsza

Re: tscp w/ bitboard under Linux

Post by PK »

what should I do to compile TSCP under Visual Studio 9.0 Experss Edition?
tmokonen
Posts: 1361
Joined: Sun Mar 12, 2006 6:46 pm
Location: Kelowna
Full name: Tony Mokonen

Re: tscp w/ bitboard under Linux

Post by tmokonen »

Bill Rogers wrote:Changing the subject just a litle. Upon searching my laptop this morning I discovered that I have a copy of TSCP 1.0. Don't have the source, ie. the C programmng, but it works just fine. I think it is a 4-ply only program.
Bill
Hi Bill. Would you mind if I asked you to send me a copy of the executable via email? I like older versions of playthings. Thanks.

Tony
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: tscp w/ bitboard under Linux

Post by pedrox »

PK wrote:what should I do to compile TSCP under Visual Studio 9.0 Experss Edition?
In Express Edition you can compile TSCP 1.81 mjs 32bits, for 64-bit version you need at least the Professional version, also if you want to make a version PGO.

File --> New --> Project (visualc++/General/project file MAKE) --> Finish

In File code source add files c, in file header add files h.

Generate -> Configuration Manager -> Release

Project -> Properties (project name) (if you want to find a configuration optimized)

Generate --> Generate (project name)