|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hi Eric,
I suspect something wrong with the automated Chess-Master setup, about pawns: whatever position they are set to, a two squares move is enabled, as if they were still on their starting position. I assume the Chess-Master is using a different value code in RAM for a pawn which already moved?
You are right, this crazy ChessMaster machine is indeed changing the piece codes whenever a piece is not on its start position (not only for pawns, but even for all pieces). So I have to completely rewrite this plugin (and also for the DM version), but it will take some time, because I have to test, if there are any further problems (won't be impossible with this strange machine ![]() Regards, Franz |
Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag: | ||
Tibono (02.12.2022) |
|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hallo Robert,
![]() Aber gut, wenn man sich diese verrückte Methode zur Stellungseingabe beim CM ansieht, dann braucht einen eigentlich nichts mehr wundern ... ![]() Daß das auch bei anderen Geräten passiert, ist relativ unwahrscheinlich - wer (außer dem ChessMaster-Pogrammierer) würde denn noch auf so eine blöde Idee kommen? ![]() Grüße, Franz |
|
||||||||||||
Re: Mess Emulator für diverse Schachcomputer ist fertig!
Hello,
In Sargon I listing, there is : ;************************************************* *********** ; BOARD -- Board Array. Used to hold the current position ; of the board during play. The board itself ; looks like: ; FFFFFFFFFFFFFFFFFFFF ; FFFFFFFFFFFFFFFFFFFF ; FF0402030506030204FF ; FF0101010101010101FF ; FF0000000000000000FF ; FF0000000000000000FF ; FF0000000000000060FF ; FF0000000000000000FF ; FF8181818181818181FF ; FF8482838586838284FF ; FFFFFFFFFFFFFFFFFFFF ; FFFFFFFFFFFFFFFFFFFF ; The values of FF form the border of the ; board, and are used to indicate when a piece ; moves off the board. The individual bits of ; the other bytes in the board array are as ; follows: ; Bit 7 -- Color of the piece ; 1 -- Black ; 0 -- White ; Bit 6 -- Not used ; Bit 5 -- Not used ; Bit 4 --Castle flag for Kings only ; Bit 3 -- Piece has moved flag ; Bits 2-0 Piece type ; 1 -- Pawn ; 2 -- Knight ; 3 -- Bishop ; 4 -- Rook ; 5 -- Queen ; 6 -- King ; 7 -- Not used ; 0 -- Empty Square ;************************************************* ******** And another flag to reset this flag when unmove the ...first move ;-) ;************************************************* ********* ; MOVE LIST SECTION ; ; MLIST -- A 2048 byte storage area for generated moves. ; This area must be large enough to hold all ; the moves for a single leg of the move tree. ; ; MLEND -- The address of the last available location ; in the move list. ; ; MLPTR -- The Move List is a linked list of individual ; moves each of which is 6 bytes in length. The ; move list pointer(MLPTR) is the link field ; within a move. ; ; MLFRP -- The field in the move entry which gives the ; board position from which the piece is moving. ; ; MLTOP -- The field in the move entry which gives the ; board position to which the piece is moving. ; ; MLFLG -- A field in the move entry which contains flag ; information. The meaning of each bit is as ; follows: ; Bit 7 -- The color of any captured piece ; 0 -- White ; 1 -- Black ; Bit 6 -- Double move flag (set for castling and ; en passant pawn captures) ; Bit 5 -- Pawn Promotion flag; set when pawn ; promotes. ; Bit 4 -- When set, this flag indicates that ; this is the first move for the ; piece on the move. ; Bit 3 -- This flag is set is there is a piece ; captured, and that piece has moved at ; least once. ; Bits 2-0 Describe the captured piece. A ; zero value indicates no capture. ; ; MLVAL -- The field in the move entry which contains the ; score assigned to the move. ; ;************************************************* ********* Cordially. Geändert von Mychess (03.12.2022 um 01:12 Uhr) Grund: addon |
Folgender Benutzer sagt Danke zu Mychess für den nützlichen Beitrag: | ||
fhub (03.12.2022) |
|
|||||||||||
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
Hi,
yep, almost the same in ChessMaster - they seemed to have borrowed it from Sargon. ![]() Only some bits are different: they used bit 6 (0x40) as 'moved' flag, and bits 3 and 4 are not used at all. Da ich auch die theoretische Möglichkeit einer Rochade nach der Stellungseingabe berücksichtigen mußte, sind die beiden CM-Plugins jetzt nochmal etwas komplizierter geworden. Die neuen Versionen sind im Anhang - ich hoffe, jetzt funktioniert alles Übrigens habe ich bei den Tests im MAME-Debugger mit Erstaunen entdeckt, daß der ChessMaster Diamond gar nicht pondert - ich finde auch keine Option, um das irgendwie einzustellen! Außerdem hat er kein eigenes/internes Eröffnungsbuch, dazu muß man das externe PM10-Modul aktivieren. Grüße, Franz Geändert von fhub (06.12.2022 um 16:05 Uhr) |
|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hi,
hier nochmals ein Plugin-Update: Der Novag Micro Chess wollte nach einer Stellungseingabe immer mit Schwarz ziehen - jetzt kann er's auch mit Weiß. Grüße, Franz Geändert von fhub (07.12.2022 um 17:30 Uhr) |
Folgende 7 Benutzer sagen Danke zu fhub für den nützlichen Beitrag: | ||
Agep (06.12.2022), applechess (06.12.2022), Bryan Whitby (07.12.2022), germangonzo (06.12.2022), Mark 1 (06.12.2022), Patzerovsky (07.12.2022), Tibono (06.12.2022) |
|
||||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Wie man sieht, wirst du mit deiner Arbeit wohl nie ganz fertig werden. Also nix von diesbezüglichem Ruhestand. Zum Glück für uns. ![]() ![]() Gruss Kurt |
Folgender Benutzer sagt Danke zu applechess für den nützlichen Beitrag: | ||
Mark 1 (07.12.2022) |
|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hallo Kurt,
Wenn ich gewußt hätte, wieviel Arbeit dieser Setup-Modus machen würde, dann hätte ich es wohl bleiben lassen. Na ja, jetzt werde ich diese Probleme noch lösen, aber dann ist endgültig Schluß - langsam habe ich wirklich die Nase voll. ![]() Grüße, Franz |
|
||||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
nee, von Ruhestand kann derzeit keine Rede sein - der liebe Robert versorgt mich laufend mit weiteren Problemen bei dieser Stellungseingabe.
Wenn ich gewußt hätte, wieviel Arbeit dieser Setup-Modus machen würde, dann hätte ich es wohl bleiben lassen. Na ja, jetzt werde ich diese Probleme noch lösen, aber dann ist endgültig Schluß - langsam habe ich wirklich die Nase voll. ![]() ![]() ![]() Ich würde mir ja den heiligen Zorn aller CB-EMU-Fans zuziehen... ![]() Viele Grüße Robert |
Folgender Benutzer sagt Danke zu Robert für den nützlichen Beitrag: | ||
applechess (07.12.2022) |
|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hi zusammen,
also ich fände es megageil, wenn die Ausgaben der Emulationen an Arena/Winboard/(Shredder) übergeben werden, wie z.B. Rechentiefe, Bewertung, Hauptvariante. Luis hat dies in seinem Mame_2021 implementiert, leider ist das Gesamtsystem (zumindest bei mir) sehr instabil. Natürlich soll nicht einfach kopiert werden, aber vielleicht findet man einen Weg... Bspl. für Almeria: Code:
function interface.show_info() local info=nil if interface.ticker==1 then local ddram = emu.item(machine.devices[':display:hd44780'].items['0/m_ddram']):read_block(0x00, 0x80) if (ddram:sub(66,69))=="THEO" then info = "info score cp book" else info = "info score cp " .. (ddram:sub(65,66)) ..(ddram:sub(68,69)) end info=info .. " depth " .. (ddram:sub(1,2)) .. " seldepth " .. (ddram:sub(4,5)) info=info .. " pv " .. string.lower(ddram:sub(70,112)) if (ddram:sub(65,65))~=" " and (ddram:sub(65,65))~="-" then info=nil end end interface.ticker=interface.ticker+1 if interface.ticker>=2 then interface.ticker=1 end return info end Frank, dem es peinlich ist, immer mehr zu wollen ![]() |
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
Thema | Erstellt von | Forum | Antworten | Letzter Beitrag |
Info: Mephisto Emulator für den Mac fertig | RolandLangfeld | Die ganze Welt der Schachcomputer / World of chess computers | 3 | 09.09.2007 22:56 |