From e0371f39d12b4528996a9d2af96e722bdac7a5b4 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Tue, 12 Feb 2019 23:08:00 +0100 Subject: [PATCH] Grub stuff --- boot/loader/loader.asm | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/boot/loader/loader.asm b/boot/loader/loader.asm index 583e121..d0f127d 100644 --- a/boot/loader/loader.asm +++ b/boot/loader/loader.asm @@ -38,7 +38,7 @@ _start: mov [Bootdrv], dl xor dl, dl - jmp 0x0000:main ;; pas sûr + jmp 0x0000:main ; pas sûr [align 4] dd MULTIBOOT_HEADER_MAGIC @@ -66,39 +66,6 @@ MB_start: main: - ;; XXX NEED TO SWITCH TO RM HERE ;; - - ;; compatibility check - push si - mov si, Init - call PrintB - pop si - - call Is64bits - - jc ErrorNo64 - push si - mov si, Pass - call PrintB - pop si - - ;; Enabling A20 - push si - mov si, EnA20 - call PrintB - pop si - - call set_a20 - - push si - mov si, Pass - call PrintB - pop si - - ;; DISABLING CURSOR BLINKING AND GETTING INFOS - call get_dimensions - call disable_cursor - ;;GO GDT64 cli ; disable interrupts lgdt [GDT64]