Search found 938 matches

by Roland Chastain
Oct 21, 2020 13:43
Forum: Libraries
Topic: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)
Replies: 8
Views: 148

Re: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)

@D.J.Peters Thank you for your work on the library and on the documentation. I can't wait to make a new test. :) How do you setup fbc 32 and 64 bit on the 64-bit PC ? I downloaded a Linux 32 package from /stw/builds , and installed one after one the missing libraries (the dev version). The missing l...
by Roland Chastain
Oct 21, 2020 7:47
Forum: Libraries
Topic: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)
Replies: 8
Views: 148

Re: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)

Tested successfully Linux 32 and 64 (both on a 64 machine). Not really important, but fbs_Set_PlugPath() still doesn't work for me. I don't really need it. If it can't be fixed, maybe you could simply remove it? Just a suggestion. I hope you won't take it bad. debug: fbsound-1.2 RuntimeUnloa...
by Roland Chastain
Oct 21, 2020 6:45
Forum: General
Topic: Execution timing of a Sub launched as a thread
Replies: 19
Views: 364

Re: Execution timing of a Sub launched as a thread

On Windows there is a parameter to not let the new thread running immediately but that requires to execute an extra statement for starting it. So there is no way do that in a multiplatform program? In Free Pascal, you can create a thread with a boolean parameter CreateSuspended, and after that you ...
by Roland Chastain
Oct 20, 2020 5:21
Forum: Projects
Topic: Adapting MINIMAX under FreeBasic
Replies: 16
Views: 5307

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: 19
Views: 364

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: 139

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: 139

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: 139

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: 139

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: 63804

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: 63804

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: 63804

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: 63804

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: 63804

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: 63804

Eschecs 1.2.3

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

Image

Download (source code only)

Go to advanced search