stub boot

This commit is contained in:
spikey 2024-02-17 14:10:42 -05:00
parent c15eecde33
commit 4a0ac0efb7

View File

@ -1,14 +1,20 @@
mov ah, 0x0e ; only support mb1
mov al, 'H' align equ 1 << 0
int 0x10 info equ 1 << 1
mov al, 'E' flags equ align | info
int 0x10 magic equ 0x1BADB002
mov al, 'Y' chksum equ - (magic + flags)
int 0x10
section .multiboot
align 4
dd magic
dd flags
dd chksum
cli global _start
hlt extern sysinit
times 510 - ($ - $$) db 0 _start:
dw 0xaa55 cli
call sysinit
hlt