From 02f14113cbf14c6f842fb43ecbc68d0c851ef3b0 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 24 May 2020 11:02:43 -0400 Subject: very basic vga, ata, serial drivers. start of fat and fs drivers --- src/boot.asm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/boot.asm') diff --git a/src/boot.asm b/src/boot.asm index fecf466..f8ff1c8 100644 --- a/src/boot.asm +++ b/src/boot.asm @@ -41,9 +41,14 @@ pmode: mov ds, ax mov ax, 0x18 mov ss, ax - mov sp, 0x7ffc + mov esp, 0x00008000 + + xor ebp, ebp + call kernel_segment * 16 - jmp kernel_segment * 16 +halt: + hlt + jmp halt gdt: dw .e - .t -- cgit v1.2.3