I like the following x86 assembly real-mode to protected-mode bootloader a lot:
(Taking a quick glance, it seems to be very well written and robust -- at least as far as "old-skool" (should run on ancient PC's back to 386's!) FAT, non-UEFI, x86 assembly bootloaders go...)
peter_d_sherman•1h ago
(Taking a quick glance, it seems to be very well written and robust -- at least as far as "old-skool" (should run on ancient PC's back to 386's!) FAT, non-UEFI, x86 assembly bootloaders go...)
https://github.com/ZystemOS/pluto/tree/develop/src/bootloade...