Set 11X8 Text Font [+] - Husky MP2500 Manual

Hide thumbs Also See for MP2500:
Table of Contents

Advertisement

Description

Set 11x8 text font [+]

Entry
Exit
Description
Chapter 26: INT 15H, BIOS Extension Functions [+]
If the optional backlight is fitted, use this function to
change or check how the backlight timeout is handled,
according to the contents of AL. If AL=0 that after the
backlight timeout, when the user presses a key the
backlight will turn on again. If AL=1 then the backlight
will stay off. If AL=80H, this function returns the current
setting in AL.
Note: Use AL=1 (stay off after timeout) to maximise
battery life.
AH=9FH
AL=0 reset to default (BIOS) font
AL=non-0 use custom font
DS:BX = segment:offset of font table
Registers unchanged
Use this function to select a custom font in place of the
standard definition for the 11x8 font, or to return to the
standard definition.
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 = top row of ASCII 1
...Word 255 = top row of ASCII 255
Word 256 = second row of ASCII 0
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. Bits 11 to 15
should always be set to 0 as the font is only 11 pixels
wide, not 16.
257

Advertisement

Table of Contents
loading

Table of Contents