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 > Where can find sample project which output multiboot file?

#3159 - ZhouChang - Wed Feb 19, 2003 7:06 am

I use devadvkit tool chain, i use "#define MULTIBOOT int __gba_multiboot; " and add "MULTIBOOT " in my main source file,
but there is no use, i can't run it in real GBA ( I use xboo download cable, and I can down demo mb file into it).

Where can get a sample(or a demo) project which output mb file, such as crt0.s Makfile, link script etc.


--ZhouChang

#3160 - tepples - Wed Feb 19, 2003 7:28 am

ZhouChang wrote:
Where can get a sample(or a demo) project which output mb file, such as crt0.s Makfile, link script etc.

The int __gba_multiboot; relies on Jeff F's crt0.s and link script, which happens to be included in Devkit Advance.

If you want a larger project with source code that produces a .mb program, download TOD and try to build it with Devkit Advance and MinGW.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#3163 - ZhouChang - Wed Feb 19, 2003 10:08 am

Is there a simple sample?
This demo is too hard for me.

#3165 - jenswa - Wed Feb 19, 2003 11:01 am

I used the same code,
except i used
Code:
const


But since i don't have a cable to send it too my gba,
i checked in visualboyadvance if the ROM code from 0x8000000
was loaded in 0x2000000 and thus i assumed it might work on the
real hardware.
_________________
It seems this wasn't lost after all.

#3177 - Maverick - Wed Feb 19, 2003 1:03 pm

Check out http://downtou.cjb.net/

One of the tutorials is how to make a .mb rom