$ 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...
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 5272 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 5267 times