From c52ec26b1ae2e970e05efe7efbc925fb6cb52c04 Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Fri, 30 Jul 2004 19:32:57 +0000 Subject: [PATCH] - cirrus init: set standard vga mode and reset bitblt --- clext.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/clext.c b/clext.c index 050e2e8..bd630de 100644 --- a/clext.c +++ b/clext.c @@ -343,7 +343,7 @@ cirrus_init: call cirrus_check jnz no_cirrus SET_INT_VECTOR(0x10, #0xC000, #cirrus_int10_handler) - mov al, #0x0f + mov al, #0x0f ; memory setup mov dx, #0x3C4 out dx, al inc dx @@ -353,6 +353,13 @@ cirrus_init: mov al, #0x0a dec dx out dx, ax + mov ax, #0x0007 ; set vga mode + out dx, ax + mov ax, #0x0431 ; reset bitblt + mov dx, #0x3CE + out dx, ax + mov ax, #0x0031 + out dx, ax no_cirrus: ret -- 2.11.4.GIT