Traceing and the $2004 break point
Page 1 of 1
Traceing and the $2004 break point
Hi everyone, I hope all is well.
I always wated to ask about traceing a game. When you use a debugger and you hit the run button does it automatically trace the whole game right of the bat, or as you play a game on it. I had wounder how that all worked because it was something I don't know anything on that and I just wated to ask about it.
I also wanted to ask how does a $2004 break point work for a non moded game. I had brought it up because when pepv was working on his wrestling game I had saw that you can use it for a non patch game, he did give the break point for it and I understand that, I was just wanted to ask could it still be used for a game if someone wanted to do it just out of pure boardoum. I am just asking in genural and that is all. Thank you for reading my post, have a great day
I always wated to ask about traceing a game. When you use a debugger and you hit the run button does it automatically trace the whole game right of the bat, or as you play a game on it. I had wounder how that all worked because it was something I don't know anything on that and I just wated to ask about it.
I also wanted to ask how does a $2004 break point work for a non moded game. I had brought it up because when pepv was working on his wrestling game I had saw that you can use it for a non patch game, he did give the break point for it and I understand that, I was just wanted to ask could it still be used for a game if someone wanted to do it just out of pure boardoum. I am just asking in genural and that is all. Thank you for reading my post, have a great day
Polargames- Since : 2018-06-06
Re: Traceing and the $2004 break point
I think I already gave you this link:
https://www.zeldix.net/t134-coding-for-absolute-beginners
If you had gone through it, you'd have found Geiger Tracing in vol2.
Bsnes tracing works similar, you only need to make a hook at
- Trace S-CPU opcodes
- recommended: Enable trace mask as well (it's like trace once option, otherwise already executed opcodes get logged repeatedly resulting in hundreds of MB of trace log)
a breakpoint with $2004 will of course only work if you already addressed this address in your msu code, the native code does not have it.
https://www.zeldix.net/t134-coding-for-absolute-beginners
If you had gone through it, you'd have found Geiger Tracing in vol2.
Bsnes tracing works similar, you only need to make a hook at
- Trace S-CPU opcodes
- recommended: Enable trace mask as well (it's like trace once option, otherwise already executed opcodes get logged repeatedly resulting in hundreds of MB of trace log)
a breakpoint with $2004 will of course only work if you already addressed this address in your msu code, the native code does not have it.
Conn- Since : 2013-06-30
Similar topics
» Point me in the right direction...
» WAV2MSU--Can you check the PCM file to see what the loop point is?
» WAV2MSU--Can you check the PCM file to see what the loop point is?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum