Cosmos/source/CosmosBoot/Program.cs
2010-03-24 15:35:25 +00:00

26 lines
No EOL
651 B
C#

using System;
using Cosmos.Compiler.Builder;
using S = Cosmos.Hardware.TextScreen;
namespace CosmosBoot {
class Program {
#region Cosmos Builder logic
// Most users wont touch this. This will call the Cosmos Build tool
[STAThread]
static void Main(string[] args) {
BuildUI.Run();
}
#endregion
// Main entry point of the kernel
public static void Init() {
var xBoot = new Cosmos.Sys.Boot();
xBoot.Execute();
Console.WriteLine("Cosmos Booted Succesfully!");
while (true)
;
Cosmos.Sys.Deboot.ShutDown();
}
}
}