diff options
author | Volker Ruppert <info@vruppert.de> | 2002-09-08 19:14:31 +0000 |
---|---|---|
committer | Volker Ruppert <info@vruppert.de> | 2002-09-08 19:14:31 +0000 |
commit | 06816c6d4eb322075a03ac7a66583f6a53218da8 (patch) | |
tree | d0d29b10790164727ea5aa2a2670296378ce537d | |
parent | 70ba8d55b2edf333dc8261e3e795a77bd2aa5cd5 (diff) | |
download | vgabios-06816c6d4eb322075a03ac7a66583f6a53218da8.tar.gz |
- set the cursor shape depending on the current font height
- clear BL before calling int 0x10 function 0x1103 in vgabios_init_func
-rw-r--r-- | vgabios.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -235,6 +235,7 @@ init_no_vbe_display: mov bl, #0x00 int #0x10 mov ax, #0x1103 + mov bl, #0x00 int #0x10 ;; show info @@ -935,8 +936,14 @@ static void biosfn_set_video_mode(mode) Bit8u mode; // Set cursor shape if(vga_modes[line].class==TEXT) { - //biosfn_set_cursor_shape(0x06,0x07); // CGA - biosfn_set_cursor_shape(0x0A,0x0B); // Monochrome + if(cheight<14) + { + biosfn_set_cursor_shape(0x06,0x07); + } + else + { + biosfn_set_cursor_shape(0x0C,0x0D); + } } // Set cursor pos for page 0..7 |