Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 468 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 468 Bytes

zig-x86-baremetal

Barebones x86 kernel written in Zig with a custom build system to run in Qemu.

Heavily based on the amazing Austin Hanson article. Bare Metal Zig

Zig Version

zig 0.14.0

Build and run

To build the kernel:

zig build-exe src/freestanding.zig -target x86-freestanding -T linker.ld

You can run the kernel with Qemu:

qemu-system-x86_64 -kernel kernel