boot/kernel: print banner
This commit is contained in:
parent
729e6790ef
commit
31c6ef5876
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user