aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Bothamy <cbothamy@users.sourceforge.net>2003-11-05 23:21:19 +0000
committerChristophe Bothamy <cbothamy@users.sourceforge.net>2003-11-05 23:21:19 +0000
commit75a3f93d596aca0a575603fca213e0b4f449335d (patch)
tree6e8b4f23fbff6bc70c4095dfaaf8b535a1b2234e
parente29d356f8e21cf63079c6031ee68196935f54d8a (diff)
downloadvgabios-75a3f93d596aca0a575603fca213e0b4f449335d.tar.gz
- activate char table after loading it when setting a text video mode
-rw-r--r--vgabios.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/vgabios.c b/vgabios.c
index 2301dea..da20f18 100644
--- a/vgabios.c
+++ b/vgabios.c
@@ -967,8 +967,22 @@ static void biosfn_set_video_mode(mode) Bit8u mode;
// Write the fonts in memory
if(vga_modes[line].class==TEXT)
- {
+ {
+ // TEXT class is always 16 lines high
+ /*
biosfn_load_text_8_16_pat(0x04,0x00);
+ biosfn_set_text_block_specifier(0);
+ */
+ // Same in asm here
+ASM_START
+ ;; copy and activate 8x16 font
+ mov ax, #0x1104
+ mov bl, #0x00
+ int #0x10
+ mov ax, #0x1103
+ mov bl, #0x00
+ int #0x10
+ASM_END
}
// Set the ints 0x1F and 0x43