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.

Beginners > The Best Compiler

#34724 - Husky-Chan - Tue Jan 25, 2005 2:55 am

Where can I get the most totally best compiler? (dont mention ham because it puts the devkitHAM logo on my game)
I really would apriciate if some one tells me wich one is the BEST Game Boy Advance Compiler.
Oh and if this is needed : I'm using Dragon BASIC.
Thanks ^_^
Dan.

#34726 - JesusXP - Tue Jan 25, 2005 3:35 am

I would say VisualHAM man! I liked it, it was real easy to learn! If you dont plan on selling your game, that lil HAM intro doesnt make a difference, and if you do plan on selling the game, buy it and you wont have that problem! I dont use Dragon BASIC, I never have so i can't tell you what to use, but I am just replying and letting you know that you can get rid of the Ham logo by buying the IDE

#34728 - DiscoStew - Tue Jan 25, 2005 3:41 am

I've never used HAM or Dragon Basic before, but if you want to get down and dirty with C/C++/ASM code and the memory-mapped registers, I'd recommend DevKitARM. Many people use it, so finding help here on the forums won't be a problem.
_________________
DS - It's all about DiscoStew

#34729 - Husky-Chan - Tue Jan 25, 2005 3:49 am

Well,You guys arent responding what I am asking.
I got Dragon BASIC,Devkit Advance,DevkitARM,DevkitHAM and some other crap I got here on my Hard Drive XD
But anyways,I haven't Intsalled DevkitHAM yet,Should I use this one?
Or is there another compiler that doesnt put the ham logo n your games?
Thanks.
Dan.

#34730 - DiscoStew - Tue Jan 25, 2005 4:00 am

Husky-Chan wrote:
Well,You guys arent responding what I am asking.
I got Dragon BASIC,Devkit Advance,DevkitARM,DevkitHAM and some other crap I got here on my Hard Drive XD

Well, that all depends on your perspective of what you think would be the Best Compiler, which we don't know what you want with it. Do you want pre-made libraries so you don't have to mess with the memory-mapped registers, you want to write code in Basic/C/C++, etc. etc. etc.?
Quote:

But anyways,I haven't Intsalled DevkitHAM yet,Should I use this one?
Or is there another compiler that doesnt put the ham logo n your games?

From what I understand of what you said, you seem set on using something related to HAM (like VisualHAM, or DevKitHAM, whatever). I've never used those, so I can't answer that.
We're just giving you options, nothing more.
_________________
DS - It's all about DiscoStew

#34731 - Husky-Chan - Tue Jan 25, 2005 4:15 am

I want to program an Adventure Game (A type of Kirby or DragonBall Advance Adventure Game) On Dragon BASIC and then compile it and play it on my Emulator to test it out.
Thats what I really want to do,Create a game that my friends could have fun and enjoy playing with.
That's All I want to do,But if one day on the future it gets to be a type of game that people would describe as "awesome" then there I'll decide of Selling it or not.
But since its about of not selling it for now,Then I think I Will use HAM.
I have devkitARM on my computer,I have a Visual Studio 6.0 CD with Visual C++ in it,I've gathered a few ammount of tools to get started but just dont know with wich tool to start.
But I think I'll start with devkitHAM and Dragon Basic,If not i have devkitARM and Visual C++.
But as for now,Devkit HAM Is the one I should really use for now? A friend of mine says it is pretty good,But not that HAM logo at the boot of your GBA.

#34737 - tepples - Tue Jan 25, 2005 7:04 am

I'm pretty sure you can use the VisualHAM IDE without using the HAMLib library.

Have you ever programmed a game on any other platform, such as on the PC using the Allegro library? If not, I'd suggest starting on the PC first. And before you program an adventure game, try cloning a non-adventure game such as Pong or Tetris or Pac-Man to get you acquainted with the basics of game programming before you go into more ambitious projects.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#34750 - poslundc - Tue Jan 25, 2005 3:08 pm

Husky-Chan wrote:
I really would apriciate if some one tells me wich one is the BEST Game Boy Advance Compiler.


A Gameboy Advance compiler is any compiler that targets the ARM7TDMI chip. This alone is insufficient to make GBA games, because there are specific details of the GBA's hardware and memory layout that compiler needs in order to properly assemble the compiled code into something that is executable on the GBA.

Because of this, people have put together Dev Kits that contain the necessary specs and code to make the compiler generate GBA programs. Devkit Advance, Devkit ARM, and HAM all use GCC - the free GNU C compiler - as their underlying compiler, so as far as they go you are getting a similar compiler in each case. As far as which is best, to my knowledge DevkitARM and HAM are the only ones still being maintained/updated.

Dan.

#34757 - Husky-Chan - Tue Jan 25, 2005 6:21 pm

wow thanks a lot guys!
That info has been useful to me,And also,I Program on Visual Basic,Right now I'm trying to make a little RPG Game on it (I know VB is not the one for these stuff,But Direct 3D can be useful,Although VB is not that good on these kind of stuff).
Quote:
A Gameboy Advance compiler is any compiler that targets the ARM7TDMI chip

I'll have that In mind ^_^
Thanks alot.

#34762 - tepples - Tue Jan 25, 2005 8:32 pm

If you're coding in any dialect of BASIC right now, you're going to want to learn C first, and it's easiest to learn C with a compiler that produces native executables. This would be either Visual C++ or MinGW.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#34788 - Husky-Chan - Wed Jan 26, 2005 6:03 am

Well Y'See,I kinda get a bit lazy of Installing Visual C++....I get the lazyness of getting a bit scared of getting my computer get messed up. It usually gets messed up easy.
I installed Dragon Basic IDE and After Rebooting the system it started to Recover Registries from the day before,So this was caused by Dragon Basic,So the registry got back to normal and everything having to do with Dragon Basic got deleted.
So I'll try to install Dragon Basic again and Visual C++ and see what happens. But before I must back up my registry in case It really messes up. And Tepples,What the heck is MinGW? o_O I really got no idea of what that is (Logically to me a Programming Language).
Really,Never heard of MinGW.
Thanks.
Dan.

#34793 - tepples - Wed Jan 26, 2005 9:14 am

Use Google, and you'll learn that MinGW is a port of GCC, running on Windows and producing Windows EXE files.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.