diff options
author | Marvin Borner | 2019-09-23 23:14:12 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-23 23:14:12 +0200 |
commit | cd9da0edc6a7838353948a394748a4a16dd47b83 (patch) | |
tree | 0b7275e5de3f24f1b3f7e7e849d1b6281d5e3f27 /src/kernel/boot.asm | |
parent | 5677a45f33091e05077daff5be8e576e51470a0e (diff) |
Further tried developing a working VESA driver (failing)
Diffstat (limited to 'src/kernel/boot.asm')
-rw-r--r-- | src/kernel/boot.asm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/kernel/boot.asm b/src/kernel/boot.asm index 5ee93f0..98b122c 100644 --- a/src/kernel/boot.asm +++ b/src/kernel/boot.asm @@ -1,6 +1,8 @@ -[BITS 32] global start start: + [BITS 16] + call search_video_mode + [bits 32] mov esp, _sys_stack ; Points stack to stack area jmp stublet @@ -29,6 +31,7 @@ mboot: dd start ; Endless loop +[bits 32] stublet: extern kernel_main call kernel_main @@ -42,7 +45,7 @@ stublet: %include "src/kernel/interrupts/irq.asm" -; %include "src/kernel/graphics/vesa.asm" +%include "src/kernel/graphics/vesa.asm" ; Store the stack SECTION .bss |