jzck / Kernel Zig
💾 hobby x86 kernel zig
Stars: ✭ 301
Projects that are alternatives of or similar to Kernel Zig
tinyos
An UNIX-like toy operating system runs on x86 CPU
Stars: ✭ 47 (-84.39%)
Mutual labels: kernel, x86
Toaru Nih
NOTICE: The ToaruOS-NIH Project has been MERGED UPSTREAM. This repository is now archived.
Stars: ✭ 66 (-78.07%)
Mutual labels: x86, kernel
Reactos
A free Windows-compatible Operating System
Stars: ✭ 10,216 (+3294.02%)
Mutual labels: x86, kernel
Macaron
A sweet hobby made operating system written in C++ for x86 CPUs with GUI
Stars: ✭ 34 (-88.7%)
Mutual labels: kernel, x86
Toaruos
A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.
Stars: ✭ 4,687 (+1457.14%)
Mutual labels: x86, kernel
TravorOS
A simple OS running on Intel x86 architecture | No longer updating
Stars: ✭ 24 (-92.03%)
Mutual labels: kernel, x86
scaraOS
A 32bit multiboot OS kernel for IA32 (PC/AT) systems.
Stars: ✭ 31 (-89.7%)
Mutual labels: kernel, x86
Dennix
Dennix is a unix-like hobbyist operating system written from scratch.
Stars: ✭ 53 (-82.39%)
Mutual labels: x86, kernel
The holy book of x86
A simple guide to x86 architecture, assembly, memory management, paging, segmentation, SMM, BIOS....
Stars: ✭ 577 (+91.69%)
Mutual labels: x86, kernel
Jingos
JingOS - The World’s First Linux-based OS design for Tablets
Stars: ✭ 101 (-66.45%)
Mutual labels: x86, kernel
Ghost
Ghost, a micro-kernel based hobby operating system for the x86 architecture.
Stars: ✭ 353 (+17.28%)
Mutual labels: x86, kernel
x86 starterkit
👷🏻♂️ An easy starting point for your first OS/Kernel
Stars: ✭ 32 (-89.37%)
Mutual labels: kernel, x86
RocketOS
RocketOS is a Unix based OS that uses legacy BIOS and GRUB and is written in C17. It is being developed for educational purposes primarily, but it still is a serious project. It is currently in its infancy.
Stars: ✭ 23 (-92.36%)
Mutual labels: kernel, x86
Xbook2
xbook2是一个基于x86处理器的32位操作系统,实现了大量的基础功能,可以拿来学习操作系统知识。
Stars: ✭ 273 (-9.3%)
Mutual labels: x86, kernel
hobby kernel in zig
features
- 80x25 frame buffer
- ps2 keyboard driver
- terminal console
- lspci
- x86
- MMU
- interrupts
- pit timer
- scheduler
- time slice preemption with round robin
- sleep()
- block()/unblock()
- Storage
- IDE ATA driver (in progress)
dependencies
- ziglang 0.5.0
compiling
zig build
compiles and links the multiboot kernel (without a bootloader)
running
./qemu.sh start
./qemu.sh monitor
./qemu.sh quit
-
gdb
(see provided.gdbinit
)
Notes
interrupt call chain
interrupt
-> idt[n]
-> isrN
-> isrDispatch
-> handlers[n]
(default unhandled()
)
References
- zig microkernel: https://github.com/AndreaOrru/zen
- scheduling tutorial: https://wiki.osdev.org/Brendan%27s_Multi-tasking_Tutorial
- booting/paging/interrupts: https://os.phil-opp.com/
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].