Repository navigation
Releases
keonOS - 0.6-alpha
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
keonOS - 0.5-alpha
keonOS 0.5 – Alpha Milestone 🚀
This is the fifth alpha milestone of keonOS, representing an architectural leap:
the transition from a kernel-only execution model to an isolated userland.
Version 0.5 introduces Ring 3 (user mode) execution, a minimal userspace ABI, and
the first userspace shell. With this release, keonOS stops being “just a kernel”
and becomes a multi-ring operating system.
🧠 Core System Improvements
- Ring 3 (User Mode) Support:
Full support for executing code in user mode with proper privilege separation. - Privilege Level Separation:
Clear distinction between kernel (Ring 0) and user (Ring 3) execution contexts,
enforcing hardware-level isolation. - Userspace ABI:
Defined interface between kernel and user programs, forming the foundation for
system calls and future userspace applications. - Context Switching Enhancements:
Extended task switching logic to safely transition between kernel and user mode.
🧑💻 Userspace & Shell
- Userspace Shell:
The shell now runs entirely in Ring 3, marking the first real userspace program
in keonOS. - Kernel ↔ Userspace Boundary:
Shell interactions are routed through the kernel, validating the new execution model. - Command Execution Framework:
Initial infrastructure for executing and managing userspace programs.
🧵 Multitasking & Process Model
- User Threads / Tasks:
Support for scheduling user-mode tasks alongside kernel threads. - Safe Return to Kernel:
Controlled transitions from Ring 3 back to Ring 0 for system services. - Improved Fault Isolation:
User-mode faults no longer directly compromise kernel stability.
🖥 Architecture & Low-Level
- x86_64 Long Mode:
Continued native 64-bit support with segmentation and privilege levels correctly configured. - GDT / TSS Enhancements:
Updated descriptor tables to support multi-ring execution. - Stack Separation:
Dedicated kernel stacks for user-mode transitions.
🔌 Hardware & Drivers (Carried Forward)
- ATA (PIO) Disk Access
- FAT32 Filesystem with Persistent Storage
- Keyboard & VGA Text Mode
- PIT Timing & PC Speaker
🛠 How to Run
- Download the attached
keonOS-0.5-x86_64-alpha.iso. *Note: the iso is actually called keonOS on this release. I'm sorry for the unconvinience! - Run it using QEMU:
qemu-system-x86_64 -cdrom keonOS-0.5-x86_64-alpha.iso -serial stdio -m 512 -boot d
keonOS - 0.4-alpha
keonOS 0.4 - Alpha Milestone 🚀
This is the fourth alpha milestone of keonOS, marking the transition from a
kernel-focused system to a usable, persistent operating environment.
Version 0.4 introduces real disk support via ATA, a fully integrated
FAT32 filesystem, and major usability improvements to the interactive shell.
With this release, keonOS can finally create, delete, and manage files on disk.
🧠 Core System Improvements
- ATA Storage Driver:
Low-level ATA PIO driver enabling raw sector-based disk access. - Block Device Abstraction:
Clean separation between hardware drivers and filesystems, allowing FAT32 to
operate independently from the underlying storage implementation. - Filesystem Stability:
Hardened read/write paths to prevent corruption and invalid memory access.
📂 Filesystem & Storage
- FAT32 Filesystem Support:
Full integration of FAT32 on real disks, including:- Directory traversal
- File creation and deletion
- Cluster allocation and FAT management
- VFS Integration:
FAT32 is mounted through the Virtual File System layer, enabling transparent
access from the kernel and shell. - Persistent Storage:
Files and directories now persist across reboots.
💻 Interactive Shell Enhancements
- New Shell Commands:
touch— create empty filesmkdir— create directoriesrm— remove files or directories
- Command History:
Navigate previously executed commands using the keyboard. - Tab Completion:
Autocomplete commands and paths for faster and safer interaction. - Improved Command Parsing:
More robust argument handling and error reporting.
🎭 Multitasking & Kernel Services (Carried Forward)
- x86_64 Architecture:
Native 64-bit kernel with long mode execution. - Thread Lifecycle Management:
Zombie thread handling with preserved return codes. - Expanded Kernel Stack:
64 KB per kernel thread for safer deep execution paths. - Kernel Panic System:
Register dump and stack inspection for post-mortem debugging.
🔌 Hardware Support
- ATA (PIO) Disk Access
- Keyboard & VGA Text Mode
- PIT Timing & PC Speaker
🛠 How to Run
- Download the attached
keonOS-0.4-x86_64-alpha.iso. - Run it using QEMU:
qemu-system-x86_64 -cdrom keonOS-0.4-x86_64-alpha.iso -serial stdio -m 516 -boot d
keonOS - 0.3-alpha
keonOS 0.3 - Alpha Milestone 🚀
This is the third alpha milestone of keonOS, marking a major architectural transition.
Version 0.3 introduces a full migration to x86_64, enhanced thread lifecycle management, and significant improvements to kernel reliability and execution flow.
This release represents the foundation for true multitasking, future userland support, and modern system design.
🧠 Core Architecture Highlights
- x86_64 Migration:
keonOS has been successfully ported from 32-bit i386 to 64-bit x86_64, enabling access to a larger address space, modern CPU features, and future SMP scalability. - Expanded Kernel Stack:
Kernel thread stacks have been increased to 64 KB, drastically reducing stack overflow risks during deep kernel calls, interrupts, and filesystem operations. - Refined Boot & Memory Model:
Paging, memory layout, and kernel initialization logic have been adapted and hardened for long mode execution.
🎭 Multitasking, Threads & Lifecycle
- Thread Zombie Management:
Threads that terminate are now correctly transitioned into a zombie state, preserving execution metadata instead of being immediately destroyed. - Return Code Handling:
Each thread can now return an exit status, allowing the scheduler and future process manager to track execution results. - Improved Scheduler Robustness:
The threading system is now more resilient against invalid states, premature deallocation, and scheduler corruption.
🧵 Process & System Foundations
- Execution Flow Hardening:
Kernel control flow has been cleaned up to prevent undefined behavior during thread exit, context switching, and cleanup. - Future Userland Preparation:
These changes lay the groundwork for:- User-mode processes
- System calls
- Parent/child process relationships
📂 Storage & Subsystems (Carried Forward)
- Virtual File System (VFS):
Unified filesystem abstraction with mount support. - KeonFS Ramdisk:
RAM-based filesystem loaded via Multiboot module with standard C File I/O support (fopen,fread,fclose,fseek). - Kernel Heap:
Fully functionalkmalloc,kfree, and C++new/delete.
🔌 Hardware & Kernel Services
- Interrupt Management: Stable GDT/IDT configuration in long mode.
- Drivers: VGA text mode, keyboard input, PIT timing, PC speaker.
- Kernel Panic System: Register dump and stack inspection retained and adapted for 64-bit context.
🛠 How to Run
- Download the attached
keonOS-0.3-x86_64-alpha.iso. - Run it using QEMU:
qemu-system-x86_64 -cdrom keonOS-0.3-x86_64-alpha.iso -serial stdio -m 516 -boot d
keonOS - 0.2a-alpha
keonOS 0.2a - Stability & Legal Patch ⚖️
This is a maintenance and licensing patch for the keonOS 0.2 Alpha.
This release focuses on legal hardening, project branding, and critical stability fixes in the memory and filesystem layers, ensuring the project is ready for open-source contribution and further development.
⚖️ Licensing & Branding (Section 7 Patch)
- GPLv3 Migration: Fully transitioned the codebase to GNU GPLv3.
- Additional Terms (Section 7): Integrated custom legal protections requiring original author attribution and prohibiting the use of the "keonOS" or "fmdxp" name for publicity without permission.
- Unified Headers: Applied standardized legal headers across all source files (
.cpp,.h,.asm,.ld,.py) andMakefiles. - Boot-time Legal Notice: Updated kernel entry to display warranty and licensing information upon initialization, complying with GPL interactive requirements.
🛠 Stability & Refinements
- Improved Kernel Entry: Cleaned up the
kernel_maininitialization sequence for better hardware/memory synchronization. - VFS & Ramdisk Hardening: Enhanced magic number verification for
KeonFSto prevent kernel panics during corrupted module loads. - Header Guard Cleanup: Unified all C++ include guards for a more robust and professional build system.
- Libc Consistency: Synchronized custom LibC headers with the kernel's internal memory management.
🧠 Core Technical Foundation (Carried from 0.2)
- Higher-Half Kernel: Stable execution at
0xC0000000. - Dynamic Heap: Full support for
kmalloc,kfree, and C++new/delete. - Multitasking: Cooperative Round-Robin scheduler for kernel threads.
- KeonFS: Functional Ramdisk support with standard C File I/O (
fopen,fread, etc.).
🛠 How to Run
- Download the attached
keonOS-0.2a-i386-alpha.iso. - Run it using QEMU:
qemu-system-i386 -cdrom keonOS-0.2a-i386-alpha.iso -serial stdio -m 516 -boot d
keonOS - 0.2-alpha
keonOS 0.2 - Alpha Milestone 🚀
This is the second pre-release of keonOS, a monolithic 32-bit x86 operating system.
Building on v0.1, this version introduces higher-half kernel mapping, a virtual file system, and initial ramdisk support, moving closer to a fully functional OS.
🧠 Core Technical Highlights
- Higher-Half Kernel: Kernel now at
0xC0000000, separating kernel and user memory spaces. - Boot-Time Paging: Critical pages mapped during early boot via assembly.
- Custom Virtual Memory Manager & PFA: Advanced physical frame and virtual memory management with recursive page table mapping.
- Dynamic Kernel Heap: Full support for
kmalloc,kfree, and C++new/delete.
🎭 Multitasking & Scheduling
- Cooperative Round-Robin Scheduler: Handles multiple kernel threads.
- Process Control & Diagnostics: Commands like
psandpkill. - Post-Mortem Debugging: Kernel Panic captures CPU registers and full stack hex-dump on crash.
💻 Interactive Shell
- Command History & Tab Completion: Navigate past commands and autocomplete.
- System Diagnostics: Real-time stats for heap, paging, and uptime.
🔌 Hardware Drivers
- VGA & Keyboard: Interrupt-driven keyboard input and text-mode VGA output with custom color schemes.
- PIT & CMOS: Programmable Interval Timer for system ticks and delays.
- PC Speaker: Frequency-based beep feedback.
📂 Virtual File System (VFS) & Storage
- Unified VFS Layer: Abstract interface for interacting with multiple file systems.
- KeonFS Ramdisk: RAM-based filesystem loaded as a Multiboot module with packed file headers for fast boot access.
- Mount System: Supports multiple mounts under
/, including/initrd. - Standard C File I/O:
fopen,fread,fclose,fseekintegrated with KeonFS.
📚 Standard Library (LibC)
- Memory & String Utilities: Optimized
memcpy,memset,strcmp,strcpy. - File I/O Integration: Bridges kernel-level storage with standard C functions.
🛠 How to Run
- Download the attached
keonOS-0.2-i386-alpha.iso. - Run it using QEMU:
qemu-system-i386 -cdrom keonOS-0.2-i386-alpha.iso -serial stdio -m 516 -boot d
Next Milestone: Extended driver support (disk & maybe network drivers).
keonOS - 0.1-alpha
keonOS 0.1 - Alpha Milestone 🚀
This is the first official pre-release of keonOS, a monolithic 32-bit x86 operating system. This version establishes a solid foundation, moving beyond a simple bootloader into a functional environment with advanced memory management and multitasking capabilities.
🧠 Core Technical Highlights:
- Advanced Memory Management: Identity paging (first 16MB) is active, featuring a Physical Frame Allocator (PFA) and a Virtual Memory Manager (VMM).
- Dynamic Kernel Heap: Full support for
kmalloc,kfree, and native C++new/deleteoperators. - Multitasking & Scheduling: Implementation of a Round-Robin scheduler handling kernel threads.
- Kernel Panic System: Advanced debugging with CPU register capture and stack hex-dump.
- Interactive Shell: A custom CLI with command history, tab-completion, and system diagnostics (
ps,pkill,uptime).
🔌 Hardware Support:
- Interrupts: Fully configured GDT and IDT.
- I/O Drivers: Interrupt-based Keyboard driver, VGA text mode with custom schemas, and PIT/CMOS for timing.
- Audio: PC Speaker frequency support.
🛠 How to Run
- Download the attached
keonOS-0.1-i386-alpha.iso. - Run it using QEMU:
qemu-system-i386 -cdrom keonOS-0.1-i386-alpha.iso -serial stdio -m 256 -boot d
Next Milestone: Implementation of a Virtual File System (VFS) and Initial Ramdisk (initrd) support.