protected override void BeforeRun() { Console.WriteLine("Cosmos booted sucessfully, now starting Kernel"); display = new BufferedDisplayDriver(); display.init(); f = new BasicFont(); fr = new FontRenderer(display, f, 0); second = time.Second(); keyboard = new KeyboardDriver(); // mouse = new MouseDriver(display.getHeight(), display.getWidth()); // mr = new MouseRenderer(mouse, display, 63); }
protected override void BeforeRun() { Console.WriteLine("\n\n\nInitialising Filesystem!"); var fs = new Sys.FileSystem.CosmosVFS(); Sys.FileSystem.VFS.VFSManager.RegisterVFS(fs); Console.WriteLine("Initialised Filesystem!\n\n\n"); Console.Clear(); Console.WriteLine("Welcome to Velocity [v" + version + "].\n"); Console.WriteLine("Current time: " + time.Hour() + ":" + time.Minute() + ":" + time.Second() + "\n"); Console.WriteLine("Velocity/Cosmos comes with ABSOLUTELY NO WARRANTY,\nto the extent permitted by applicable law.\n"); }