Christmas gift

Discussion of chess software programming and technical issues.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
User avatar
stegemma
Posts: 842
Joined: Mon Aug 10, 2009 8:05 pm
Location: Italy
Contact:

Christmas gift

Post by stegemma » Mon Dec 25, 2017 5:13 pm

On my web-site, you can download the full sources of Freccia, my old assembly engine.

Do whatever you want with this sources but not for commercial use.
Author of Drago, Raffaela, Freccia, Satana, Sabrina.
http://www.linformatica.com

Michael Sherwin
Posts: 2799
Joined: Fri May 26, 2006 1:00 am
Location: OH, USA

Re: Christmas gift

Post by Michael Sherwin » Fri Dec 29, 2017 5:32 pm

Hi Stefano,

My system: i7-3930K 3.20 Ghz overclocked to 3.8 Ghz

I also have some assembly code but all the further I got with it was a bench function. It was created on a 80386 processor. It is one of 4 move generator examples that I wrote when I was teaching myself to program. You might find it interesting. I got it to compile in MSVC 2017 but there is a minor bug somewhere. It will still bench but it does not make the list of pseudo legal moves correctly. There are no tricks to make it look faster. For example the leaf node moves are made and unmade. I was told that the leaf nodes should not be made, only counted. I can't even guesstimate how fast it would be if the leaf nodes were not made. It was originally compiled with Turbo C and Turbo assembler. Here are the bench results on the system listed above.

Single thread of execution.
bench 5 time = 79 mili seconds nps 64399832
bench 6 time = 1957 mili seconds nps 63898476
bench 7 time = 52856 mili seconds nps 63336796

If you are interested I can send you the zip file with code and exe? It is not commented, sorry I was just learning to program.
Regards,
Mike

Post Reply