nothing works but time to update

This commit is contained in:
2026-04-14 10:04:20 -04:00
parent 2e3dfa9583
commit 437e7ff593
12 changed files with 238 additions and 0 deletions

22
linker.ld Normal file
View File

@@ -0,0 +1,22 @@
ENTRY(_start)
OUTPUT_FORMAT("binary")
SECTIONS
{
/* Start at the BIOS boot address */
. = 0x7c00;
.text : {
boot.o(.text) /* Ensure bootloader is at the very beginning */
*(.text) /* Compiled C code follows */
*(.rodata) /* REQUIRED: Text strings live here */
}
.data : { *(.data) }
.bss : { *(.bss) }
/* Place the 0xAA55 signature exactly at the end of the first 512 bytes */
.sig : AT(0x7dfe) {
SHORT(0xaa55);
}
}