Page 12 of 57

Posted: Thu Dec 09, 2010 1:55 am
by Vincent
Problems solved, thank you for your help. :mrgreen:

Posted: Fri Dec 24, 2010 12:53 am
by Stef
Updated to version 0.7, check the first page

Posted: Fri Dec 24, 2010 2:07 am
by Chilly Willy
Nice update! I noticed you added Everdrive support, among other things. :D

Posted: Fri Dec 24, 2010 11:29 am
by Stef
Chilly Willy wrote:Nice update! I noticed you added Everdrive support, among other things. :D
I just bought an Everdrive cart and it's a very nice piece of hardware :)
Krikzz shared his FAT16 and everdrive driver code and allowed me to add them in the library :)

Posted: Fri Dec 24, 2010 7:56 pm
by Chilly Willy
For the price, it's a really great cart. He really needs to bump the filesystem support to FAT32 so you can use SDHC cards.

Fat FS

Posted: Sat Dec 25, 2010 1:53 am
by Vincent
I know an open source low level lib to manipulate files for a FAT filesystem:

http://elm-chan.org/fsw/ff/00index_e.html

I tried it and it works fine.

Posted: Sat Dec 25, 2010 2:42 am
by Chilly Willy
Yes, that's the filesystem I use in the MD and N64 Myth cart menus. The SNES Myth menu uses PetitFS from the same folks. It is a simplified version with no writing, and no long filename support. It does handle FAT32, though.

It shouldn't be too hard to make the Everdrive work with FF for FAT32 and write support.

Posted: Sat Dec 25, 2010 11:14 am
by Stef
Imo 2 GB is already more than enough for what i want to do but yeah a true FAT32 support could be nice :)
From what i read in sources, the current FAT16 support has some limitations (number of subdirectories, number of files...) but really they don't bother me, also it's already really nice to have sort of long filename support :)

Posted: Sat Dec 25, 2010 3:42 pm
by HardWareMan
Filename sorting are takes too much resources. Especially RAM. If it was a RAM cartrige (instead of ROM) it was not a problem. But don't forget: M68K are not so power CPU for sorting string list (wich can content thousands of items).
Cheer up, you can copy your files in desired order to new created folder an they will appear in that order!

Posted: Sat Dec 25, 2010 7:10 pm
by Chilly Willy
The MD Myth menu sorts the file lists... it's not THAT slow! You don't even notice the delay unless you have hundreds of files in a directory. Back when I first added SD support to the MD Myth, pulling up a directory list WAS slow, but not because of sorting - it was because I was getting info about each file for display in the list. That was taking too long on directories with many files. The way to "cure" that was to not fetch any info beyond what was in the directory entry (name and length); instead you wait until the user navigates to a file, then check if the info has been fetched (a flag for the entry). To make navigating a list of mostly unknown files faster, there's a time delay on that - you have to pause for a second over a file before it fetches the info. That pause is so that if you're just moving through the list, you don't waste time fetching info for files you are simply navigating past.

Posted: Tue Dec 28, 2010 2:51 pm
by Stef
I updated the tutorial to use the dev kit and the Code::Blocks IDE integration tutorial :)
Can see them in the first page of the topic.

Posted: Tue Dec 28, 2010 9:51 pm
by Pascal
worked like a charm. great work stef much appreciated

Posted: Tue Dec 28, 2010 11:16 pm
by Stef
Pascal wrote:worked like a charm. great work stef much appreciated
Glad it worked for you =)

Posted: Wed Dec 29, 2010 7:08 am
by Vincent
Very nice installation tutorial. Thanks ! :)

Posted: Wed Dec 29, 2010 10:40 am
by Stef
Thanks, that confirm the tutorial doesn't contains errors or miss important informations, i wasn't really sure :)