Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreaorru/zen
Experimental operating system written in Zig
https://github.com/andreaorru/zen
kernel operating-system os zig
Last synced: 1 day ago
JSON representation
Experimental operating system written in Zig
- Host: GitHub
- URL: https://github.com/andreaorru/zen
- Owner: AndreaOrru
- License: bsd-3-clause
- Created: 2017-04-04T20:02:11.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-12-01T12:03:01.000Z (2 months ago)
- Last Synced: 2025-01-29T11:39:13.317Z (1 day ago)
- Topics: kernel, operating-system, os, zig
- Language: Zig
- Homepage:
- Size: 290 KB
- Stars: 457
- Watchers: 21
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zen [![Build Status](https://travis-ci.org/AndreaOrru/zen.svg?branch=master)](https://travis-ci.org/AndreaOrru/zen)
Experimental operating system written in [Zig](http://ziglang.org).**NOTE:** A rewrite using modern Zig is currently in progress in the [reboot](https://github.com/AndreaOrru/zen/tree/reboot) branch.
## 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
```