Chess Diagram for Newbie Request !!!

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
hgm
Posts: 28390
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Chess Diagram for Newbie Request !!!

Post by hgm »

For the stand-alone version you have to type an empty line to make it move. When you type a move, it will perform the move, but it will never start thinking. (So you can setup positions or play from an external opening book by entering a sequence of moves.) So effectively you have to type <enter> twice after your own move to make it play, and start with <enter> when you want it to play white.

Borland Turbo C, isn't that a 16-bit compiler? Micro-max 4.8 uses 192MB hash table by default. You could try to lower that, by defining a lower vaue for U:

#define U (1<<20)

(which would give you 12MB), but to make it fit in the 64KB memory space of a 16-bit application you would need to use (1<<12), which might make the hash table uselessly small.
phongphanp

Re: Chess Diagram for Newbie Request !!!

Post by phongphanp »

Please, Give me corrected code, I want to compile Maximax 3.2 version with Borland turbo C 2.0 for an example . And I want to know about this compiler, could you help me?


I think your code is not only depend on hardware resource, cpu spec, ram
, but software system like Dos 16 bits . I can compile your code above with Visual C++ 6.0 but there are 5 warning about wrong parameter passing. Can you help me check this problem?


Thanks you,
Phongphan Porana.
User avatar
hgm
Posts: 28390
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Chess Diagram for Newbie Request !!!

Post by hgm »

If you would post the warnings, I could check if they are serious. (My guess is that they are not.) Micro-Max was developed using the gcc compiler. I neither have Borland nor MSVC. I get no warnings when I compiler with gcc under Cygwin.
phongphanp

Re: Chess Diagram for Newbie Request !!!

Post by phongphanp »

OK. I will post it soon after I repair some error on my computer: monitor error.


Thanks for your kindly, hgm (H.G.Muller) !!!

Phongphan Porana.