Thread: Research: Expanding the FR Pokedex...
View Single Post
  #9    
Old July 1st, 2010 (08:11 PM).
Xenesis's Avatar
Xenesis
Syogun Changer
 
Join Date: May 2006
Location: Australia
Nature: Sassy
Send a message via AIM to Xenesis Send a message via Windows Live Messenger to Xenesis
One of the techniques that I've found is really helpful in locating routines that display information is setting breakpoints on writes to the VRAM.

The code will usually use BIOS functions (swi 0xX) to uncompress or write text to the VRAM areas, which usually have their own subroutines (bl #0x08abcde) as they're general code.

It's then a matter of just following the link register returns (usually bx lr/bx r0/bx r1) until you find some code that's just after the code run to save to VRAM...usually you'll find some sort of comparison code, index gatherer or something.

It'd be easier with No$GBA if you have that, but you should still be able to use VBA-SDL-H if my memory serves.
Reply With Quote