Look at Registers?

Started by Romaap, December 10, 2008, 11:25:05 AM

Previous topic - Next topic

Romaap

Is it possible to look at the Registers whenever you want?
I dont want to use breakpoints all the times I want to see the Registers. >_<

paprika_killer

can't you just go to breakpoints and then use a non-exact match?

[SIGPIC][/SIGPIC]

Igglyboo

Go into the BP tab and uncheck the box that says update ASM, leave the update registers box ticked.
Then i think you can just hit get BP data.

Romaap

Quote from: Igglyboo on December 10, 2008, 02:06:41 PM
Go into the BP tab and uncheck the box that says update ASM, leave the update registers box ticked.
Then i think you can just hit get BP data.
That way the registers are always the same?  :confused:

Link

Why would you want to do that.. the Wii has 800 MHz so in worst case your registers change 800 Million times a second.. what do you want to achieve by looking at them all the time?

Romaap

Quote from: Link on December 10, 2008, 04:47:26 PM
Why would you want to do that.. the Wii has 800 MHz so in worst case your registers change 800 Million times a second..
whoops, didn't thought about that :-[ I thought they only changes a few time per second.

Quote from: Link on December 10, 2008, 04:47:26 PM
what do you want to achieve by looking at them all the time?
The Z coordinates are stored in the floatregisters, so if I could check the floatregisters then I know exactly what the Z coordinates are, that would be much easier than equal/not equal searches (higer/lower dont work everytime because sometimes 0 is not the ground)

Link

Z coordinates should be in the float registers during certain commands.. true.. just put an execute breakpoint on such a command and enable a totally never happening "Only break on XXX" rule

biolizard89

Quote from: Link on December 10, 2008, 10:23:23 PM
Z coordinates should be in the float registers during certain commands.. true.. just put an execute breakpoint on such a command and enable a totally never happening "Only break on XXX" rule
Can you elaborate on that?  Is there a particular kind of command that is likely to have position or velocity values in the float registers, that is easier to find than the position/velocity as well.  Come to think of it, if I find only one of position or velocity, is the other one likely to be in the float registers when position is written or velocity is read?  If so, that would be highly useful for finding velocity or position more easily.