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 > Text!

#177335 - hannah - Thu Apr 19, 2012 7:49 pm

Just wondering how to get text working, Ive got text.cpp with 128 characters
how can I get each to load into a different charblock? Like a for loop?

Sorry I'm a complete beginner...

#177814 - WriteASM - Tue Mar 19, 2013 1:21 pm

What compiler are you using? If you're using devkitARM, it has some example code (in the "devkitpro\examples" directory), which should help.
Or if you're new to programming in general, and are trying to program a GBA, you might want to look into Dragon BASIC, a compiler which allows you to write in BASIC.

Generally speaking, when I am learning to write code for a new system (be it GBC, GBA, microprocessors, computers, etc.), I look at example source code first. Then I start tweaking the code, and usually can get a pretty good feel for how the code works.

I do notice that this post is almost a year old, but hope that this helps. Or that you've found the answer elsewhere.