Add a fat12-enabled boot sector

This commit is contained in:
2025-09-24 00:49:54 +02:00
parent bdb2fce4db
commit 3c90dd8b3d
4 changed files with 136 additions and 7 deletions

20
bootsect.ld Normal file
View File

@@ -0,0 +1,20 @@
SECTIONS {
. = 0x7c00;
.text : {
KEEP(*(.init))
*(.text*)
}
.rodata : {
*(.rodata*)
}
.bss (NOLOAD) : {
* (.bss)
}
.data : {
*(.data)
}
}