This commit is contained in:
nub31
2025-08-23 19:21:41 +02:00
parent 624c90ce88
commit 9cb2959a77
2 changed files with 12 additions and 6 deletions

View File

@@ -1,14 +1,20 @@
extern kernel_main
%define MAGIC 0x1BADB002
%define FLAGS 0x0
%define CHECKSUM -(MAGIC + FLAGS)
%define MAGIC 0xe85250d6
%define ARCH 0
%define LEN (header_end - header_start)
%define CHECKSUM -(MAGIC + ARCH + LEN)
section .multiboot
align 4
header_start:
align 8
dd MAGIC
dd FLAGS
dd ARCH
dd LEN
dd CHECKSUM
dw 0
dd 8
header_end:
section .bss
align 16