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!");
        }
示例#2
0
 public static void Init(TextScreenBase textScreen)
 {
     Kernel.AConsole = new AConsole.VESAVBE.VESAVBEConsole();
     Aura_Plugs.HAL.Global.Init(textScreen);
     Cosmos.System.Global.NumLock    = false;
     Cosmos.System.Global.CapsLock   = false;
     Cosmos.System.Global.ScrollLock = false;
     //Network.NetworkStack.Init();
 }
示例#3
0
 public Console(TextScreenBase textScreen)
 {
     if (textScreen == null)
     {
         mText = new TextScreen();
     }
     else
     {
         mText = textScreen;
     }
 }
示例#4
0
 public VGAConsole(TextScreenBase textScreen)
 {
     Name = "VGA Textmode";
     //Kernel.debugger.Send("VGA Textmode Class");
     if (textScreen == null)
     {
         mText = new TextScreen();
     }
     else
     {
         mText = textScreen;
     }
 }
示例#5
0
        public static void Init(TextScreenBase textScreen)
        {
            Cosmos.System.Global.mDebugger.Send("Creating Console");

            Aura_Plugs.HAL.Global.Init(textScreen);

            Kernel.AConsole = new AConsole.VESAVBE.VESAVBEConsole();

            Cosmos.System.Global.mDebugger.Send("HW Init");

            Cosmos.System.Global.NumLock    = false;
            Cosmos.System.Global.CapsLock   = false;
            Cosmos.System.Global.ScrollLock = false;
        }
示例#6
0
        static public void Init(TextScreenBase textScreen)
        {
            // We must init Console before calling Inits. This is part of the
            // "minimal" boot to allow output
            Global.Dbg.Send("Creating Console");
            if (textScreen != null)
            {
                Console = new Console(textScreen);
            }

            Global.Dbg.Send("HW Init");
            Cosmos.HAL.Global.Init(textScreen);
            //Network.NetworkStack.Init();
        }
示例#7
0
        public static void Init(TextScreenBase textScreen, Keyboard keyboard)
        {
            // We must init Console before calling Inits.
            // This is part of the "minimal" boot to allow output.
            mDebugger.Send("Creating Console");
            if (textScreen != null)
            {
                Console = new Console(textScreen);
            }

            mDebugger.Send("HW Init");
            HAL.Global.Init(textScreen, keyboard);
            NumLock    = false;
            CapsLock   = false;
            ScrollLock = false;
            //Network.NetworkStack.Init();
        }
示例#8
0
        // TODO: continue adding exceptions to the list, as HAL and Core would be documented.
        /// <summary>
        /// Init console, screen and keyboard.
        /// </summary>
        /// <param name="textScreen">A screen device.</param>
        public static void Init(TextScreenBase textScreen, bool InitScroolWheel = true, bool InitPS2 = true, bool InitNetwork = true, bool IDEInit = true)
        {
            // We must init Console before calling Inits.
            // This is part of the "minimal" boot to allow output.
            mDebugger.Send("Creating Console");
            if (textScreen != null)
            {
                Console = new Console(textScreen);
            }

            mDebugger.Send("Creating Keyboard");

            mDebugger.Send("HW Init");
            HAL.Global.Init(textScreen, InitScroolWheel, InitPS2, InitNetwork, IDEInit);

            Network.NetworkStack.Init();
            mDebugger.Send("Network Stack Init");

            NumLock    = false;
            CapsLock   = false;
            ScrollLock = false;
        }