Skip to content

A unix-like x86 multitasking kernel built in no-lib C & Assembly

License

Notifications You must be signed in to change notification settings

hussam-alhassan/kernel-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x86 Kernel

A bootable multitasking kernel built in no-lib C, featuring memory management, ELF program execution, and a basic command-line interface. Also includes a keyboard driver and FAT16 read support.

image

Prerequisites

Install the following:

Build & Run

export PREFIX="/path/to/cross/compiler"
export TARGET="i686-elf"
export PATH="$PREFIX/bin:$PATH"

make all

qemu-system-x86_64 -hda ./bin/os.bin -display curses

Learning Goals

This project taught me:

  • x86 protected mode and memory segmentation
  • Page table management and virtual memory
  • ELF format and program loading
  • Interrupt handling and device drivers
  • Low-level systems programming

I plan to add multi-arch functionality with ARM or RISC-V support

License

MIT

About

A unix-like x86 multitasking kernel built in no-lib C & Assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published