MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

fluxcore
MAME Fan
Reged: 01/06/13
Posts: 2
Send PM
MAME debug load operation help
01/06/13 01:45 AM


Hi,

Using MAME debug, I'm trying to edit some memory while play is in progress. The program space memory is unwritable, fair enough - but if I switch to region ":maincpu" I am able to edit values and see results of changes.

In this case I am editing palettes and the changes are visible next time the level is loaded.

However, since the memory is unable to be edited when the game is paused, and there is randomness to which level will be loaded, I'd prefer to set a save state to load from before editing the memory. There is not enough time from a save state position until the level loads to edit the memory manually, however.

There exists a "load" function in the MAME debug commands, however I believe it's trying to load into main program memory which is unwritable. Is there any way to load into the ":maincpu" region instead (which is writable)? Editing a file while the game is paused and then loading it into memory is a perfectly acceptable method, as long as I can actually load it into the right place!

Other suggestions welcome.

Cheers,
--flux







Entire thread
Subject Posted by Posted on
* MAME debug load operation help fluxcore 01/06/13 01:45 AM
. * Re: MAME debug load operation help fluxcore  01/08/13 08:12 PM

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