mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 13:28:41 +00:00
29 lines
888 B
C#
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)
|
|
;
|
|
}
|
|
}
|
|
}
|