Commit graph

29 commits

Author SHA1 Message Date
Quajak
ee34c631c5 Changed again how clearing happens. Reverted to use Fat Table correctly 2020-11-07 21:58:44 +01:00
Quajak
0d268eebef Added unittests for the VFSManager
Changed how the cluster is cleared again
Also added method to find unused cluster to use, rather than incorrectly using GetFatEntry to find cluster
2020-11-07 19:58:49 +01:00
Quajak
09744a47e7 Changed where 2020-11-04 18:48:06 +01:00
Quajak
ca1aacfbb1 New approach to correctly initialise directory 2020-10-31 21:25:31 +01:00
Quajak
f97f641bb4 Only clear the next entry
Fix incorrect amount written
2020-10-29 21:36:13 +01:00
Quajak
c9dfec1740 Fixed fat file system bug when creating a new directory which gets allocated a cluster with data still in it
Also added more debug output
2020-10-29 11:26:55 +01:00
Elia Sulimanov
0d0ff14df8 Done api docs of FatFileSystem 2020-06-09 19:21:31 +03:00
Charles Betros
b9307acfdf Fix multi-cluster allocation when writing using fatstream. 2019-04-19 18:07:47 -05:00
fanoI
b43d2bb67d Removed ReadBuffer "optimization": it made fail read of file bigger of one cluster :-( 2018-07-22 17:42:03 +02:00
fanoI
da61f7885f Merge branch 'master' of https://github.com/CosmosOS/Cosmos into DiskManager
# Conflicts:
#	Test.sln
#	source/Cosmos.System2/FileSystem/FAT/FatFileSystem.cs
2018-07-22 16:16:39 +02:00
fanoI
a52d7918a5 Created new DiskManager class with the required methods that DriveInfo does not have: Format, ChangeDriveLetter, CreatePartition.
- Only Format is implemented for now
- Modified Bochs configuration: increased IPS to 4'000'000 this makes it more faster
- Optimized ReadFatSector to allocate less
2018-07-22 14:58:57 +02:00
José Pedro
4a801eb167
File system fixes and code cleanup. 2018-07-21 21:06:18 +01:00
Quajak
10528e0158 Fixed the problems 2018-07-11 18:02:34 +02:00
Quajak
33d16fca1c Readded ByteConverter class so that the Set methods can be still used.
Improved dialog of testrunner for saving the file
Fixed changes in FatDirectoryEntry
Added tests to EncodingTests for UnicodeEncoding
2018-07-04 22:31:20 +02:00
Quajak
ee4c09bcdb Fixed requested changes
Added plugs for BitConverter ToUInt16, 32 and 64 methods
Used ToUInt methods
2018-05-20 17:46:46 +02:00
Quajak
7635fcdb77 Merged 2018-05-19 13:33:28 +02:00
Quajak
cacc918f09 Removed the byte converter class and used encoding or bitconverter classes for the correct classes. 2018-05-13 21:23:43 +02:00
fanoI
d97d3b6e53 - Removed "m_" for properties names
- Renamed class FatDiretoryEntry to FatDirectoryEnty
2018-04-22 15:11:02 +02:00
fanoI
ad44cfa9b7 Bugfix: TotalSize, AviableSize and TotalFreeSpace must be expressed in Bytes not MegaBytes 2018-04-15 19:56:09 +02:00
fanoI
d2ecdfdeee First part of the work on DiskManager
- plugged DriveInfo
- added tests for DriveInfo
- added to VFS a new method RegisterFilesystem()
2018-04-13 17:43:00 +02:00
José Pedro
435d92d4b5 Fixes. 2017-10-12 21:24:59 +01:00
Valentin Charbonnier
9e198d1ba7 Revert "long changed to ulong."
This reverts commit f827994340.

Revert.
2017-08-13 20:56:03 +02:00
Valentin Charbonnier
f827994340 long changed to ulong. 2017-08-12 19:36:32 +02:00
Valentin Charbonnier
5300250a28 GetVolumes mSize fix. 2017-08-12 18:51:21 +02:00
Kudzu
fa4c223452 Move again because of submodules being less than half baked in git. 2017-08-10 16:04:19 -04:00
Kudzu
fa00b78441 New Cosmos parent dir 2017-08-08 11:29:41 -04:00
José Pedro
c6ff16aa8b FAT fixes. 2017-08-05 16:18:58 +01:00
Valentin Charbonnier
1a805d8f25 FileSystem Fixes. 2017-08-03 17:27:47 +02:00
José Pedro
a58e3f2fa0 g3 2017-07-30 18:38:20 +01:00
Renamed from source/Cosmos.System/FileSystem/FAT/FatFileSystem.cs (Browse further)