released: micro-Max 4.8w

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

Moderator: Ras

modolief
Posts: 45
Joined: Tue Apr 30, 2013 6:29 pm

Re: released: micro-Max 4.8w

Post by modolief »

hgm wrote: Thu Mar 09, 2023 10:28 pm It looks like this is the stand-alone version (4.8), not the CECP version (4.8w). The stand-alone version has a very simple interface: it accepts a move on a line, and thinks up a move of its own when you enter an empty line. After every input it prints an ascii board for the current position. That is all it does.
This is correct, it's the 4.8 code (plus inclusion of stdio.h and stdlib.h). I did get it to work; took me a while to figure out to press enter twice for the thing to start calculating. Is the 4.8w code downloadable from https://home.hccnet.nl/h.g.muller/dwnldpage.html ? I don't see it listed there.
modolief
Posts: 45
Joined: Tue Apr 30, 2013 6:29 pm

Re: released: micro-Max 4.8w

Post by modolief »

mclane wrote: Thu Mar 09, 2023 11:13 pm How is the size of the engine in bytes ?
TL;DR: executable size is 50K.
I'm MacOS. Here is what I have, how I compiled, and file sizes.

Code: Select all

$ uname -a
Darwin marborville 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:08:47 PST 2022; root:xnu-8792.61.2~4/RELEASE_X86_64 x86_64

$ gcc --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin22.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

$ gcc -Wall umax4_8.c -o umax4_8
(warnings elided, no errors ...)
33 warnings generated.

$ ls -l umax4_8.c
-rw-r--r--@ 1 user  staff  9386 Mar  9 16:53 umax4_8.c

$ ls -l umax4_8
-rwxr-xr-x  1 user  staff  50072 Mar  9 18:09 umax4_8
User avatar
hgm
Posts: 28424
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: released: micro-Max 4.8w

Post by hgm »

It is in the 'WinBoard version' column for 4.8.
User avatar
Roland Chastain
Posts: 692
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Re: released: micro-Max 4.8w

Post by Roland Chastain »

9728 bytes for umax4_8.exe compiled for Windows with TCC. 8-)

@H.G.Muller

By the way, umax3_2w.c cannot be compiled, because of rdtsc(). It looks to be a function declared but not implemented.
Qui trop embrasse mal étreint.

Author of Eschecs, a simple UCI chess GUI written in Pascal.
User avatar
Roland Chastain
Posts: 692
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Re: released: micro-Max 4.8w

Post by Roland Chastain »

Roland Chastain wrote: Fri Mar 10, 2023 11:57 am By the way, umax3_2w.c cannot be compiled, because of rdtsc(). It looks to be a function declared but not implemented.
By comparing with other versions, I see that it can be replaced with GetTickCount(). (And if someone wonders how to compile micro-Max for Linux, there is a Linux version of GetTickCount() in NEG source code.)
Qui trop embrasse mal étreint.

Author of Eschecs, a simple UCI chess GUI written in Pascal.
User avatar
towforce
Posts: 12694
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK
Full name: Graham Laight

Re: released: micro-Max 4.8w

Post by towforce »

When I saw the thread title, I thought you'd built a chess computer that runs on 4.8w of power! I was going to point out that the power consumption of the SOC of today's smartwatches is measured in milliwatts! :)

(for anyone interested, the new Snapdragon W5 SOC for wearables has taken this already low power consumption and reduced it dramatically by reducing to 4nm - link, typically resulting in 50% longer battery life)
Human chess is partly about tactics and strategy, but mostly about memory
User avatar
mclane
Posts: 18947
Joined: Thu Mar 09, 2006 6:40 pm
Location: US of Europe, germany
Full name: Thorsten Czub

Re: released: micro-Max 4.8w

Post by mclane »

Maybe true. But i do not know any strong or working chess engine for android google wear smartwatches.
There is one app but it does not work.
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....