toaruos/README.md

115 lines
5.1 KiB
Markdown
Raw Normal View History

2013-11-29 04:13:56 +04:00
![Screenshot](http://i.imgur.com/z1aFy0C.png)
![More Screenshots](http://i.imgur.com/g3zclG2.png)
2013-04-15 10:17:52 +04:00
2013-11-29 10:57:09 +04:00
# ToAruOS (とあるOS) #
とあるOS (ToAruOS) is a hobby operating system, 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
2013-11-29 10:57:09 +04:00
Both the kernel and core userspace are included in this repository. Third-party sources are downloaded during the build process.
2012-08-29 09:38:31 +04:00
2013-11-29 10:57:09 +04:00
## IRC ##
2012-12-04 08:40:29 +04:00
For discussion, help with building or running the OS, and for up-to-date build verification, please join us in `#toaruos` on Freenode (`irc.freenode.net`).
2012-02-16 12:02:09 +04:00
## Features ##
2013-04-05 08:18:25 +04:00
The とある kernel provides a number of standard features, including:
2012-02-16 12:02:09 +04:00
2013-04-05 08:18:25 +04:00
* Processes and threads
* The kernel supports loading of static ELF binaries
* Threads are scheduled by the kernel
2012-02-16 12:02:09 +04:00
* Shared memory
2013-04-05 08:18:25 +04:00
* Pipes and TTYs
* Virtual file system
* `/proc` implementation similar to Linux
* `/dev` entries
* EXT2 filesystem for disk access
2012-02-16 12:02:09 +04:00
* Signals
2013-04-05 08:18:25 +04:00
* Delivery is asynchronous from sending
* Processed immediately during next context switch into receiving process
2013-04-05 08:18:25 +04:00
The included userspace also provides:
2013-04-05 08:18:25 +04:00
* A number of standard Unix utilities
* A graphical interface
* Composited window manager
* Limited widget toolkit
* Terminal emulator
2013-04-07 08:54:42 +04:00
* Some xterm compatibility, support for 256 color palette, etc.
2013-04-05 08:18:25 +04:00
* Anti-aliased text with FreeType
* General support for UTF-8
2013-04-05 08:18:25 +04:00
### Third-Party Software ###
2013-01-28 06:23:10 +04:00
2013-04-14 12:06:32 +04:00
とあるOS makes use of and supplies the following third-party packages:
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.
2013-01-28 06:23:10 +04:00
* `cairo` and `pixman` - For accelerated and managed 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.
2013-04-14 12:06:32 +04:00
Additionally, a number of third-party software packages have been ported to とあるOS, but are not yet included in this distribution:
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)
* Bochs
2013-07-12 05:16:44 +04:00
* Python - in progress...
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
2011-01-20 09:27:11 +03:00
## References ##
2012-01-28 23:12:11 +04:00
Here are some tutorials we found useful early on:
2011-01-20 09:27:11 +03:00
2012-01-28 23:12:11 +04:00
* [James M's kernel development tutorials](http://www.jamesmolloy.co.uk/tutorial_html/index.html)
2012-12-04 08:40:29 +04:00
* [Bran's Kernel Development Tutorial](http://www.osdever.net/bkerndev/Docs/basickernel.htm)
* [Skelix's OS tutorial](http://skelix.net/skelixos/index_en.html)
2011-01-20 09:27:11 +03:00
## Licenses ##
2012-02-16 12:02:09 +04:00
### ToAruOS Itself ###
2011-01-29 01:53:00 +03: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
2013-04-14 12:06:32 +04:00
Copyright (c) 2011-2013 Kevin Lange. All rights reserved.
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
### Third-Party Packages ###
2014-03-21 10:20:16 +04:00
ToAruOS contains a number of third-party packages and software. As the number of third-party packages in the OS has increased drastically, I have moved the licenses to [thirdparty.md](docs/thirdparty.md).