Cosmos/source2/Users/HKSplayground/Kernel.cs
2012-02-14 09:32:32 +00:00

34 lines
813 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Sys = Cosmos.System;
namespace HKSplayground
{
public class Kernel : Sys.Kernel
{
byte[] ba = {1,2,3};
protected override void BeforeRun()
{
Cosmos.Hardware2.PCIBus.Init();
Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back.");
}
int i = 1;
protected override void Run()
{
while (true)
{
if (i == 1)
{
Cosmos.Hardware2.Network.Devices.AMDPCNetII.AMDPCNet.FindAll();
i++;
}
else
{
}
}
}
}
}