MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

AJR Hacker
MAME Developer
Reged: 02/01/16
Posts: 144
Send PM
Re: RAM editing, Is this possible in MAME (and if so, how?)
04/25/22 07:08 PM


> When I go to edit, I get it overwritten too. Bummer. Anyone know how to get around
> this?

The values probably get overwritten because the game mirrors them in main RAM.

One easy way to get around this problem is to open nvram/ccastles/nvram_4b outside MAME in a hex editor, since X2212 has nonvolatile backup for its own SRAM. Editing it is not so simple: the game code stores three copies of the same data, with simple XOR modifications, to check its integrity. Also keep in mind that this memory type is only 4 bits wide; in this case, the high nibbles are in 4A and the low nibbles are in 4B.







Entire thread
Subject Posted by Posted on
* RAM editing, Is this possible in MAME (and if so, how?) joemagiera 04/24/22 04:35 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Heihachi_73  04/24/22 04:58 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/24/22 06:05 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Rotwang  04/24/22 06:20 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/24/22 08:22 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Rotwang  04/24/22 09:08 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/25/22 02:44 AM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) AJR Hacker  04/25/22 07:08 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/25/22 09:48 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Sthiryu  04/27/22 03:14 AM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Rotwang  04/25/22 03:45 AM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/25/22 02:28 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 195 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 424