Initial bootloader and kernel loader
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user