summaryrefslogtreecommitdiff
path: root/boot/vesa_setup_16.asm
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-09-02 14:53:09 +0200
committerMichal Idziorek <m.i@gmx.at>2014-09-02 14:53:09 +0200
commit5348a94a6e7a16a070c502c29db30a08253a99a3 (patch)
treea60838ee9c4b7ac854084fe0eeb0e579a5afc33d /boot/vesa_setup_16.asm
parent347ee926fd09d7fb45025f2c4e4a4eeab83459c9 (diff)
Debugging paging problem on VirtualBox (VT-x)
Diffstat (limited to 'boot/vesa_setup_16.asm')
-rw-r--r--boot/vesa_setup_16.asm7
1 files changed, 3 insertions, 4 deletions
diff --git a/boot/vesa_setup_16.asm b/boot/vesa_setup_16.asm
index 7180252..96e16e2 100644
--- a/boot/vesa_setup_16.asm
+++ b/boot/vesa_setup_16.asm
@@ -33,16 +33,15 @@ VesaSetup:
jmp vesa_err2
vesa_ok2:
-
;VESA: finally switch to the mode of choice!
mov ax,0x4f02 ;vesa function: Set Mode
mov bx,VESA_MODE_SELECT
int 0x10
- vesa_err3:
- mov bx, VESA_CHECK3
- call print_string
cmp ax,0x004f
je vesa_ok3
+ vesa_err3
+ mov bx, VESA_CHECK3
+ call print_string
jmp vesa_err3
vesa_ok3:
popa