Psion Chess as a UCI engine

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
AdminX
Posts: 6421
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Psion Chess as a UCI engine

Post by AdminX »

Thank You Michel! :D

Image
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
Tibono
Posts: 197
Joined: Sat Aug 01, 2015 6:16 pm
Location: France
Full name: Eric Bonneau

Re: Psion Chess as a UCI engine

Post by Tibono »

Hi Michel,

Windows version: beware it currently requires a qwerty (English-US) keyboard - I suspect it is because of the way it sends key input to the DosBox integrated layer.

Fails to run if keyb is FR (engine log: info string Cannot set up the position / bestmove 0000).

I could temporarily successfully run it after switching my Windows session input from FRA to ENG, hence the issue is definitely related to it.
I also tried to wrap it (with ChatGPT help) in a powershell script to switch back & forth to the qwerty KB, works in command mode, but no more if launched from my GUI (most probably, the GUI environment prevails).

Azerty regards,
Eric from France
Michel
Posts: 2328
Joined: Mon Sep 29, 2008 1:50 am

Re: Psion Chess as a UCI engine

Post by Michel »

Hi Eric,

Thanks a lot for reporting!!

The adapter plays by "pressing keys" on an emulated PC and Windows DOSBox by default loads the DOS keyboard layout matching the host keyboard. With AZERTY, Psion received other keys than the ones pressed.

Version 2.1 should fix this. Please have a look!

https://github.com/vdbergh/psion-chess/ ... s/tag/v2.1

Michel
User avatar
Tibono
Posts: 197
Joined: Sat Aug 01, 2015 6:16 pm
Location: France
Full name: Eric Bonneau

Re: Psion Chess as a UCI engine

Post by Tibono »

v2.1 definitely fixes!
Great, a big thank you Michel for sharing this nice Psion UCI version.
Warm regards,
Eric
Michel
Posts: 2328
Joined: Mon Sep 29, 2008 1:50 am

Re: Psion Chess as a UCI engine

Post by Michel »

The release packages are now fully self contained. We got permission to include the Psion files.

https://github.com/vdbergh/psion-chess/releases/latest
User avatar
Wilhelm
Posts: 276
Joined: Thu Jan 14, 2016 10:02 am
Location: AUSTRIA, Vienna
Full name: Wilhelm HUDETZ

Re: Psion Chess as a UCI engine

Post by Wilhelm »

Hi Michel.
many thanks for this classic engine :D
One dream of me would be an adapter for the old native chessbase engines like fritz 6, Hiarcs 8 or Junior 7 to use in any uci-gui. I hope that with todays KI and RCA it could be done.

William
Ryzen 5900x, 64GB Ram, RTX3080, 1x 4TB NVME, 2x 2TB SSD, 1x 1TB SSD, 1x 2TB HDD, all custom watercooled, Win11 and Win10 Multiboot, Win98/Windows Millennium/WinXP virtual machines for 16bit engines
Retro Chess Chessmaster https://descent.at/files/
Michel
Posts: 2328
Joined: Mon Sep 29, 2008 1:50 am

Re: Psion Chess as a UCI engine

Post by Michel »

There is now also a macOS binary (apple-silicon only) which seems to be quite a bit faster than the Linux binary. Note that the binary is unsigned (I don't want to pay Apple 99$ a year for a developers license). So it requires

Code: Select all

xattr -dr com.apple.quarantine psion-chess-macos-arm64
in the unpack directory to run it.

https://github.com/vdbergh/psion-chess/releases/latest
Michel
Posts: 2328
Joined: Mon Sep 29, 2008 1:50 am

Re: Psion Chess as a UCI engine

Post by Michel »

The adapter now shows node counts and nps in the info lines. On my laptop the nps is approximately 180 kN/s. In the CPW article on Psion Chess it is mentioned that the 68020 version achieved 4 kN/s at 28MHz (I could not verify the reference for this statement).

https://github.com/vdbergh/psion-chess/releases/latest
Michel
Posts: 2328
Joined: Mon Sep 29, 2008 1:50 am

Re: Psion Chess as a UCI engine

Post by Michel »

v2.7.1 Move overhead has been reduced from 30 ms to 10 ms (important for bullet games). The info lines now report the internal depth (always odd, between 3 and 15), seldepth (which may be higher), as well as the internal score (which has higher resolution: 4 cp instead of 10 cp).

https://github.com/vdbergh/psion-chess/releases/latest
Michel
Posts: 2328
Joined: Mon Sep 29, 2008 1:50 am

Re: Psion Chess as a UCI engine

Post by Michel »

v3.0.1 go depth, go nodes and go mate are now supported. This means that the UCI handling is now more or less complete.

https://github.com/vdbergh/psion-chess/releases/latest