--- /dev/null
+/*\r
+ * This is the text subsystem for project 16.\r
+ * These functions provide for the rendering of text strings\r
+ * using the BIOS fonts.\r
+ * They copy the font characters directly to VGA.\r
+ */\r
+#ifndef TEXT_H\r
+#define TEXT_H\r
+#include "types.h"\r
+\r
+/* font information type */\r
+typedef struct font {\r
+ word seg; //segment for the font\r
+ word off; //offset in the segment for the font\r
+ byte charSize; //bytes in each character\r
+} font_t;\r
+\r
+/* storage for the rom fonts */\r
+extern font_t romFonts[4];\r
+#define ROM_FONT_8x14 0\r
+#define ROM_FONT_8x8_LOW 1\r
+#define ROM_FONT_8x8_HIGH 2\r
+#define ROM_FONT_8x16 3\r
+\r
+/* This function initializes the text engine */\r
+void textInit();\r
+\r
+#endif\r