You need to try out my fat32. At least give the sample a read,
although you may not have time to implement anything.

You'll see in the sample, I only use these commands:

fat32_read_file_info() - read the file name, location, date, etc. from
a given file number.
fat32_print_directory() - print the entire directory to an output
device like serial_hw_data
fat32_cd() - change dir / open dir (return true if success and if it
is a dir)
fat32_file_open() - open a file (return true if success and if it is a
file)
fat32_read_file_sector_number() - read one sector from a file at the
given address
fat32_write_file_sector_number() - write one sector to a file at the
given address.
fat32_file_close() - close the file
fat32_file_size - file size in bytes

Matt.

On Jun 2, 9:38 am, Sebastien Lelong <[email protected]>
wrote:
> 2011/6/2 mattschinkel <[email protected]>
>
>
>
> > > open, read, write, seek & close are file descriptor's related. I wanted
> > to
> > > implement this and "honor" standard API to deal with files.
>
> > I really do hope we can come up with a standard API for FAT32 and
> > Minix.
>
> sure, but normalizing filesystems can be very time-consuming and maybe
> resources consuming too. there are lots of specificites for each of them,
> and also, I guess, for each implementation (my Minix implementation has a
> lot of restriction -- only one file descriptor for instance -- that may not
> be compatible with other filesystems...
>
> I guess the simplest way would be to stick to file level (that's what this
> is about after all). Again, open, seek, read, write, close are the only
> primitive, and standard, actions I can think about when dealing with files.
> Haven't you implemented this ?
>
> > I may give Minix a try with vs1053b and some mp3's.
>
> That would be great, but you'll need a Linux box or similar. I couldn't find
> a Minix driver for Windows.
>
> I hope to find time to write some tutorials too. When I developed libs &
> samples, I used a dataset to perform tests + generic sample (demo). These
> are great materials for both tests and tutorials
>
> Cheers,
> Seb

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to