This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
More Debug features?
#5
Okay, I tried adding the pause and I still get nothing, I setup the logger to run at info level, don't get anything in the logs. I tried setting a write breakpoint on about a 20h range around the value, nothing. I tried using a value that is modified by the game much more often, still nothing.

The only time I can get the emulator to break or log anything is when I setup it up with a break on reading, and I use the memory viewer to view the address. The breakpoint will trigger when I press 'go to address' (to update the viewer), but not when the game reads/writes to the values.

I tried using exactly what you gave me:
Code:
pause
W 0x88941200
and it didn't work, it didn't pause execution or output anything to the logger. And I'm having the emulator start with the debugger open so I know it isn't that. (I did revert back to the unmodified .jar of r2100 from Orphis, didn't change anything). Undecided

Edit: I take back what I said, it's working- I've used other values (0x09FFFDF0) that I know the game modifies early on and it's triggering the breakpoint for it- I don't know why the later values (in RAM) aren't getting triggered.
Edit 2: I got it working, after looking up some memory mappings/partitions I realized that I was breaking on kernel memory, which the game shouldn't be writing to itself. The game was actually writing to 0x08941200.

Thanks for the help though, there wasn't much/any information lying around explaining the format for the Memory.mbrk files, so this was still helpful, and hopefully someone in the future might find this information helpful.
Reply


Messages In This Thread
More Debug features? - by Zarradeth - 04-29-2011, 08:04 AM
RE: More Debug features? - by gid15 - 04-29-2011, 07:45 PM
RE: More Debug features? - by Zarradeth - 04-30-2011, 08:16 AM
RE: More Debug features? - by gid15 - 04-30-2011, 09:28 AM
RE: More Debug features? - by Zarradeth - 04-30-2011, 12:51 PM
RE: More Debug features? - by gid15 - 05-04-2011, 04:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)