Main
Date: 14 Apr 2006 04:55:47
From:
Subject: UCI engine - template in assembly
Hi everyone,
I wonder if there is a "template" in assembly (x86) code, for creating
an UCI chess engine.
Time ago I developped a chess program in assembly code, that runs under
MS-DOS, and I would like to create an UCI engine.
Looking for free engines with souce code available, I've found only
ones that are in C, C++, etc.
I would need one in x86 assembly code.
Can anyone help me ?

Thank you for your help
Mirko





 
Date:
From:
Subject:


 
Date: 14 Apr 2006 06:32:46
From:
Subject: Re: UCI engine - template in assembly
The problem is that i already have the code of the part that calculates
the moves, and it works well.
I have never programmed in C, nor I know how to "embed" the assembly
code that calculates the moves into the C routines.

Thanx
Mirko



  
Date: 14 Apr 2006 15:21:59
From: David Richerby
Subject: Re: UCI engine - template in assembly
<[email protected] > wrote:
> I have never programmed in C, nor I know how to "embed" the assembly
> code that calculates the moves into the C routines.

I very much doubt that anyone has ever programmed a UCI interface in
assembler. My guess is that your choices are to either write one from
scratch based on the protocol specifications or to learn to program in
a high-level language and how to interface that with your existing
assembly code.


Dave.

--
David Richerby Edible Projector (TM): it's like
www.chiark.greenend.org.uk/~davidr/ a 16mm film projector but you can
eat it!


 
Date: 14 Apr 2006 14:10:41
From: David Richerby
Subject: Re: UCI engine - template in assembly
<[email protected] > wrote:
> I wonder if there is a "template" in assembly (x86) code, for creating
> an UCI chess engine.
> Time ago I developped a chess program in assembly code, that runs under
> MS-DOS, and I would like to create an UCI engine.

I'd just write the interface code in a high-level language. There's
no need to write anything in assembler that isn't performance-
critical.


Dave.

--
David Richerby Carnivorous Nuclear Monk (TM): it's
www.chiark.greenend.org.uk/~davidr/ like a man of God that's made of atoms
but it eats flesh!