/Bare-Bones

OSDev BareBones in Zig

Primary LanguageZig

Bare Bones x86 Kernel

Based off Bare Bones and it's Zig version on OSDev.org

Requirements

  • zig
  • grub
  • xorriso
  • qemu

Building

Windows users can use the -Dwsl flag to run GRUB commands through WSL (requires xorriso and grub to be installed on your WSL distro).

zig version
0.11.0

zig build iso
qemu-system-i386 -cdrom myos.iso
# Or
zig build run-kernel # Run kernel binary directly in QEMU

You should see a nice message like this!

Hello Kernel!