Commit Graph

26 Commits

Author SHA1 Message Date
mtheall
8ae46ee04f Add hidden interface to support FeOS implementation of multiple cwd.
This interface grabs the pointer to the cwd cluster. This interface
is hidden because it can be very easily used incorrectly. Modifying
the cwd cluster value may cause unexpected results, so use at your
own risk, which includes a corrupted storage medium.
2012-09-14 16:48:11 -05:00
Dave Murphy
1bb3bab6e4 cleanup patch - http://sourceforge.net/tracker/?func=detail&aid=3331605&group_id=114505&atid=668553 2011-06-28 20:35:00 +00:00
tantricity
d5f437723f support > 512 bytes per sector in libfat (dimok) 2011-06-18 07:40:53 +00:00
Dave Murphy
907449094b sector buffer in ewram for writing from arm7 (DSi SD fix) 2011-01-28 02:09:07 +00:00
tantricity
93ec6aad6a support to read/write FS info sector for FAT32 partitions. speeds up statvfs. patch submitted by dimok 2011-01-16 19:03:37 +00:00
Dave Murphy
5f29cee9cb remove bogus FAT check 2010-09-03 18:52:49 +00:00
tantricity
a8ed97403b added fatGetVolumeLabel (rodries) 2009-10-17 20:29:48 +00:00
tantricity
9f7c3edc44 correct mixed line endings 2009-10-17 18:59:17 +00:00
tantricity
d09577c51a find the first valid fat partition (rodries) 2009-06-30 08:01:04 +00:00
tantricity
8ad45f1556 clean 2009-06-30 07:54:49 +00:00
tantricity
38528ce18f correct line endings 2009-06-30 07:48:29 +00:00
Dave Murphy
1befdfead1 prevent caching off end of partition 2009-06-09 19:42:35 +00:00
Dave Murphy
206ce78022 add read ahead cache by Rodries 2009-05-17 22:16:35 +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
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
4d5a03f03c rearrange structs in size order, initialise partition open file list 2008-12-10 14:26:58 +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
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
46df48ba21 add libogc port and nitroFS support 2008-05-10 19:35:18 +00:00
Michael Chisholm
74f3ca8a59 _partitions changed to _FAT_partitions to maintain the same style of naming as the functions 2006-10-28 07:39:11 +00:00
Michael Chisholm
0d1dbf4df5 Fixed problem when openning files starting with "fat" 2006-08-10 08:40:48 +00:00
Michael Chisholm
eb2b6d1e20 Changed all IO_INTERFACEs to const. M3SD and SCSD drivers no longer delay card detection when it is not inserted. 2006-07-25 10:36:42 +00:00
Michael Chisholm
8bf1f6e7fb Added SCSD support. Fixed a few FAT errors. 2006-07-22 12:16:40 +00:00
Michael Chisholm
cc64edfab8 Initial import into devkitpro CVS. 2006-07-14 02:42:37 +00:00