diff options
author | Benji Dial <benji3.141@gmail.com> | 2020-05-24 21:55:12 -0400 |
---|---|---|
committer | Benji Dial <benji3.141@gmail.com> | 2020-05-24 21:55:12 -0400 |
commit | 021ea9b271f2144f7b16ae41a9236292dea7897d (patch) | |
tree | 77bae3af854f9ff1fb0298ae1f71b1395a392cc1 /src/boot.asm | |
parent | 02f14113cbf14c6f842fb43ecbc68d0c851ef3b0 (diff) | |
download | portland-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.asm | 4 |
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 |