Syndicate the Cosmos Blog Feed.

Getting Started

This document explains how to setup and use the development environment for Cosmos.

Installing Prerequisites

Miscellany

  1. First, you need to get the sources of IL2CPU and Cosmos. You can get them from www.codeplex.com/Cosmos.
  2. Extract C-drive.zip in Build\Cosmos\ISO to the same directory.

Visual Studio

  1. Visual Studio 2008: Standard, Professional, and TeamSuite Users: Open the file Source\Cosmos.sln in Visual Studio
    Express Users: Open the Flat.sln variant. Express does not support project groups.
  2. Set one of the boot projects as startup project
  3. Now, press F5, and IL2CPU and Cosmos are being built. Then it starts the Debug host. This makes sure the kernel image, and ISO are being build. It will ask you a couple of times to press a key, please do so :-) This debug host will also call QEmu and GDB in the correct way. The kernel will start to boot.

If there any System.Diagnostics.Debugger.Break() calls, gdb will break on these breakpoints. If at some point, you want to pause execution in the debugger, press ctrl+c in the gdb window.