mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 18:21:20 +00:00
This commit is contained in:
parent
7c4b20720a
commit
e396015582
3 changed files with 2 additions and 10 deletions
|
|
@ -25,12 +25,6 @@ namespace Cosmos.Common.Extensions {
|
|||
}
|
||||
|
||||
static public string GetAsciiString(this byte[] n, UInt32 aStart, UInt32 aCharCount) {
|
||||
Console.Write("CharCount: ");
|
||||
Console.WriteLine(aCharCount.ToString());
|
||||
Console.Write("aStart: ");
|
||||
Console.WriteLine(aStart.ToString());
|
||||
Console.Write("n.Length: ");
|
||||
Console.WriteLine(n.Length.ToString());
|
||||
var xChars = new char[aCharCount];
|
||||
for (int i = 0; i < aCharCount; i++) {
|
||||
xChars[i] = (char)n[(aStart) + i];
|
||||
|
|
|
|||
|
|
@ -173,8 +173,6 @@ namespace Cosmos.System.Filesystem.FAT {
|
|||
xData = mDevice.NewBlockArray(RootSectorCount);
|
||||
mDevice.ReadBlock(RootSector, RootSectorCount, xData);
|
||||
}
|
||||
global::System.Console.Write("xData.Length: ");
|
||||
global::System.Console.WriteLine(xData.Length.ToString());
|
||||
//TODO: Change xLongName to StringBuilder
|
||||
string xLongName = "";
|
||||
for (UInt32 i = 0; i < xData.Length; i = i + 32) {
|
||||
|
|
@ -201,7 +199,7 @@ namespace Cosmos.System.Filesystem.FAT {
|
|||
}
|
||||
}
|
||||
xLongName = xLongPart + xLongName;
|
||||
// //TODO: LDIR_Chksum
|
||||
//TODO: LDIR_Chksum
|
||||
}
|
||||
} else {
|
||||
byte xStatus = xData[i];
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ namespace BreakpointsKernel {
|
|||
//try {
|
||||
//Trace1();
|
||||
//TestSB();
|
||||
TestStringCtor();
|
||||
//TestStringCtor();
|
||||
|
||||
Console.WriteLine("Block devices found: " + BlockDevice.Devices.Count);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue