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 > Displaying a text character for dummies

#42651 - Impatient - Fri May 13, 2005 7:54 pm

I have a bitmap font. and I want to display a simple character .. in other words, what is the easiest way to code some code that takes a bitmap font character and shows it on screen?

#42653 - poslundc - Fri May 13, 2005 8:02 pm

The easiest way is if it's an 8x8 font to set up a text background, load your font tiles into one of the CBBs, and set the map entries of the background in the SBB to match whichever glyph of font you want to display in a certain square.

If you aren't picky about the font, even easier is Tepples' AGBTTY.

If it isn't an 8x8 font, you've got your work cut out for you. Search the forum for "advanced text system".

Dan.

#42676 - Impatient - Fri May 13, 2005 11:06 pm

CBBS?? SBBS ????

#42679 - poslundc - Fri May 13, 2005 11:14 pm

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

Dan.

#42794 - Impatient - Sun May 15, 2005 2:01 am

Interesting tutorial, although its pretty hard and I assume primarily aimed and experienced programmers with other languages.

What I also really need is a Monotyped 8x8 font. Like the HAMLIB font itself, do any of you know if it can be downloaded from somewhere? I use the Visual HAM IDE and HAM but can't find the actual character data for the font :-(

#42801 - tepples - Sun May 15, 2005 3:21 am

AGBTTY should solve your problems.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#42803 - Impatient - Sun May 15, 2005 3:24 am

But all I need is a monospaced 8x8 bitmap font in 1 color... as a BMP file

#42806 - tepples - Sun May 15, 2005 3:34 am

  • AGBTTY comes with such a font.
  • There's no shortage of fonts.

_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.