Cosmos is an operating system "construction kit", built from the ground up around the IL2CPU compiler in C# and our home-brewed language called X#.
canvas.Clear(Color.Black);
Dock.X = -20;
Dock.Y = 0;
Sys.MouseManager.ScreenWidth = (uint)canvas.Mode.Columns;
Sys.MouseManager.ScreenHeight = (uint)canvas.Mode.Rows;
}
protected override void Run()
{
Console.WriteLine("Plz Work");
uint X = Sys.MouseManager.X;
uint Y = Sys.MouseManager.Y;
canvas.DrawLine(pen, X, Y, X + 5, Y);
canvas.DrawLine(pen, X, Y, X, Y - 5);
canvas.DrawLine(pen, X, Y, X + 5, Y - 5);
Console.ReadKey();
}
Symbols Loaded - C:\Users\TableFlipGod\source\repos\GameKernal\GameKernal\bin\Debug\netcoreapp2.0\cosmos\GameKernal.pdb
Setting FirstDataLookupTable to
0x02279BA5
FirstDataLookupTable was set to
0x02279BA5
In Cosmos.System.Kernel..ctor
Starting kernel
HW Bootstrap Init
Global Init
Creating Console
Creating Keyboard
HW Init
Creating Primary ATA IOGroup
Creating Secondary ATA IOGroup
Before Core.Global.Init
PCI Devices
ACPI Init
PS/2 Controller Init
ATA device with speclevel ATA found.
Number of MBR partitions found:
0x00000001
ATA device with speclevel ATAPI found, which is not supported yet!
Done initializing Cosmos.HAL.Global
KeyboardManager.AddKeyboard
Cls
Before Run
Run
Not yet stopped
Really before Run
The program '' has exited with code 0 (0x0).