rdos/kernel.asm

15 lines
170 B
NASM

org 0x7C00
main: mov si, msg
mov ah, 0x0e
xor bx, bx
loop: lodsb
test al, al
jz end
int 0x10
jmp loop
end: hlt
jmp end
msg: db "rdos kernel stub", 0x0A, 0x0D, 0