/Simple_OS

Simple X86 operating system from scratch operating in 32bit protecting mode, built for educational purposes

Primary LanguageCMIT LicenseMIT

Simple_OS

Simple X86 operating system from scratch operating in 32bit protecting mode, built for educational purposes

TODO LIST :

  • Boot loader
  • 32bit protecting mode
  • Timer driver (PIT)
  • Keyboard driver (PS/2)
  • Screen driver
  • Shell
  • FAT32 file system

if you want to try it follow these steps :

1: building cross compiler

to build cross compiler install the following packages first

  • gmp sudo apt-get install libgmp3-dev
  • mpfr sudo apt-get install libmpfr-dev
  • libmpc sudo apt-get install libmpc-dev
  • gcc (usually exists)

then follow the following instructions

then add the following to ~/.bashrc

  • export PREFIX="/usr/local/i386elfgcc"
  • export TARGET=i386-elf
  • export PATH="$PREFIX/bin:$PATH"

2: compile and run

  • to compile use make
  • to clean use make clean
  • to run use make run

useful sources