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 > Tutorial for Mode0!!!

#44697 - Edry-Roy - Sat Jun 04, 2005 11:31 am

Hello, I'm an Italian programmer and I'm working on GBA Hardware from 6 mounths. But, I only know to program on Mode4 and 5, and I would want to know how to program on Mode 0! I'm serching for a Tutorial to apprend the technics to program a game in Mode0!!!!

Thanks to everybody that can help me! XD

#44703 - ymalik - Sat Jun 04, 2005 1:34 pm

I would have suggested the tutorial at the Pern Project, but that site has changed drastically. You can instead try Chapter 6 of Harbour's book. Be careful because the book is not accurate and does not go into enough detail (maybe that's why Nintendo didn't publish it). You can also try Cearn's regular background tutorial, which is also very good.

#44707 - Edry-Roy - Sat Jun 04, 2005 2:29 pm

ymalik wrote:
I would have suggested the tutorial at the Pern Project, but that site has changed drastically. You can instead try Chapter 6 of Harbour's book. Be careful because the book is not accurate and does not go into enough detail (maybe that's why Nintendo didn't publish it). You can also try Cearn's regular background tutorial, which is also very good.


thank you so much, so I can start to study the mode0!Thanks! XD

I think that I'll start with the Harbour's book...

#44732 - ymalik - Sat Jun 04, 2005 7:06 pm

Again, be careful with that Harbour book. Be sure to read other references as well.

Yasir

#44984 - Shade - Tue Jun 07, 2005 2:09 am

I was going to recommend the Harbour book as well. I second your comment on needing more references (such as these files, which are useful for the bit layouts but are quite confusing as tutorials).

Take heed that you should check the earlier Harbour chapters for some important #define s and other concepts.

Cheers

#44998 - wintermute - Tue Jun 07, 2005 3:01 am

For what it's worth, I pretty much advise staying as far away from the Harbour book as possible.

http://user.chem.tue.nl/jakvijn/tonc/index.htm

http://www.thepernproject.com/index.php?system_id=2&page=Tutorials

#45004 - Shade - Tue Jun 07, 2005 3:19 am

wintermute wrote:
For what it's worth, I pretty much advise staying as far away from the Harbour book as possible.

Really? Wow. I'm just starting, so I guess I wouldn't know better (yet). Why do you feel so strongly about that? Tell me about your childhood. >;) [j/k]

But the Pern Project didn't seem to have what I was looking for. Guess I'll check the TONC reference better (which, as I see now, looks like just what I need). Thanks!

Cheers
_________________
"Whenever you find you're on the side of the majority, it's time to pause and reflect." -- Mark Twain

#45069 - ymalik - Tue Jun 07, 2005 2:10 pm

The Harbour book is badly written and just does not go into enough detail. He just presents code and expects you to understand it. It just makes you wonder if he knows what he's talking about. For example, he didn't even explain what the different flags mean in his DMA fast copy function do. He also has some mistakes. The most glaring mistake is his vblank function. His coding standards are horrible: he includes C source code from gfx2gba at the beginning of his code. His assembly chapter is a joke.
Is this why Nintendo didn't let Harbour publish his book?

#45070 - ymalik - Tue Jun 07, 2005 2:13 pm

However, I do keep his book as a reference.