summaryrefslogtreecommitdiff
path: root/boot/vesa_setup_16.asm
diff options
context:
space:
mode:
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