mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
36 lines
No EOL
1 KiB
C#
36 lines
No EOL
1 KiB
C#
using System;
|
|
using Cosmos.Build.Windows;
|
|
using System.Drawing;
|
|
|
|
namespace SteveKernel
|
|
{
|
|
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();
|
|
|
|
Random r = new Random(0);
|
|
Console.WriteLine(r.Next().ToString());
|
|
Console.WriteLine(r.Next().ToString());
|
|
Console.WriteLine(r.Next().ToString());
|
|
Console.WriteLine(r.Next().ToString());
|
|
Console.WriteLine(r.Next().ToString());
|
|
|
|
//Cosmos.Hardware.VGAScreen.SetMode80x25xText();
|
|
|
|
//for (int i=0;i<1000; i++)
|
|
// Console.Write("sdkjfhdsf dfs sdf dsf sdf sdf sdf sf sdkjfhskjfhsdkjh");
|
|
}
|
|
}
|
|
} |