forked from winbamstudios/miv2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKernel.cs
More file actions
30 lines (24 loc) · 751 Bytes
/
Kernel.cs
File metadata and controls
30 lines (24 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.IO;
using Sys = Cosmos.System;
namespace MIV
{
public class Kernel : Sys.Kernel
{
private static Sys.FileSystem.CosmosVFS FS;
public static string file;
protected override void BeforeRun()
{
FS = new Sys.FileSystem.CosmosVFS();
Sys.FileSystem.VFS.VFSManager.RegisterVFS(FS);
FS.Initialize(false);
// uncomment this for german keyboard layout
//Sys.KeyboardManager.SetKeyLayout(new Cosmos.System.ScanMaps.DE_Standard());
Console.WriteLine("MIV3 succesfully booted - have fun!");
}
protected override void Run()
{
MIV.StartMIV();
}
}
}