Skip to content
/ zen Public

Experimental operating system written in Zig

License

Notifications You must be signed in to change notification settings

AndreaOrru/zen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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