diff --git a/source/Kernel-X86/10-CPU/Cosmos.CPU.x86/Temp.cs b/source/Kernel-X86/10-CPU/Cosmos.CPU.x86/Debug.cs similarity index 84% rename from source/Kernel-X86/10-CPU/Cosmos.CPU.x86/Temp.cs rename to source/Kernel-X86/10-CPU/Cosmos.CPU.x86/Debug.cs index ebf501243..e79b36263 100644 --- a/source/Kernel-X86/10-CPU/Cosmos.CPU.x86/Temp.cs +++ b/source/Kernel-X86/10-CPU/Cosmos.CPU.x86/Debug.cs @@ -1,8 +1,8 @@ using System; namespace Cosmos.CPU.x86 { - public static class Temp { - public static void ShowText() { + static public class Debug { + static public void ShowText() { unsafe { byte* xTest = (byte*)0xB8000; *xTest = 65; diff --git a/source/Kernel-X86/20-Platform/Cosmos.Platform.PC/Debug.cs b/source/Kernel-X86/20-Platform/Cosmos.Platform.PC/Debug.cs new file mode 100644 index 000000000..bdf77316e --- /dev/null +++ b/source/Kernel-X86/20-Platform/Cosmos.Platform.PC/Debug.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Cosmos.Platform.PC { + static public class Debug { + static public void ShowText() { + Cosmos.CPU.x86.Debug.ShowText(); + } + } +} diff --git a/source/Kernel-X86/50-Application/Boot.cs b/source/Kernel-X86/50-Application/Boot.cs index a8912eabc..dbedfe9dd 100644 --- a/source/Kernel-X86/50-Application/Boot.cs +++ b/source/Kernel-X86/50-Application/Boot.cs @@ -7,7 +7,7 @@ namespace KernelGen3 { protected override void Run() { Bootstrap.Init(); - Temp.ShowText(); + Cosmos.Platform.PC.Debug.ShowText(); while (true) { } diff --git a/source/Kernel-X86/50-Application/GuessKernelGen3.csproj b/source/Kernel-X86/50-Application/GuessKernelGen3.csproj index 63920e5c3..c6238eb16 100644 --- a/source/Kernel-X86/50-Application/GuessKernelGen3.csproj +++ b/source/Kernel-X86/50-Application/GuessKernelGen3.csproj @@ -10,7 +10,7 @@ - +