Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Programming Talk / C++ / C# - Making a gameboy/advance rom file using ARM gcc package

Author
Message
Three Score
21
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 21st Dec 2005 05:06
I have found an ARM gcc compiler package(ld,ar and all those) but it exports everything in elf format, i have tried strip all and such but nothing works
so how can i compile it to so there is no elf header and any relocation(if any)

tutorials,programs,useful but simple php scripts, a place for code snipplets and more at
http://hackr83.0z0.co.uk
(still under construction)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 21st Dec 2005 10:40
never tried this, but it should be the same flags you use to make a OS's bootloader. Some kind of flat executable.
Just out of curiosity, how are you gonna get the game into the gameboy when you're done?

WarBasic Scripting engine for DarkBasicPro
DC emulator code size: 14.3MB, 553,214 lines
Three Score
21
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 21st Dec 2005 17:47
emulators
but I could buy a flash cart which loads a game into a little card thing that you can use in a gameboy advance

no its different stuff it has a header and a rom entry point but i dont know the format of it

tutorials,programs,useful but simple php scripts, a place for code snipplets and more at
http://hackr83.0z0.co.uk
(still under construction)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 21st Dec 2005 17:54 Edited at: 21st Dec 2005 17:55
wait a sec, you will have to create the executable thingy then prefix this header. Look at some emulator-programming websites and you'll find it. http://www.zophar.net should have it. I have seen this on the web, but I don't remember where anymore.

[edit] Just checked zophar, there is only info on the GBC header.

WarBasic Scripting engine for DarkBasicPro
DC emulator code size: 14.3MB, 553,214 lines
Great Knight
22
Years of Service
User Offline
Joined: 25th Feb 2003
Location:
Posted: 21st Dec 2005 23:00

Login to post a reply

Server time is: 2025-06-29 00:05:41
Your offset time is: 2025-06-29 00:05:41