|
|||||||||||
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
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; So there must be something wrong with any code for loading or initializing the overlays!? |
|
|||||||||||
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! |
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) |
|
|||||||||||
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
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))? |
|
|||||||||||
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. |
|
|||||||||||
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. |
|
|||||||||||
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. |
|
||||||||||||
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
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. :-) |
Folgender Benutzer sagt Danke zu Mythbuster für den nützlichen Beitrag: | ||
hap (14.05.2020) |
|
|||||||||||
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 |
|
||||||||||||
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 |
|
|
Ä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 |