Schachcomputer.info Community

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


Antwort
 
Themen-Optionen Ansicht

  #3931  
Alt 14.05.2020, 13:58
hap hap ist offline
TASC R40
 
Registriert seit: 27.07.2019
Beiträge: 507
Abgegebene Danke: 183
Erhielt 1.642 Danke für 324 Beiträge
Aktivitäten Langlebigkeit
5/20 5/20
Heute Beiträge
0/3 ssssss507
Re: Mess Emulator für diverse Schachcomputer ist fertig!

It needs to be after "if (image.loaded_through_softlist())".

But if that is the cause of your crash, it means you're not loading through the softwarelist and can't get the "ram" and "overlay" parameters.
Mit Zitat antworten
  #3932  
Alt 14.05.2020, 14:34
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.572
Abgegebene Danke: 431
Erhielt 5.654 Danke für 1.304 Beiträge
Aktivitäten Langlebigkeit
12/20 14/20
Heute Beiträge
1/3 sssss2572
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von hap Beitrag anzeigen
It needs to be after "if (image.loaded_through_softlist())".
No, that didn't help either.

But now I've made some more tests, and I think I've found what could be the problem:
Only if I comment out your following lines:
Code:
	// keypad overlay
	std::string overlay(image.get_feature("overlay"));
	m_overlay = std::stoul(overlay, nullptr, 0) & 0xf;
then everything is working fine (except that there's no overlay loaded now) and switching between the modules is working now (even if I let the other 2 features "ram" and "mhz" in).

So there must be something wrong with any code for loading or initializing the overlays!?
Mit Zitat antworten
  #3933  
Alt 14.05.2020, 15:06
hap hap ist offline
TASC R40
 
Registriert seit: 27.07.2019
Beiträge: 507
Abgegebene Danke: 183
Erhielt 1.642 Danke für 324 Beiträge
Aktivitäten Langlebigkeit
5/20 5/20
Heute Beiträge
0/3 ssssss507
Re: Mess Emulator für diverse Schachcomputer ist fertig!

Try with strtoul instead of std::string? Then it definitely shouldn't crash.
I'll put it in my next MAME commit, and that one will also include:



Es ist Mephisto Junior.
Danke Berger und Achim!
Mit Zitat antworten
Folgende 8 Benutzer sagen Danke zu hap für den nützlichen Beitrag:
achimp (16.05.2020), bataais (18.05.2020), berger (14.05.2020), Bryan Whitby (14.05.2020), Eastnor (31.05.2020), fhub (14.05.2020), Mythbuster (14.05.2020), Tibono (15.05.2020)
  #3934  
Alt 14.05.2020, 17:38
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.572
Abgegebene Danke: 431
Erhielt 5.654 Danke für 1.304 Beiträge
Aktivitäten Langlebigkeit
12/20 14/20
Heute Beiträge
1/3 sssss2572
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von hap Beitrag anzeigen
Try with strtoul instead of std::string? Then it definitely shouldn't crash.
I'll put it in my next MAME commit
Well, with your new driver it doesn't crash anymore, but nevertheless it's not working: the modules seem to be loaded but they are 'dead' - no display and no reaction to the keyboard.
I think the problem is, that all these "features' in the softwarelist are just not set when loading the module from the menu 'Media'.

The only idea to solve this problem may be to use your previous suggestion, i.e. to read these features only "if (image.loaded_through_softlist())", and else I would have to set these feature values directly in the driver, depending on the loaded module.
But for this I would have to know which module has just been loaded, so is there any function in MAME to get the name of the loaded module (in DEVICE_IMAGE_LOAD_MEMBER(ggm_state::cartridge))?
Mit Zitat antworten
  #3935  
Alt 14.05.2020, 17:47
hap hap ist offline
TASC R40
 
Registriert seit: 27.07.2019
Beiträge: 507
Abgegebene Danke: 183
Erhielt 1.642 Danke für 324 Beiträge
Aktivitäten Langlebigkeit
5/20 5/20
Heute Beiträge
0/3 ssssss507
Re: Mess Emulator für diverse Schachcomputer ist fertig!

These games need to be loaded through the softwarelist for the parameter settings to be applied.

It works fine in MAME, I don't know if there is a problem in MESSUI.

eg. on MAME:

mame.exe ggm sandy

then after a few moves, do as the manual says and: press Rank, set switch to MEM.
Then in the Tab menu, go to File Manager, and load a new module from the software list.

Another way: simply exit MAME after step 1, and then:
mame.exe ggm capa

Followed by MEM switch to ON position.
Mit Zitat antworten
  #3936  
Alt 14.05.2020, 17:58
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.572
Abgegebene Danke: 431
Erhielt 5.654 Danke für 1.304 Beiträge
Aktivitäten Langlebigkeit
12/20 14/20
Heute Beiträge
1/3 sssss2572
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

Yep, it works when using the file manager from the Tab menu, but the usual way in MESSUI is to just load such modules from the 'Media' menu, so I would prefer this method.

So my question still remains: is there any command to get the name of the loaded module?
Then I could set those feature values directly in the driver for each module.
Mit Zitat antworten
  #3937  
Alt 14.05.2020, 18:30
hap hap ist offline
TASC R40
 
Registriert seit: 27.07.2019
Beiträge: 507
Abgegebene Danke: 183
Erhielt 1.642 Danke für 324 Beiträge
Aktivitäten Langlebigkeit
5/20 5/20
Heute Beiträge
0/3 ssssss507
Re: Mess Emulator für diverse Schachcomputer ist fertig!

image.basename()

I don't think it will work: capa is 2 separate roms, and rom mapping information is in the softwarelist. The media loader can only load single files.
Mit Zitat antworten
  #3938  
Alt 14.05.2020, 20:15
Benutzerbild von Mythbuster
Mythbuster Mythbuster ist offline
Forengrinch
 
Registriert seit: 06.04.2008
Ort: UNESCO Welterbe
Land:
Beiträge: 6.906
Bilder: 257
Abgegebene Danke: 1.463
Erhielt 4.614 Danke für 1.522 Beiträge
Member Photo Albums
Aktivitäten Langlebigkeit
7/20 16/20
Heute Beiträge
0/3 sssss6906
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von hap Beitrag anzeigen
Try with strtoul instead of std::string? Then it definitely shouldn't crash.
I'll put it in my next MAME commit, and that one will also include:



Es ist Mephisto Junior.
Danke Berger und Achim!
Thanks a lot!

This is the last missing "Brikett" from Henne & Nitsche!



I love my "Brikett" collection ... they are weak but I love them nevertheless.

Here are some of them: https://www.schachcomputer.info/foru...hp?albumid=244

Regards,
Sascha
__________________
This post may not be reproduced without prior written permission.
Copyright (c) 1967-2024. All rights reserved to make me feel special. :-)
Mit Zitat antworten
Folgender Benutzer sagt Danke zu Mythbuster für den nützlichen Beitrag:
hap (14.05.2020)
  #3939  
Alt 14.05.2020, 20:15
hap hap ist offline
TASC R40
 
Registriert seit: 27.07.2019
Beiträge: 507
Abgegebene Danke: 183
Erhielt 1.642 Danke für 324 Beiträge
Aktivitäten Langlebigkeit
5/20 5/20
Heute Beiträge
0/3 ssssss507
Re: Mess Emulator für diverse Schachcomputer ist fertig!

Und jetzt Super System IV, wieder danke Berger & Achim.



--
@Mythbuster does this one count? It uses the Brikett housing too :P
https://www.schach-computer.info/wik...isto_Excalibur
Mit Zitat antworten
Folgende 9 Benutzer sagen Danke zu hap für den nützlichen Beitrag:
achimp (16.05.2020), Agep (14.05.2020), berger (14.05.2020), Eastnor (31.05.2020), fhub (18.05.2020), Mark 1 (14.05.2020), Mythbuster (14.05.2020), Robert (14.05.2020), Tibono (15.05.2020)
  #3940  
Alt 14.05.2020, 20:42
Benutzerbild von berger
berger berger ist offline
Mephisto MM 4 Turbo Kit
 
Registriert seit: 27.05.2013
Ort: Barcelona (Catalonia)
Beiträge: 168
Abgegebene Danke: 372
Erhielt 462 Danke für 119 Beiträge
Aktivitäten Langlebigkeit
5/20 11/20
Heute Beiträge
0/3 ssssss168
Re: Mess Emulator für diverse Schachcomputer ist fertig!

And more surprises are coming! I will be tomorrow Friday, and all weekend, working on the computers and cartridges that Achim has sent me.

Best,
Gerardo
Mit Zitat antworten
Folgende 9 Benutzer sagen Danke zu berger für den nützlichen Beitrag:
Agep (14.05.2020), Bryan Whitby (15.05.2020), Drahti (14.05.2020), Eastnor (31.05.2020), ferribaci (14.05.2020), fhub (18.05.2020), hap (14.05.2020), ruschach (15.05.2020), Tibono (15.05.2020)
Antwort

Themen-Optionen
Ansicht

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 +1. Es ist jetzt 07:07 Uhr.



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