+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  how can monitor memory writed by using "Visualboy advance Tracer "
Pages: [1]
Author Topic: how can monitor memory writed by using "Visualboy advance Tracer "  (Read 415 times)
kenghot
Guest
« on: November 28, 2006, 07:09:27 am »

I need to monitor memory when it was writed at $0300:2528-0300:2538 by using "Visualboy advance Tracer ". After i read readme.txt , i didn't understand. Anybody used to use this program? pls help me. Grin


readme.txt
---------------
This is a primitive tracing emulator based off of Visualboy Advance 1.7.1
Source gathered from various parts - credit given where possible.


hook_log.txt should be placed in the directory where the rom is located.
It's suggested to keep the exe and binary in the same folder.


hook_log.txt has more information.


keys:
'/' = toggles instruction logging to 'trace.log'
'.' = dumps RAM, SRAM, NT
',' = toggles memory logging to 'hook.txt' (set by 'hook_log.txt')

--------------------------------
hook_log.txt
-----------------------------------
hook_pc1 1 -1 -1
hook_rd1 1 -1 -1
hook_wr1 1 9400 9410

------------------------------------------------------

; Any notes can follow here
;
; but do not modify above

; Mode 0 = write into 'trace.txt' log if instruction logging is active
; Mode 1 = write into 'hook.txt'
;
; <low address> <high address>

Gameboy:
- rd/wr use $0000-ffff memory map range
- pc uses $00000-fffff ROM range

Gameboy Advance:
- rd/wr/pc use $0000:0000-ffff:ffff memory map range
« Last Edit: November 28, 2006, 07:19:58 am by kenghot »
RedComet
Guest
« Reply #1 on: November 28, 2006, 10:11:43 am »

I'd say you're best bet is to get VBA-SDL-H from the site here and use that, since you can just set a breakpoint for what you want. I've given Visualboy Advance Tracer a whirl before, but I never could get it to actually work, for some reason. It's probably something I was doing since all of the other tracers I've tried worked great.

Is that  VRAM, RAM, or ROM address? It looks a little off to be VRAM.
kenghot
Guest
« Reply #2 on: November 28, 2006, 11:41:00 am »

Quote from: RedComet on November 28, 2006, 10:11:43 am
I'd say you're best bet is to get VBA-SDL-H from the site here and use that, since you can just set a breakpoint for what you want. I've given Visualboy Advance Tracer a whirl before, but I never could get it to actually work, for some reason. It's probably something I was doing since all of the other tracers I've tried worked great.

Is that  VRAM, RAM, or ROM address? It looks a little off to be VRAM.

Thanks for your advise , I'll to try vba-sdl-h but i quite get use to Visualboy Advance Tracer. I just know it doesn't work .
 For memory ,it's RAM address .
RedComet
Guest
« Reply #3 on: November 28, 2006, 11:45:16 am »

Placing this line in hook_log.txt for tracer might work:

hook_wr1 0300:2528 0300:2538
kenghot
Guest
« Reply #4 on: November 28, 2006, 12:11:32 pm »

Quote from: RedComet on November 28, 2006, 11:45:16 am
Placing this line in hook_log.txt for tracer might work:

hook_wr1 0300:2528 0300:2538

Thanks again , but it doesn't work. I've put
hook_wr1 0300:2528 0300:2538 in file hook_log.txt

and then strart game then press "," to activate hooking

and wait for value at 0300:2528-0300:2538 has change but nothing happen


and also try with

hook_wr1 1 0300:2528 0300:2538  '1 = write to hook.txt
and
hook_wr1 1 0300:2528-0300:2538
and
hook_wr1 1 $0300:2528 $0300:2538

all of these , doesn't work  Sad
RedComet
Guest
« Reply #5 on: November 28, 2006, 12:26:46 pm »

What about wihtout the colon?

Like this:

hook_wr1 1 03002528 03002538
kenghot
Guest
« Reply #6 on: November 28, 2006, 12:37:54 pm »

Quote from: RedComet on November 28, 2006, 12:26:46 pm
What about wihtout the colon?

Like this:

hook_wr1 1 03002528 03002538

nothing happen too. btw i just try vba-sdl-h. It's pretty work even it need to use command line and hardly to mornitor value of memory. Thanks a lot RedComet.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC