Hobby kernel + userspace, built mostly from scratch. Composited GUI, dynamically linked ELF binaries, networking, Python applications, and more. https://toaruos.org/

Kevin Lange 2de88539f4 cld going into irq/isr handlers 5 years ago
hdd e3c5a0ec25 Add a toggle widget for vmmouse 5 years ago
kernel 2de88539f4 cld going into irq/isr handlers 5 years ago
linker a9feffa03d Handle dlopen errors better. 5 years ago
modules dca9c2b9d3 Add an ioctl interface for setting video mode 5 years ago
toolchain 38eb6a7e72 Quickfix for missing zlib (we'll upgrade soon) 5 years ago
userspace 5823657d63 QEMU display harness 5 years ago
util 5823657d63 QEMU display harness 5 years ago
.gitignore 672aa74947 Add convenience target for building new kernel headers package 5 years ago
.travis.yml.back 919af62560 Disable travis 6 years ago
LICENSE 879f4e5cae Help Browser and new license format 5 years ago
Makefile 672aa74947 Add convenience target for building new kernel headers package 5 years ago
README.md 6fdb01060d Update README link to license docs 5 years ago

README.md

ToaruOS (とあるOS)

とあるOS (ToaruOS) is a hobby operating system built mostly from scratch, including both a kernel and userspace.

This repository contains the kernel, modules, and core userspace applications and libraries. Some third-party libraries and utilities are required to build a working system.

Build Instructions

Please ensure you are running a supported environment before continuing.

Start by building a toolchain:

make toolchain

You may be prompted to enter your password for sudo to install required packages. The toolchain build scripts will then build several dependencies for building ToaruOS such as a GCC cross compiler and a few libraries used by the userspace. This may take around thirty minutes to an hour to complete, depending on your hardware. Once it is done, verify there were no errors and then follow the instructions provided to continue with the build.

If you experience issues, please join our IRC channel for help.

History

ToaruOS started as a side project at the University of Illinois at Urbana-Champaign. For several months in late 2011 and early 2012, the University's SIGOps chapter managed development efforts focused on building the original compositing GUI. Since then, the project has mostly been a one-man effort with a handful of third party contributions.

Kernel

The Toaru kernel provides a basic Unix-like environment. The kernel uses a hybrid modular architecture, with loadable modules providing most device driver support. The core kernel includes support for Unix pipes and TTYs, a virtual file system, multitasking, ELF binary support, and various core platform features on x86 systems.

Modules provide support for disk drives, ext2 filesystems, serial, keyboards and mice, a /proc filesystem similar to the one found in Linux, as well as an expanding collection of other device drivers.

Userspace

ToaruOS's userspace is focused on a rich graphical environment, backed by an in-house compositing window manager. ToaruOS's terminal emulator supports xterm-compatible 256-color modes, as well as Konsole 24-bit color modes and anti-aliased text with basic Unicode support. Program binaries are dynamically linked. Several graphical demos are provided, alongside a number of command-line applications. A port of SDL targetting the native graphical environment is also available.

Third-Party Software

The userspace depends on a number of third-party libraries which are outside of the development scope of the project. Additionally, several third-party applications and libraries have been integrated into ToaruOS's core userspace, or otherwise ported to ToaruOS.

License for the included third-party tools and libraries can be found here.

Community

Wiki

For additional screenshots, see Screenshots.

For instructions on building, see Testing and Building.

IRC

For help building the kernel and userspace, join us in #toaruos on Freenode (irc.freenode.net).