2 * This is the text subsystem for project 16.
\r
3 * These functions provide for the rendering of text strings
\r
4 * using the BIOS fonts.
\r
5 * They copy the font characters directly to VGA.
\r
11 /* font information type */
\r
12 typedef struct font {
\r
13 word seg; //segment for the font
\r
14 word off; //offset in the segment for the font
\r
15 byte charSize; //bytes in each character
\r
18 /* storage for the rom fonts */
\r
19 extern font_t romFonts[4];
\r
20 #define ROM_FONT_8x14 0
\r
21 #define ROM_FONT_8x8_LOW 1
\r
22 #define ROM_FONT_8x8_HIGH 2
\r
23 #define ROM_FONT_8x16 3
\r
25 /* This function initializes the text engine */
\r