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.

ASM > start adress doubt

#83514 - marvel - Tue May 16, 2006 6:43 pm

Which values hex can use for doing that my game begins in the offset 01000000, I tried the gbatools but he doesn't allow that amount of numbers.

#83527 - DekuTree64 - Tue May 16, 2006 8:08 pm

Can you clarify what you mean a bit? The GBA BIOS will start you at 0x8000000 if running from a cart, or 0x2000000 for multiboot. The first instruction in Crt0.s is a branch past the header, but then you're free to do what you want, such as branching to a specific address. I think 0x1000000 is just a mirror of the BIOS though, which is protected, so you probably don't want to be branching there.
_________________
___________
The best optimization is to do nothing at all.
Therefore a fully optimized program doesn't exist.
-Deku