diff options
author | Benji Dial <benji3.141@gmail.com> | 2020-05-24 11:02:43 -0400 |
---|---|---|
committer | Benji Dial <benji3.141@gmail.com> | 2020-05-24 11:02:43 -0400 |
commit | 02f14113cbf14c6f842fb43ecbc68d0c851ef3b0 (patch) | |
tree | 75d2d943d9822b3f945fd947e9b91eec1d68e900 /src/boot.asm | |
parent | 31d8ae388a7ded576abd3e3d99c3d9193ea6d704 (diff) | |
download | portland-os-02f14113cbf14c6f842fb43ecbc68d0c851ef3b0.tar.gz |
very basic vga, ata, serial drivers. start of fat and fs drivers
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 |