diff --git a/boot/kernel.asm b/boot/kernel.asm index 09f5c37..a430c74 100644 --- a/boot/kernel.asm +++ b/boot/kernel.asm @@ -14,12 +14,18 @@ init: cli mov ss, ax mov sp, ( stack+stacksize ) - int 3 +print_banner: mov si, banner + mov ah, 0x0e + xor bx, bx +.loop: lodsb + int 0x10 + cmp al, 0x0D + jnz .loop hlt: hlt jmp hlt - db "rdos kernel" +banner: db "rdos kernel", 0x0A, 0x0D end: align 512