Initial bootloader and kernel loader

This commit is contained in:
Hjin-BF
2026-02-27 22:22:48 +02:00
parent cb85514593
commit d069fc23bd
7 changed files with 160 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
[org 0x1000]
bits 16
start:
mov si, message
.print:
lodsb
cmp al, 0
je .hang
mov ah, 0x0E
int 0x10
jmp .print
.hang:
hlt
jmp .hang
message db "Kernel loaded successfully!", 0