18 lines
199 B
NASM
18 lines
199 B
NASM
org 0x7C00
|
|
|
|
main: push cs
|
|
pop ds
|
|
mov si, msg
|
|
mov ah, 0x0e
|
|
xor bx, bx
|
|
loop: lodsb
|
|
test al, al
|
|
jz end
|
|
int 0x10
|
|
jmp loop
|
|
end: hlt
|
|
jmp end
|
|
|
|
align 2048
|
|
msg: db "rdos kernel stub", 0x0A, 0x0D, 0
|