Cosmos/Users/Sentinel/SentinelKernel/Kernel.cs
2015-05-02 21:23:31 -05:00

27 lines
No EOL
610 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using SentinelKernel.System.FileSystem.VFS;
using Sys = Cosmos.System;
namespace SentinelKernel
{
public class Kernel : Sys.Kernel
{
private VFSBase myVFS;
protected override void BeforeRun()
{
Console.WriteLine("Cosmos booted successfully.");
myVFS = new SentinelVFS();
VFSManager.RegisterVFS(myVFS);
}
protected override void Run()
{
bool xTest = Directory.Exists("0:\\test");
Stop();
}
}
}