forked from CosmosOS/Cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAT works (start): Directory.Exists works for root folders.
- Loading branch information
Showing
9 changed files
with
186 additions
and
108 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
Users/Sentinel/SentinelSystem/FileSystem/FAT/DirectoryEntryAttributeConsts.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace SentinelKernel.System.FileSystem.FAT | ||
{ | ||
public static class DirectoryEntryAttributeConsts | ||
{ | ||
public const int Test = 0x01; | ||
public const int Hidden = 0x02; | ||
public const int System = 0x04; | ||
public const int VolumeID = 0x08; | ||
public const int Directory = 0x10; | ||
public const int Archive = 0x20; | ||
// LongName was created after and is a combination of other attribs. Its "special". | ||
public const int LongName = 0x0F; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using Cosmos.Debug.Kernel; | ||
|
||
namespace SentinelKernel.System.FileSystem | ||
{ | ||
public static class FatHelpers | ||
{ | ||
private static Debugger mDebugger = new Debugger("FAT", "Debug"); | ||
public static void Debug(string message) | ||
{ | ||
//mDebugger.Send("FAT Debug: " + message); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.