static public void Init(TextScreenBase textScreen)
        {
            Console.WriteLine("[Aura Operating System v" + Aura_OS.Kernel.version + " - Made by valentinbreiz and geomtech]");
            Aura_OS.System.CustomConsole.WriteLineInfo("Starting Cosmos kernel...");

            PCI.Setup();
            Aura_OS.System.CustomConsole.WriteLineOK("PCI Devices Scan");

            ACPI.Start();
            Aura_OS.System.CustomConsole.WriteLineOK("ACPI Initialization");

            /*Cosmos.HAL.BlockDevice.IDE.InitDriver();
             * Aura_OS.System.CustomConsole.WriteLineOK("IDE Driver Initialization");
             *
             * Cosmos.HAL.BlockDevice.AHCI.InitDriver();
             * Aura_OS.System.CustomConsole.WriteLineOK("AHCI Driver Initialization");*/

            Cosmos.HAL.Global.PS2Controller.Initialize();
            Aura_OS.System.CustomConsole.WriteLineOK("PS/2 Controller Initialization");

            //Cosmos.Core.Processing.ProcessorScheduler.Initialize();
            //Aura_OS.System.CustomConsole.WriteLineOK("Processor Scheduler Initialization");

            Aura_OS.System.CustomConsole.WriteLineOK("Kernel successfully initialized!");
        }
Example #2
0
        public static void Init()
        {
            //Load Serial Port at COM-1
            Console.Write("Loading Serial Ports... ");
            Serials.SetupPort();
            Console.WriteLine("OK");

            // Setup PCI
            Console.Write("Setting up PCI... ");
            PCI.Setup();
            Console.WriteLine("OK");

            // Start ACPI
            // Initializes and enables itself
            Console.Write("Setting up ACPI... ");
            //ACPI = new acpi(true, true);
            Console.WriteLine("OK");

            // Setup Keyboard
            Console.Write("Setting up PS/2 Keyboard... ");
            KBD = new Keyboard();
            Console.WriteLine("OK");

            // Setup Mouse
            //Console.Write ("Setting up PS/2 Mouse... ");
            Mouse = new PS2Mouse();
            //Console.WriteLine ("OK");

            //Loading ATA
            Console.Write("Loading ATA/SATA SubSystem... ");
            LoadATA();
            Console.WriteLine("OK");

            //Load Parts
            Console.Write("Loading Partitions... ");
            if (PrimaryIDE != null && PrimaryIDE.DriveInfo.Device == Device.IDE_ATA)
            {
                var xMBR = new Drivers.PartInfo.MBR(PrimaryIDE);
                for (int i = 0; i < xMBR.PartInfo.Count; i++)
                {
                    Devices.Add(xMBR.PartInfo[i]);
                }
            }
            Console.WriteLine("OK");
        }