Re:Writing a BIOS bootloader for 64-bit mode from scratch
by ChickeNES on Monday July 15, 2024 @12:31AM
(#40965285)
Or just use https://limine-bootloader.org/, which greatly simplifies everything. No messing around in real mode (even when doing SMP), automatically loads your kernel using a higher-half mapping, and also works on aarch64 and riscv64.
[ Parent
| on HN ]
Re:Writing a BIOS bootloader for 64-bit mode from scratch
by bigstrat2003 on Monday July 15, 2024 @02:12AM
(#40965639)
To be fair, writing a bootloader is an interesting and educational project in its own right. But yes, for most people interested in osdev they should just use an existing bootloader. It gets you to the part that interests most people (writing the kernel) faster, and without having to worry if you are going to run into gnarly bugs because the bootloader is buggy and you never realized.