Hi Alessandro,
Alessandro Scotti wrote:Reinhard Scharnagl wrote:where do you see the advantages? Can you give an example?
Yes there is no reason for it! I've always used TASM and it was much better!
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:Reinhard Scharnagl wrote:A lot of years ago I started chess programming with Z80 assembler...
Do you still have some working code? I have developed a Z80 emulator and it would be interesting to see the program running...
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.
Reinhard.