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.

Coding > How to make many game into a single gba file?

#3102 - ZhouChang - Tue Feb 18, 2003 7:58 am

Hi all:
If I have writed some small gba games,each one 's text section start 0x800000,I want to make a sigle gba file contains these games, how to do? Just like many games in 1 flash card, and all these games are a single game which run from rom address space(0x800000).

thank you.

#3103 - ampz - Tue Feb 18, 2003 8:18 am

You can't. Not w/o special hardware support.
You can however recompile the games to start at different adresses, and put a menu-program at 0x08000000

#3108 - Arjan - Tue Feb 18, 2003 12:55 pm

Or, if the games are small enough, compile the games to be run from EWRAM.
_________________
dus.... http://www.bombaman.net

#3110 - Lord Graga - Tue Feb 18, 2003 2:50 pm

or simply do this in your main:

void AGBMain (void)
{
//MAKE A MENU
if(choice==1) BreakoutMain();
if(choise==2) BubbleBubbleMain();
//ETC
}