summaryrefslogtreecommitdiff
path: root/src/boot.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot.asm')
-rw-r--r--src/boot.asm11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/boot.asm b/src/boot.asm
index c19534e..74a3e5e 100644
--- a/src/boot.asm
+++ b/src/boot.asm
@@ -113,15 +113,10 @@ vbe_loop:
int 0x10
mov al, byte [di]
+ not al
- test al, 0x01
- jz vbe_loop
-
- test al, 0x10
- jz vbe_loop
-
- test al, 0x80
- jz vbe_loop
+ test al, 0x9a
+ jnz vbe_loop
mov dx, word [di + 0x14];height
cmp dx, max_height