diff options
author | Christophe Bothamy <cbothamy@users.sourceforge.net> | 2003-11-05 23:21:19 +0000 |
---|---|---|
committer | Christophe Bothamy <cbothamy@users.sourceforge.net> | 2003-11-05 23:21:19 +0000 |
commit | 75a3f93d596aca0a575603fca213e0b4f449335d (patch) | |
tree | 6e8b4f23fbff6bc70c4095dfaaf8b535a1b2234e | |
parent | e29d356f8e21cf63079c6031ee68196935f54d8a (diff) | |
download | vgabios-75a3f93d596aca0a575603fca213e0b4f449335d.tar.gz |
- activate char table after loading it when setting a text video mode
-rw-r--r-- | vgabios.c | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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 |