zen icon indicating copy to clipboard operation
zen copied to clipboard

Experimental operating system written in Zig

Zen Build Status

Experimental operating system written in Zig.

Build and test

To build the kernel, simply type:

zig build

You can run and debug the kernel straight away with Qemu:

# Run the kernel inside the emulator.
zig build qemu

# Wait for a GDB connection first (for debugging).
zig build qemu-debug
gdb

You can also generate a bootable ISO and try it on Bochs (or on real hardware if you feel like it):

./iso.sh    # Generate run/zen.iso
./bochs.sh