Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Code of CHESS 4.5 available?

Author: Dann Corbit

Date: 13:46:38 06/16/00

Go up one level in this thread


On June 16, 2000 at 16:41:57, Pete Galati wrote:
>On June 16, 2000 at 15:40:00, Tom Kerrigan wrote:
>>On June 16, 2000 at 15:02:31, Oliver Roese wrote:
>>
>>>I recall, i saw a printout of horrible quality in a book, some long time ago.
>>>So i know the code is available for the public. But it seems not to be found on
>>>the net somehere.
>>>Or am i wrong here?
>>>
>>>Oliver Roese
>>
>>I think it would be terrific if somebody could get this program running on a
>>modern computer and see how good it is. :)
>>
>>What language is it written in? (Besides massive amounts of assembly...) I might
>>consider porting the algorithms to C.
>>
>>-Tom
>
>Are there programs that can do an amount of the conversion from Assembly to C
>automatically, or do you need to have a good grasp on assembly to do that?

Translation from assembly to C is frightfully easy.  You don't even have to know
the assembler very well.  Just get out the opcodes book.  Most assembly
instructions translate one to one to a C instruction.  There are a few spots
where you might have a bit of trouble.  Typical examples would be ROR and ROL
(rotate right with carry and rotate left with carrry) but even these operations
can be carried out by mapping to several instructions (we did it once as an
excercise in news:comp.lang.c).

On the other hand, I don't think I would bother to do it!

Rather, I would figure out what the algorithms are and then just code them
without trying to directly translate.  You will probably do better with a
rewrite.



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.