Running MOSA¶
Prerequisites¶
1. Download the MOSA source code. See the Getting Mosa page for details.
2. Windows: Install Visual Studio 2010, and either the Express or Professional version.
Microsoft Visual Studio Express 2010 is available for free from Microsoft.
3. Linux: Install Mono and NAnt:
sudo apt-get -y install mono-devel nant
4. MacOS: Install NAnt and Qemu.
Note: MOSA can also be compiled on Windows and MacOS using Mono. At this time, however, we do not have instructions for it.
Running¶
On Windows, double click on the "Run-HelloWorld.bat" script in the root directory. On Linux, execute the "Run-HelloWorld.sh" script in the root directory.
The scripts will:
- Compile MOSA compiler, tools, and sample hello world kernel.
- Compile the hello world kernel to native binary using the MOSA compiler.
- Create an virtual disk image, format it, and then copy the compiled binary and boot loader to the disk image.
- Launch QEMU with the virtual disk image.
See some Screenshots.