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 development > 8MB Flash support?

#159548 - zigg - Wed Jul 02, 2008 2:30 pm

Daigasso! Band Brothers DX has a never-before-seen flash chip that holds 8MB (bytes, not bits--it's 64Mb) of data on it.

There are already tools to extract/replace user-made songs from the save that pirates already have, but there's no way that I'm aware of to actually get the save off the real actual game card.

It's my understanding that the chip is a ST M25P64. I'd like to update brettk's savsender to support this chip, but I'm not really a hardware guy. Any tips/etc.?

Or, is there already a tool I'm unaware of that can deal with this?

#160040 - zigg - Wed Jul 09, 2008 5:11 pm

Well, against my better judgment, I am working on this problem myself.

I've already created a little utility to probe for unknown types of saves and identified the chip, I think.

I'll see if I can use this to dump a copy of my card's save or not later today, with luck.

#160392 - josath - Mon Jul 14, 2008 11:35 pm

Make sure to take a look at the eeprom/flash code in libnds (include/nds/card.h & source/common/card.c), which supports most/all of the other save chip sizes. Ideally you'd write your code as a patch to libnds code, so it supports the new size just like all the others.

#160422 - zigg - Tue Jul 15, 2008 3:02 pm

Yeah, I'm definitely pursuing that route. Life has intervened for the moment so I haven't got much further. (Actually, I recompiled savsender with my changes and tried it, but it hit me there isn't 8 MB to malloc for the save, and savsender does it all at once.) I am working on a solution for sending just pages over the wire so I can confirm that it's dumping properly before going further.

#160779 - josath - Tue Jul 22, 2008 12:23 am

someone's posted a tool for loading/saving songs from a daigasso band bros dx save game to a slot-2 cart. haven't tried it, maybe you should give it a look:
bbdxsave