Search found 17973 matches

by hgm
Wed Dec 11, 2019 1:26 pm
Forum: Computer Chess Club: General Topics
Topic: Winboard.debug file missing.
Replies: 10
Views: 224

Re: Winboard.debug file missing.

Well, in engine-engine games WinBoard would sent a "computer" command to both players (after the variant and level commands) to inform them their opponent is an engine, and this is a configurable command, which could be altered though the -computerString option (e.g. to send a hard-coded egtpath com...
by hgm
Wed Dec 11, 2019 12:00 pm
Forum: Computer Chess Club: General Topics
Topic: Winboard.debug file missing.
Replies: 10
Views: 224

Re: Winboard.debug file missing.

The difference seems to be that when working from the command line you set the SyzygyPath option after the UCI_Variant, while under WinBoard this happens in reverse. Perhaps changing UCI_Variant interferes with the setting of the SyzygyPath, and makes it reload the EGT. Another difference is that UC...
by hgm
Wed Dec 11, 2019 10:12 am
Forum: Computer Chess Club: General Topics
Topic: Winboard.debug file missing.
Replies: 10
Views: 224

Re: Winboard.debug file missing.

Also how i can set multiple folders for syzygy egtbs? Is syzygy:E:\syzygy;E:\syzygy2 gonna work? It would work if it would work for the engine's SyzygyPath option. WinBoard doesn't care what string you specify for the various EGT flavors; it just splits the entire -egtFormats string at the commas, ...
by hgm
Wed Dec 11, 2019 9:16 am
Forum: Computer Chess Club: General Topics
Topic: BootChess (minimal chess engine)
Replies: 35
Views: 6420

Re: BootChess (minimal chess engine)

Yes, this was Usurpator I, and I wrote it on the computer of a friend which was staying at my place for repairs. Later (when I owned a computer myself) I wrote a somewhat larger program Usurpator II for 6502.
by hgm
Wed Dec 11, 2019 8:38 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eschecs, a simple GUI written in Pascal
Replies: 47
Views: 6472

Re: Eschecs, a simple GUI written in Pascal

Chances are that the general variant-playing engines (like Fairy-Max, Sjaak II, Nebiyu) can already be configured to play it. But I have never heard of it, and you didn't tell us where we can find a description of the rules.
by hgm
Wed Dec 11, 2019 8:17 am
Forum: Computer Chess Club: General Topics
Topic: BootChess (minimal chess engine)
Replies: 35
Views: 6420

Re: BootChess (minimal chess engine)

You mean of that 6800 Chess program? It was not compiled, but hand-assembled (poking the machine code as hex numbers into the 2KB RAM of the machine). The code ran from hex address 100 to 5c4, and there were initialized tables from 600 to 707. So that makes it about 1.5KB.
by hgm
Wed Dec 11, 2019 8:04 am
Forum: Computer Chess Club: General Topics
Topic: Winboard.debug file missing.
Replies: 10
Views: 224

Re: Winboard.debug file missing.

Like Ferdy says, you might not have permission to write in the WinBoard folder when running WinBoard. Sometimes attempts to write in a folder that WinBoard considers 'public' (like the Program Files sub-tree) are redirected to some user-specific 'roaming' folder instead. Then they are written, but v...
by hgm
Wed Dec 11, 2019 7:40 am
Forum: Computer Chess Club: General Topics
Topic: BootChess (minimal chess engine)
Replies: 35
Views: 6420

Re: BootChess (minimal chess engine)

My first chess program (for the 6800 micro-processor) also accepted illegal moves. The advantage of that was that it would allow you to castle and perform e.p. capture although it did not know those concepts, by entering those as multiple moves: Kef1-Kg1-Rf1 for O-O, or e5xd5-e5-d6 for e5xd6. It wou...
by hgm
Tue Dec 10, 2019 8:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Misprediction-poor looping
Replies: 9
Views: 286

Re: Misprediction-poor looping

Comment: For some reason, I couldn't grok your code in the first pass. My brain understands the following more: for(i=0; i<MAX; i++) { todo[n] = i; n += (Condition(i) ? 1 : 0); } I think that (A != 0) used as an operand by definition means (A ? 1 : 0), so the compiler will consider it equivalent, a...
by hgm
Mon Dec 09, 2019 9:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Misprediction-poor looping
Replies: 9
Views: 286

Misprediction-poor looping

Suppose we have a loop, the body of which should only be performed for some iterations, and it is difficult to predict on which: for(i=0; i<MAX; i++) if(Condition(i)) Action(i); We could minimize the number of branch mispredictions by first figuring out on which iterations the action should be perfo...