Cosmos/source2/Users/Kudzu/Breakpoints/BreakpointsOS.cs
kudzu_cp c319bc7fde
2010-08-17 12:55:40 +00:00

25 lines
821 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.Debug;
using Sys = Cosmos.System;
namespace BreakpointsKernel {
public class BreakpointsOS : Sys.Kernel {
protected override void BeforeRun() {
Console.WriteLine("Test");
Debugger.Send("Hello from Cosmos!");
Console.WriteLine("3 Cosmos booted successfully. Type a line of text to get it echoed back.");
//Debugger.Break();
Console.WriteLine("Test");
}
protected override void Run() {
Console.Write("Input: ");
string xResult = Console.ReadLine();
Console.Write("Text typed: ");
Console.WriteLine(xResult);
//Cosmos.Debug.Debugger.Send(xResult);
}
}
}