This commit is contained in:
Kudzu 2017-08-06 18:21:01 -04:00
parent ed4a746ea1
commit 7d37be2b44
4 changed files with 15 additions and 4 deletions

View file

@ -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;

View file

@ -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();
}
}
}

View file

@ -7,7 +7,7 @@ namespace KernelGen3 {
protected override void Run() {
Bootstrap.Init();
Temp.ShowText();
Cosmos.Platform.PC.Debug.ShowText();
while (true) {
}

View file

@ -10,7 +10,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\10-CPU\Cosmos.CPU.x86\Cosmos.CPU.x86.csproj" />
<ProjectReference Include="..\20-Platform\Cosmos.Platform.PC\Cosmos.Platform.PC.csproj" />
<ProjectReference Include="..\40-System\Cosmos.System\Cosmos.System.csproj" />
</ItemGroup>