Other Function - BootROM Font Function

syBtFntGetAddr

Gets font address

FORMAT

Uint32 syBtFntGetAddr( set, code )
SYE_BT_FNT_FONTSET set
Sint16 code

PARAMETER

 set  Font set 
 code  Shift JIS code 

RETURN

Offset from the font data starting address

DESCRIPTION

Calculates the offset from the font data starting address from the Shift JIS code in number of bytes.

The argument set that specifies the font set can have the following values.

 SYE_BT_FNT_FONTSET_WESTERN_24  ISO 8859-1 
 SYE_BT_FNT_FONTSET_JP_JIS_24  JIS X 0201 
 SYE_BT_FNT_FONTSET_JP_KANA_24  Shift JIS hiragana 
 SYE_BT_FNT_FONTSET_JP_LVL1_24  Shift JIS first standard 
 SYE_BT_FNT_FONTSET_JP_LVL2_24  Shift JIS second standard 
 SYE_BT_FNT_FONTSET_JP_GAIJ_24  SEGA special characters 
 SYE_BT_FNT_FONTSET_VMSICON  Visual memory default label icons 

8-bit codes can be specified by adding 0x00 to the upper 8-bit for the argument code (16-bit).


syBtFntGetAddr
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999