The Monolithium Operating System (mirror)

coderain ae4db17b61 Fix a bug in common.mk. 7 months ago
crt 4309b04a86 Fix printf bugs. 7 months ago
drivers 568844d350 Fix bugs in the VESA driver. 7 months ago
kernel 46c61c61ea Fix a bug in free_page. 7 months ago
library e06a5d13a3 Add an automatic build environment setup script for POSIX-compliant systems. 11 months ago
manager c1387c687c Reimplement basic locking. Fix bugs. 10 months ago
sdk ab00d5b6f4 Update the node balance when deleting a duplicate in the AVL tree. 9 months ago
tests 045be778f3 Begin implementing unit tests. 10 months ago
tools e06a5d13a3 Add an automatic build environment setup script for POSIX-compliant systems. 11 months ago
.gitignore 045be778f3 Begin implementing unit tests. 10 months ago
COPYING 6556847b55 Initial commit. 2 years ago
Makefile e06a5d13a3 Add an automatic build environment setup script for POSIX-compliant systems. 11 months ago
README.md e06a5d13a3 Add an automatic build environment setup script for POSIX-compliant systems. 11 months ago
common.mk ae4db17b61 Fix a bug in common.mk. 7 months ago
grub.cfg c1387c687c Reimplement basic locking. Fix bugs. 10 months ago
setup c1387c687c Reimplement basic locking. Fix bugs. 10 months ago
syscalls.awk c2c026e397 Automatically generate syscalls.h and syscalls.c as well 1 year ago

README.md

********************************************************************************
              __  ___                  ___ __  __    _
             /  |/  /___  ____  ____  / (_) /_/ /_  (_)_  ______ ___
            / /|_/ / __ \/ __ \/ __ \/ / / __/ __ \/ / / / / __ `__ \
           / /  / / /_/ / / / / /_/ / / / /_/ / / / / /_/ / / / / / /
          /_/  /_/\____/_/ /_/\____/_/_/\__/_/ /_/_/\__,_/_/ /_/ /_/

********************************************************************************

What is Monolithium?

Monolithium is a 32-bit operating system for x86 PCs. It is not a Unix-like system, and shares almost nothing with the Unix architecture. Written completely from scratch, it is completely incompatible with other operating systems. Currently, only the Monolithium kernel is implemented. The other major components, the "system library" and "system manager", are still missing.

Monolithium wasn't implemented according to any existing design, it was more or less designed as it was implemented, so the current interface may not be consistent. During this phase of its development, its kernel module interface and application programming interface are not stable and subject to major changes.

FREQUENTLY ASKED QUESTIONS

1) Why write another OS from scratch?

Most software development today is focused on assembling software from existing "building blocks", using libraries and high-level programming languages, which are designed to be complex and generic because they need to cover a lot of use cases. Simplicity is a very useful trait that is often overlooked. Monolithium is one of the few operating system projects with simplicity as its primary goal.

2) Why is there no development history?

I started this project in 2011, before I understood how VCS systems work and why they're important. I made backups at regular intervals, but since I didn't use git, there are no commits before the first release.

3) Will the interface ever become stable?

Having a stable interface, which will not change to the extent that later versions break software running in userspace, is one of the end goals of the project.

COMPILING

Run the "setup" script to download, configure, and locally install required packages, then run "make". To speed things up, use the -j flag to compile with more threads in parallel.

Prerequisites:

  • A POSIX-compatible environment.
  • An internet connection (to download required packages).