Skip to content

A custom-built operating system developed from scratch in C for x86 architecture.

zvoicu000/OS-from-scratch

Repository files navigation

OS From Scratch

🖥️ A custom-built operating system developed from scratch in C for x86 architecture.

This project is a fully functional educational operating system kernel implemented in C and x86 assembly. It features basic multitasking, memory management, interrupt handling, a simple shell, and device drivers. Designed for learning and extensibility, the OS demonstrates core concepts of low-level systems programming.

Features

  • Paging-based memory management and dynamic kernel heap
  • Interrupt Descriptor Table (IDT) and Global Descriptor Table (GDT) setup
  • Custom shell with command parsing
  • VGA text mode screen driver
  • PS/2 keyboard driver
  • Simple file system abstraction
  • Bootloader and linker scripts for bare-metal execution
  • Modular codebase for easy extension

Tech Stack

Getting Started

  1. Clone the repository.

  2. Install the cross-compiler toolchain (see cross-compiler.sh).

  3. Build the kernel using:

    make
  4. Run the OS in QEMU:

    make run
  5. Explore the shell and features, or extend the kernel with your own modules.

Contact

📧 Feel free to reach

About

A custom-built operating system developed from scratch in C for x86 architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published