Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

ecnivs/nasm-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nasm OS

Barebones x86 Operating System

swappy-20241026-143109

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

Thank you for checking out this project!