Sega Genesis Dev Kit (SGDK)
Moderator: Stef
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Updated to version 0.7, check the first page
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Fat FS
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.
http://elm-chan.org/fsw/ff/00index_e.html
I tried it and it works fine.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
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.
It shouldn't be too hard to make the Everdrive work with FF for FAT32 and write support.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
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
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
-
- Very interested
- Posts: 745
- Joined: Sat Dec 15, 2007 7:49 am
- Location: Kazakhstan, Pavlodar
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!
Cheer up, you can copy your files in desired order to new created folder an they will appear in that order!
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
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.