From 5348a94a6e7a16a070c502c29db30a08253a99a3 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Tue, 2 Sep 2014 14:53:09 +0200 Subject: Debugging paging problem on VirtualBox (VT-x) --- boot/vesa_setup_16.asm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'boot/vesa_setup_16.asm') 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 -- cgit v1.2.3