lantonov / asmFish

A continuation of the nice project asmFish by Mohammed Li. Latest version: 07.08.2019

Home Page:https://lantonov.github.io/asmFish/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SlowMover not working

lantonov opened this issue · comments

The issue speaks for itself
image
My suspicion is in this piece of code in Uci.asm:691

	    lea  rcx, [sz_slowmover]
	    lea  rbx, [.SlowMover]

Will try to substitute this with

		lea   rcx, [sz_slowmover]
	       call   CmpStringCaseless
		lea   rbx, [.SlowMover]
	       test   eax, eax
		jnz   .CheckValue

Entering the options reacts normal
image
Have to think of a test to check if it's working

60 + 0 sec games with asmFish (SlowMover=10) vs asmFish (SlowMover=1000)
1 game draw time 49 vs 1.2 sec
2 game draw time 47 vs 0.9 sec
3 game draw time 45 vs 0.8 sec
4 game White mates time 43 vs 0.2 sec
5 game draw time 43 vs 0.8 sec

I apologize for all of these bugs that apparently slipped through in my original OTM patch. Looking back at the problems that have surfaced recently, I realize that this was somewhat sloppy work on my part.

I appreciate all of the troubleshooting that you have been doing, Lyudmil. I am in the midst of a few non-chess related deadlines at the moment, but I should be able to help you with these tests + corrections by this weekend (if they are still necessary).

Hi Justin,
Please do not mind it at all. The aim to working in a team is to look the code over and find errors or things that can be improved. I appreciate your submission of patches that are difficult for me to do as I am a complete beginner in assembly. Your help is all the more valuable as Moha, the assembly guru, is busy with other projects. Please keep on doing your good work.