Schachcomputer.info Community

Schachcomputer.info Community (https://www.schachcomputer.info/forum/index.php)
-   Mess Emu & andere Emulationen / Mess Emu and other Emulations (https://www.schachcomputer.info/forum/forumdisplay.php?f=53)
-   -   MessEmu: Mess Emulator für diverse Schachcomputer ist fertig! (https://www.schachcomputer.info/forum/showthread.php?t=1448)

fhub 20.05.2024 13:09

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hi,

nach langer Zeit gibt's wieder mal ein Lebenszeichen von unserem Dream-Team 'hap & Berger' :D,
und zwar eine neue Version (set 2) vom Saitek Endgame ROM (EGR2) - vielen Dank an die beiden!

Da man hier im Forum ja keine ROMs hochladen soll, gibt es diese Neuerungen wie üblich wieder in einem CB-Emu_Update auf meiner Webseite
(enthält auch die beiden vorangegangenen Artwork- und Plugin-Updates).
Die Dateien 'egr1.zip' in den Verzeichnissen MessChess\roms und MessExtra\roms kann man übrigens löschen, die heißen jetzt nämlich 'egra.zip'.

Noch einen schönen Feiertag,
Franz

AlexS 25.05.2024 08:40

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Ich habe Probleme mit dem SciSys Sensor Chess unter Arena. Nach einem Schachgebot spielt dieser nicht weiter, die Emulation hängt, der König im Schachgebot ist ausgegraut, und erst nach einem manuellen Klick auf das Feld mit leuchtender LED geht's weiter:

https://i.postimg.cc/3dRTSfbk/Screen...-25-083340.png

https://i.postimg.cc/nMTx1fT8/Screen...-25-083633.png

Reproduzierbar mit: 1. d4 d5 2. e4 dxe4 3. Bb5+ *

Franz? :)

Tibono 25.05.2024 11:41

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hi Alex,
this is a timing issue depending on your host hardware and workload.
When checked, the Sensor Chess king's LED is lightened for a while and the emulation has to wait long enough before getting the actual played from-square.
Suggest to increase the emu.wait command in schess lua file (1.5 secs instead of 1 should be enough):
Code:

function interface.is_selected(x, y)
        if (machine:outputs():get_value((x - 1) .. "." .. (y - 1)) ~= 0) then
                if (math.abs(get_piece_id(x, y)) == 1) then
                        emu.wait(1.5)
                        return machine:outputs():get_value((x - 1) .. "." .. (y - 1)) ~= 0
                end
                return true
        end
        return false
end

Hope this helps,
Eric

fhub 25.05.2024 11:52

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hallo Alex,
Zitieren:

Zitat von AlexS (Beitrag 126609)
Ich habe Probleme mit dem SciSys Sensor Chess unter Arena. Nach einem Schachgebot spielt dieser nicht weiter, die Emulation hängt, der König im Schachgebot ist ausgegraut, und erst nach einem manuellen Klick auf das Feld mit leuchtender LED geht's weiter:
...
Reproduzierbar mit: 1. d4 d5 2. e4 dxe4 3. Bb5+ *

also ich kann das hier bei mir nicht nachvollziehen - keinerlei Probleme bei so einem Schachgebot.
Allerdings hätte ich da eine Vermutung über die Ursache, obwohl mir nicht klar ist, warum das (nur) bei Dir passiert?

Bei einem Schachgebot leuchtet beim Sensor Chess ja die LED am Königsfeld kurz auf, und daher habe ich im Plugin in diesem Fall eine zusätzliche 1-sec-Pause eingelegt, bevor das Brett nach dem nächsten (Gegen)Zug gescannt wird.
Anscheinend ist diese 1-sec-Pause bei Dir zu kurz, sodaß diese Königs-LED immer noch leuchtet, und das interpretiert das Plugin dann eben als versuchten Königszug. (ich habe allerdings keine Ahnung, warum 1 sec auf verschiedenen Rechnern unterschiedlich lang dauern sollte!?)
Ich hab diese Pause jetzt mal auf 1.5 sec verlängert - versuch mal, ob es mit dieser neuen Version im Anhang immer noch passiert ...


Edit: Ich sehe gerade, daß Eric etwas schneller war als ich ...

Grüße,
Franz

fhub 25.05.2024 14:08

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Short question to 'hap' or Berger about this 'feagv9_redump':
Is it certain that these 2 different bytes in the previous V9 version were not correctly dumped?
Were there any problems running the EAG V9 with the old ROM?

hap 25.05.2024 14:26

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Certain, no. Close to certain, yes. Depending on how certain I feel when doing file comparisons, I also check the disasm. In this case I didn't, so I don't know what was affected.

fhub 25.05.2024 14:43

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Ok, but isn't it rather unlikely that a wrong dump would only affect 2 bytes?

I've now disassambled both ROMs with unidasm and compared them, but since I don't speak M680x0 language, I can't say anthing about the 2 differences - for me the commands on both places seem at least possible (i.e. valid) in both versions. ;)

berger 25.05.2024 14:51

Re: AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von fhub (Beitrag 126617)
Ok, but isn't it rather unlikely that a wrong dump would only affect 2 bytes?

This is not uncommon. When the data in an EPROM starts to "corrupt", only a few bytes change, and little by little more. I use a dumper in which I can modify certain variables, such as voltage, and I perform a minimum of 10 reads, to ensure that the dump is good and there are no bytes that change from one read to another.
The romdump in question was not performed by me. This new one was. :)

hap 25.05.2024 14:56

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Ok, I'll post what I did:

- compare file with other feagv9 dump, see 2 bytes differ, 2 bits flipped, immediate suspect that one of the two files is a bad dump
- compare both files to the other 3 revisions, see that new dump matches all 3 other revisions with data from that area
- conclusion: old dump is bad

approx 0.5% uncertainty comes from, maybe there's a 5th revision with 2 bits flipped, and no changes to the other ROM (note: rom data is 16-bit, mapped interleaved)

fhub 25.05.2024 15:05

AW: Re: AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von berger (Beitrag 126618)
The romdump in question was not performed by me. This new one was. :)

Well, it's always better to trust Berger than anyone else when it's about dumping ROMs. :D

Was the new dump from a V9 or from a V7?
(I'm asking because 'hap' now uses all 4 ROMs for both engines (V7 and V9))


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:33 Uhr.

Powered by vBulletin (Deutsch)
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
©Schachcomputer.info