Search found 950 matches

by Roland Chastain
Oct 20, 2020 5:21
Forum: Projects
Topic: Adapting MINIMAX under FreeBasic
Replies: 16
Views: 5822

Re: Adapting MINIMAX under FreeBasic

Hello! I converted Minimax to a XBoard/WinBoard engine.

Download
by Roland Chastain
Oct 19, 2020 16:40
Forum: General
Topic: Execution timing of a Sub launched as a thread
Replies: 25
Views: 1462

Re: Execution timing of a Sub launched as a thread

Hello fxm!

I don't really understand what is the purpose of the local ptid variable. If I replace

Code: Select all

If ptid = 0 Then
with

Code: Select all

If p = 0 Then
the print isn't executed.
by Roland Chastain
Oct 18, 2020 20:44
Forum: Linux
Topic: Errors in asm: invalid use of register, bad expression...
Replies: 6
Views: 366

Re: Errors in asm: invalid use of register, bad expression...

SARG wrote:A hint in such case : compile with -RR (or R) so you can see the faulty asm line using the line number given by the assembler.
OK, I will try that next time.
by Roland Chastain
Oct 18, 2020 19:20
Forum: Linux
Topic: Errors in asm: invalid use of register, bad expression...
Replies: 6
Views: 366

Re: Errors in asm: invalid use of register, bad expression...

SARG wrote:Hi Roland,

Change OFFSET by OFSET (or other name). That's all.
Hello. Yes, it solves the problem. Thank you.
by Roland Chastain
Oct 18, 2020 15:42
Forum: Linux
Topic: Errors in asm: invalid use of register, bad expression...
Replies: 6
Views: 366

Re: Errors in asm: invalid use of register, bad expression...

I have no problem compiling. What version of the compiler are you using? Thank you for your answer. Here is the version of my 32-bit compiler : FreeBASIC Compiler - Version 1.07.1 (2019-09-27), built for linux-x86 (32bit) Copyright (C) 2004-2019 The FreeBASIC development tea...
by Roland Chastain
Oct 18, 2020 13:40
Forum: Linux
Topic: Errors in asm: invalid use of register, bad expression...
Replies: 6
Views: 366

Errors in asm: invalid use of register, bad expression...

Hello! I am trying to compile a project to 32-bit. I get many compilation errors, like "invalid use of register, bad expression"... There is no assembler in my source code, so I suspect a conflict in identifiers, but I don't know which identifiers are problematic. When I compile to 64-bit ...
by Roland Chastain
Oct 08, 2020 8:32
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 70328

Re: Eschecs 1.2.1 (UCI chess GUI)

Thank you fxm for your investigations. Yes, it would be good to understand exactly the problem. Unfortunately I can't help you help much, because all that is still not very clear for me. I intend to retouch soon a project which has more or less the same configuration. I hope it will be the occasion ...
by Roland Chastain
Oct 06, 2020 15:52
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 70328

Re: Eschecs 1.2.1 (UCI chess GUI)

Why not 'listener.callback' ? Yes. Here is the final (?) version, with other minor modifications. sub ThreadProcedure(byval aParam as any ptr) DebugLn("->") dim s as string with *cast(TListener ptr, aParam) do if .doRead then s = ReadEngineOutput if s <> "" then mutexloc...
by Roland Chastain
Oct 06, 2020 14:27
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 70328

Re: Eschecs 1.2.1 (UCI chess GUI)

OK, thank you fxm.

By the way, maybe we could find better names. The names ProcedureThread and listener.procedure create a confusion.
by Roland Chastain
Oct 06, 2020 13:11
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 70328

Re: Eschecs 1.2.1 (UCI chess GUI)

The procedure OnOutput writes to eschecs.log. And also the dependent procedures: OnUciOk, OnBestMove...
by Roland Chastain
Oct 06, 2020 12:23
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 70328

Re: Eschecs 1.2.1 (UCI chess GUI)

Is there any disk file opening with reading or writing during the main loop (main thread) but executed from the other thread ? 'LoadFileAsString()' ? That function is called at application start, to load JSON files. It is called from the main thread. In the latest version (1.2.3), t...
by Roland Chastain
Oct 06, 2020 9:19
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 70328

Eschecs 1.2.3

Version 1.2.3. Chessboard coordinates. Creation of a INI file for settings.

Image

Download (source code only)
by Roland Chastain
Oct 05, 2020 20:42
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 70328

Re: Eschecs 1.2.1 (UCI chess GUI)

fxm wrote:Fingers crossed that this does not crash anymore !
Yes, let's hope. :)

By the way, there is a bug in the chess library.

Image

In that position the castling on the left should be allowed.
by Roland Chastain
Oct 05, 2020 19:51
Forum: Projects
Topic: Mosquito (UCI chess engine)
Replies: 22
Views: 3471

Re: Mosquito (UCI chess engine)

grindstone wrote:
Roland Chastain wrote:It uses your excellent bipipe library.
Please don't forget to mention darkinsanity who did the Linux stuff.
OK. Thank you for the information.
by Roland Chastain
Oct 05, 2020 19:48
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 70328

Re: Eschecs 1.2.1 (UCI chess GUI)

Done, thank you for your help. Files updated: eschecs.zip You can also get the files here: https://www.freebasic-portal.de/downloads/spiele/eschecs-210.html Testers are welcome! I fixed the new pictures (coming from the Warlord chess program). Some pieces were lower than other. https://www.freebasic...

Go to advanced search