mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-23 06:18:54 +00:00
30 lines
688 B
C#
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();
|
|
}
|
|
}
|
|
}
|