Skip to content
Managed Operating System Alliance Project
C# Inno Setup Shell Batchfile PowerShell Smalltalk
Branch: master
Clone or download
Latest commit 5918669 Aug 20, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Demos WIP - minor bug fixes (#655) Jul 28, 2019
Resources WIP - ARM (#679) Aug 18, 2019
Tools Bug fix + WIP for ARM (#673) Aug 15, 2019
docs WIP - ARM (#679) Aug 18, 2019
.editorconfig - Added .editorconfig (see Dec 25, 2014
.gitattributes - Code Cleanup Dec 26, 2014
.gitignore WIP - minor bug fixes (#655) Jul 28, 2019
Compile.bat - Updated Visual Studio Project (#640) Jun 22, 2019
Credits.txt improvements and added OsName to Launcher (#671) Aug 8, 2019
LICENSE.txt - Updated LICENSE file Aug 7, 2014
Launcher.bat - Working on device driver system Oct 19, 2017 Fix typo in readme Apr 11, 2019
appveyor.yml Update appveyor.yml Jul 18, 2019
changelog.rst Update changelog.rst Aug 19, 2019
mosactl.ps1 Integrate Linux build in Pipeline. Integrate Tests in Pipeline. Added… Feb 9, 2019

Build status License Issues Stars Forks Gitter Chat


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 object oriented and 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


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

git clone


You will also need the following prerequisites:


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.


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


Install Mono and Qemu.



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.


MOSA is licensed under the New BSD License.

You can’t perform that action at this time.