Set 16X16 Text Font [+] - Husky MP2500 Manual

Hide thumbs Also See for MP2500:
Table of Contents

Advertisement

Note:

Set 16x16 text font [+]

Entry
Exit
Description
Note:
258
The application should select the default font again
before exiting, as the next application will probably
overwrite the custom font table, producing a scrambled
display on the LCD.
The default, restored on a cold start, is to use the
default font.
AH=A0H
AL=0 disable (use 6x8 font)
AL=non-0 use custom font
DS:BX = segment:offset of font table
Registers unchanged
Use this function to define a custom 16x16 font, or to
disable the custom font (and use 6x8 in its place).
You must supply a font table in the 640K base RAM
area in the following format:
Word 0 = top row of ASCII 0
Word 1 = next row of ASCII 0
...Word 15 = bottom row of ASCII 0
Word 16 = top row of ASCII 1
etc, etc
The table must define all 256 characters. Within each
word, the bit order is reversed, ie bit 0 defines the
leftmost pixel, bit 1 the next, and so on.
The application should select the default font again
before exiting, as the next application will probably
overwrite the custom font table, producing a scrambled
display on the LCD.
The default, restored on a cold start, is to disable the
custom font.
H
MP2500 System Developer's Guide
USKY

Advertisement

Table of Contents
loading

Table of Contents