Cosmos/source2/Users/Kudzu/Breakpoints/BreakpointsOS.cs
kudzu_cp 2a25a755e0
2011-02-14 18:12:05 +00:00

30 lines
688 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Sys = Cosmos.System;
using Cosmos.Debug.Kernel;
using Cosmos.Common.Extensions;
namespace BreakpointsKernel {
public class BreakpointsOS : Sys.Kernel {
public BreakpointsOS() {
ClearScreen = false;
}
protected override void BeforeRun() {
Console.WriteLine("Cosmos boot complete.");
}
protected override void Run() {
var xATA = new Cosmos.Hardware.ATA(Cosmos.Core.Global.BaseIOGroups.ATA1);
xATA.Test();
Stop();
}
protected override void AfterRun() {
Console.Write("Done");
Console.ReadLine();
}
}
}