Page 2 of 2
Re: Toledo chess program
Posted: 21 Apr 2024, 15:07
by veekoo
Linux X86 only:
I took the code at
https://nanochess.org/chess1.html screen and added
Code: Select all
#include <stdio.h>
#include <stdlib.h>
Then compiled it with GCC and run it
Computer plays back and it uses 7-ply. Thinking time is about 4 secs. It is said that it's tougher to beat.
Computer plays back and it uses 5-ply. Immediate response.
I have also tried mscp chess program in Linux X86. With it's opening book it is default playing 4-ply. It's fun to watch when you enter
then computer plays white and black against each other. More plies can be entered for example
it uses 5-ply.
Re: Toledo chess program
Posted: 21 Apr 2024, 17:47
by lb3361
Using petersieg's zipped sources from April 9th in this thread:
Code: Select all
$ glcc -rom=dev7 -map=sim -o toledos.gt1 toledo.c
toledo.c:14: warning: missing return value
toledo.c:79: warning: missing return value
$ gtsim -rom=../gigatron/gigatron-rom/dev7.rom -vmode=1975 toledos.gt1
A B C D E F G H
8 r n b q k b n r 8
7 p p p p p p p p 7
6 . . . . . . . . 6
5 . . . . . . . . 5
4 . . . . . . . . 4
3 . . . . . . . . 3
2 P P P P P P P P 2
1 R N B Q K B N R 1
A B C D E F G H
>e2e4
A B C D E F G H
8 r n b q k b n r 8
7 p p p p p p p p 7
6 . . . . . . . . 6
5 . . . . . . . . 5
4 . . . . P . . . 4
3 . . . . . . . . 3
2 P P P P . P P P 2
1 R N B Q K B N R 1
A B C D E F G H
*B8-C6 (98)
A B C D E F G H
8 r . b q k b n r 8
7 p p p p p p p p 7
6 . . n . . . . . 6
5 . . . . . . . . 5
4 . . . . P . . . 4
3 . . . . . . . . 3
2 P P P P . P P P 2
1 R N B Q K B N R 1
A B C D E F G H
>
This means the compiler works but that the execution is really slow.
Now trying the same code on
www.gigatron128k.com, running overnight...
Re: Toledo chess program
Posted: 21 Apr 2024, 23:30
by lb3361
Using petersieg's zip of April 9th (above in this thread), compiled for dev7, run in mode 3 in gtemuAT67:
- Screenshot 2024-04-21 at 7.27.04 PM.png (97.05 KiB) Viewed 908 times
Toledo has answered e2e4 after only a few hours.
It also work inside
http://www.gigatron128k.com, but the problem was that the emulation is suspended when the browser tab is not in the foreground (e.g. when another tab is selected, or even when the screen saver is triggered!).
- Screenshot 2024-04-21 at 11.47.24 PM.png (84.09 KiB) Viewed 903 times