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 > multiboot

#6407 - jenswa - Sat May 24, 2003 5:54 pm

if i include this in my code:

Code:

#define MULTIBOOT int __gba_multiboot;
MULTIBOOT


at global scope and compile this with devkitadvance.
I am using make.bat, instead of makefile stuff.

Shouldn't that make my rom image mutlitboot?
The compiler doesn't say anything about it.

But when i send it with xboo over the cable to my gba,
it says that the header is incorrect, probably missing.
Since i've only tested my code on emu's so far and i assumend
that MULTIBOOT would make it multiboot, but didn't.
Probably i've an older version of devkitadvance.
I believe it was version 3 when i started and never changed that.

So can anyone tell me how to do this?
_________________
It seems this wasn't lost after all.

#6411 - tepples - Sat May 24, 2003 8:18 pm

jenswa wrote:
But when i send it with xboo over the cable to my gba,
it says that the header is incorrect, probably missing.

Devkit Advance's header does not contain a Nintendo logo. You'll need a "gbafix" program such as the ones available at gbadev.org's tools section.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#6441 - jenswa - Sun May 25, 2003 6:40 pm

Thnx tepples,

now i've more errors in my rom images than
the emulator showed :D
_________________
It seems this wasn't lost after all.