N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

## nosLoadFont

Syntax

    void nosLoadFont(u16 *font_buf);

Explanation
It expands font data in memory. Specifically, it expands, compresses, and stores character font data in RAM and enables the application to be used. This expansion is performed in the order of the N64 font codes. The starting address of the expanded buffer is pointed to by the font_buf 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 and 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 in the N64 Programming Manual.

Nintendo® Confidential Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.
Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated March 1998