summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Ruppert <info@vruppert.de>2005-07-02 18:39:43 +0000
committerVolker Ruppert <info@vruppert.de>2005-07-02 18:39:43 +0000
commit790ee624287a4d40d069b0b4bcecdaf4a1c535f4 (patch)
tree8ba01086b739364ebb84ea978287a71f68dc06a3
parent24e1498866fbda10325670f4fbe945d5869d55b4 (diff)
- BIOS configuration word usually reports initial mode 80x25 color text
- vgabios function 0x0e (write teletype): linefeed (0x0a) only increments the cursor row value
-rw-r--r--vgabios.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vgabios.c b/vgabios.c
index cbff92c..5de9c5b 100644
--- a/vgabios.c
+++ b/vgabios.c
@@ -421,6 +421,8 @@ init_bios_area:
mov bx, # BIOSMEM_INITIAL_MODE
mov ax, [bx]
and ax, #0xffcf
+;; set 80x25 color (not clear from RBIL but usual)
+ or ax, #0x0020
mov [bx], ax
;; Just for the first int10 find its children
@@ -1914,7 +1916,6 @@ Bit8u car;Bit8u page;Bit8u attr;Bit8u flag;
break;
case '\n':
- xcurs=0;
ycurs++;
break;