Sega Genesis Dev Kit (SGDK)

SGDK only sub forum

Moderator: Stef

Vincent
Newbie
Posts: 6
Joined: Wed Dec 08, 2010 10:40 am
Location: Taipei

Post by Vincent »

Problems solved, thank you for your help. :mrgreen:
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

Updated to version 0.7, check the first page
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy »

Nice update! I noticed you added Everdrive support, among other things. :D
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post 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 :)
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post 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.
Vincent
Newbie
Posts: 6
Joined: Wed Dec 08, 2010 10:40 am
Location: Taipei

Fat FS

Post 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.
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post 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.
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post 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 :)
HardWareMan
Very interested
Posts: 753
Joined: Sat Dec 15, 2007 7:49 am

Post 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!
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post 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.
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post 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.
Pascal
Very interested
Posts: 200
Joined: Wed Nov 29, 2006 11:29 am
Location: Belgium
Contact:

Post by Pascal »

worked like a charm. great work stef much appreciated
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

Pascal wrote:worked like a charm. great work stef much appreciated
Glad it worked for you =)
Vincent
Newbie
Posts: 6
Joined: Wed Dec 08, 2010 10:40 am
Location: Taipei

Post by Vincent »

Very nice installation tutorial. Thanks ! :)
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

Thanks, that confirm the tutorial doesn't contains errors or miss important informations, i wasn't really sure :)
Post Reply