1K Real Chess for ZX80
Re: ZX80 porting of Super Micro Chess 1K
Hi Sefano.
Yes I would be happy to debug test versions on real ZX80 so please do post them here as I'm sure others will be glad to help too.
Best Regards.
Moggy.
Yes I would be happy to debug test versions on real ZX80 so please do post them here as I'm sure others will be glad to help too.
Best Regards.
Moggy.
Re: ZX80 porting of Super Micro Chess 1K
I already tested the running on real hardware time ago with a standard cassette load, both the standard and the flicker free versions (that infact I had to correct a bit for timing), and they were starting and appearing correctly on the screen! Hope they still work since I didn't change much that should interfere.
The debugging is now more on "strange moves" that are sometime computed as best one (especially the "suicidal" ones) and/or king checkings. I've to understand when it is happening and then why...
Attached two of the version for ZX80. They are both for "flexible play" (meaning you can choose each move if it is to compute automatically or define yourself the move). They differ for the display routine used (standard or flicker-free) and the deep of calculation / reaction time. Just load and then "RUN".
The debugging is now more on "strange moves" that are sometime computed as best one (especially the "suicidal" ones) and/or king checkings. I've to understand when it is happening and then why...
Attached two of the version for ZX80. They are both for "flexible play" (meaning you can choose each move if it is to compute automatically or define yourself the move). They differ for the display routine used (standard or flicker-free) and the deep of calculation / reaction time. Just load and then "RUN".
- Attachments
-
- 1kRealChess80ff-F25-a.o
- (947 Bytes) Downloaded 230 times
-
- 1kRealChess80-F37-a1.o
- (916 Bytes) Downloaded 242 times
Re: ZX80 porting of Super Micro Chess 1K
PS: yesterday evening I run a deep debugging session and I identified that the problem is in the alfa beta implementation
I think this weekend I'll get a new (hopefully working) version.
Cheeers!
_Stefano
I think this weekend I'll get a new (hopefully working) version.
Cheeers!
_Stefano
Re: ZX80 porting of Super Micro Chess 1K
Excellent work Stefano.
The black square with white dot is a good choice and the flicker cursor version is the best one visually I think.
Regards.
Moggy.
The black square with white dot is a good choice and the flicker cursor version is the best one visually I think.
Regards.
Moggy.
Re: ZX80 porting of Super Micro Chess 1K
It took me more than I originally tought but here there the first version of the 1K Real Chess for ZX80!!
Just the flexible verison, still not optimized and without openiing logic, but hope it's working.
A big thanks to Paul Veltjens for the real HW support and Paul Farrow for the recursive step-over debugging functionality!
Happy hacking!
_Stefano
Just the flexible verison, still not optimized and without openiing logic, but hope it's working.
A big thanks to Paul Veltjens for the real HW support and Paul Farrow for the recursive step-over debugging functionality!
Happy hacking!
_Stefano
- Attachments
-
- 1kRealChess80-DEBUG.o
- (881 Bytes) Downloaded 214 times
Re: ZX80 porting of Super Micro Chess 1K
Works OK in emulator but when used on real hardware which has the ZXpand ROM the cursor movement is all over the place. sometimes it jumps 1 square then more than 1 square more so on horizontal movement which I think is a bug in the ROM used in the 80 with the ZXpand which also shows itself when you try and list more than a screenful of files, when the word "MORE?" appears a normal speed keypress gives a blank screen whereas hitting the key at light speed lets you list the remaining files so a keypress timing problem I would have thought.
Also it's hard to tell where the cursor is at any time, the previous method you used with the flashing cursor was far superior.
Having said all that it is still a great addition to list of ZX80 software.
Also it's hard to tell where the cursor is at any time, the previous method you used with the flashing cursor was far superior.
Having said all that it is still a great addition to list of ZX80 software.
Re: ZX80 porting of Super Micro Chess 1K
So, the good news seems that the engine logic is working!
Regarding the move input I didn't change, and last time yourself preferred the "flicker" version! If the ROM is bugged can it be corrected there? This weekend I'll try again on my ZX80. I'll try to ask also the opinion of Paul.
Regarding the move input I didn't change, and last time yourself preferred the "flicker" version! If the ROM is bugged can it be corrected there? This weekend I'll try again on my ZX80. I'll try to ask also the opinion of Paul.
Re: ZX80 porting of Super Micro Chess 1K
Hi Stefano.marste wrote: ↑Tue Mar 20, 2018 7:03 pm So, the good news seems that the engine logic is working!
Regarding the move input I didn't change, and last time yourself preferred the "flicker" version! If the ROM is bugged can it be corrected there? This weekend I'll try again on my ZX80. I'll try to ask also the opinion of Paul.
The attached file is the version I prefer.
The version you posted does not flicker or flash the cursor it is always steady when I say flicker version I mean the one with the "flashing" cursor not screen flicker, my apologies for not making this clear.
As for the ROM bug it is something Paul is aware of but with the flicker version it does not seem to present itself maybe because of the time taken to execute the flicker makes the cursor movement more steady as it takes longer to show both states of the cursor.
The logic seems to be ok after the opening move and plays the weak or less strong game.
These are not criticisms Stefano only guidance and I know the effort put into this project is immense and much appreciated by myself. .
- Attachments
-
- 1kRealChess80ff-F25-a.o
- (947 Bytes) Downloaded 207 times
Re: 1K Real Chess for ZX80
Then will be easily done!
This weekend I'll post new version!
This weekend I'll post new version!
Re: 1K Real Chess for ZX80
So, here it is: the flicker free release of 1k real chess for ZX80. Hope is working!
Attached there are 2 versions; one using alfa/beta pruning on 4 ply, the other quiescence search on 3-5 ply (I've still to merge of the two capabilities).
Both are still without initial move logic and full optimization is to be verified, but with the given (I would say quick) reaction time the stenght should be decent.
@Moggy let me know if they're working ok and in case which of the two version you think is stronger!
Attached there are 2 versions; one using alfa/beta pruning on 4 ply, the other quiescence search on 3-5 ply (I've still to merge of the two capabilities).
Both are still without initial move logic and full optimization is to be verified, but with the given (I would say quick) reaction time the stenght should be decent.
@Moggy let me know if they're working ok and in case which of the two version you think is stronger!
- Attachments
-
- 1kRealChessZX80ff-35-DEBUG.o
- (918 Bytes) Downloaded 209 times
-
- 1kRealChessZX80ff-4a-DEBUG.o
- (945 Bytes) Downloaded 229 times