A small x86-64 kernel. Stage 0 goes from real mode to long mode inside the boot sector.
Commits on Sep 19, 2026
Commits on Sep 12, 2026
Share one zeroing loop for all three tables: -16 bytes
…
The tables are contiguous and rep stosw leaves DI just past each one, so a single count of 3 * 4096 / 2 words clears all three.
Commits on Sep 5, 2026
Print the banner from 64-bit code
oseicommitted
Commits on Aug 27, 2026
Real mode straight to long mode
…
CR4.PAE, CR3, EFER.LME, then CR0.PG and CR0.PE in a single write. QEMU takes the far jump without a stop in protected mode on the way.
Commits on Aug 16, 2026
Keep bit 0 of port 0x92 clear
…
Bit 0 of System Control Port A is a fast reset. Writing back what was read can carry a set bit 0 with it on some chipsets, so mask it off before the out.
sentryagentcommitted
Commits on Aug 8, 2026
Commits on Aug 1, 2026
Fast A20 through port 0x92
oseicommitted