Offline
San Francisco

I have zero coding experience so this may be a more complicated thing to answer or i may be asking this in the wrong place. But where should i start!? Is it possible to just jump right in by reading tutorials and what not or does it take some extra research/experience/knowledge before even getting to gameboy development. Not so much a question on anything in specific just wondering whats needed and out there. Thank you for your time!

Offline
Los Angeles

Which model of Gameboy?

For the classics- the GBDK is a good place to start, many examples etc. Check out http://gbdk.sourceforge.net/ ... You'll most likely need a windows machine for compiling, none of us have of yet been able to compile using OSX.

If you don't know anything about programming there is a bit to learn- For learning C I would get this book: http://www.amazon.com/C-Programming-Lan … 0131103628 ... but there are quite a few free resources around the web too.
Personally I would dive into C first, and Assembly later.

Then down the road go and look at the pandoc http://nocash.emubase.de/pandocs.htm and possibly http://www.retards.org/library/technolo … sound3.pdf to get a visual understanding of the gameboy sound registers and how they are used.

Offline
San Francisco

I was thinking model wise the original first then color(not sure the difference) but this is exactly what i was looking for thank you. I have a few windows machines so that should be fine. I have always wanted to learn programming and just never had the courage to dive in i guess. Any other online resources for learning C would be great too. Thank you for the response though!

Offline
Sweeeeeeden

Also, http://gameboy.mongenel.com/asmschool.html

Offline
San Francisco

^that is honestly exactly what i was looking for when it comes to online stuff thank you!

Offline
Sweeeeeeden

That's for assembly language, though, not C. But that's what I recommend you learn anyway.

Offline
Riverside, CA
trash80 wrote:

You'll most likely need a windows machine for compiling, none of us have of yet been able to compile using OSX.

I can compile just fine in Linux.
There's other OS's y'know ;P

Offline
Toronto, Ontario, Canada
The Silph Scope wrote:
trash80 wrote:

You'll most likely need a windows machine for compiling, none of us have of yet been able to compile using OSX.

I can compile just fine in Linux.
There's other OS's y'know ;P

Yeah, it's extremely painless under Linux.  Why are people having trouble with OSX?

Offline
San Francisco

I just know that mountain lion has created alot of issues. pretty much every update breaks something

Offline
Los Angeles

Oh yeah that too, such a good link.

The Silph Scope wrote:

I can compile just fine in Linux.
There's other OS's y'know ;P

Yes, I just have not verified Linux myself, so don't know how more or less stable it is. Good to hear.

jefftheworld wrote:

Yeah, it's extremely painless under Linux.  Why are people having trouble with OSX?

Cant compile gbdk source- SDCC has not supported GBZ since the 90s or something.

Offline
Murcia, Spain

Just for the sake of curiosity:
If you program Game Boy stuff on C, are you limiting your control compared to doing so on assembly?

Last edited by DogTag (Jan 27, 2013 11:17 am)

Offline
Sweden

Well, C is just another level of abstraction from machine code. You won't have minute control of what the compiler does when you write C code. This might not be a problem depending on how much performance you have to milk out of the code. I'd say use a C compiler and inline assembler code for things that require more performance than the compiler will give you.

Offline
Murcia, Spain

I asked because I figure out that when programming in Game Boy, you'd probably need a lot of control on the hardware for certain things, and I don't think C allows you to do that. Just from my ignorant point of view xD

Offline
Sweden

Oh, don't worry about that. They're really equivalent as far as hardware control goes. You know, LSDJ was written mostly in C I think.

Offline
Murcia, Spain

Ahhh right. Interesting stuff here. Thank you for your answers!

Offline
matt's mind

^as was nanovoice (or was it nanosynth?)

there is c source floating around for one of those.  commented too if you want to play with it!