Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

keonOS - 0.2-alpha

Pre-release
Pre-release

Choose a tag to compare

@fmdxp fmdxp released this 09 Jan 16:35
· 18 commits to main since this release
3dc48e1

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 ps and pkill.
  • 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, fseek integrated 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

  1. Download the attached keonOS-0.2-i386-alpha.iso.
  2. 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).