/zen

Experimental operating system written in Zig

Primary LanguageAssemblyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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