mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
25 lines
821 B
C#
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);
|
|
}
|
|
}
|
|
}
|