|
|
|||||||||||
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. |
|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Oje.....
da habe ich ja wieder eine Welle losgetreten Ich hoffe ihr seid mir nicht böse . ![]() |
|
|||||||||||
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Ach nee... die brauchen das. Ohne Herausforderungen ist es ja langweilig.
__________________
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 auf solche Herausforderungen kann ich gut verzichten. Komisch ist nur, daß die LEDs beim SuperMondial A und AB in der alten MAME-Version 0.190 noch korrekt funktioniert haben (also direkt in CB-Emu aufgerufen) - irgendjemand muß diesen Treiber danach wieder 'vermurkst' haben. Die neue Version von 'hap' werde ich sicher nicht verwenden, denn dafür müßte ich wieder viele Dinge in MessExtra ändern (Artworks, Plugins usw.), aber ich bin mir sicher, daß ich noch irgend eine andere Lösung finde - ich weiß allerdings noch nicht, welche. ![]() Auf jeden Fall sind die Abstürze beim Mondial II schon mal behoben, und dieses LED-Problem beim SuperMondial ist ja ohnehin nur kosmetisch, das Spielen wird dadurch ja nicht beeinträchtigt. Übrigens hab ich inzwischen durch einen Email-Hinweis ein ähnliches Problem bei den Analyst- und Maestro-Modulen entdeckt: bei der Einstellung 12MHz hängen sich auch diese Modelle nach einigen Zügen auf, z.B. nach folgender Zugfolge (bei Level F3): 1.e4 c5 2.Sf3 e6 3.c4 und dann piepst der Analyst D++ komisch, die LED für Schwarz hört auf zu blinken, und es kommt kein Gegenzug mehr. Also manche Dinge in MAME sind wirklich unerklärlich, auch bei 4MHz funktionieren diese Module nicht (daher dieses "(-)" in der Liste), obwohl es sie auch mit 4MHz gab - und nicht einmal 'hap' hat eine Erklärung dafür. Na ja, die 12MHz hab ich jedenfalls wieder aus der Liste entfernt, zum Glück scheinen ja 16MHz und 18MHz zu funktionieren. Grüße, Franz |
Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag: | ||
Mark 1 (25.06.2021) |
![]() |
|
|
![]() |
||||
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 |