summaryrefslogtreecommitdiff
path: root/src/boot.asm
diff options
context:
space:
mode:
authorBenji Dial <benji3.141@gmail.com>2020-05-24 21:55:12 -0400
committerBenji Dial <benji3.141@gmail.com>2020-05-24 21:55:12 -0400
commit021ea9b271f2144f7b16ae41a9236292dea7897d (patch)
tree77bae3af854f9ff1fb0298ae1f71b1395a392cc1 /src/boot.asm
parent02f14113cbf14c6f842fb43ecbc68d0c851ef3b0 (diff)
downloadportland-os-021ea9b271f2144f7b16ae41a9236292dea7897d.tar.gz
basic fs type stuff, fat16, removing stack segment and using data segment
Diffstat (limited to 'src/boot.asm')
-rw-r--r--src/boot.asm4
1 files changed, 1 insertions, 3 deletions
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