Non-volatile gameboy saves

Show off your completed projects, announce your hacking progress, or discuss upcoming events.

Moderator:Moderators

Snow_Cat
Posts:463
Joined:Fri Aug 13, 2010 12:40 pm
Steam ID:Snow_Cat
Location:Here
Contact:
Re: Non-volatile gameboy saves

Post by Snow_Cat » Fri Aug 20, 2010 10:05 am

Looks good. Did you leave the voltage supervisor in place?

User avatar
bassmasta
Posts:684
Joined:Sun Sep 06, 2009 8:56 pm
Steam ID:randomguy737
Contact:

Re: Non-volatile gameboy saves

Post by bassmasta » Fri Aug 20, 2010 5:48 pm

Haunted360 wrote:Nah, I think the Xbox 360 has non-volatile memory for its clock.
No, it doesn't. Just unplug your 360, plug it back in, and turn it on without connecting it to Live. The clock resets.
zeturi wrote:If you're getting 404'd when trying to use the links in stickies, try this tutorial to find that juicy info.

Haunted360
Posts:1000
Joined:Sat Jan 30, 2010 12:22 am
PSN Username:Haunted360
360 GamerTag:Haunted 360
Location:Australia
Contact:

Re: Non-volatile gameboy saves

Post by Haunted360 » Fri Aug 20, 2010 7:08 pm

bassmasta wrote:
Haunted360 wrote:Nah, I think the Xbox 360 has non-volatile memory for its clock.
No, it doesn't. Just unplug your 360, plug it back in, and turn it on without connecting it to Live. The clock resets.
You are absolutely right :roll: (I'll edit my post)

Haunted360
Posts:1000
Joined:Sat Jan 30, 2010 12:22 am
PSN Username:Haunted360
360 GamerTag:Haunted 360
Location:Australia
Contact:

Re: Non-volatile gameboy saves

Post by Haunted360 » Mon Oct 10, 2011 8:33 am

Huge bump

Remember this from the previous page?
I dunno :/
Just guessing. I have no idea about this stuff yet...
Now I do know :wink:


OK inside of your Gameboy Cartridge (Color), there is an IC on the bottom left, under the MBC5 IC.

This is volatile SRAM (http://doc.chipfind.ru/pdf/winbond/w24257.pdf" onclick="window.open(this.href);return false;), and it is linked to a DC inverter (this gives a steady 200 mAh to the SRAM no matter how powerful or weak the battery is, so it does not loose its memory) IC (http://www.ti.com/lit/ds/slvs141a/slvs141a.pdf" onclick="window.open(this.href);return false;) on the top left between the two.

If you de-solder this SRAM IC and replace the SRAM with any 256Kbit FRAM Memory IC with these matched specs, (http://ramtron.com/files/datasheets/FM28V020_ds.pdf" onclick="window.open(this.href);return false;) then it should work.

However, since there is no more power going through the DC inverter (no battery), some games MAY have different effects how they were programmed to store the data. As we know Pokemon Silver / Gold looses its clock / time in game, but the saves work.


I can make a tutorial and put it on my site, do more testing etc... but I need to order the FRAM IC first :)


Also, GameBoy Color games use CR2032 and GameBoy games use CR1616 if you need that information anyhow.


And these forums are awful! I keep having to press SHIFT + F5 to refresh my page as it keeps remembering the non-edited version. I lost my edited post, so I cam not re-typing it. Ah! It did it again!!

User avatar
jdmlight
Posts:795
Joined:Thu Dec 27, 2007 11:17 pm
Steam ID:jdmlight
Location:A boring suburb of Chicago.

Re: Non-volatile gameboy saves

Post by jdmlight » Mon Oct 10, 2011 9:23 am

Haunted360 wrote: And these forums are awful! I keep having to press SHIFT + F5 to refresh my page as it keeps remembering the non-edited version. I lost my edited post, so I cam not re-typing it. Ah! It did it again!!
I thought it was just me! Happened only since I updated Firefox, and it happens on almost all of the forums I browse, so it's probably something goofy with the new version of Firefox.
--John (and please call me John, it's really weird to be called by my username)
Fight MS Paint abominations! If you don't have a camera, go here, and pick something 3 megapixels or higher.

Haunted360
Posts:1000
Joined:Sat Jan 30, 2010 12:22 am
PSN Username:Haunted360
360 GamerTag:Haunted 360
Location:Australia
Contact:

Re: Non-volatile gameboy saves

Post by Haunted360 » Mon Oct 10, 2011 9:46 am

jdmlight wrote:
Haunted360 wrote: And these forums are awful! I keep having to press SHIFT + F5 to refresh my page as it keeps remembering the non-edited version. I lost my edited post, so I cam not re-typing it. Ah! It did it again!!
I thought it was just me! Happened only since I updated Firefox, and it happens on almost all of the forums I browse, so it's probably something goofy with the new version of Firefox.
I use Chrome, and it still does it.

There is a setting in the Forum Admin Panel, to set the cache settings or something alone that line.
But Ben Heck himself can only fix this as we have figured out. So, it is not going to happen.

User avatar
bentendo64
Posts:163
Joined:Tue Nov 10, 2009 7:22 pm
Location:Tinysota

Re: Non-volatile gameboy saves

Post by bentendo64 » Thu Oct 13, 2011 6:32 pm

I am almost 100% certain that the clock is in the mbc chip, I beleive its mbc 3 in pokemon games? (besides Yellow, which is mbc 5).

And the GBC Pokemon games use cr2025, not cr2032, but the 2032 will fit.
http://bentendo64.co.cc/" onclick="window.open(this.href);return false;
"Mmm, extra performance for free. The essence of overclocking."

Haunted360
Posts:1000
Joined:Sat Jan 30, 2010 12:22 am
PSN Username:Haunted360
360 GamerTag:Haunted 360
Location:Australia
Contact:

Re: Non-volatile gameboy saves

Post by Haunted360 » Sat Oct 15, 2011 1:19 am

bentendo64 wrote:I am almost 100% certain that the clock is in the mbc chip, I beleive its mbc 3 in pokemon games? (besides Yellow, which is mbc 5).
Ah, that would make sense.

Is there a block diagram of the MBC(3/5) somewhere?
If this is the case, the battery can be left in, but the SRAM can be changed to FRAM. A pin should also be lifted to stop the FRAM from getting any voltage on the SRAM V+ line.

User avatar
bentendo64
Posts:163
Joined:Tue Nov 10, 2009 7:22 pm
Location:Tinysota

Re: Non-volatile gameboy saves

Post by bentendo64 » Sun Oct 23, 2011 6:29 pm

Here is a pinout of MBC5:
http://devrs.com/gb/files/mbc5.gif" onclick="window.open(this.href);return false;

And this is supposed to be a discrete logic equivalent of the MBC1 chip:
http://devrs.com/gb/files/mbc1ro.gif" onclick="window.open(this.href);return false;

Correct me if I'm wrong, but aren't all of the MBC chips the same, but with a little variation with clocks and more memory that can be added?
Also, here's where I found those schematics
http://devrs.com/gb/hardware.php#hardgb" onclick="window.open(this.href);return false;
http://bentendo64.co.cc/" onclick="window.open(this.href);return false;
"Mmm, extra performance for free. The essence of overclocking."

Haunted360
Posts:1000
Joined:Sat Jan 30, 2010 12:22 am
PSN Username:Haunted360
360 GamerTag:Haunted 360
Location:Australia
Contact:

Re: Non-volatile gameboy saves

Post by Haunted360 » Sun Oct 23, 2011 9:12 pm

I dont think they would be exactly the same.

They would have a different data address or something to support higher megabits (ROM).

qwertymodo
Posts:122
Joined:Sat Apr 07, 2012 10:54 am
360 GamerTag:qwertymodo
Steam ID:qwertymodo

Re: Non-volatile gameboy saves

Post by qwertymodo » Wed May 09, 2012 10:44 am

Sorry to bump an old topic, but I thought I'd drop in and mention something. I see that the one issue (besides RTC) with this mod is that the FM28V020 chip is designed for 3.3V, but it's getting ~5.5v, so you have to lift the Vcc pin. Well, I happened across this document on RAMTRON's site http://www.ramtron.com/files/applicatio ... 28V020.pdf comparing the FM28V020 and the FM18L08, saying that they are mostly identical. This isn't very helpful until you notice that there is also a FM18W08, which is basically identical to the FM18L08 except a wider operating voltage range. So basically, the FM18W08 *should* be identical to the FM28V020 except with an operating voltage range of 2.7-5.5V. I haven't gotten a chance to try it, but if somebody else wants to give it a shot, I thought I'd drop that bit of info here.

tl;dr This chip: http://www.ramtron.com/products/nonvola ... spx?id=133 *should* be a complete, compatible, drop-in replacement for the Game Boy SRAM chip.

EDIT: Just tried it. It works. Get the FM18W08 instead of the FM28V020. It works 100%, without the need to lift Vcc, plus it's a little cheaper.

Post Reply