Non volatil game boy saves (done on Pokemon Yellow, but problem on Pokemon Gold)

wadeVillines

Active Member
Newcomer
Joined
Oct 17, 2017
Messages
30
Trophies
0
Age
31
XP
199
Country
United States
Alright, I'll try that! I just soldered it up without the pulldown and I get dark striped square sprites.
UPDATE: It works perfectly, however... My intention here is to still have a battery, for the clock, and when that runs out I can replace it without worrying about my save. With the 10K pulldown, and a standby output from the diodes of about 2.2v... That's drawing 220μA. Not a lot for a running console, but the battery I'm using (80mAh) will only last about two weeks. And that's before I even consider the F-RAM standby current. Looks like I'm better off getting one of those OR-gates after all :P
Lol, yeah I've got some great OR gates that draw about 4 micro amps and it works great. But hey, you can run the FM18W08 chip on system power (5v) instead of on battery. It doesn't need constant juice to work. If you're worried about your clock data, don't: the clock data is stored completely on MBC3, so this is the only chip that needs to be battery powered. For safety, you can use a 10K pullup resistor between #CE and VCC of your FRAM to make sure it only gets enabled when it's supposed to.

--------------------- MERGED ---------------------------

Very interested in a writeup/blog post with pictures!
It's on the way! I actually just bought a web domain to host it, and am typing up a bare-bones HTML site as we speak. I'll link you when it's ready to host.
EDIT:
The website is ready, but it is far from complete. You can find the gerber files for my board design, a parts list, as well as some other information related to the project.

Website is RetroReboot.net, it's about as simple as it gets, but I'm learning HTML as I go.
 
Last edited by wadeVillines,
D

Deleted User

Guest
Lol, yeah I've got some great OR gates that draw about 4 micro amps and it works great. But hey, you can run the FM18W08 chip on system power (5v) instead of on battery. It doesn't need constant juice to work. If you're worried about your clock data, don't: the clock data is stored completely on MBC3, so this is the only chip that needs to be battery powered. For safety, you can use a 10K pullup resistor between #CE and VCC of your FRAM to make sure it only gets enabled when it's supposed to.
I've ordered some OR gates and waiting for them to arrive. I'll just run the save chip and the OR gate both from system power. The gate should isolate the signals, so if the MBC is still holding one of those signals high, the FRAM won't be able to draw power through CE. I'm assuming none of the address lines are held high by the MBC without system activity?
The clock data thing is a bit obvious now I think about it. For some reason I had in my head that powering the save chip from battery had the secondary purpose of regularly updating the stored time or something, but I suppose that would drain the battery extremely fast!

Update: I've been waiting for those OR gates but apparently I never actually went to checkout...
Update2: They arrived and apparently the product image was wrong AND I misread the details so I ended up with microscopic chips I have no hope of soldering. Third time lucky?
 
Last edited by ,

gonzaloj

Member
Newcomer
Joined
Feb 19, 2018
Messages
9
Trophies
0
Age
29
XP
54
Country
Spain
With mbc 5 i only have to replace And with mbc 3 i have to replace And OR ramcs And clk with output ce Signal.
But with mbc 1 And GBA? And What OR Gate i have to use?
 

gonzaloj

Member
Newcomer
Joined
Feb 19, 2018
Messages
9
Trophies
0
Age
29
XP
54
Country
Spain
With mbc 5 i only have to replace And with mbc 3 i have to replace And OR ramcs And clk with output ce Signal.
But with mbc 1 And GBA? And What OR Gate i have to use?
 

wolffangalchemist

This is bat country!
Member
Joined
Nov 23, 2008
Messages
1,581
Trophies
1
Age
33
Location
middleofnowhere, AL
XP
1,785
Country
United States
EDIT::gba::yay:
figured it out, wired it up, fired it up, and was very pleased.
i used aMB85R256 F-ram chip instead of a FM1808 either should work.
images for those who need would like to give it a go and showing it working.

M9rAnNB.jpg


gif video i uploaded of it working.
https://i.imgur.com/AgNWEL8.gifv

iaW8LgB.jpg


3lOMa69.jpg
AgNWEL8.mp4
 
Last edited by wolffangalchemist,
  • Like
Reactions: MelonGx and yafeee

yafeee

Well-Known Member
OP
Newcomer
Joined
Oct 22, 2008
Messages
45
Trophies
1
XP
654
Country
France
EDIT::gba::yay:
figured it out, wired it up, fired it up, and was very pleased.
i used aMB85R256 F-ram chip instead of a FM1808 either should work.
images for those who need would like to give it a go and showing it working.

M9rAnNB.jpg


gif video i uploaded of it working.
https://i.imgur.com/AgNWEL8.gifv

iaW8LgB.jpg


3lOMa69.jpg
AgNWEL8.mp4

Awesome !

Edit: tried this weekend with a FM18W08, it works perfectly :3

Thanks a lot for following up, I will add your fix to the first post !
 
Last edited by yafeee,
  • Like
Reactions: wolffangalchemist

famiac

Member
Newcomer
Joined
Aug 22, 2020
Messages
11
Trophies
0
XP
79
Country
United States
PSA: If you replace your SRAM with FRAM (FM18W08) and use the OR gate method to provide the /CE signal, you may want to add a pull-down resistor to the CLK line.

This pull-down resistor guarantees compatibility with cartridge readers/writers like the BennVenn joey and sanni's cart reader if you're trying to back up or write new save data. These devices typically don't drive the CLK line when reading/writing SRAM data, which could prevent the FRAM chip from latching properly depending on how you generate the /CE signal.

I've tested this on six of my FRAM modded carts by shunting the CLK line to ground with a 10kOhm resistor and then reading/writing game save data with various devices. still need to test with my n64.
 
Last edited by famiac,

MohammedQ8

Well-Known Member
Member
Joined
Jul 4, 2018
Messages
1,031
Trophies
0
Age
34
XP
3,025
Country
Kuwait
I wish I bought 5 of them for pokemon games. It plays and saves on Pokemon stadium 1.

Is it discontinued?
 

Attachments

  • F8796E2E-8597-47E2-8042-779F48D7EE72.jpeg
    F8796E2E-8597-47E2-8042-779F48D7EE72.jpeg
    1.1 MB · Views: 229

famiac

Member
Newcomer
Joined
Aug 22, 2020
Messages
11
Trophies
0
XP
79
Country
United States
5 of what? my modded carts are just regular pokemon games.

I'm pretty sure the drag n derp carts are discontinued. But that's off topic. i would discuss flash cartridges in another thread.
 

MohammedQ8

Well-Known Member
Member
Joined
Jul 4, 2018
Messages
1,031
Trophies
0
Age
34
XP
3,025
Country
Kuwait
5 of what? my modded carts are just regular pokemon games.

I'm pretty sure the drag n derp carts are discontinued. But that's off topic. i would discuss flash cartridges in another thread.
I think I would buy gameboy Pokemon games with fram mods if they are stable and well built.

of drag and drop and modded Pokemon games with fram.
 

driverdis

I am Justice
Member
Joined
Sep 21, 2011
Messages
2,867
Trophies
2
Age
31
Location
1.048596β
XP
2,838
Country
United States
Bit of a bump here but has anyone run into the issue of Cypress’s FRAM FM18W08 SOP-28 being too small?

i ordered 10 of them and installed one today but it was a pain since I had to bridge the pad to the pin for every connection since the pads of the chip just touch the pads on the board on both sides.
 

wolffangalchemist

This is bat country!
Member
Joined
Nov 23, 2008
Messages
1,581
Trophies
1
Age
33
Location
middleofnowhere, AL
XP
1,785
Country
United States
I just saved a botched battery upgrade with this for a friend, was pretty grusome so figured i would post it, they got it off a guy who had no idea what they where doing , that poor pokemon silver pcb.... need to order a battery for rtc and possibly fix some traces but saving works again now.
20210921_004703.jpg

20210921_004649.jpg

20210921_004711.jpg
 
  • Sad
Reactions: cearp

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
12,953
Trophies
4
Location
WA State
Website
ko-fi.com
XP
16,944
Country
United States
I just prefer to use bootleg carts with batteryless save patches.

You can find a shitload of batteryless patches here:
https://github.com/acocalypso/batteryless-patches/tree/main/patches

And Here:
https://drive.google.com/drive/folders/1NAKO88hWluNngYrQaYPiGqzafPDGmpRE

"But Jayro, what IS a batteryless patch?"
A batteryless patch patches the ROM's save routine to dump the SRAM save to the ROM's flash chip, inside part of the ROM itself. It will also load back into SRAM when booted up. This means the game will temporarily freeze the system while it saves your game. But in the end, it saves you from ever needing to replace a battery in your cartridge, and you get peace of mind that your save won't ever just vanish someday from a dying battery. I go batteryless with my reproduction carts any chance I get.

If you buy Pokemon games off AliExpress, you'll notice they are already patched to save without a battery.
 
  • Like
Reactions: zfreeman

tech3475

Well-Known Member
Member
Joined
Jun 12, 2009
Messages
3,651
Trophies
2
XP
6,031
Country
I just prefer to use bootleg carts with batteryless save patches.

You can find a shitload of batteryless patches here:
https://github.com/acocalypso/batteryless-patches/tree/main/patches

And Here:
https://drive.google.com/drive/folders/1NAKO88hWluNngYrQaYPiGqzafPDGmpRE

"But Jayro, what IS a batteryless patch?"
A batteryless patch patches the ROM's save routine to dump the SRAM save to the ROM's flash chip, inside part of the ROM itself. It will also load back into SRAM when booted up. This means the game will temporarily freeze the system while it saves your game. But in the end, it saves you from ever needing to replace a battery in your cartridge, and you get peace of mind that your save won't ever just vanish someday from a dying battery. I go batteryless with my reproduction carts any chance I get.

If you buy Pokemon games off AliExpress, you'll notice they are already patched to save without a battery.

If you’re intentionally buying bootlegs, wouldn’t it be better to just buy a flashcart?
 
  • Like
Reactions: OldManLav

metroid maniac

An idiot with an opinion
Member
Joined
May 16, 2009
Messages
2,079
Trophies
2
XP
2,612
Country
If you’re intentionally buying bootlegs, wouldn’t it be better to just buy a flashcart?
Bootlegs from Aliexpress are extremely cheap (about $5 each) and use much less power than flashcarts*, especially lower end flashcarts like the EZ Flash Jr. They can also be reflashed to play other games, and have the same user experience as legitimate carts for people who just like swapping cartridges.

*although batteryless bootlegs use a lot of power while saving, which can cause the console to turn off if your battery is low.
 
  • Like
Reactions: Jayro and tech3475

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
12,953
Trophies
4
Location
WA State
Website
ko-fi.com
XP
16,944
Country
United States
Bootlegs from Aliexpress are extremely cheap (about $5 each) and use much less power than flashcarts*, especially lower end flashcarts like the EZ Flash Jr. They can also be reflashed to play other games, and have the same user experience as legitimate carts for people who just like swapping cartridges.

*although batteryless bootlegs use a lot of power while saving, which can cause the console to turn off if your battery is low.
All of this is truth. I prefer dedicated carts for most games.
(And with my Etsy shop booming the way it has been lately, apparently other people do too.)

The Chinese Everdrive clones (EDGB v4 on AliExpress, about $25-$29 USD) is lightyears better than the EZ-Flash Jr in terms of power-saving and navigation. It doesn't lag in the menu when searching through games. Games also load faster from my experience of owning both.
 

metroid maniac

An idiot with an opinion
Member
Joined
May 16, 2009
Messages
2,079
Trophies
2
XP
2,612
Country
All of this is truth. I prefer dedicated carts for most games.
(And with my Etsy shop booming the way it has been lately, apparently other people do too.)

The Chinese Everdrive clones (EDGB v4 on AliExpress, about $25-$29 USD) is lightyears better than the EZ-Flash Jr in terms of power-saving and navigation. It doesn't lag in the menu when searching through games. Games also load faster from my experience of owning both.
I also own one of those EDGB clones. In terms of power saving it might be better than the EZ Jr but it's still worse than a dedicated cart. The kernel also works much better than the EZ Jr in my experience. My EZ Jr crashes whenever it tries to create its own .sav files, for some reason.

I disagree about loading faster, though. The EZ Flash Jr is almost instant. The EDGB clone takes a while to erase and program. But the last-loaded game can be selected instantly, which kinda helps with choice paralysis.
 
  • Like
Reactions: cearp

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
12,953
Trophies
4
Location
WA State
Website
ko-fi.com
XP
16,944
Country
United States
I disagree about loading faster, though. The EZ Flash Jr is almost instant. The EDGB clone takes a while to erase and program. But the last-loaded game can be selected instantly, which kinda helps with choice paralysis.
Might just be the SD cards I was using, to be fair.
 

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
PSA: If you replace your SRAM with FRAM (FM18W08) and use the OR gate method to provide the /CE signal, you may want to add a pull-down resistor to the CLK line.

This pull-down resistor guarantees compatibility with cartridge readers/writers like the BennVenn joey and sanni's cart reader if you're trying to back up or write new save data. These devices typically don't drive the CLK line when reading/writing SRAM data, which could prevent the FRAM chip from latching properly depending on how you generate the /CE signal.

I've tested this on six of my FRAM modded carts by shunting the CLK line to ground with a 10kOhm resistor and then reading/writing game save data with various devices. still need to test with my n64.

Thanks for sharing informations.

But I still have a question.

A Chinese maker released a daughter board called RTC2FRAM which is similar to the OR gate mod but has differences.

A Japanese modder helped me modding Pokémon Pikachu (JP ver. is MBC3) & Silver (MBC3) with this RTC2FRAM chip.

Both Pikachu and Silver’s savedata are unable to be read / written properly by BennVenn Joey V2++.

Will this CLK-GND pull down resistor work on this RTC2FRAM circuit to resolve the incompatibility even Pikachu Japan (MBC3) doesn’t have RTC?

Bit of a bump here but has anyone run into the issue of Cypress’s FRAM FM18W08 SOP-28 being too small?

i ordered 10 of them and installed one today but it was a pain since I had to bridge the pad to the pin for every connection since the pads of the chip just touch the pads on the board on both sides.
I saw modders using hot air gun to avoid bad soldering quality. If you feel it’s too small to be soldered well, try hot air gun.
 

wolffangalchemist

This is bat country!
Member
Joined
Nov 23, 2008
Messages
1,581
Trophies
1
Age
33
Location
middleofnowhere, AL
XP
1,785
Country
United States
Thanks for sharing informations.

But I still have a question.

A Chinese maker released a daughter board called RTC2FRAM which is similar to the OR gate mod but has differences.

A Japanese modder helped me modding Pokémon Pikachu (JP ver. is MBC3) & Silver (MBC3) with this RTC2FRAM chip.

Both Pikachu and Silver’s savedata are unable to be read / written properly by BennVenn Joey V2++.

Will this CLK-GND pull down resistor work on this RTC2FRAM circuit to resolve the incompatibility even Pikachu Japan (MBC3) doesn’t have RTC?


I saw modders using hot air gun to avoid bad soldering quality. If you feel it’s too small to be soldered well, try hot air gun.
From what i can tell following traces on a installed one i saw, it is just a brakeout board with a OR gate, afew caps and a resistor on a daughter board, and follows some alt poits for soldering. I would give it a shot it should work.
 

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
From what i can tell following traces on a installed one i saw, it is just a brakeout board with a OR gate, afew caps and a resistor on a daughter board, and follows some alt poits for soldering. I would give it a shot it should work.
But they use a 6-pin IC instead of 5-pin on Reddit, or 4-pin on this thread. Will it produce any incompatibility?
 

wolffangalchemist

This is bat country!
Member
Joined
Nov 23, 2008
Messages
1,581
Trophies
1
Age
33
Location
middleofnowhere, AL
XP
1,785
Country
United States
But they use a 6-pin IC instead of 5-pin on Reddit, or 4-pin on this thread. Will it produce any incompatibility?
Not 100% sure as i just use regular diodes when i do this mod, but It looks like a dual schottky diode so should be fine. Middle pins might be no connects. See if you can see a code on that chip and look for a data sheet but it should be some form of smd diode array.
 

Attachments

  • Screenshot_20230207_150359_Drive.jpg
    Screenshot_20230207_150359_Drive.jpg
    478 KB · Views: 36

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Had two cheeseburgers and a coke to fuel me up.