Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: to Leonid - problem found

Author: leonid

Date: 15:46:23 08/25/03

Go up one level in this thread


On August 25, 2003 at 17:57:54, F. Huber wrote:

>On August 25, 2003 at 15:40:40, F. Huber wrote:
>
>>On August 25, 2003 at 14:21:03, leonid wrote:
>>
>>>On August 25, 2003 at 12:47:31, F. Huber wrote:
>>>
>>>>On August 25, 2003 at 08:04:04, leonid wrote:
>>>>
>>>>...
>>>>>
>>>>>LLchess mate solver. Selective search. On Pentium 600Mhz. No hash. Mate in 9
>>>>>moves found in 0.33 second.
>>>>>
>>>>>Leonid.
>>>>
>>>>Hi Leonid,
>>>>
>>>>some time ago I´ve downloaded your LLchess (version from 14.5.2001).
>>>>Could you please tell me, how it´s possible to exit the program?
>>>>
>>>>When I try to quit from program, it show a message "Quit (Y/N)?" or
>>>>a similar message, but NO key works, neither "Y" nor "Z" (for german keyboard)!
>>>
>>>Strange! It should exit with "Y".
>>>
>>>I do use this program or under DOS, or under Windows. Today I used it under
>>>Windows ME to try few mate positions. Also version that You have theoretically
>>>is written for Pentium but still must run even under 386. I do remember that one
>>>version I tried on my old 386/33Mhz.
>>>
>>>Under what system You used it and on what computer? It could be useful for me to
>>>have it in mind when coming to it next time.
>>>
>>>Cheers,
>>>Leonid.
>>
>>Hello Leonid,
>>
>>I´ve used LLchess on my Acer notebook (with Celeron/400) under both DOS
>>and Windows 98 - with the same result:
>>absolutely no reaction to any other key (only "N" works) to this message
>>"Quit (Y/N)?".
>>
>>I really can´t believe that it has anything to do with processor or operating
>>system - I´m rather sure you´ve simply forgotten to scan for the key "Y"
>>in this version? ;-)
>>
>>Maybe you can check this on your system with exactly the version that is
>>available at your download page.
>>Until you find the problem I´ve to ´kill´ your program within Windows (or
>>under DOS with a small utility that I´ve written by myself) -
>>but maybe your LLchess doesn´t ´like´ this method very much. ;-)
>>
>>I hope you´ll find a solution,
>>best wishes,
>>Franz.
>
>Hi again,
>
>in the last hour I´ve run LLchess within a debugger and I found the problem:
>it´s your method of checking the keyboard and testing the scan codes
>which doesn´t work for European keyboards!
>
>E.g. you use ´cmp ax,1579h´ (after an INT 16h) to test for ´y´, but this
>scancode doesn´t exist on a German keyboard.
>
>So I´ve changed a few bytes (e.g. the command above to ´nop´ and ´cmp al,79h´),
>and now ´y/Y´ also works for a German kbd! :)
>
>But there are still some other key combinations not working here (Shift+´,
>Alt+\, ...), but I´m sure that I´ll also be able to solve those problems
>with patching some more bytes.
>(The better method would of course be, not to use such strange key combinations
>that are not available on all national keyboards)
>
>Btw, during my testing I´ve also found some undocumented keys:
>e.g. Alt-1, Alt-2, Alt-K, Alt-L, ... ???
>
>I see, your program will take me some further hours in the next days ... ;-)
>
>Best wishes to you,

Thank You very much for Your explantions! I will have it in mind when I will go
back to my program. I am still waiting for new and accessible 64 bits computer
to rewrite there everything. Then Your remark will be very handy to check
already found trouble.

Cheers,
Leonid.

>Franz.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.