Page 1 of 1

Logging a memory write?

Posted: Sat Aug 18, 2018 5:10 pm
by mhavoc
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

Re: Logging a memory write?

Posted: Sat Aug 18, 2018 5:23 pm
by mhavoc
... 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!!!