Commit Graph

61 Commits

Author SHA1 Message Date
Michael Chisholm
2f4af3f8c0 Uses standard POSIX time functions 2007-10-30 02:46:22 +00:00
Michael Chisholm
def250bd28 Use CLUSTER_ERROR when an error occurs with the FAT, not CLUSTER_FREE 2007-10-25 12:55:18 +00:00
Michael Chisholm
8c319ec76a Added statvfs functionality 2007-10-25 12:52:08 +00:00
Michael Chisholm
8cfa906c22 Use CLUSTER_ERROR when an error occurs with the FAT, not CLUSTER_FREE 2007-09-01 07:55:38 +00:00
Michael Chisholm
4a0c7c4046 Added space to list of illegal alias characters - fixes filename creation bug when filename contained a space 2007-04-22 07:34:18 +00:00
Michael Chisholm
c394419d72 Fixed seek to end of file when reading 2007-04-12 01:06:35 +00:00
Michael Chisholm
cdc8378826 Fixed device type identifier 2007-04-04 12:31:08 +00:00
Michael Chisholm
4191c6de84 Check long file names for buffer overflow 2007-03-14 10:51:45 +00:00
Michael Chisholm
be7f9f10fb Fixed seek to the end of a file bug 2007-02-25 09:51:47 +00:00
Michael Chisholm
c26b60e6e0 Propagate disc errors up to the user app 2007-02-11 02:08:53 +00:00
Michael Chisholm
359b38085a Added SC_MODE_FLASH 2007-02-11 02:07:58 +00:00
Dave Murphy
e64acc0133 make dirnext return 0 for success & -1 for error/no more files 2007-01-25 18:01:02 +00:00
Dave Murphy
537cb4c6d7 use updated names for time structs 2007-01-25 17:15:43 +00:00
Dave Murphy
1bad1ac5d6 use libnds functions for bus ownership 2007-01-25 17:15:13 +00:00
Dave Murphy
985992255a make binary distribution dependent on release build 2007-01-25 17:14:10 +00:00
Michael Chisholm
e81de2b33a Modified header to include RAM start address 2007-01-11 11:23:52 +00:00
Michael Chisholm
fc538f0164 Added missing #include <unistd.h> 2007-01-11 11:23:18 +00:00
Michael Chisholm
f4cb675198 fatInit now sets the correct path when setAsDefaultDevice 2007-01-10 10:48:46 +00:00
Michael Chisholm
7d0b004900 Updated directory iterator functions for DevkitPro r20 2007-01-10 10:34:47 +00:00
Michael Chisholm
0dc13f35a1 Directory support updated for DKP r20 2007-01-10 10:33:20 +00:00
Michael Chisholm
6ea9f6b6c0 Removed MMCF from repository 2007-01-05 10:01:36 +00:00
Michael Chisholm
677a1e386a Added DLDI interface. 2006-12-25 11:45:21 +00:00
Michael Chisholm
516b204100 Removed warning fix, which is actually due to a bug in libnds 2006-11-14 06:42:20 +00:00
Michael Chisholm
d48f48d55a Changed data register address to 0x09000000 2006-11-14 06:32:27 +00:00
Michael Chisholm
e5c6ce9a09 Reduced voltage range again. Hopefully fixes MicroSD cards. 2006-11-14 06:29:41 +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
43f90657e3 stat returns the hostType for the st_dev value 2006-10-28 07:38:31 +00:00
Michael Chisholm
ef95b683be Fixed incorrect use of bitwise-or instead of logical-or 2006-10-01 12:29:10 +00:00
Michael Chisholm
8956d40bc1 Now clears the whole cluster when creating or extending a directory, bug found by Hermes 2006-09-30 16:00:01 +00:00
Michael Chisholm
dbdb8900b5 Added _FAT_fat_linkFreeClusterCleared to clear a cluster when it is allocated 2006-09-30 15:58:33 +00:00
Michael Chisholm
31a9ccffec Validity checks performed on the time supplied by the IPC
Cleaned up magic numbers
2006-09-30 11:39:55 +00:00
Michael Chisholm
299d69a1e3 Definitely supports SC Lite now 2006-08-19 12:32:54 +00:00
Michael Chisholm
698f3aecee Updated dirnext return values to return correctly 2006-08-19 12:32:17 +00:00
Michael Chisholm
9c7ddccd44 Fixed entryFromPath bug when looking for "." in root directory 2006-08-19 03:37:35 +00:00
Michael Chisholm
c93d8672e1 Added SuperCard Lite support 2006-08-19 03:17:43 +00:00
Michael Chisholm
1a5766fbd3 entryFromPath doesn't look for "" anymore - use "." to refer to the current directory 2006-08-17 13:49:59 +00:00
Michael Chisholm
af89e9074f *** empty log message *** 2006-08-14 12:04:56 +00:00
Michael Chisholm
11140aaa33 Added directory iterator functions 2006-08-14 12:04:16 +00:00
Michael Chisholm
1288d8f8ec Added extended devoptab_t functions 2006-08-14 11:59:25 +00:00
Michael Chisholm
247b640036 entryFromPath correctly finds "" and "." now 2006-08-14 11:49:30 +00:00
Michael Chisholm
11eb212459 Added _FAT_mkdir_r
Moved all externally visible directory related functions to fatdir
2006-08-13 09:44:20 +00:00
Michael Chisholm
a8bbf71829 Moved all externally visible directory related functions to fatdir 2006-08-13 09:43:38 +00:00
Dave Murphy
cae34ed566 fix warnings 2006-08-13 09:10:30 +00:00
Michael Chisholm
0d1dbf4df5 Fixed problem when openning files starting with "fat" 2006-08-10 08:40:48 +00:00
Michael Chisholm
fdf340791d Init aborts when it doesn't get a valid response to APP_CMD 2006-08-08 07:32:39 +00:00
Michael Chisholm
7b4d9b8d0a Moved the SD initialization to a common function 2006-08-07 11:54:04 +00:00
Michael Chisholm
8ceb43c66c Removed unneeded _NJSD_writeRAM function
Removed casts for calls to cardWriteCommand
2006-08-06 08:08:21 +00:00
Michael Chisholm
42415d44a4 Added NinjaDS SD adapter support 2006-08-05 08:12:53 +00:00
Michael Chisholm
c9759d5b6c Now tries multiple times to get a Relative Card Address at startup 2006-08-05 08:08:47 +00:00
Michael Chisholm
f7f51d6a5e Fixed _FAT_seek_r 2006-08-02 10:07:09 +00:00