/// <summary> /// Output and Debug devices /// </summary> public static unsafe void InitStage2() { Serial.SetupPort(Serial.COM1); Serial1 = new SerialDevice(Serial.COM1); PageTable.KernelTable.SetWritable(Screen.ScreenMemoryAddress, Screen.ScreenMemorySize); Screen.EarlyInitialization(); BiosTextScreen = new BiosTextScreenDevice(); Screen.ApplyMode(BootInfo.Header->VBEMode); Console = new ConsoleDevice(BiosTextScreen); }