diff options
| author | kotorifan <kotorifan05@gmail.com> | 2026-02-02 14:18:37 +0100 |
|---|---|---|
| committer | kotorifan <kotorifan05@gmail.com> | 2026-02-04 09:01:10 +0100 |
| commit | 929e57f0b5c8a49a35f8b8cab3c2eae32817a3dd (patch) | |
| tree | 610bc41f00dcdeffe828b921d2067aa76cda7f96 /src/boot/boot.stage2.asm | |
| parent | 9dbf9d0c21002983de556aa76a9d01124d556a90 (diff) | |
| download | kotori-os-929e57f0b5c8a49a35f8b8cab3c2eae32817a3dd.tar.gz | |
Stage 1 seems to work now. Replace bin with elf; Added Linker.
Diffstat (limited to 'src/boot/boot.stage2.asm')
| -rw-r--r-- | src/boot/boot.stage2.asm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/boot/boot.stage2.asm b/src/boot/boot.stage2.asm index 97a2d05..759b784 100644 --- a/src/boot/boot.stage2.asm +++ b/src/boot/boot.stage2.asm @@ -1,13 +1,19 @@ ;; boot.stage2.asm [bits 16] - [org 0x0000] %include "boot.stage2.a20.asm" %include "boot.stage2.pm.asm" + %include "boot.stage1.print.asm" + +section .stage2 - %define KERNEL_OFFSET 0x1000 _s2_entry: + mov si, boot_stage2_msg + call _print_string call _enable_a20 call _enable_pm [bits 32] + + +boot_stage2_msg: db "Entering Stage 2", 13, 10, 0 |
