gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Info about devkitARM

#131172 - henk81 - Mon Jun 11, 2007 10:09 pm

Hey fellow developers!

I'm interested in developing for the GBA and I'd like some more information. I bet you know where to find it... At the moment I'm using devkitPro (devkitARM release 20) and wonder if there is any place where to find more examples than those (10) which come with it.

At the moment I'm trying to get a hold on mode 4. I've used it before with devkitadv-r5-beta-3. What I did before: write to VRAM (0x06000000) or the back buffer 0x600A000 and flip it using REG_DISPCNT (0x4000000). Does the devkitARM have some predefined function/variable to work with this? E.g. some pointer which switches between VRAM (0x06000000) and 0x600A000. And a function which makes the switch and (un)set REG_DISPCNT(0x4000000). Of course there is enough information about how to make this function, but I can't imagine it already exists in devkitARM.

Where can I find information like this? There must be a place with documentation about devkitARM, but I can't find it anywhere.

Thanks in advance!
Henk

Ps. I checked the FAQ/forum/google and couldn't find the info, but in case I should have be able to find it there I'm sorry to have bothered you.

#131185 - Ant6n - Tue Jun 12, 2007 12:25 am

check the libga\include folder in devkitarm. That's where the libgba header files are. 'gba.h' is the one that includes all of them. Reading through them should give you an idea what they are for. i haven't found any good documentation.