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.

Hardware > Accesing the Cartridge ROM

#6400 - pbmtp - Sat May 24, 2003 10:54 am

Hi,

does anybody has any information on if it is possible to write data in the Cardtridge Game Pack Rom persistant memory as done by a Flash2Advance Cable and if it is possible how can i do it in asm or C ?

Thx for your help

Pb

#6457 - pbmtp - Mon May 26, 2003 12:06 pm

nobody here knows how to write some date in the EEPROM or FLASH of the Game PAK ?

#6468 - jenswa - Mon May 26, 2003 6:29 pm

Does this help?

Code:
#define SRAM 0xe000000   //32k SRAM = 0x0e000000 - 0x0e00ffff

_________________
It seems this wasn't lost after all.

#6469 - tepples - Mon May 26, 2003 6:47 pm

I have it defined like this:
Code:
#define SRAM ((volatile unsigned char *)0x0e000000)

then access it as SRAM[0]...SRAM[65535]. This forces you to access it 8 bits at a time, which is all the memory controller can handle for SRAM.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#6477 - torne - Mon May 26, 2003 10:31 pm

He's asking how to flash the cart from software, like the F2A stub does. As far as I know, nobody knows how to do this for an F2A cart (else DadyCool would've implemented F2A support in LittleWriter *grin*) but for other carts, I was under the impression that it was possible. Though I must admit, I don't actually know how. If I come across anything, I'll let you know; I will eventually need this to support my flash filesystem. =)

Torne

#6478 - pbmtp - Mon May 26, 2003 11:42 pm

thanks all, torne has spotted the right problem

Its simple to do for sram but for eprom it seem to depend on the type of card you use, i am searching some information of what the flash2advance multiboot program does when writting a gba image in the flash card

I know its not a simple question but if anybody can help =)

#6482 - torne - Tue May 27, 2003 2:04 am

EEPROM is something different again; that's just another saving mechanism like SRAM, and saving to EEPROM is fully documented in the various spec docs (free or Nintendo *grin*). The only cart that actually contains an EEPROM that I know of is the Visoly Pro carts, but I could be wrong. Mine doesn't, anyway. (XG)

You want Flash. And, for the Flash2Advance, I am pretty certain that nobody but the makers know how to actually write to the thing, though you'd be welcome to disassemble the F2A multiboot program and work it out. DadyCool could do with the info in order to write F2A support for LittleWriter. =)

Sorry I can't be of more help,

Torne

#6483 - pbmtp - Tue May 27, 2003 8:26 am

this is what i was thinking about =)

thx for yoyr help torne

ill post some news in case of success

#6660 - philip - Sun Jun 01, 2003 11:56 am

Is it stupid to suggest you ask the flash2advance people for information on how it works? They may just give it to you! After all, it's probably in their best interests to have as many people as possible able to write to their carts. I'd sure like to have a writer for Linux...

#6663 - torne - Sun Jun 01, 2003 1:01 pm

Nobody can really contact the F2A people; they don't seem to provide any contact information. People have been trying ever since their hardware was first released, but no responses so far. Evidently they value being relatively untraceable over helping their customers.

If you go look on Emuboards you'll find a long history of people complaining about F2A being uncontactable, mostly because people want LittleWriter to support the F2A, and DadyCool doesn't have the required information.

Torne

#6668 - philip - Sun Jun 01, 2003 4:43 pm

Yeah, I'd noticed that they didn't have any e-mail address on their website. I guess they don't want to get their asses kicked by Nintendo like Lik Sang and Visoly did.

There was one email address I found from somebody who wrote a little operating system that works with the Compact Flash version of the Game Wallet. The address is: agbranger@hotmail.com (hmm, looks like something else untraceable here...). The URL is: http://www.flash2advance.com/f2acfos.htm . I don't think it writes to flash, but rather allows the wallet to be used on its own, but he may know someone who knows how to write to flash.

Can't hurt to try..