I'm trying to remap a couple buttons in a Medal of Honor - Infiltrator. I want to swap the A and R buttons.
I know where the button state is stored (4000130) and I can see which register is affected by relevant button presses (R12), but I'm having trouble locating the instructions that read button state and update that register. Stepping through the code in VBA has been pretty tedious and largely unhelpful so far, and there doesn't appear to be any way to break when a register is modified.
Are there any free disassembly tools allow me to perform text and regex searches on the assembly code or export the assembly code to a more competent text editor for browsing? It doesn't seem to be possible in VBA, Crystaltile2, or GbAsmEdit unless I'm missing something. Or are there any GBA debuggers that can break when a particular register is modified?
I know where the button state is stored (4000130) and I can see which register is affected by relevant button presses (R12), but I'm having trouble locating the instructions that read button state and update that register. Stepping through the code in VBA has been pretty tedious and largely unhelpful so far, and there doesn't appear to be any way to break when a register is modified.
Are there any free disassembly tools allow me to perform text and regex searches on the assembly code or export the assembly code to a more competent text editor for browsing? It doesn't seem to be possible in VBA, Crystaltile2, or GbAsmEdit unless I'm missing something. Or are there any GBA debuggers that can break when a particular register is modified?