Cosmos/source2/Users/Matthijs/MatthijsPlayground/Kernel.cs
mterwoord_cp fab8765053
2011-02-17 18:49:42 +00:00

39 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using Sys = Cosmos.System;
namespace MatthijsPlayground
{
public class Kernel : Sys.Kernel
{
protected override void BeforeRun()
{
Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back.");
}
protected override void Run()
{
Console.Write("Input: ");
var input = Console.ReadLine();
int xA = 0;
int xB = 13;
Console.WriteLine("Test");
Console.WriteLine((xA + xB).ToString());
//var xOldColor = Console.ForegroundColor;
//Console.ForegroundColor = ConsoleColor.Green;
//Console.Write("Text typed: ");
//Console.WriteLine(input);
//Console.ForegroundColor = xOldColor;
TestFooBarMethod();
}
public static void TestFooBarMethod()
{
uint xA = 0xAAAAAAAA;
uint xB = 0xBBBBBBBB;
uint xC = 0xCCCCCCCC;
Console.WriteLine();
}
}
}