Simple X86 operating system from scratch operating in 32bit protecting mode, built for educational purposes
- Boot loader
- 32bit protecting mode
- Timer driver (PIT)
- Keyboard driver (PS/2)
- Screen driver
- Shell
- FAT32 file system
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"
- to compile use
make
- to clean use
make clean
- to run use
make run