Help with AR code (RAM dumping)

Discussion in 'Other Flashing Hardware & Software' started by froggestspirit, Jan 11, 2017.

Jan 11, 2017
  1. froggestspirit
    OP

    Member froggestspirit D/P/Pt Demix Guy

    Joined:
    Jul 28, 2011
    Messages:
    971
    Country:
    United States
    I'm working on hacking the pokewalker, and I need to dump some RAM. I can't do this in an emulator since it cannot use the IR functions for the pokewalker. Right now I have this code, which should dump a 0x8000 byte block starting at the address from the specified pointer. For some reason, it appears to write one byte to the save file instead of all 0x8000. This has worked for dumping static addresses and 0x0800 byte blocks (that's how I dumped some of the pointers. If anyone knows a way to fix this code, please let me know.
    Also note this uses addresses 0x02000000 for the source pointer, and 0x02000004 for the dest pointer. These areas do seem safe to use.
    Warning: Spoilers inside!
     
    Last edited by froggestspirit, Jan 11, 2017

Share This Page