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)

hap 09.09.2023 20:57

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Elite Premiere should work fine without the USART.

m_nvrambank->configure_entries(0, 2, m_nvram, 0x8000);
I noticed a bug. Change to:
m_nvrambank->configure_entries(0, 2, m_nvram_data, 0x8000);

Mythbuster 09.09.2023 21:13

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hallo Franz,
nur mal zur Info: Die echte Premiere speichert auch nix ... weder der Fidelity Teil, noch der Vancouver ... obwohl sie es laut Handbuch sollen können und sogar eine Speicherbatterie im Gerät ist ...

Gruß,
Sascha

fhub 09.09.2023 21:28

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

Zitat von hap (Beitrag 119414)
m_nvrambank->configure_entries(0, 2, m_nvram, 0x8000);
I noticed a bug. Change to:
m_nvrambank->configure_entries(0, 2, m_nvram_data, 0x8000);

Well, with this change the compiler gives an error

hap 09.09.2023 21:34

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
I don't know, try other things, like m_nvram_data.get() or &m_nvram_data.get() or (void*)m_nvram_data, etc.

@Mythbuster are you sure the battery wasn't dead? Or something broke?
The PCB has two 32KB CMOS RAM chips, a battery, and a Dallas DS1210. And in MAME, I can see it writing to it.
I haven't tried saving whole games.

fhub 09.09.2023 21:43

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

Zitat von hap (Beitrag 119418)
I don't know, try other things, like m_nvram_data.get() or &m_nvram_data.get() or (void*)m_nvram_data, etc.

None of these methods compile - I give up ... :(

Edit: I've made the same changes long time ago in the saitek_stratos driver, and there it worked with m_nvram_data.get().
Maybe the problem for the Prestige is, that it uses ENDIANNESS_BIG?

Thanks,
Franz

Mythbuster 09.09.2023 21:48

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

Zitat von hap (Beitrag 119418)
I don't know, try other things, like m_nvram_data.get() or &m_nvram_data.get() or (void*)m_nvram_data, etc.

@Mythbuster are you sure the battery wasn't dead? Or something broke?
The PCB has two 32KB CMOS RAM chips, a battery, and a Dallas DS1210. And in MAME, I can see it writing to it.
I haven't tried saving whole games.

Two different machines, and I changed the battery ... so I think, it is a general problem ...

And this unit was brand new an unused: https://www.schachcomputer.info/foru...php?albumid=89

So, yes, battery was the first I was also thinking of ... but does not help ...

Greets,
Sascha

hap 09.09.2023 22:11

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

Zitat von fhub (Beitrag 119419)
None of these methods compile - I give up ... :(

Edit: I've made the same changes long time ago in the saitek_stratos driver, and there it worked with m_nvram_data.get().
Maybe the problem for the Prestige is, that it uses ENDIANNESS_BIG?

Thanks,
Franz

ENDIANNESS_BIG, ENDIANNESS_LITTLE, will make no difference.

Try this then:
std::unique_ptr u8[] m_nvram_data;
m_nvram_data = make_unique_clear u8[] (0x10000);

Otherwise, I don't know why it won't work.

fhub 09.09.2023 22:24

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

Zitat von hap (Beitrag 119421)
Otherwise, I don't know why it won't work.

OMG, I'm really stupid!
I've made the last changes in my backuped driver instead of the sources folder, so the compiler didn't see my different trials.

Now I've used the right place and the correct entry is the same that I've used in the saitek_strotos driver, i.e. 'm_nvram_data.get()' - now the Prestige is compiling AND working correctly, and it also saves changed settings (e.g. level) in the nvram!

Sorry for the troubles and thanks again for your hints - without you I would have overlooked this 'm_nvram_data.get().

fhub 09.09.2023 22:49

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

Zitat von Mythbuster (Beitrag 119420)
Two different machines, and I changed the battery ... so I think, it is a general problem ...

also jetzt wo der Prestige auch bei mir funktioniert, kann ich hap's Aussage bestätigen:
in beiden Versionen werden zumindest die Einstellungen (Levels usw.) korrekt gespeichert und sind beim nächsten Start wieder vorhanden.
Vielleicht sind ja die ROMs in Deinem Gerät anders (älter) als diejenigen in MAME?

Grüße,
Franz

fhub 11.09.2023 18:30

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

es hat jetzt etwas länger gedauert, weil die letzten Änderungen doch recht schwierig waren, aber jetzt gibt's eine neue CB-Emu-Version. :)

Hier die Neuerungen bzw. Änderungen:
1) Das neue Gerät 'Fidelity Elite Premiere' - nochmals danke an Berger und 'hap'.
Dieses Modell beinhaltet 2 Schachprogramme (Vancouver 16 Bit und Avantgarde 2265), zwischen denen man in 'Options > Configuration' umschalten kann (Standardprogramm ist Vancouver). Eine Änderung ist allerdings erst nach einem Neustart (Soft- oder Hardreset) wirksam, wird aber für weitere Starts gespeichert.
Im Artwork wird das jeweils aktuelle Programm auch oberhalb des Brettes angezeigt - in MessExtra gibt's sogar wieder ein 'Realistic Artwork'.
Der 'Premiere' ist natürlich auch in MessChess verwendbar, beim Plugin mußte ich vor allem die unterschiedlichen Levels beim Vancouver (im Vergleich zum Avantgarde) anpassen (die Level-Info enthält daher auch 2 eigene Abschnitte) - die restlichen Funktionen sollten eigentlich identisch sein (hoffe ich jedenfalls, also bitte testen).
Unter MessChess (bzw. einer externen GUI) ist das Umschalten zwischen den Programmen etwas umständlich: man muß das in der Engine selbst tun, dann das Enginefenster schließen, und danach die Engine neu starten. Allerdings wird man das ja nicht ständig tun, sondern normalerweise beim Vancouver-Programm bleiben, das ja auch stärker ist.

2) Mit sehr viel Trickserei konnte ich nun auch für den Novag Robot ein Plugin schreiben, sodaß auch dieser jetzt in MessChess enthalten ist - auch das sollte ausgiebig getestet werden.

3) Und schließlich habe ich bei den 2 Fidelity Phantom-Plugins eine vor längerer Zeit gemachte Änderung wieder rückgängig gemacht, weil die Bauernumwandlung in der letzten Version nicht immer korrekt funktioniert hat - sollte jetzt wieder klappen.

Ich hoffe, daß zukünftige Geräte (falls überhaupt noch welche kommen sollten) nicht mehr so aufwändig in CB-Emu einzubauen sind wie die letzten beiden Modelle 'Novag Robot' und 'Fidelity Elite Premiere'.

Grüße,
Franz

Mark 1 11.09.2023 18:45

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hallo Franz..

Vielen Dank :top:

Gruß
Mark 1

fhub 15.09.2023 18:07

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

also langsam treiben mich die Roboter-Geräte (Phantom und Robot) in den Wahnsinn - jetzt sind schon wieder Situationen aufgetaucht, wo nach einer Stellungseingabe die Bauernumwandlung nicht richtig funktioniert hat. :(

Nach 2 vollen Tagen Arbeit und unzähligen Tests bin ich mir aber sicher, jetzt endgültig all diese Probleme gelöst zu haben.
Daher gibt's schon wieder ein CB-Emu_Update (nur die geänderten Dateien).

Beim Novag Robot sind jetzt 3 Dinge zu beachten:
1) In MessChess kann man den Level sinnvoll nur in der GUI (Arena oder WinBoard) einstellen, weil bei Einstellung direkt im Enginefenster keine Levelanzeige mehr erfolgt (in MessExtra natürlich schon). Das war nötig um störende Popup-Meldungen bei bestimmten Zügen zu vermeiden.
2) Bei einer Stellungseingabe braucht ihr euch über die Figuren links und rechts vom Brett nicht wundern, die benötigt das Plugin eben für eventuelle Bauernumwandlungen - ohne diese Figuren wäre das Plugin noch komplizierter geworden.
3) Und beim Robot geht natürlich alles SEHR langsam, weil Zugeingaben erst wieder möglich sind, wenn der Roboterarm nachhause zurückgekehrt ist, und das dauert eben. Im MessChess-Plugin habe ich zumindest die Anzeige der Robot-Züge in der GUI etwas beschleunigt.

Grüße,
Franz

mclane 15.09.2023 18:57

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Apropos Emulationen, was ist nochmal der Mephisto III c.
Zum B fällt mir ja 1.e4 e6 ein, und das das Brikett für einen eröffnungszug nicht 3“ braucht sondern nur 1.
Aber was war nochmal version c ?!

fhub 15.09.2023 19:13

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

Zitat von mclane (Beitrag 119558)
Apropos Emulationen, was ist nochmal der Mephisto III c.
Zum B fällt mir ja 1.e4 e6 ein, und das das Brikett für einen eröffnungszug nicht 3“ braucht sondern nur 1.
Aber was war nochmal version c ?!

Keine Ahnung - einfach eine weitere ROM-Version des Mephisto III (allerdings mit 1x32kB statt 2x16kB).

mclane 15.09.2023 19:41

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Ja der b war schon in einem 32 k rom. Da macht das sinn dass der c auch darin ist. Wäre mal spannend da die Unterschiede herauszufinden….

berger 15.09.2023 23:09

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hello,

The 4 Mephisto III cartridges we have been able to romdump so far. There could be more:

https://addpics.com/files/thumbs/wb8-n-3220.jpg

https://addpics.com/files/thumbs/wb8-o-28f7.jpg

https://addpics.com/files/thumbs/wb8-p-4046.jpg

https://addpics.com/files/thumbs/wb8-q-579b.jpg

Best,
Gerardo

fhub 18.09.2023 14:39

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

Zitat von hap (Beitrag 119316)
I posted something like this before. Let me remind you all that we are running low on chesscomputers that can still be emulated.
...
Here's a list:
...
Mephisto Roma II
Mephisto Montreal 68000
...

Also die beiden können wir bald aus der Liste streichen, denn die ROMs dafür hab ich gerade von einem netten Spender bekommen ... :)

Grüße,
Franz

hap 18.09.2023 19:54

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Danke schön, sie sind jetzt emuliert. Funny how they used a 6 year old chess engine for Montreal 68000. I guess it was cheaper hardware since it only needs 16KB RAM.

Montreal 68000 screenshot:
https://i.imgur.com/PYVAvrX.png

Bryan Whitby 18.09.2023 20:40

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
What about all of Ron Nelson’s Excalibur computers.
Are they not possible to emulate.

Was ist mit allen Excalibur-Computern von Ron Nelson? Können sie nicht nachgeahmt werden?

fhub 18.09.2023 20:57

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

Zitat von hap (Beitrag 119599)
Danke schön, sie sind jetzt emuliert.

Oh dear, I just see that your new driver uses "mmdisplay1.h", and this display method has never made it into MAME 0.220.
I'll probably not be able to port this driver back to my old version, I'm afraid ... :(

hap 18.09.2023 21:16

Re: AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
The LCD is the same as other Mephistos, copy one from those? Glasgow, Amsterdam/Dallas/Roma, Modena.

Zitieren:

Zitat von Bryan Whitby (Beitrag 119600)
What about all of Ron Nelson’s Excalibur computers.
Are they not possible to emulate.

I think all of them have MCUs that aren't known how to dump.

fhub 19.09.2023 19:00

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

Zitat von hap (Beitrag 119604)
The LCD is the same as other Mephistos, copy one from those? Glasgow, Amsterdam/Dallas/Roma, Modena.

Yes, the LCD is the same, but these old drivers are so different to the new roma2 driver, that it's almost impossible (at least for me) to use their code for the roma2.
But I've found a better method: I've implemented the missing 'mmdisplay1.h/cpp' in my older version, and after a few necessary changes the Roma II and Montreal engines are now working in CB-Emu and MessExtra, too! :)

mclane 19.09.2023 19:19

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

Zitat von Bryan Whitby (Beitrag 119600)
What about all of Ron Nelson’s Excalibur computers.
Are they not possible to emulate.

Was ist mit allen Excalibur-Computern von Ron Nelson? Können sie nicht nachgeahmt werden?

H8 bestimmt nicht.

mclane 19.09.2023 19:23

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Kann man eigentlich in dem Dos Programm Archiv irgendwo die Geschwindigkeit der Emulationen in cycles eingeben wie ich es in der normalen Dosbox in der cfg datei machen kann ?

Ah, hab mit dosbox X gefunden . Da kann man die CPU direkt oben eingeben, sorry für offtopic.

Hartmut 19.09.2023 19:36

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

Zitat von Bryan Whitby (Beitrag 119600)
What about all of Ron Nelson’s Excalibur computers.
Are they not possible to emulate.

Was ist mit allen Excalibur-Computern von Ron Nelson? Können sie nicht nachgeahmt werden?

Alle Excalibur Modelle haben eine MCU als Basis. Diese MCUs haben normalerweise einen Ausleseschutz. Zwar kann man so einen Ausleseschutz durchaus auch umgehen (die Chinesen, die sich oftmals wenig um Patente scheren, machen das auch) aber der Aufwand ist enorm und dürfte sich für unser Hobby hier kaum lohnen.

Kurz und gut: Rein theoretisch kann man das auch emulieren, aber diesen Aufwand wird sich kaum jemand antun.


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:20 Uhr.

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