2020-03-25 21:56:00 +01:00
|
|
|
org 0x7C00
|
|
|
|
|
2020-04-01 15:09:01 +02:00
|
|
|
main: push cs
|
|
|
|
pop ds
|
|
|
|
mov si, msg
|
2020-03-25 21:56:00 +01:00
|
|
|
mov ah, 0x0e
|
|
|
|
xor bx, bx
|
|
|
|
loop: lodsb
|
|
|
|
test al, al
|
|
|
|
jz end
|
|
|
|
int 0x10
|
|
|
|
jmp loop
|
|
|
|
end: hlt
|
|
|
|
jmp end
|
|
|
|
|
2020-04-01 15:09:01 +02:00
|
|
|
align 2048
|
2020-03-25 21:56:00 +01:00
|
|
|
msg: db "rdos kernel stub", 0x0A, 0x0D, 0
|