|
|
|
|||||||||||
|
AW: Mess Emulator für diverse Schachcomputer ist fertig!
Hi Eric,
I don't understand!? ![]() There are no problems at all, no matter if you've checked or unchecked "Run in a window", "Start out maximised" or switch to "Full Screen" in the engine window" - in all cases the dot/hand is positioned correctly on the board. The scaling (also for the claw) is done automatically by MAME whenever the window size or position is changed in any way. Regards, Franz
__________________
Meine Webseite: https://fhub.jimdofree.com/ |
| Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag: | ||
kamoj (05.09.2023) | ||
|
|||||||||||
|
Re: Mess Emulator für diverse Schachcomputer ist fertig!
Fidelity Elite Premiere ist jetzt emuliert, danke an Berger.
![]() |
| Folgende 20 Benutzer sagen Danke zu hap für den nützlichen Beitrag: | ||
achimp (11.09.2023), Agep (08.09.2023), berger (08.09.2023), Bryan Whitby (08.09.2023), Chess Monarch (09.09.2023), fhub (08.09.2023), germangonzo (10.09.2023), Hartmut (08.09.2023), Jo (09.09.2023), kamoj (09.09.2023), Luis (08.09.2023), Mapi (08.09.2023), Mark 1 (08.09.2023), mclane (08.09.2023), Murat (09.09.2023), Mychess (16.09.2023), Robert (11.09.2023), Tibono (09.09.2023), Wandersleben (08.09.2023), Zentaurus (09.09.2023) | ||
|
||||||||||||
|
Re: Mess Emulator für diverse Schachcomputer ist fertig!
I have designed a robotic claw instead of the hand
![]() You can see it better in "Full Screen". Ich habe statt der Hand eine Roboterklaue entworfen ![]() Im „Vollbild“ sieht man es besser. |
| Folgende 11 Benutzer sagen Danke zu Bryan Whitby für den nützlichen Beitrag: | ||
|
|||||||||||
|
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
Hi 'hap',
thanks to you and Berger for this new engine! ![]() I had a problem porting back the Premiere to my version 0.220 with 'memory_share_creator'. I've solved (?) it with a similar method that I've already used for some Saitek engines long time ago: 1) changed m_nvram(*this, "nvram", 0x10000, ENDIANNESS_BIG), to m_nvram(*this, "nvram"), 2) changed memory_share_creator< u16 > m_nvram; to required_device and std::unique_ptr< u16[] > m_nvram_data; 3) changed m_rombank->configure_entries(0, 2, memregion("maincpu")->base(), 0x20000); m_nvrambank->configure_entries(0, 2, m_nvram, 0x8000); to m_rombank->configure_entries(0, 2, memregion("maincpu")->base(), 0x20000); m_nvram_data = make_unique_clear< u16[] >(0x10000); save_pointer(NAME(m_nvram_data), 0x10000); m_nvram->set_base(m_nvram_data.get(), 0x10000); m_nvrambank->configure_entries(0, 2, m_nvram, 0x8000); With these changes the compilation is ok and also the Premiere seems to be working correctly, but to be sure that there are no hidden errors or side-effects, I'm better asking for your 'ok'. ![]() I'm not sure about the type 'u16', but I guess it's correct because of BIG endianness? but I guess it's correct because of BIG endianness? And also I'm not sure if the values 0x10000 are correct in the 3 lines with 'm_nvram_data'? Regards, Franz
__________________
Meine Webseite: https://fhub.jimdofree.com/ Geändert von fhub (09.09.2023 um 14:09 Uhr) |
| Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag: | ||
kamoj (09.09.2023) | ||
|
|||||||||||
|
Re: Mess Emulator für diverse Schachcomputer ist fertig!
I think that will work fine, except the make_unique_clear is twice as large there, the param is number of indexes, not number of bytes.
"u16" is "uint16_t", aka "unsigned short", 16-bit variable. |
|
|||||||||||
|
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
I guess either 0x10000 is wrong (it creates a 64kB nvram file!), or some other changes must be made. Since this Premiere has both a "nvram" and "nvrambank", it's definitely too difficult for me to solve this problem. ![]()
__________________
Meine Webseite: https://fhub.jimdofree.com/ |
| Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag: | ||
kamoj (09.09.2023) | ||
|
|||||||||||
|
Re: Mess Emulator für diverse Schachcomputer ist fertig!
64KB is correct, there is no problem.
No, don't change unique_ptr to u8, NVRAM is 16-bit. |
| Folgender Benutzer sagt Danke zu hap für den nützlichen Beitrag: | ||
kamoj (09.09.2023) | ||
|
|||||||||||
|
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
There's nothing saved in nvram at all (all bytes are always 0xff), and MessUI crashes sometimes when I start the Premiere engine, sometimes when I close the engine. Are all 3 values 0x10000 in my previous posting really correct? Or could it have to do something with "rs232" or "usart" that you've added in your new driver? Maybe these devices didn't work correctly in MAME 0.220?
__________________
Meine Webseite: https://fhub.jimdofree.com/ |
| Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag: | ||
kamoj (09.09.2023) | ||
|
|||||||||||
|
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); |
![]() |
|
|
Ä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 |