SecondBASIC Documentation v3

Home / Command Reference / LoadFont


Description: Loads a 1 bit font into memory. The values (0 or 1) represent the color index of the palette to be displayed. Palette 0 is used by default by the Print command.


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.


    Option NoLoadFont
    Print "Hello World"
    Sleep 50
    LoadFont ,256,0