diff options
author | Volker Ruppert <info@vruppert.de> | 2006-08-19 09:39:43 +0000 |
---|---|---|
committer | Volker Ruppert <info@vruppert.de> | 2006-08-19 09:39:43 +0000 |
commit | c03e95176081823fdde3efd2912a3fb5cb5a50d5 (patch) | |
tree | 23bd5309fb5e528e7570c7168c1b6383254f3864 | |
parent | 4eefe2c313351dd185536d23218c47aeb4642fec (diff) | |
download | qemu-vgabios-c03e95176081823fdde3efd2912a3fb5cb5a50d5.tar.gz |
- improved VGA compatible setup for VBE modes (disable CGA and Hercules
compatible memory layout)
-rw-r--r-- | vbe.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -574,6 +574,12 @@ bit9_clear: mov dx, # VGAREG_VGA_CRTC_ADDRESS mov ax, #0x0009 out dx, ax + mov al, #0x17 + out dx, al + mov dx, # VGAREG_VGA_CRTC_DATA + in al, dx + or al, #0x03 + out dx, al mov dx, # VGAREG_ACTL_RESET in al, dx mov dx, # VGAREG_ACTL_ADDRESS |