HazemGabr232 / Simple_OS

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:C 61.7%Language:Assembly 35.2%Language:Makefile 2.3%Language:C++ 0.8%