Moderator: Andres Valverde
Igor wrote:I think that 92 (the number indicated by Andreas Stabel) is enough ...
Igor Gorelikov wrote:Hi Reinhard,
I don't know a single computer with unlimited resourses ;-)
Igor
Igor Gorelikov wrote:What is the maximum number of legal moves in a game?
(After going through several games, it is 51 but who knows...)
regards,
Igor
Dann wrote:The latest C standard has variant arrays that are automatic.
Igor wrote:I use macro assembler (MASM32) to program. ...
Reinhard Scharnagl wrote:where do you see the advantages? Can you give an example?
Reinhard Scharnagl wrote:A lot of years ago I started chess programming with Z80 assembler...
Reinhard Scharnagl wrote:Hi Dann,
Of course the size of that array is limited. But it is making more sense to limit the sum of moves of plies instead the amount of each ply, because the average of all will not be that big.
Reinhard.
I have not targeted the TASM / MASM war (I am using TASM myself sometimes). Instead I want to learn something on the benefits from switching to Assembler language.Alessandro Scotti wrote:Yes there is no reason for it! I've always used TASM and it was much better!Reinhard Scharnagl wrote:where do you see the advantages? Can you give an example?
No, but I still have some pages of its listing. It will not make sense to reprogram it into an emulator. I always have compared results during the time when working (mostly) on my move generator - and ignoring the improvements of processor speeds, today it is about estimated 10 times faster, mostly based on a far better data structure and board representation. Those days I had started with an 0x88 representation (not knowing that this would be a common approach). Today I use a flat data structure where pieces at the same time are member of two sorted double linked lists and containing bit encoded informations on their gaits and other properties. That structure enables Smirf to have ALL squares filled with pieces if need be, to support additional piece (Capablanca) types like Chancellor and Archbishop, and to switch internally when representing 10x8 instead of 8x8 positions. Thus there is only one Smirf engine supporting 8x8 and 10x8 chess as well, Chess960 castlings included.Alessandro Scotti wrote:Do you still have some working code? I have developed a Z80 emulator and it would be interesting to see the program running...Reinhard Scharnagl wrote:A lot of years ago I started chess programming with Z80 assembler...
Reinhard Scharnagl wrote:Hi Alessandro,I have not targeted the TASM / MASM war (I am using TASM myself sometimes). Instead I want to learn something on the benefits from switching to Assembler language.Alessandro Scotti wrote:Yes there is no reason for it! I've always used TASM and it was much better!Reinhard Scharnagl wrote:where do you see the advantages? Can you give an example?
Return to Programming and Technical Discussions
Users browsing this forum: No registered users and 29 guests