This project aims to create the fastest and stable operating system using the Zig programming language. The project is still in its early stages and is not yet ready for production use. All contributions are welcome!
- Bootloader using UEFI because BIOS is outdated... really outdated.
- Kernel written in Zig for better performance and safety.
- Every features are welcome!
Note
Just keep in mind that we want to get the best performance and stability possible.
Note
For Windows users, it's recommended to use WSL (Windows Subsystem for Linux) to run the commands. You can install WSL by following Microsoft's guide.
The project uses Taskfile for automation. Here are the available commands:
Installs all required dependencies:
- Installs ZVM (Zig Version Manager)
- Installs specified Zig version (latest or nightly)
- Installs system dependencies (QEMU and xorriso)
Compiles the project:
- Builds bootloader (UEFI compatible)
- Builds kernel
- Creates necessary binaries in
bin/directory
Executes the OS in QEMU:
- Uses QEMU to emulate x86_64 architecture
- Loads bootloader and kernel
- Provides serial output through stdio
Removes all generated files from bin/ directory
Launches OS in QEMU with development features:
- Enables hardware acceleration on Linux (KVM)
- Basic mode on macOS
Creates bootable ISO image:
- Uses xorriso to package the OS
- Creates ISO file in
bin/directory
-
Memory Management
- Implement proper page allocation
- Add memory protection mechanisms
- Implement heap allocation
-
Process Management
- Add process scheduling
- Implement context switching
- Add basic system calls
-
File System
- Implement a basic file system
- Add file operations (read/write)
- Support directories
-
Device Drivers
- Add keyboard driver
- Implement display driver
- Add storage drivers
-
Error Handling
- Improve error messages
- Add error recovery mechanisms
- Implement proper panic handling
Note
The bootloader uses UEFI, which provides better compatibility with modern hardware compared to legacy BIOS bootloaders.
Warning
Running custom operating systems in QEMU is safe, but be careful when trying to boot on real hardware as it might cause damage if not properly tested.
Feel free to contribute by:
- Forking the repository
- Creating a feature branch
- Making your changes
- Submitting a pull request
Important
This project has not been licensed yet. Please don't use it for commercial purposes without permission. We are working on choosing a suitable license for this project.