gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Flash Equipment > supercard SD and CF

#69874 - Yata^Duck - Thu Feb 02, 2006 5:23 pm

First question, whats the difference between this and say M3 or any of the other ones?

Second question, I had thought i was starting to understadn things round here that CF>SD in terms of compatabiltiy, but then I just read that supercard SD is just as good as supercard CF for compatability...

Help me.. please... before i go crazy!

#69879 - LiraNuna - Thu Feb 02, 2006 6:36 pm

first of all define compatability.
if you mean warez compatability - please go away.
else if you mean homebrew compatibility, so CF should have more compatability for newer filesystem applications.

man, do i sound like code...

#69884 - Yata^Duck - Thu Feb 02, 2006 7:18 pm

All (im using the term lightly) i want to do is to use my DS as a snes emulator, play with the homebrew apps i hear you all talking about (the vnc thing, the controller thing etc) i want to play music and videos on it and also play with that linux that is in development when it is done.

By warez what do you mean? i know this means pirated sotware, but i thought it wasnt even possible to pirate DS games?

Also, thanks for the reply, but the bit about warez was a bit harsh...

#69901 - mntorankusu - Thu Feb 02, 2006 9:30 pm

LiraNuna wrote:
define compatability;
if (compatibility == warez) {
goAway();
}
else if (compatiblity == homebrew) {
CF > SD;
}

man, do i sound like code...

:)

Anyway,

Supercard CF and Supercard SD have about the same FAT filesystem support in homebrew. The GBAMP CF seems to have the best support for this, followed by the M3 CF. However, you can do all of the things you mentioned with any of these devices, with some limitations on GBAMP.

I'd suggest getting the Supercard CF.

#69929 - tepples - Fri Feb 03, 2006 1:04 am

Yata^Duck wrote:
All (im using the term lightly) i want to do is to use my DS as a snes emulator [etc]
...
By warez what do you mean? i know this means pirated sotware, but i thought it wasnt even possible to pirate DS games?

It is possible to pirate Nintendo DS games. It is also possible to pirate Super NES games. I give no further detail.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#69962 - Yata^Duck - Fri Feb 03, 2006 10:08 am

Odd, i hadnt realsied it was even possible to pirate DS games. Anyway, about the SNES, is it piracy if you already own the games?

#69971 - Yata^Duck - Fri Feb 03, 2006 12:46 pm

ok so my wifi card just arrive one of the approved WIFI me ones... but one question, where do i get the flash version that is "stealth" i would like to keep my waranty if possible...

#69986 - nmain - Fri Feb 03, 2006 4:22 pm

Yata^Duck wrote:
Odd, i hadnt realsied it was even possible to pirate DS games. Anyway, about the SNES, is it piracy if you already own the games?


Nintendo corp says yes. I won't take a position because this is not the place.

#70946 - Yata^Duck - Thu Feb 09, 2006 5:16 pm

Ok, CF > SD, but is that likely to change any time soon? i really done like CF cards in comparison to SD - too big and chunky.

Also when mntorankusu said supercard CF and SD have about the same file system support in homebrew, im assuming that the CF has slightly greater because you recomended it overall. But are you 100% sure that they can both do all of the things i wanted? I thought that the guy making linux said he couldnt use SD cards or something liek that.

I guess I'm just being stubourn because i really dont like the idea of a CF card sticking out of my DS...

Oh and sorry if this makes no sense - the lastweek at university has been hectic and im slightly fatigued to say the least ;)

#70961 - Sintax - Thu Feb 09, 2006 7:48 pm

CF does has better filesystem support, because it was easily ported from the GBAMP drivers which also use CF. There is SD support, but it's not as developed, although I'm sure it will be soon enough.

#71011 - chishm - Thu Feb 09, 2006 11:59 pm

Well from a programmer's perspective, I have to say I like CF a lot more than SD. SD uses a serial or SPI interface, while CF uses memory mapped registers, much like everything else on GBA and most things on NDS.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#71035 - tepples - Fri Feb 10, 2006 1:39 am

chishm wrote:
Well from a programmer's perspective, I have to say I like CF a lot more than SD. SD uses a serial or SPI interface

So do game controllers on all Nintendo consoles, multiplayer comms on GB and GBA, EEPROM savegames on N64 and GBA, memory cards on the GameCube, savegames on Nintendo DS, and many other peripherals within the Nintendo DS and GameCube.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#71045 - chishm - Fri Feb 10, 2006 2:50 am

tepples wrote:
chishm wrote:
Well from a programmer's perspective, I have to say I like CF a lot more than SD. SD uses a serial or SPI interface

So do game controllers on all Nintendo consoles, multiplayer comms on GB and GBA, EEPROM savegames on N64 and GBA, memory cards on the GameCube, savegames on Nintendo DS, and many other peripherals within the Nintendo DS and GameCube.

This just further proves my point. EEPROM save games are not well supported by homebrew on GBA (mainly because flash carts use SRAM), nor on NDS. RAIN is the only NDS application to support the EEPROM on DS Cards, AFAIK. The DS firmware and touch screen use SPI, but these are hidden behind libnds functions or installer programs. Multiplayer comms support in GBA homebrew is very rare, possibly due to the difficulty in getting syncronous gameplay on more than one GBA.

This is in contrast to the GBA display modes, which are all controlled by memory mapped registers. Keypad input is a simple read of a register. There are countless other examples, but my point is, it is easier to simply peek and poke memory locations than it is to bit bang data over a serial line.

Then there is the problem of CRCs for the normal MMC mode of SD & MMC cards. These have to be calculated on every command and sent along with the data to the card.

Still, if you want to see for yourself, have a look at the io_*.c files in gba_nds_fat. The CF drivers are all similar and quite easy to follow, with pokes to memory then waits on a memory value to change. Compare this with the (not working) SC SD code, which has many function calls to do a simple task. Then compare this to the NMMC code (Neoflash MK2 / MK3), which takes advantage of the DS's SPI hardware. There are still confusing parts, such as the clock sends. The M3 SD (not included) is different again, with hardware level serial control mapped to registers in GBA ROM address space. These are 3 different SD devices with 3 completely different interfaces, compared to the 3 CF devices where the only difference is the addresses of the mapped registers and the startup unlock sequence.

Wow, long post. Summary: CF devices use simple memory mapped registers and share a common interface method. The 3 SD devices I've looked at use completely different interface methods, with one requiring bit banging, one using hardware level control and one taking advantage of the DS's own SPI interface.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#71097 - Yata^Duck - Fri Feb 10, 2006 10:12 am

It sounds like you're against getting an SD card, i guess ill reluctantly go for a CF card (i really hate the bulkyness) unless someone can offer me a good reason why SD is a good purchase within the next 5 hours.

Anyway, another question i think was looked over, where can i find the stealth flashme?

Thanks for all the help and support guys (even though most of it feel upon deaf ears - took me 2 weeks to get that code joke!)

#71135 - Yata^Duck - Fri Feb 10, 2006 4:08 pm

Ok, it is done! ordered supercard CF from cheapmod online, got a 512 kingston CF card and i have my wifi card preped and ready.

Probably wont get the stuff 'til monday at the earliest since im working all day tomorrow, still im very excited about this!

#71140 - Xgame - Fri Feb 10, 2006 4:22 pm

but now supercard sd support FAT and sd should be faster!

#71184 - Yata^Duck - Fri Feb 10, 2006 9:19 pm

you better be joking XD

#72205 - QazzaQY2K - Fri Feb 17, 2006 1:20 am

lol just got me a SCSD which i belive will be more used in future coding .. as now older and more lazy coders are so used to old code .. and as we all are human don't like to change.. they stick with what works.. anyway.. SD is faster and got FAT soon maybe some will suport FAT32 ;P anyway.. more and more are homebrew is supporting the SCSD and othere SD cards .. so don't c the problem.. only c lazy ppl.. still im happy with my nds and scsd (Kingston Secure Digital Ultimate 2GB) ;P

#72218 - chishm - Fri Feb 17, 2006 1:59 am

QazzaQY2K wrote:
lol just got me a SCSD which i belive will be more used in future coding .. as now older and more lazy coders are so used to old code .. and as we all are human don't like to change.. they stick with what works.. anyway.. SD is faster and got FAT soon maybe some will suport FAT32 ;P anyway.. more and more are homebrew is supporting the SCSD and othere SD cards .. so don't c the problem.. only c lazy ppl.. still im happy with my nds and scsd (Kingston Secure Digital Ultimate 2GB) ;P

Well since you're not lazy, and you have the hardware, you can write a driver for the supercard SD. It has to be C, and make sure it works for all SD cards. ;p
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#72222 - QazzaQY2K - Fri Feb 17, 2006 2:15 am

actualy Moonshell 0.999 got some nice SD FAT C code .. :D just a little more tweaking and it might work! ;P

#72237 - chishm - Fri Feb 17, 2006 3:48 am

QazzaQY2K wrote:
actualy Moonshell 0.999 got some nice SD FAT C code .. :D just a little more tweaking and it might work! ;P

Well actually, there are two versions of that driver in the various versions of Moonshell 0.999. The pure C one is what I converted from Romman's ASM driver. The part ASM one is not usable in everything.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#72375 - QazzaQY2K - Sat Feb 18, 2006 1:13 am

well then i stand corrected ur not lazy .. but ur stuck.. and i'm wondering with what tho.. ya need feed back .. testing anything i'd be more then happy to help..

#72940 - coliseu - Wed Feb 22, 2006 3:38 pm

I am disappointed with the Supercard. It finished with the useful life it my DS and i?m selling it. take care.