toaruos/README.md

103 lines
5.5 KiB
Markdown
Raw Normal View History

2014-04-19 07:16:23 +04:00
![Screenshot](http://i.imgur.com/kGfILDP.png)
![More Screenshots](http://i.imgur.com/y7LiF2m.png)
2013-04-15 10:17:52 +04:00
2013-11-29 10:57:09 +04:00
# ToAruOS (とあるOS) #
2014-04-11 07:20:26 +04:00
とあるOS (ToAruOS) is a hobby kernel and supporting userspace, built mostly from scratch, in development since December of 2010.
2011-01-16 04:03:53 +03:00
2013-11-29 10:57:09 +04:00
It was originally developed at the University of Illinois at Urbana-Champaign. For a period of time, it was the development focus of the university's [SIGOps](http://www.acm.uiuc.edu/sigops/) chapter.
2012-08-29 09:38:31 +04:00
2014-04-11 07:20:26 +04:00
This repository contains the kernel, modules, and core userspace. Some third-party libraries and utilities are required to build a working system - these are automatically retrieved by the build process.
2012-08-29 09:38:31 +04:00
## Kernel ##
2012-02-16 12:02:09 +04:00
2014-04-11 07:20:26 +04:00
The kernel provides a number of features one would expect from a Unix-inspired project, including process and thread support, ELF binary support, runtime-loaded modules, pipes and TTYs, a virtual file system including virtual `/proc` (inspired by Plan9 and Linux) and device files, EXT2 filesystem support, signals, and more.
## Userspace ##
2014-04-11 07:20:26 +04:00
The userspace provides a rich graphical environment with a composited window manager (built on Cairo), a terminal emulator (with support for xterm 256-color modes and Konsole 24-bit color modes, anti-aliased text using FreeType, and general support for some Unicode text), and other graphical demo applications.
2013-04-05 08:18:25 +04:00
### Third-Party Software ###
2013-01-28 06:23:10 +04:00
2014-04-11 07:20:26 +04:00
The userspace depends on a number of third-party libraries which are outside of the development scope of the project, as well as the `newlib` C library (though development of an in-house C library is planned).
Some third-party software is provided within this repository:
* `cpudet`, a `cpuid` parser.
* VL Gothic, a Japanese TrueType font.
* DejaVu, a series of popular, free TrueType fonts.
* A SHA512 hash library, used in the login applications to provide naïve hashed password support.
* The popular DMZ CC By-SA mouse cursor theme from Novell.
* `utf8decode.h`, UTF8 decoding tools.
* A port of `glxgears`.
* Various Curses examples by Pradeep Padala.
* A list of PCI vendor and device names.
* A terminal implementation of the game "2048".
Licenses for these tools and libraries can be found [here](docs/thirdparty.md).
2013-01-28 06:23:10 +04:00
2014-04-11 07:20:26 +04:00
The following external libraries and tools are retrieved during the build process:
* `gcc` and `binutils` - For both a cross-compiler and a native port.
2014-04-11 07:24:19 +04:00
* `newlib` - C library (development of an in-house C library is planned, but has not yet commenced).
2013-01-28 06:23:10 +04:00
* `libpng` - Used extensively by the native graphics library to provide wallpaper and icons.
* `zlib` - Dependency of `libpng`, but also generally useful.
2013-04-14 12:06:32 +04:00
* `freetype` - For rendering text using TrueType fonts.
2014-04-11 07:24:19 +04:00
* `cairo` and `pixman` - For CPU-accelerated graphics.
2013-04-14 12:06:32 +04:00
* `ncurses` - Terminal control library, provides `terminfo`.
* Mesa - Implementation of OpenGL (only the software rasterizer is available).
* Vim - Popular text editor.
2014-04-11 07:20:26 +04:00
In addition to the libraries included in the build process, others have been ported or successfully built for とある:
2013-04-05 08:18:25 +04:00
* Lua - Builds as-is
* MuPDF - See [klange/toaru-pdfviewer](https://github.com/klange/toaru-pdfviewer) (library must be cross compiled)
2013-06-18 05:52:12 +04:00
* SDL - See [klange/SDL](https://github.com/klange/SDL)
* `snes9x-sdl` - See [klange/snes9x-sdl](https://github.com/klange/snes9x-sdl)
2014-04-11 07:20:26 +04:00
* Bochs - Should build as-is, but may require modifications.
* Python - A Python port has been built, but is not yet available.
2013-04-05 08:18:25 +04:00
### Screenshots ###
2012-02-16 12:02:09 +04:00
2014-03-21 10:20:16 +04:00
For a historical look at とあるOS, please see [screenshots.md](docs/screenshots.md).
## Testing / Building / Installation ##
2012-08-16 04:47:34 +04:00
2014-03-21 10:20:16 +04:00
Please see [testing.md](docs/testing.md).
2013-06-07 08:59:20 +04:00
### IRC ###
For help building the kernel and userspace, join us in `#toaruos` on Freenode (`irc.freenode.net`).
2011-01-20 09:27:11 +03:00
## License ##
2012-02-16 12:02:09 +04:00
This project is released under the terms of the University of Illinois / NCSA Open Source License, an OSI- and FSF-approved, GPL-compatible open source license. The NCSA License is a derivative of the MIT license and the BSD license; it is reproduced here for your convenience:
2011-01-29 01:53:00 +03:00
2014-04-11 20:41:46 +04:00
Copyright (c) 2011-2014 Kevin Lange. All rights reserved.
2013-04-14 12:06:32 +04:00
2011-01-29 01:53:00 +03:00
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal with the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimers.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimers in the
documentation and/or other materials provided with the distribution.
3. Neither the names of the ToAruOS Kernel Development Team, Kevin Lange,
nor the names of its contributors may be used to endorse
or promote products derived from this Software without specific prior
written permission.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
WITH THE SOFTWARE.
2011-04-15 05:49:36 +04:00