From 021ea9b271f2144f7b16ae41a9236292dea7897d Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 24 May 2020 21:55:12 -0400 Subject: basic fs type stuff, fat16, removing stack segment and using data segment --- src/boot.asm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/boot.asm') diff --git a/src/boot.asm b/src/boot.asm index f8ff1c8..8e463be 100644 --- a/src/boot.asm +++ b/src/boot.asm @@ -39,9 +39,8 @@ bits 32 pmode: mov ax, 0x10 mov ds, ax - mov ax, 0x18 mov ss, ax - mov esp, 0x00008000 + mov esp, 0x00040000 xor ebp, ebp call kernel_segment * 16 @@ -57,7 +56,6 @@ gdt: dq 0x0000_0000_0000_0000 dq 0x00c0_9a00_0000_007f dq 0x00c0_9200_0000_00ff - dq 0x0040_9203_8000_7fff .e: times $$ + 448 - $ db 0 -- cgit v1.2.3