/devos

(Very) basic UNIX-like operating system built when I was younger

Primary LanguageCApache License 2.0Apache-2.0

(Very) Basic Operating System in C++

Code Now

This code was written several years ago as one of my first projects when I was in High School so it's normal if some parts of the code looks like "crap".

But some parts of the code are usefull to learn how to create a bootable operating system with memory pagination, multitasking, virtual memory, EXT2, ...

Features :

* Code in C++
* x86 32bits
* Boot with Grub
* Kind of modular system for drivers (I was in High school so it's not really great)
* Kind of UNIX style (again: It's not great)
* Multitasking
* ELF executable in userland
* Modules (accessible in userland using /dev/...) :
	* IDE disks
	* DOS partitions
	* Clock
	* EXT2 (read only)
	* Boch VBE

To build the kernel :

You will need : gcc, make, binutils (not cygwin) It was tested on : Ubuntu (i386). Just type :

make all

To emulate the operating system :

You will need : qemu and somes unix utils like grub

To build an application :

You will need : gcc, make, binutils (not cygwin) It was tested on : Ubuntu (i386).