Schachcomputer.info Community

Zurück   Schachcomputer.info Community > Computerschach / Computer Chess: > Mess Emu & andere Emulationen / Mess Emu and other Emulations


Antwort
 
Themen-Optionen Ansicht

  #1  
Alt 25.06.2021, 12:24
Mark 1 Mark 1 ist offline
TASC R40
 
Registriert seit: 27.09.2006
Beiträge: 529
Abgegebene Danke: 910
Erhielt 362 Danke für 197 Beiträge
Aktivitäten Langlebigkeit
2/20 18/20
Heute Beiträge
0/3 ssssss529
AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von bataais Beitrag anzeigen
Noch was seltsames: Im CB-Emu scheint er zu laufen, im MessExtra nicht.
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.
Mit Zitat antworten
  #2  
Alt 25.06.2021, 12:49
hap hap ist offline
Resurrection
 
Registriert seit: 27.07.2019
Beiträge: 601
Abgegebene Danke: 222
Erhielt 2.323 Danke für 417 Beiträge
Aktivitäten Langlebigkeit
0/20 6/20
Heute Beiträge
0/3 ssssss601
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.
Mit Zitat antworten
  #3  
Alt 25.06.2021, 12:56
bataais bataais ist offline
Mephisto Turniermaschine
 
Registriert seit: 01.10.2013
Beiträge: 316
Abgegebene Danke: 207
Erhielt 549 Danke für 221 Beiträge
Aktivitäten Langlebigkeit
1/20 12/20
Heute Beiträge
0/3 ssssss316
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).
Mit Zitat antworten
  #4  
Alt 25.06.2021, 13:04
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.933
Abgegebene Danke: 602
Erhielt 7.265 Danke für 1.629 Beiträge
Aktivitäten Langlebigkeit
6/20 15/20
Heute Beiträge
1/3 sssss2933
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von hap Beitrag anzeigen
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.
Ok, I've attached your older driver from 13.4.2020 which I'm still using in MessExtra, the last version before you even splitted mondial and mondial2 into separate drivers.
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)
Mit Zitat antworten
  #5  
Alt 25.06.2021, 13:14
hap hap ist offline
Resurrection
 
Registriert seit: 27.07.2019
Beiträge: 601
Abgegebene Danke: 222
Erhielt 2.323 Danke für 417 Beiträge
Aktivitäten Langlebigkeit
0/20 6/20
Heute Beiträge
0/3 ssssss601
Re: Mess Emulator für diverse Schachcomputer ist fertig!

Yes, set_periodic_int will override the other one. The NMI change looks correct.

 Zitat von fhub Beitrag anzeigen
In your
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)

 Zitat von bataais Beitrag anzeigen
Also Supermondial A und AB spinnen auch, LEDs bleiben hängen.
Version B geht. Monte Carlo's gehen, Mega IV auch (nur kurz getestet).
The stuck LEDs problem was fixed when I updated the Mephisto drivers. I also added support for tri-color leds for smondial series (red-green-yellow).

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)
Mit Zitat antworten
Folgender Benutzer sagt Danke zu hap für den nützlichen Beitrag:
kamoj (28.07.2021)
  #6  
Alt 25.06.2021, 14:38
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.933
Abgegebene Danke: 602
Erhielt 7.265 Danke für 1.629 Beiträge
Aktivitäten Langlebigkeit
6/20 15/20
Heute Beiträge
1/3 sssss2933
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von hap Beitrag anzeigen
The newer one has more of my involvement. (see source code below)
...
The stuck LEDs problem was fixed when I updated the Mephisto drivers. I also added support for tri-color leds for smondial series (red-green-yellow).
Yes, of course I know all your new driver versions, but you have changed so much, that it was impossible to get them working in MAME 0.220 - and even if, then all corresponding layouts/artworks and even the plugins would have to be rewritten - just too much work.

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)
Mit Zitat antworten
  #7  
Alt 25.06.2021, 15:02
hap hap ist offline
Resurrection
 
Registriert seit: 27.07.2019
Beiträge: 601
Abgegebene Danke: 222
Erhielt 2.323 Danke für 417 Beiträge
Aktivitäten Langlebigkeit
0/20 6/20
Heute Beiträge
0/3 ssssss601
Re: AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von fhub Beitrag anzeigen
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. ...)
Not easy.

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.
Mit Zitat antworten
  #8  
Alt 25.06.2021, 15:37
Mark 1 Mark 1 ist offline
TASC R40
 
Registriert seit: 27.09.2006
Beiträge: 529
Abgegebene Danke: 910
Erhielt 362 Danke für 197 Beiträge
Aktivitäten Langlebigkeit
2/20 18/20
Heute Beiträge
0/3 ssssss529
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 .
Mit Zitat antworten
  #9  
Alt 25.06.2021, 17:50
Hartmut Hartmut ist gerade online
Lebende Foren Legende
 
Registriert seit: 01.04.2010
Ort: Nürnberg
Alter: 61
Land:
Beiträge: 2.593
Abgegebene Danke: 3.549
Erhielt 2.743 Danke für 1.263 Beiträge
Aktivitäten Langlebigkeit
14/20 15/20
Heute Beiträge
1/3 sssss2593
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
Mit Zitat antworten
  #10  
Alt 25.06.2021, 20:48
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.933
Abgegebene Danke: 602
Erhielt 7.265 Danke für 1.629 Beiträge
Aktivitäten Langlebigkeit
6/20 15/20
Heute Beiträge
1/3 sssss2933
AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von Mark 1 Beitrag anzeigen
Oje.....
da habe ich ja wieder eine Welle losgetreten
Ich hoffe ihr seid mir nicht böse .
Doch! Ab jetzt reden wir nicht mehr mit Dir ...

 Zitat von Hartmut Beitrag anzeigen
Ach nee... die brauchen das. Ohne Herausforderungen ist es ja langweilig.
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
Mit Zitat antworten
Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag:
Mark 1 (25.06.2021)
Antwort


Forumregeln
Du bist nicht berechtigt, neue Themen zu erstellen.
Du bist nicht berechtigt, auf Beiträge zu antworten.
Du bist nicht berechtigt, Anhänge hochzuladen.
Du bist nicht berechtigt, deine Beiträge zu bearbeiten.

BB code ist An
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist An.

Gehe zu

Ä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


Alle Zeitangaben in WEZ +2. Es ist jetzt 11:31 Uhr.



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