Dave Murphy
488d832012
make LFN tables static
2009-06-11 00:47:38 +00:00
Dave Murphy
1befdfead1
prevent caching off end of partition
2009-06-09 19:42:35 +00:00
Dave Murphy
eafce2e122
.. in subdir of root always links to cluster 0
2009-06-09 18:22:51 +00:00
Dave Murphy
76a9624d2e
only sync if file open for writing
2009-06-09 18:20:22 +00:00
Michael Wiedenbauer
980ade67d4
- reverted .last_access handling to use the static counter. Old behaviour - counting up .last_access directly - lead to a heavy performance impact.
2009-06-09 11:39:57 +00:00
Michael Wiedenbauer
5324215493
- if current sector is not in cache the starting sector to read from disc needs to be recalculated to be a multiple of sectorsPerPage
2009-06-08 21:00:42 +00:00
tantricity
245ac2fee5
change partition->disc to partition->cache (from rodries)
2009-06-06 22:54:40 +00:00
Michael Wiedenbauer
806fc418e0
- cleaned up cache code. reverted access policy to what it was before.
...
- _FAT_fat_linkFreeClusterCleared must go thru cache aswell.
2009-06-06 16:06:42 +00:00
Dave Murphy
22f3dea64f
short aliases aren't multibyte
...
zero terminate generated alias
2009-06-02 13:40:14 +00:00
tantricity
e89b232b5f
remove unused code, r18 args fix
2009-05-30 16:22:09 +00:00
Dave Murphy
af94077a7a
move device startup to fatMount
...
shut device down in fatUnmount
2009-05-30 15:54:52 +00:00
tantricity
7262354c49
new write cache, flush dirty pages. fix by rodries.
2009-05-30 06:52:18 +00:00
tantricity
7d8f5f3194
sync written data to disk on f_write
2009-05-28 17:50:36 +00:00
tantricity
56261df0c7
counter fix
2009-05-20 18:22:26 +00:00
tantricity
1c6db0ae1b
remove unnecessary function
2009-05-20 18:12:27 +00:00
Dave Murphy
47853a41bb
bump version
2009-05-17 22:18:34 +00:00
Dave Murphy
206ce78022
add read ahead cache by Rodries
2009-05-17 22:16:35 +00:00
Dave Murphy
527a26f299
reinstate memcard drivers for wii
2009-05-17 20:40:15 +00:00
tantricity
fcb840cd66
remove trailing spaces
2009-05-17 20:19:56 +00:00
Dave Murphy
36b712eb75
correct year in _FAT_filetime_to_time_t
2009-05-01 07:57:13 +00:00
Dave Murphy
22f264e5fd
set access and modify times on dir creation
2009-05-01 07:56:08 +00:00
Dave Murphy
52def810fc
patch applied from https://sourceforge.net/tracker/?func=detail&aid=2721592&group_id=114505&atid=668551
2009-05-01 07:37:36 +00:00
Dave Murphy
116092466a
exclude svn directories
2009-05-01 00:36:01 +00:00
Dave Murphy
2266f93113
applied patch http://sourceforge.net/tracker2/?func=detail&aid=1983783&group_id=114505&atid=668553
2009-03-13 08:34:32 +00:00
Dave Murphy
807f1920eb
bump version for next release
2008-12-23 17:57:59 +00:00
Michael Chisholm
f1f2735ea9
Use $(MAKE) instead of platform specific make, thanks to dhewg
2008-12-23 13:01:47 +00:00
Michael Chisholm
18e980f050
Add missing unlocks to _FAT_fread_r, thanks to dhewg
2008-12-23 12:58:17 +00:00
Dave Murphy
4e6b2672c7
add versioning & version header
2008-12-13 11:43:53 +00:00
Michael Chisholm
145e2cc9d3
Truncated files are modified upon opening
2008-12-13 03:14:54 +00:00
Michael Chisholm
2a239bcd2b
Remove left-over debugging code
2008-12-13 02:18:40 +00:00
Dave Murphy
4d5a03f03c
rearrange structs in size order, initialise partition open file list
2008-12-10 14:26:58 +00:00
Michael Chisholm
d7e584d6e5
Removed memcard drivers for Wii
2008-12-10 08:22:35 +00:00
Dave Murphy
9a61155c18
remove nitrofs from libfat
2008-12-03 21:39:19 +00:00
Michael Chisholm
aa0d8773da
Removed superfluous debug messages
2008-12-01 23:57:00 +00:00
Dave Murphy
71b1b585b8
ifdef debug code
2008-12-01 18:52:22 +00:00
Michael Chisholm
198df1272d
Reload partition boot sector when sector 0 is an MBR
2008-11-30 07:12:08 +00:00
Michael Chisholm
94c4eac0cb
Read/write contigious clusters in one operation to improve speed.
2008-11-22 13:37:16 +00:00
Michael Wiedenbauer
c0c2a463f6
prepended __ to the io_x exports
2008-11-20 14:18:42 +00:00
Michael Chisholm
9501328dca
Added disc.c -- wrapper for DISC_INTERFACEs.
2008-11-20 05:32:59 +00:00
Michael Chisholm
2cc2cc2e39
Moved disc interfaces to appropriate libraries (DLDI to libnds, SD/USB to libogc).
...
Changed read/write functions to use size_t and seek function to use off_t -- will help on 64 bit platforms.
Partitions no longer specified by fat1:/, fat2:/, etc.
Use "nice" device names. On GBA/NDS the default partition is still fat:/; however on Wii and GC sd:/, usb:/, etc. are used instead.
Added fsync and ftruncate functions.
Mount and unmount no longer startup/shutdown the device, this is the job of the host app.
Mount now accepts a partition start parameter.
Used standard types, eg uint32_t instead of u32.
Archive bit is set when closing/synchronizing a modified file.
Various minor bug fixes.
2008-11-20 05:22:28 +00:00
Dave Murphy
841c1a692c
files moved to libogc
2008-11-14 16:47:24 +00:00
Michael Chisholm
03bed3a1bd
Only set append position when file is opened for append, as suggested by rodries. Improves open speed for large files.
2008-09-12 11:18:09 +00:00
Michael Chisholm
d72dcb0384
Fixed unlink not freeing cluster chains
2008-09-11 08:54:23 +00:00
Michael Chisholm
bfb4d60d1f
Don't read high 16 bits of start cluster from a directory entry on non-FAT32 partititions, in case it contains non-zero data
2008-09-08 08:28:17 +00:00
Michael Chisholm
783ea08837
Added CLUSTER_ROOT definition
2008-08-16 14:12:56 +00:00
Michael Chisholm
c01d5f3e69
Correct cluster given on FAT32 when .. entry is included in path to subdirectory.
...
Fixed creation of long filename entry for all-caps filenames longer than 8 characters.
2008-08-02 04:22:47 +00:00
Dave Murphy
e6b8be341d
disable sdgecko on Wii
2008-05-25 14:52:04 +00:00
Dave Murphy
486efc2bc9
files added by http://sourceforge.net/tracker/?func=detail&atid=668553&aid=1970541&group_id=114505
2008-05-23 21:54:50 +00:00
Dave Murphy
8b9d437f76
add locks for threaded systems.
...
fix eof conditions
https://sourceforge.net/tracker/?func=detail&atid=668553&aid=1970541&group_id=114505
2008-05-23 19:37:46 +00:00
Dave Murphy
8843a36ea2
remove unneeded ldflags
2008-05-23 19:36:41 +00:00