https://github.com/dgv/zos
learning-exercise riscv unikernel zig
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dgv/zos
- Owner: dgv
- License: mit
- Created: 2025-01-08T23:12:40.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-10T23:58:13.000Z (4 months ago)
- Last Synced: 2025-02-24T15:09:04.551Z (3 months ago)
- Topics: learning-exercise, riscv, unikernel, zig
- Language: Zig
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zOS
[](https://ziglang.org/download/)
[](https://0dependencies.dev)
[](https://opensource.org/licenses/MIT)just reimplementation of [OS in 1k lines](https://operating-system-in-1000-lines.vercel.app/en/)
## setup
**linux**
```sh
sudo apt update && sudo apt install -y snapd qemu-system-misc curl
sudo snap install zig --beta --classic
git clone https://github.com/dgv/zOS; cd zOS
curl -LO https://github.com/qemu/qemu/raw/v8.0.4/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
zig build run
```
**macos**
```sh
brew install zig qemu
git clone https://github.com/dgv/zOS; cd zOS
zig build run
```