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
Advance debugging via IDE with JPCSP src
#5
(07-13-2011, 01:36 AM)Xeeynamo Wrote: Hi.
Recently I started to debugging a game to patch and reverse some stuff and the best choice for me was JPCSP. I'm not really happy of the internal debugger that come with the emulator, so I downloaded the source code from the SVN and I edited some functions to get some extra debugging stuff on the log console. I'm here because I can't find the function that offer the memory reading, because I need to log every reading from the RAM with the current offset and the current position of the CPU executing (the PC). I found read32 and memread32, but these doesn't offer me all the reads from the psp emulated memory. I hope that some programmer of the project can reply me.

Ah, sorry. This is what you're looking for: http://www.emunewz.net/forum/showthread.php?tid=4391

We already offer a way to log each read/write to RAM by using that special "Memory.mbrk" breakpoint file. It can be used to forcefully pause the emulator at each access or to just print a small string with the offset and data being accessed.
We really need to document this feature properly, since it's quite useful for developers. Undecided
Reply


Messages In This Thread
RE: Advance debugging via IDE with JPCSP src - by Hykem - 07-16-2011, 03:32 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)