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