This commit is contained in:
mterwoord_cp 2008-01-03 18:36:41 +00:00
parent 7cbd92932f
commit 2415db0ff7
2 changed files with 5 additions and 5 deletions

View file

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

View file

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