From 2415db0ff792f8b4783f255ea33e7eac10ba2518 Mon Sep 17 00:00:00 2001 From: mterwoord_cp <7cd3fd84a0151ea055c2f79e4d2eef9576fe9afesxUZAwxD> Date: Thu, 3 Jan 2008 18:36:41 +0000 Subject: [PATCH] --- source/Cosmos/Cosmos.Hardware/DebugUtil.cs | 8 ++++---- source/Cosmos/Cosmos.Kernel/Heap.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/Cosmos/Cosmos.Hardware/DebugUtil.cs b/source/Cosmos/Cosmos.Hardware/DebugUtil.cs index 2770429d7..e06313d91 100644 --- a/source/Cosmos/Cosmos.Hardware/DebugUtil.cs +++ b/source/Cosmos/Cosmos.Hardware/DebugUtil.cs @@ -226,10 +226,10 @@ namespace Cosmos.Hardware { } public static void WriteSerialString(string aData) { - //for (int i = 0; i < aData.Length; i++) { - // Serial.WriteSerial(0, (byte)aData[i]); - //} - Console.Write(aData); + for (int i = 0; i < aData.Length; i++) { + Serial.WriteSerial(0, (byte)aData[i]); + } + //Console.Write(aData); } } } \ No newline at end of file diff --git a/source/Cosmos/Cosmos.Kernel/Heap.cs b/source/Cosmos/Cosmos.Kernel/Heap.cs index 25c5c7d9c..ababe8714 100644 --- a/source/Cosmos/Cosmos.Kernel/Heap.cs +++ b/source/Cosmos/Cosmos.Kernel/Heap.cs @@ -29,7 +29,7 @@ namespace Cosmos.Kernel { int xEnd = (RTC.GetMinutes() * 60) + RTC.GetSeconds(); int xDiff = xEnd - xStart; Console.Write("Time to clear "); - Hardware.Storage.ATAOld.WriteNumber(xDiff, 32); + Hardware.Storage.ATAOld.WriteNumber((uint)xDiff, 32); Console.WriteLine(""); }