mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 05:18:38 +00:00
30 lines
871 B
C#
30 lines
871 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Cosmos.Debug;
|
|
|
|
namespace BreakpointsKernel
|
|
{
|
|
public class Kernel
|
|
{
|
|
public static void Boot() {
|
|
var xBoot = new Cosmos.Sys.Boot();
|
|
xBoot.Execute();
|
|
|
|
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");
|
|
|
|
while (true)
|
|
{
|
|
Console.Write("Input: ");
|
|
string xResult = Console.ReadLine();
|
|
Console.Write("Text typed: ");
|
|
Console.WriteLine(xResult);
|
|
//Cosmos.Debug.Debugger.Send(xResult);
|
|
}
|
|
}
|
|
}
|
|
}
|