Skip to content
Managed Operating System Alliance Project
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Demos
Documentation
Resources Updated Dockerfile (#613) Mar 22, 2019
Source Fix (#617) Mar 23, 2019
Tests - Refactoring Feb 11, 2019
Tools
docs
.editorconfig
.gitattributes - Code Cleanup Dec 26, 2014
.gitignore 030 New Tool: mosactl (#589) Feb 8, 2019
Compile.bat - Changed compile.bat script to use debug build Nov 22, 2015
Credits.txt - Updated contributors Feb 15, 2015
LICENSE.txt - Updated LICENSE file Aug 7, 2014
Launcher.bat - Working on device driver system Oct 19, 2017
Readme.md
appveyor.yml - Typo corrections + code cleanup (#615) Mar 23, 2019
mosactl
mosactl.ps1

Readme.md

Build status License Issues Stars Forks Gitter Chat

Bountysource

MOSA is an open source software project that natively executes .NET applications within a virtual hypervisor or on bare metal hardware!

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
  • Debugger - QEMU-based debugger

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

Current Status

The target platforms are:

  • Intel X86/32-bit (stable)
  • Intel X64 (in development)
  • ARM v6 (in early development)

The MOSA compiler supports nearly all and object oriented non-object oriented code, including:

  • Generic Code (example: List)
  • Delegates (static and non-static) and with optional parameters
  • Exception Handling (try, finally, and catch code blocks)

The MOSA compiler seeks to provide high quality code generation using the following optimizations:

  • Constant Folding and Propagation
  • Strength Reduction optimization
  • Dead Code Elimination
  • Single Static Assignment (SSA)
  • Global Value Numbering / Common Subexpession Elimination
  • Sparse Conditional Constant Propagation
  • Inlined Expansion
  • Loop-Invariant Code Motion
  • Block Reordering
  • Greedy Register Allocation

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:

Windows

Install any Visual Studio version 2018 or newer. All editions are supported including the fully-featured free Community Edition.

Note: The MOSA source code repository includes Qemu virtual emulator for Windows.

The CodeMaid Visual Studio Extension is strongly recommended for MOSA contributors.

Linux

Install Mono and Qemu.

The minimum supported version of Mono is 5.16.

If using the APT package manager you can use the following command to quickly set up QEMU and Mono

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 "Compile and Run" button to compile and launch the demo.

MOSA Launcher

MOSA CoolWorld Demo

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.

You can’t perform that action at this time.