Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Learning PSP assembly
01-09-2017, 06:03 PM (This post was last modified: 01-09-2017 06:09 PM by LunaMoo.)
Post: #21
RE: Learning PSP assembly
As I wrote that above, just set a condition to the breakpoint.

When you create/edit execute breakpoints notice the two longer input fields:
[Image: XNBdJWY.png]

one is called Condition where you can set such conditions, so if you have a code like that:
Code:
move    t1,a1 #1
move    t2,a2 #2
and want to break when t1 get's a value of 990CD28, you have to set a condition to either:
Code:
a1==0x990CD28
if setting it at line #1 since there t1 didn't got a value from a1 yet or
Code:
t1==0x990CD28
when setting it at line #2 that is assuming you care about new value of t1, not old one, in which case you would just have to use the second example at line #1.
Note that condition can't be set for memory breakpoints, only execute ones.

Another field to input text there is called Log fmt where you can specify format of the text printed to the log you enter descriptions as text and registers inside {}, for example typing there a1: {a1}, t1: {t1} would print:
Code:
*time* *thread_name*[JIT]: Debugger\Breakpoints.cpp:320 BKP PC=*current address*: a1: *value of a1*, t1: *value of t1*
the text can be anything you want, not just a1: , etc.

If you want to print all breakpoints to a text file same as I mentioned on previous page here - just use InfoLog.bat which again is included in all nightly builds from Orphis buildbot or run it with --log=filename.txt commandline doing so will print everything to that text file instead to it's log window.
Also if you don't want the log to have any other text just breakpoints, before running the game (or soon after) go to tools->dev tools->logging channels and disable everything except JIT compiler(so use toggle all, then re-activate just that), you can also switch it to "notice". Might not be worth doing since info log isn't usually that spammy and you will have to change those log settings every ppsspp restart.

http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Learning PSP assembly - Yugisokubodai - 12-02-2016, 01:15 PM
RE: Learning PSP assembly - TkSilver - 12-02-2016, 09:46 PM
RE: Learning PSP assembly - Yugisokubodai - 12-02-2016, 10:45 PM
RE: Learning PSP assembly - TkSilver - 12-03-2016, 05:08 AM
RE: Learning PSP assembly - LunaMoo - 12-03-2016, 05:51 PM
RE: Learning PSP assembly - Yugisokubodai - 12-04-2016, 01:32 AM
RE: Learning PSP assembly - LunaMoo - 12-04-2016, 03:04 AM
RE: Learning PSP assembly - Yugisokubodai - 12-04-2016, 03:19 AM
RE: Learning PSP assembly - LunaMoo - 12-04-2016, 03:45 AM
RE: Learning PSP assembly - Yugisokubodai - 12-04-2016, 03:50 AM
RE: Learning PSP assembly - LunaMoo - 12-04-2016, 04:16 AM
RE: Learning PSP assembly - Tehau - 12-04-2016, 07:38 AM
RE: Learning PSP assembly - Yugisokubodai - 12-04-2016, 08:18 AM
RE: Learning PSP assembly - LunaMoo - 12-04-2016, 03:17 PM
RE: Learning PSP assembly - Yugisokubodai - 12-09-2016, 01:26 PM
RE: Learning PSP assembly - LunaMoo - 12-09-2016, 09:09 PM
RE: Learning PSP assembly - Yugisokubodai - 12-20-2016, 11:58 AM
RE: Learning PSP assembly - Yugisokubodai - 01-08-2017, 04:23 PM
RE: Learning PSP assembly - LunaMoo - 01-09-2017, 04:54 AM
RE: Learning PSP assembly - Yugisokubodai - 01-09-2017, 10:43 AM
RE: Learning PSP assembly - LunaMoo - 01-09-2017 06:03 PM
RE: Learning PSP assembly - Yugisokubodai - 01-12-2017, 02:30 PM
RE: Learning PSP assembly - LunaMoo - 01-12-2017, 05:18 PM
RE: Learning PSP assembly - Yugisokubodai - 01-15-2017, 12:06 AM
RE: Learning PSP assembly - LunaMoo - 01-15-2017, 05:30 AM

Forum Jump: