Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 VBASDL 1.5.1 Write to Rom, Break on Read...

closed-fixed
Forgotten
None
5
2003-07-01
2003-06-08
Pokemonhacker
No

I'm not sure if this patch will work for everyone, but it
works for me :)

I added some things.

-First, a break on write on ROM adresses.
(no, it's not that useless!)

-Second, a break on read (for RAM (0x2, 0x3) and ROM
(0x8, 0x9)).
Type "bpr <adress> <size>" to set a break on read.
Type "bprc" to clear all break on read.

-Third, a "show old reg" option.
Type "last" to turn it on/off.
It'll show all the registers as they were before the very
last "jump" (bx, bl, conditional branch...). It only works
for Thumb for now.

And I think that's it.

You need to download and uncompress the original
VBASDL 1.5.1 sources.

Put the contents of the patch files archive in the SRC
folder or the VBASDL 1.5.1 sources, then load the
project "gba_sdl.dsw" in VC++, and build VBASDL.

Discussion

  • Pokemonhacker
    Pokemonhacker
    2003-06-08

    • assigned_to: nobody --> forgotten
     
  • xade
    xade
    2003-06-08

    Logged In: YES
    user_id=796755

    _____b

    i can't find the very "VBASDL 1.5.1 sources" on the "Files"
    page?____?

    am i going to be crazy?___b

     
  • Pokemonhacker
    Pokemonhacker
    2003-06-08

    Logged In: YES
    user_id=785003

    You can get the sources using CVS, or wait a bit (Forgotten
    might upload them tomorrow).

     
  • xade
    xade
    2003-06-09

    Logged In: YES
    user_id=796755

    Thanks.

    And there's a question that i wander why not just put these
    patches into the original release?____?

    And one more~
    Why not the "bpw" can NOT break on write on VRAM
    adresses? I think it will be very useful in graphic hacking~___~

     
  • Pokemonhacker
    Pokemonhacker
    2003-06-14

     
    Attachments
  • Pokemonhacker
    Pokemonhacker
    2003-06-14

    Logged In: YES
    user_id=785003

    Added "cow" (= change or write) option.
    It makes the break on write becomes break on change (and
    vice-versa).
    Break on change makes the breakpoint happens only if the
    written value is different than the one in memory.

     
  • Forgotten
    Forgotten
    2003-07-01

    • status: open --> closed-fixed
     
  • Forgotten
    Forgotten
    2003-07-01

    Logged In: YES
    user_id=335241

    Integrated for next release by pokemonhacker.