Sign in to follow this  

GameBoy Advanced Programming

This topic is 4191 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to write a pokemon spin off for my sone on GBA. Can I write it in c#/Directx and when I compile will that be ok? Or what libraries should I use? This is a typical 2D game for the gameboy. I have the schematics for the hardware, so my only question is the libraries I should use. Thanks, Nick

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Program directly to the hardware. The gameboy has a very simple architecture - it's really easy to get stuff running without using any libs.

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster
Program directly to the hardware. The gameboy has a very simple architecture - it's really easy to get stuff running without using any libs.


Quoted for emphasis - there is no need for a library. Why? Because:
1) The hardware has an easy-to understand architecture.
2) An lib/SDK will probably cost you money or display a:

DEVELOPPED WITH THE [NAME] SDK!!!

TO BUY THE FULL VERSION SIMPLY CALL
555-5555-555


But the problem is that you can't code in C# and definately can't use DX. You'll be able to use C++ or C fine, though.

Share this post


Link to post
Share on other sites
Okay so I get the point that its in c++.

But agi said it will cost money. And what not. Where do I get the lib? I dont mind paying for it.

Does that devkit come with a library?

I'm at work so I cant run it right now and would like to get everything together so I can start rocking and rolling.

Thanks,
Nick

Share this post


Link to post
Share on other sites
The things I linked to are free libs to use, and do not show ANYTHING when you use them. These libs are for homebrew, which means that the legality of it is questionable. But if you're not selling your game(s), you shouldn't have any problem.

Share this post


Link to post
Share on other sites
where would I find a commercial library?

I plan on eventually going live if something works and would like to find commercial libraries also.

do you know of any?

Share this post


Link to post
Share on other sites
You're not going to get your hands on a commercial library without being an established game development company, and even then it's very expensive. I believe the site for official Nintendo development is at WarioWorld, if you'd like to read up on it more, but it's not going to be encouraging. You're really best off programming straight to the hardware. It's a great learning experience and it's not so hard as it might seem. I had a lot of fun with it myself.

Share this post


Link to post
Share on other sites
I've done a tiny bit of GBA coding and quite enjoyed it, mostly working off
this book

The GBA has a nice architecture and is a good start for beginning console programming. Good luck!

Share this post


Link to post
Share on other sites
Your options are to use C,C++, or Object Pascal for development for Gameboy advance(See delphigamer.com for information). Visit gbadev.com and take a look at the links and forums. That should be enough to get you started.

:)

Share this post


Link to post
Share on other sites
Quote:
Original post by Tesl
I've done a tiny bit of GBA coding and quite enjoyed it, mostly working off
this book

The GBA has a nice architecture and is a good start for beginning console programming. Good luck!


I second this link, with a vengeance. If you want to learn how to program for the Gameboy Advance, this is the best place to do it. The author was originally told to write a book about gba programming, but because of legal issues surrounding a linker cord (or something to that extent), the book was never published, but here it is online.

While this link is not totally exclusive, it is the best place to start.

Share this post


Link to post
Share on other sites
I was trying out a pong clone a while ago and decided to stop just because it wasn't really getting anywhere. Big help came from Neil...

I mostly used DevKit Advance and this article. Again, huge thanks goes to Neil for the help. He was responsible for Mortal Konsole for the GBA which inspired me to try out GBA development in the first place. My conclusion? Man, Nintendo doesn't like its developers as much as Microsoft does...

Share this post


Link to post
Share on other sites
I was surprised that no one has mentioned GBA dev.org yet. There are a few libraries that are freely available SGADE and HAMlib from memory.

I also recommend The Pern Project and TONC as tutorials.

Me and a friend did try to make a small MGS2 2D clone a while ago but the code was a mess due to poor exprience and project management.

[Edited by - yaustar on June 17, 2006 7:33:41 AM]

Share this post


Link to post
Share on other sites
Quote:
Original post by nick5454
I want to write a pokemon spin off for my sone on GBA.

Can I write it in c#/Directx and when I compile will that be ok?

Or what libraries should I use? This is a typical 2D game for the gameboy.

I have the schematics for the hardware, so my only question is the libraries I should use.

Thanks,
Nick
You can't use C# of DirectX on GBA. Everything is done with hardware. I would reccomend trying the HAM library and VisualHAM as for the IDE. You don't have to use a library though, programming the GBA isn't very difficult at all.

Here is a free book about GBA programming by Jonathan Harbour. It uses C but you can also use C++.

Good luck [smile]

P.S. The picture is something I just whipped up in a couple minutes. See, hardware programming is easy (I'm a bad programmer so I like easy)! No libraries needed!

[Edited by - DigiDude on June 17, 2006 2:27:41 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Hey thanks everyone!

That link to john harbour is absoluely awesome. Ive read half the book and gba programming is sooo cool. Screw an OS!

It reminds me back in the day when I made video games in do and was messing with hardware as close ap possible.

GBA rules!!

thanks for all the links, thier absoultely great. And I cant wait for my MBV2 cable to arrive.

Thanks all

Nick

Share this post


Link to post
Share on other sites
Hey thanks everyone!

That link to john harbour is absoluely awesome. Ive read half the book and gba programming is sooo cool. Screw an OS!

It reminds me back in the day when I made video games in do and was messing with hardware as close ap possible.

GBA rules!!

thanks for all the links, thier absoultely great. And I cant wait for my MBV2 cable to arrive.

Thanks all

Nick

Share this post


Link to post
Share on other sites
lol. When i first downloaded that GBA programming book I read the whole thing in one sitting, heh =)

Unfortunately got other projects on the go, but hope to do some more GBA coding soon =)

Share this post


Link to post
Share on other sites
Quote:
Original post by Tesl
lol. When i first downloaded that GBA programming book I read the whole thing in one sitting, heh =)

Unfortunately got other projects on the go, but hope to do some more GBA coding soon =)


You beat me I finished it in 3 days. ALthough I was writing tons of example programs

I didnt know it was that easy to make a game on the gba. I thought DOS was easy, but gameboy is even easier. Although I do remember the memory linitation and I see if you make a complex game that will come into play.

Like code paging for large games in DOS

But, its really cool.

Share this post


Link to post
Share on other sites

This topic is 4191 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this