diff options
Diffstat (limited to 'src/boot.asm')
-rw-r--r-- | src/boot.asm | 9 |
1 files changed, 7 insertions, 2 deletions
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 |