Cosmos/source/CommosBoot/Program.cs
2008-01-10 14:14:29 +00:00

29 lines
888 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cosmos.Build.Windows;
namespace CommosBoot {
class Program {
#region Build Console
// This contains code to launch the build console. Most users should not chagne this.
[STAThread]
public static void Main() {
var xBuilder = new Builder();
xBuilder.Build();
}
#endregion
// Here is where your Cosmos code goes. This is the code that will be executed during Cosmos boot.
// Write your code, and run. Cosmos build console will appear, select your target, and thats it!
public static void Init() {
Cosmos.Kernel.CPU.Init();
System.Console.WriteLine("Kernel Booted!");
while (true)
;
}
}
}