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 > writing GBC game

#175979 - squidtantrum - Mon Mar 14, 2011 8:32 am

Please excuse my complete noobery, as I am just getting into development and actually programming in general.

-BUT-

Can I just gbadev to create games for the gbc? I know that gbc games will work on a gba, but I want to be able to load this onto a blank cartridge and play it through a gbc.

#175982 - Jinroh - Mon Mar 14, 2011 4:41 pm

Google's a good place to start, but here's some links to get you started. Your Flash Cart for your GBA should play GBC Roms, I think mine does. But using DevKitPro I don't think you can make GBC Roms per se. I may be wrong, but you could make a GBA Rom that uses 15 colour sprites, but it'll still be built for the GBA hardware.

Anyway, here's a few promising links.

Loriak Great Resource.
www.loirak.com/gameboy/gbprog.php

http://www.rrsd.com/software_development/gameboy_development/index.htm

Devrs, always a good choice. ^^
http://www.devrs.com/gb/

Good luck!
_________________
The lone Wolf howls, driven by pride he presses on. Knowing not where he goes, but only where he wants to be.
~Me~

The Lone Wolf Of Jinroh Dev.

#175983 - Dwedit - Mon Mar 14, 2011 5:53 pm

If you want to make games for the GBC, you need to use a variant of Z80 assembly language with slightly different instructions. GBA is much easier to program for, since you can use C or C++ instead of ASM.

And it's 3 color sprites (4 colors, one is transparent), not 15.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#175994 - dantheman - Wed Mar 16, 2011 6:48 am

Jinroh wrote:
Your Flash Cart for your GBA should play GBC Roms, I think mine does.


Typically this can only be done by emulating it with the Goomba / Goomba Color emulator when in GBA mode, or using the original F2A cart with the "F2A Bridge" addon. Otherwise you'll need a true GB/C-mode flash cart.

#176014 - Jinroh - Fri Mar 18, 2011 2:29 pm

dantheman wrote:
Jinroh wrote:
Your Flash Cart for your GBA should play GBC Roms, I think mine does.


Typically this can only be done by emulating it with the Goomba / Goomba Color emulator when in GBA mode, or using the original F2A cart with the "F2A Bridge" addon. Otherwise you'll need a true GB/C-mode flash cart.


Yeah you're right, I was thinking of regular old GB games. XD Yeah I always use Goomba to play GBC roms.
_________________
The lone Wolf howls, driven by pride he presses on. Knowing not where he goes, but only where he wants to be.
~Me~

The Lone Wolf Of Jinroh Dev.