mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-30 04:40:14 +00:00
34 lines
813 B
C#
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
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|