View unanswered posts | View active topics It is currently Tue Jun 19, 2018 11:25 am



Reply to topic  [ 2 posts ] 
 Crt0 suggestions 
Author Message

Joined: Sat Mar 03, 2018 6:38 pm
Posts: 10
I have wanted to have a proper header in the crt0 for the gba for quite a while now, and it just seems to be annoying to have to use gbafix every single rom i make. Is there a possibility that this could be added in future releases?
I would like to have multiboot functionality availible in the source cide of the gba rom itself, and when the flag was set, the rom would be compiled as multiboot, instead of having a different command line option. Is there any way to do this?


Mon May 21, 2018 3:07 pm
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1265
Location: UK
Sterophonick wrote:
I have wanted to have a proper header in the crt0 for the gba for quite a while now, and it just seems to be annoying to have to use gbafix every single rom i make. Is there a possibility that this could be added in future releases?


The GBA crt0 already has a proper header. gbafix calculates the necessary checksum on the final binary, it's an essential part of the build process.

Quote:
I would like to have multiboot functionality availible in the source cide of the gba rom itself, and when the flag was set, the rom would be compiled as multiboot, instead of having a different command line option. Is there any way to do this?


This isn't possible, no. Different linkscripts are used to link multiboot binaries vs cart binaries with different base addresses & layouts.

The provided Makefiles in the examples automate all this so you shouldn't really need to worry about it.

_________________
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog


Tue May 22, 2018 2:25 am
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads