Skip to content

badnikhil/MyOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS Development Project

A custom x86 operating system developed from scratch in Assembly language. This educational project is to dive into low-level system programming concepts . For now the OS loads the GDT and then jumps to the kernel.THe CPU is completely stable in 32 bit protected mode. IDT and GDT are loaded, paging is enabled , IRWs rewired correctly and also syscalls configured. Screenshot from 2026-01-09 01-12-20

image

Project Structure

  • boot.asm - Bootloader code (first stage)
  • stage2.asm - Second stage bootloader
  • utils.asm - Utility functions and macro

Building the OS

To build the OS, you'll need:

  • NASM (Netwide Assembler)
  • QEMU (for emulation)

Build Commands

./build

Running in QEMU

./run

Debugging

To debug with QEMU and GDB:

./debug

About

I just hate using people's code :\

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published