A minimal operating system built from scratch using x86 Assembly and C.
QTMOS is a beginner-friendly OS project that demonstrates the core concepts of operating systems:
- Booting from BIOS
- Writing a bootloader in Assembly
- Loading and running a C-based kernel
- Basic terminal (CLI)
- Custom command system
-
Prints QTMOS at boot
-
Loads a simple kernel
-
Displays:
Welcome to QTMOS > -
Basic command support:
echo <text>β prints text
qtmos/
β
βββ boot/
β βββ boot.asm # Bootloader
β
βββ kernel/
β βββ kernel.c # Kernel entry point
β
βββ build/ # Compiled output
β
βββ linker.ld # Linker script
βββ Makefile # Build automation
βββ README.md
- NASM
- GCC
- QEMU
- Make
Install (Kali / Debian / WSL):
sudo apt update
sudo apt install nasm gcc qemu-system-x86 make -ymake
make runIf GUI doesnβt work (WSL):
qemu-system-x86_64 -nographic -drive format=raw,file=build/os.binThis project is focused on learning OS fundamentals, not replacing Linux or Windows.
- Load kernel from bootloader properly
- Keyboard input support
- CLI improvements
- User system (admin setup)
- Basic file system (future)
Built by a developer exploring low-level systems, OS design, and computer fundamentals.
This OS runs in real mode / minimal environment and is intended for learning purposes only.