Barebones x86 Operating System by Vince SwuBarebones x86 Operating System by Vince Swu

Barebones x86 Operating System

Vince Swu

Vince Swu

Overview

NasmOS is a simple demonstration of a barebones x86 operating system. It consists of a minimal bootloader and a basic kernel that displays a message, showcasing the foundational steps in OS development.

Prerequisites

NASM: For assembling the bootloader and kernel assembly code.
Open Watcom: Used to compile the kernel's C code. Watcom allows for low-level C programming suitable for OS development, making it easier to work with hardware and memory directly.
QEMU: A virtual machine emulator that allows you to test your OS without needing real hardware.

Installing Prerequisites

Open Watcom: Download here
# On Arch Linux
yay -S openwatcom
NASM:
# On Ubuntu
sudo apt install nasm
# On Arch Linux
sudo pacman -S nasm
QEMU:
# On Ubuntu
sudo apt install qemu
# On Arch Linux
sudo pacman -S qemu
Like this project

Posted Aug 9, 2026

Built a barebones x86 operating system with a custom bootloader and kernel using NASM and C, with QEMU-based development and testing.