This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Repository navigation
keonOS - 0.6-alpha
Pre-release
Pre-release
keonOS 0.6 – Alpha Milestone 🚀
This is the sixth alpha milestone of keonOS, representing a leap in capability: the transition from a basic ring 3 environment to a ** user-space ecosystem**.
While version 0.5 introduced the concept of Ring 3 execution, version 0.6 brings the tools, libraries, and filesystems necessary to actually run complex, compiled user applications from disk. With this release, keonOS introduces its own executable format, a custom C standard library, and a robust new Ext4 filesystem.
🧠 Core System & User-Space Ecosystem
- KEX Executable Format:
Introduction of the Keon Executable (KEX) format, complete with a custom ELF-inspired loader (kex_loader). The OS can now dynamically load and execute compiled binaries from the filesystem. - Custom Libc (
libc.klb):
A foundational C standard library built entirely from scratch for keonOS. It includes standard headers (stdio.h,stdlib.h,string.h,unistd.h,dirent.h,sys/stat.h) and implementations for basic memory allocation (malloc/free), string manipulation, and I/O (printf). - User-Space Toolchain:
Established theuser/application directory, featuringcrt0initialization, standard library bindings (libkex.klb), and user-space testing tools likeklbtool.
🧑💻 Advanced System Calls Interface
- Robust File Operations:
Massive expansion of the syscall interface to support true filesystem interactions. Added bindings foropen,read,write,close,mkdir, andunlink. - System Stat & Info:
Implemented thesys_statsystem call (sys_stat.cpp) to retrieve file metadata directly into user-space applications. - Improved Process/Memory Syscalls:
Refinedsys_procandsys_memsyscalls to safely map user-space requirements to kernel memory manager actions.
💽 Ext4 Filesystem & VFS
- Ext4 VFS Layer:
Introduced read/write support for the Ext4 filesystem (ext4_vfs.cpp), providing a modern, robust disk-based filesystem alternative alongside the existing RAM filesystem (RamFS). - Journaling Foundation:
Added basic Ext4 journaling components (ext4_journal.cpp) to ensure filesystem integrity and prevent corruption during crashes or power losses.
🖥 Architecture & Hardware Isolation
- Secure Thread Switching:
Overhauled thread switching mechanics (switch.asm) and thread state management (thread.cpp) to guarantee secure and reliable transitions between hardware execution rings. - User-Space Paging:
Enhanced the kernel's paging system to securely allocate, map, and isolate memory pages specifically for user-space processes, preventing user applications from overwriting kernel memory. - Driver Stability:
General maintenance, bug fixes, and stability improvements across core drivers:ata(disk),keyboard,serial,timer, andvga.
🔌 Hardware & Drivers (Carried Forward)
- Ext4 & FAT32 Filesystems with Persistent Storage
- ATA (PIO) Disk Access
- Keyboard & VGA Text Mode
- PIT Timing & PC Speaker
🛠 How to Run
- Download the attached
keonOS-0.6-x86_64-alpha.iso. - Run it using QEMU:
qemu-system-x86_64 -cdrom keonOS-0.6-x86_64-alpha.iso -serial stdio -m 512 -boot d