Here you can check out the different registers that we need to use for programming the Game Boy Advance. Some of them even contain handy calculators. Check them out!
REG_DISP
REG_KEYS
VCOUNT