Skip to content

modulexcite/MOSA-Project

 
 

Repository files navigation

Build status License Issues Stars Forks Gitter Chat

Issue Stats Issue Stats

Bountysource

MOSA is an open source software project aiming to create a high quality, cross-platform, optimizing .NET compiler designed specifically to support a managed operating system based on the .NET framework.

The MOSA project consists of:

  • Compiler - a high quality, multithreaded, cross-platform, optimizing .NET compiler.
  • Kernel - a small, micro-kernel operating system.
  • Device Drivers Framework - a modular, device drivers framework and device drivers.

Read our Frequently Asked Questions for more information about this project.

Getting Started

Download

The MOSA project is available as a zip download or via git:

git clone https://github.com/mosa/MOSA-Project.git

Prerequisites

You will also need the following prerequisites:

All Platforms

EditorConfig plugin for your IDE.

Windows

Install any Visual Studio version 2013 or newer.

All editions are supported including the fully-featured free Community Edition.

Linux

Install Mono and Qemu.

sudo apt-get -y install mono-devel qemu

Mac

Install Mono and Qemu.

Running

Windows

Double click on the "Compile.bat" script in the root directory to compile all the tools, sample kernels, and demos.

Next double click on the "Launcher.bat" script, which will bring up the MOSA Launcher tool (screenshot below) that can:

  • Compile the operating system
  • Create a virtual disk image, with the compiled binary and boot loader
  • Launch a virtual machine instance (QEMU by default)

By default, the CoolWorld operating system demo is pre-selected. Click the "Compiler and Emulator" button to compile and launch the demo.

MOSA Launcher

MOSA CoolWorld Demo

Current Status

The MOSA compiler supports:

  • almost all non-object oriented code (arithmetic, assignment, bitwise logic, bitwise shifts, boolean logic, conditional evaluation, equality testing, calling functions, increment and decrement, member selection, object size, order relations, reference and dereference, sequencing, and subexpression grouping),
  • basic object oriented code (such as new operator, member methods and virtual methods),
  • basic type conversion (implicit type and explicit type conversion on primitives types and "is" and "as" operators),
  • generic code (example, List), and
  • delegates (static and non-static) and with optional parameters.
  • exception handling (try, finally, and catch code blocks)

Join the Discussion

Join us on Gitter chat. This is the most interactive way to connect to MOSA's development team.

License

MOSA is licensed under the New BSD License.

About

Managed Operating System Alliance Project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.7%
  • Other 0.3%