mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
16 lines
357 B
C#
16 lines
357 B
C#
using System;
|
|
|
|
namespace Cosmos.CPU.x86 {
|
|
static public class TempDebug {
|
|
unsafe static byte* mPtr = (byte*)(0xB8000 - 1);
|
|
static public void ShowText(char aChar) {
|
|
unsafe {
|
|
mPtr++;
|
|
*mPtr = (byte)aChar;
|
|
|
|
mPtr++;
|
|
*mPtr = 0x0A;
|
|
}
|
|
}
|
|
}
|
|
}
|