mhavoc
Posts: 4
Joined: Wed Apr 04, 2018 3:09 pm

Logging a memory write?

Sat Aug 18, 2018 5:10 pm

Hiya..

I need to dump to the log anytime a byte is written to a specific RAM location.

From want I can tell, I can't seem to do this from the debugger as the only way to do it is to set a watchpoint along with a logerror action.. however, that also stops execution in the debugger each time, which is not what I want.

Is there a way to do this in the debugger or do I need to customize the source with a memory write handler in order to do this specific task?

Thank you!
JA

mhavoc
Posts: 4
Joined: Wed Apr 04, 2018 3:09 pm

Re: Logging a memory write?

Sat Aug 18, 2018 5:23 pm

... and of course after posting.. I figured it out..

wpset 0295,1,w,1,{logerror "ID: %02X",wpdata: g}

Worked like a charm.. nice job devs!!!

Return to “MAME Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests