Too late to correct the message (error in chessboard n°2), therefore new sending :
If you start the savant and make a dump, you have ;
Code:
C000 0C 00 80 80 80 80 10 1C 80 80 80 80 80 80 80 80
C010 0A 01 80 80 80 80 11 1A 80 80 80 80 80 80 80 80
C020 08 02 80 80 80 80 12 18 80 80 80 80 80 80 80 80
C030 0F 03 80 C0 C0 80 13 1F 80 80 80 80 80 80 80 80
C040 0E 04 80 C0 C0 80 14 1E 80 80 80 80 80 80 80 80
C050 09 05 80 80 80 80 15 19 80 80 80 80 80 80 80 80
C060 0B 06 80 80 80 80 16 1B 80 80 80 80 80 80 80 80
C070 0D 07 80 80 80 80 17 1D 80 80 80 80 80 80 80 80
...
C100 01 11 21 31 41 51 61 71 20 50 10 60 00 70 40 30
C110 06 16 26 36 46 56 66 76 27 57 17 67 07 77 47 37
A AND with 0x1F from C000 to C070 for 8 bytes :
C000 : 0C 00 00 00 00 00 10 1C
C010 : 0A 01 00 00 00 00 11 1A
C020 : 08 02 00 00 00 00 12 18
C030 : 0F 03 00 00 00 00 13 1F
C040 : 0E 04 00 00 00 00 14 1E
C050 : 09 05 00 00 00 00 15 19
C060 : 0B 06 00 00 00 00 16 1B
C070 : 0D 07 00 00 00 00 17 1D
P P P P P P P P N N B B R R Q K
C100 : 01 11 21 31 41 51 61 71 20 50 10 60 00 70 40 30
C110 : 06 16 26 36 46 56 66 76 27 57 17 67 07 77 47 37
C100 : piece position on chessboard with format XY, king is last.
C110 : idem for other color
Bit 4 in the chessboard indicate color of the piece.
Same solution so same problem : only promote to a killed piece (QRN for the Savant, no bishop).
That why I don't need to examine the plugin ;-) (and I don't know LUA)
However, I would like to add a LCD to the Expert (Tibono subject in tuning),
so I should learning your plugin (LUA).
Cordially.