kernel stub: force large size to make sure cluster chaining works

This commit is contained in:
Nero 2020-04-01 13:09:01 +00:00
parent 1981a8efba
commit cb48e628db

View File

@ -1,6 +1,8 @@
org 0x7C00 org 0x7C00
main: mov si, msg main: push cs
pop ds
mov si, msg
mov ah, 0x0e mov ah, 0x0e
xor bx, bx xor bx, bx
loop: lodsb loop: lodsb
@ -11,4 +13,5 @@ loop: lodsb
end: hlt end: hlt
jmp end jmp end
align 2048
msg: db "rdos kernel stub", 0x0A, 0x0D, 0 msg: db "rdos kernel stub", 0x0A, 0x0D, 0