Learning PSP assembly
|
01-09-2017, 10:43 AM
(This post was last modified: 01-09-2017 10:43 AM by Yugisokubodai.)
Post: #20
|
|||
|
|||
RE: Learning PSP assembly
For the first problem, I solved it by a simple MTE coding, which allow multi characters with a single byte.
For the second one, I just want to know how to make the emulator snap when it hit a specific value. When setting break point wethere on read/write or execute, it snap every time when the provided address is access. This can be very frustrating because many unwanted routines access the same address and many unwanted values. Therefore, I think by setting a condition can eliminate this. For example, 08A54758z_un_08a54758: addiu sp,sp,-0x10 move t1,a1 move t2,a2 As you can see, at 08a54760 the value of t1 is modified. If I set execution break point on that address, it will snap thousand of times. I just want it to snap only when the value 990CD28 is written to t1. I wonder is there a way? P/s: It's very hard to keep things tracked on the debug console. I wonder how to make the emu write log to txt file, just like Snes's Geiger like this. http://i.imgur.com/Dj2Mplg.png For the first problem, I solved it by a simple MTE coding, which allow multi characters with a single byte. For the second one, I just want to know how to make the emulator snap when it hit a specific value. When setting break point wethere on read/write or execute, it snap every time when the provided address is access. This can be very frustrating because many unwanted routines access the same address and many unwanted values. Therefore, I think by setting a condition can eliminate this. For example, 08A54758z_un_08a54758: addiu sp,sp,-0x10 move t1,a1 move t2,a2 As you can see, at 08a54760 the value of t1 is modified. If I set execution break point on that address, it will snap thousand of times. I just want it to snap only when the value 990CD28 is written to t1. I wonder is there a way? P/s: It's very hard to keep things tracked on the debug console. I wonder how to make the emu write log to txt file, just like Snes's Geiger like this. http://i.imgur.com/Dj2Mplg.png |
|||
« Next Oldest | Next Newest »
|