public ConsoleSession(byte columns, byte rows, ConsoleManager consoleManager) { Columns = columns; Rows = rows; ConsoleManager = consoleManager; text = new byte[Columns * Rows]; textcolor = new byte[Columns * Rows]; }
public ConsoleSession(uint columns, uint rows, ConsoleManager consoleManager, uint scrollRow) { Columns = columns; Rows = rows; ConsoleManager = consoleManager; text = new byte[Columns * Rows]; textcolor = new byte[Columns * Rows]; ScrollRow = scrollRow; Color = Colors.White; BackgroundColor = Colors.Black; }
public static void Setup() { // At this stage, allocating memory does not work, so you are only allowed to use ValueTypes or static classes. IDT.SetInterruptHandler(null); Panic.Setup(); Debugger.Setup(Serial.COM1); // Initialize interrupts PIC.Setup(); IDT.Setup(); // Initializing the memory management Multiboot.Setup(); GDT.Setup(); PageFrameAllocator.Setup(); PageTable.Setup(); VirtualPageAllocator.Setup(); GC.Setup(); // At this point we can use objects, that allocates memory SmbiosManager.Setup(); ConsoleManager.Setup(); Internal.Setup(); }
/// <summary> /// Initializes a new instance of the <see cref="ConsoleSession"/> class. /// </summary> public ConsoleSession(ConsoleManager consoleManager) : this(80, 40, consoleManager) { }
/// <summary> /// Initializes a new instance of the <see cref="ConsoleSession"/> class. /// </summary> public ConsoleSession(ConsoleManager consoleManager) : this(80, 25, consoleManager, 25) { }