LoadFont
Previous  Next

Description: Replaces the internal font with a user created font.

     Syntax:
     
LoadFont [<FontLabel>], [<TileCount>], [<Index>]

Part
Description
<FontLabel>
Optional. This is the line label where the user created font data resides. If omitted, the default font will be loaded.
<TileCount>
Optional. How many characters are to be loaded. If omitted, a default value of 256 will be used.
<Index>
Optional. Sets the location in VRAM to load the font. If omitted, a default value of 0 will be used.

Notes: Fonts are loaded as 1 bit fonts. If the bit is set to 0, the pixel will be the background color and 1 will draw the pixel as the foreground color.

Example:

        LoadFont ,256,100        ' Load the default font starting at VRAM location 100
        DrawTile 165,1,1           ' Draw "A" to the screen