mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 10:11:31 +00:00
g3
This commit is contained in:
parent
ed4a746ea1
commit
7d37be2b44
4 changed files with 15 additions and 4 deletions
|
|
@ -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;
|
||||
11
source/Kernel-X86/20-Platform/Cosmos.Platform.PC/Debug.cs
Normal file
11
source/Kernel-X86/20-Platform/Cosmos.Platform.PC/Debug.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ namespace KernelGen3 {
|
|||
|
||||
protected override void Run() {
|
||||
Bootstrap.Init();
|
||||
Temp.ShowText();
|
||||
Cosmos.Platform.PC.Debug.ShowText();
|
||||
|
||||
while (true) {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue