summaryrefslogtreecommitdiff
path: root/boot2
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-12-08 21:59:14 +0100
committerMichal Idziorek <m.i@gmx.at>2014-12-08 21:59:14 +0100
commite285e7cab2fe62e91cb726c429f872b2475fdf0a (patch)
treedfc0e78b81dc2ca9dd77641cca9be5527b2bc5de /boot2
parentddba680892e4dc8973d6c1d59f92affb987ca13b (diff)
fixed vesa fb mode!
Diffstat (limited to 'boot2')
-rw-r--r--boot2/stage2.asm2
-rw-r--r--boot2/vesa_setup_16.asm1
2 files changed, 2 insertions, 1 deletions
diff --git a/boot2/stage2.asm b/boot2/stage2.asm
index 44a4faf..160d75c 100644
--- a/boot2/stage2.asm
+++ b/boot2/stage2.asm
@@ -44,7 +44,7 @@ VESA_MODES equ 0xb000 ; do NOT overwrite yourself! be careful!
VESA_MODE_INFO equ 0xc000
VESA_MODE_SELECT equ 0x4114
-CHUNKS_TO_LOAD equ 0x0f ;number of 0x8000 * 512 byte chunks to load into ram
+CHUNKS_TO_LOAD equ 0x20 ;number of 0x8000 * 512 byte chunks to load into ram
;
jmp boot_16 ;start boot process
diff --git a/boot2/vesa_setup_16.asm b/boot2/vesa_setup_16.asm
index d4c6ca2..5bee57c 100644
--- a/boot2/vesa_setup_16.asm
+++ b/boot2/vesa_setup_16.asm
@@ -79,6 +79,7 @@ VesaSetup:
;VESA: finally switch to the mode of choice!
mov ax,0x4f02 ;vesa function: Set Mode
mov bx,VESA_MODE_SELECT
+
int 0x10
cmp ax,0x004f
je vesa_ok3