|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Habs auch mal ausprobiert, mit eingeschaltetem Debugger, Version vom 12. Juni 2021. Bei den Eröffnungszügen b3, c3 und f3 hängt Mondial II, alle LEDs aus, reagiert nicht mehr, im RAM tut sich aber noch was..
Bei mir hängt auch die ältere Version vom 15.3.2021, jedoch die vom 11.Mai 2020 nicht. Evtl hilft dir das was, Franz?
__________________
Mein Profil beim ICCF (International Correspondence Chess Federation) https://www.iccf.com/player?id=89948&tab=3 |
|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Also das ist nicht so seltsam, weil der Mondial II in CB-Emu die Version in 'messuix.exe' aufruft, und die ist noch älter (MAME 0.190) - dort hat alles noch funktioniert.
Inzwischen scheint es aber, daß ich eine Lösung durch Vergleichen verschiedener Treiberversionen gefunden habe: In meiner verwendeten Version vom 13.4.2020 (die letzte bevor 'hap' die großen Änderungen gestartet hat), kommt da in der Enginekonfiguration folgender Befehl vor: m_maincpu->set_periodic_int(FUNC(mephisto_mondial_state::nmi_ line_assert),...) Ich kenne mich zwar hardware-technisch nicht aus, aber das scheint periodisch einen NMI-Interrupt auszulösen, der in einer anderen Funktion mondial2_input_mux_w durch m_maincpu->set_input_line(M65C02_NMI_LINE, CLEAR_LINE) wieder ausgeschaltet wird. In hap's neuerer Version (und auch in der ganz alten aus 0.190) wird aber im ensprechenden Befehl nmi_line_pulse anstatt nmi_line_assert verwendet, d.h. der NMI-Interrupt wird von Haus aus gepulst, und der AUS-Schalt-Befehl entfällt dabei. Und genau das habe ich jetzt auch probiert, also in der Konfiguration folgenden Befehl verwendet: m_maincpu->set_periodic_int(FUNC(mephisto_mondial_state::nmi_ line_pulse),...) und den Ausschalt-Befehl in der Funktion mondial2_input_mux_w einfach auskommentiert! Jetzt hängt sich der Mondial II bei diesen Anfangszügen b3, c3 oder f3 nicht mehr auf - längere Partien hab ich noch nicht ausprobiert, aber ich vermute mal, daß das Problem damit gelöst ist. Wie gesagt habe ich technisch keine Ahnung davon, und ob mein 'Bugfix'(?) tatsächlich korrekt ist, kann nur 'hap' sagen. Grüße, Franz |
Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag: | ||
Mark 1 (25.06.2021) |
|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Also wenn ich mich nicht irre ist ja CB-Emu Version 0.175 und MessExtra 0.220. Glaube nicht das es an den Plugins liegt. Aber ich bin kein Profi. Ist nur eine Vermutung.
|
|
|||||||||||
Re: Mess Emulator für diverse Schachcomputer ist fertig!
Yeah I suspect it was the NMI. When I did an overhaul to the mephisto drivers a few months ago that must have been one of the things that were fixed. Interrupts were wrong in several drivers. For example, the scratchy beep sound in Mega IV was also caused by wrong interrupt handling.
|
|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Also Supermondial A und AB spinnen auch, LEDs bleiben hängen.
Version B geht. Monte Carlo's gehen, Mega IV auch (nur kurz getestet). |
|
|||||||||||
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
In your original source I've only made 2 changes, one in line 108 and the other in lines 203/204. Maybe you could have a look at it and check if these changes are ok? Since the mondial config is derived from the mondial2 config, I'm not sure if the periodic irq0 interrupt (in mondial) just replaces the nmi interrupt (in mondial2), or if it's additional, i.e. that both are active for the mondial and so also the mondial could be affected by my changes!? Geändert von fhub (27.06.2021 um 23:04 Uhr) |
|
|||||||||||
Re: Mess Emulator für diverse Schachcomputer ist fertig!
Yes, set_periodic_int will override the other one. The NMI change looks correct.
This older driver is maybe 10% of my code, it's mainly by Sandro. The newer one has more of my involvement. (see source code below) mondial/smondial series: https://github.com/mamedev/mame/blob...to_mondial.cpp https://github.com/mamedev/mame/blob...o_mondial2.cpp https://github.com/mamedev/mame/blob...o_smondial.cpp Geändert von hap (25.06.2021 um 13:37 Uhr) |
Folgender Benutzer sagt Danke zu hap für den nützlichen Beitrag: | ||
kamoj (28.07.2021) |
|
|||||||||||
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
I've now tried to fix the stuck LEDs for smondial (A and AB), but your new driver is so different, that I was not successful. In the attachment there's the previous driver version (also from 13.4.2020), where smondial was still in mephisto_montec.cpp - is there any easy change I could make there to fix only the stuck LEDs of SMondial A and AB? (no need for any other of your improvements like tri-color LEDs etc. ...) Geändert von fhub (27.06.2021 um 23:04 Uhr) |
|
|||||||||||
Re: AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
The way the LED outputs were done in the old driver is nonsense from a hardware point of view and needed a complete rewrite. It needs to use pwm_display_device to get correct leds. |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
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 |