nosLoadFont (function)

Loads font data onto memory

Syntax

#include <libnos.h>    
void  nosLoadFont (u16  *font_buf);

Description

nosLoadFont loads the compressed character font data onto the RAM in order of the N64 font code, so that the application can use it. This function takes the starting address for the buffer to load font data as the argument. The required buffer sizes are:

English 2112 bytes (0x840) ... defined by FONTSIZE_E
English + Japanese 4768 bytes (0x12a0) ... defined by FONTSIZE_J

The size of the character font is 16 dots wide by 16 dots high. A string 16 dots wide corresponds to 16 bits of data, with Hi referring to the left side of the font and Lo referring to the right side.

The N64 font code, which is the order in which the character font is arranged, is shown here.


Revision History

04/30/1999 Changed Format