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

Discussion in 'Other Handhelds' started by yafeee, Apr 14, 2013.

  1. yafeee
    OP

    Newcomer yafeee Member

    Joined:
    Oct 22, 2008
    Messages:
    43
    Country:
    France
    Hi !

    Recently I saw this post : http://forums.benheck.com/viewtopic.php?f=18&t=38664

    To sum up, he replace the S-RAM chip of the original cartridge with a F-RAM chip (non volatil save). At the end a guy conclude that the FM18W08 chip is perfect to Pokemon Gold/Silver cartridge (he tried and it works).


    I decided to apply this mod to my Pokemon Gold cartridge (I already lost my saves and replaced the battery 2/3 times). But a FM18W08 chip was not so easy to find, so I read some datasheets and found the FM1808 (old version of the FM18W08) as a solution. I ordered it from China, and tried to solder it on my Gold cartridge. Unfortunately, I didn't manage to have a working game (no save, and sprites in black and white). But I soldered the chip to my Yellow cartridge and it works.

    Is it possible that I didn't solder the chip correctly on my Gold cartridge ? In fact, I had to insist, and solder/desolder to have a working Pokemon Yellow. If the chip is not adapted to Pokemon Gold/Silver, I will try to find a FM18W08, but I don't know where. I also have to buy a new Pokemon Gold, my cartridge is fucked up.
     

    Attached Files:

    Ammako likes this.
  2. GBA rocks

    Member GBA rocks GBAtemp Regular

    Joined:
    Jan 4, 2013
    Messages:
    243
    Country:
    Ireland
    Cool project.

    You may also be interested in the Drag'N'Derp card

    http://derpcart.com/features.html

    You would lose the Real Time Clock of the real Pokemon Gold cartridge though.
     
  3. yafeee
    OP

    Newcomer yafeee Member

    Joined:
    Oct 22, 2008
    Messages:
    43
    Country:
    France
    This card seems interesting, but very expensive, and I want to mod the real cartridge.

    I tried again on a new Pokemon Silver cartridge. As a result : the save dosen't work and I have graphic glitches (photos below). These are the same issues as my first attempt.

    I really don't know why. I tried with and without alimentation on the F-RAM chip.
     

    Attached Files:

  4. raulpica

    Supervisor raulpica With your drill, thrust to the sky!

    Joined:
    Oct 23, 2007
    Messages:
    10,672
    Location:
    _____________ PowerLevel: 9001
    Country:
    Italy
    Maybe the F-RAM chip is faulty? The soldering seems fine. Or maybe the "old" version has something that doesn't make it work with newer Pokémon games..

    Anyway, sick project, I might do the same!
     
  5. pyromaniac123

    Member pyromaniac123 ส็็็็็็็็็็็็็็็็็็็(ಠ益ಠส็็็็็็็็็็็็็็็็็็็

    Joined:
    Sep 24, 2011
    Messages:
    2,000
    Country:
    United Kingdom
    How much does the FM18W08 cost? Cheapest I've found is $5.93 for 1.
     
  6. yafeee
    OP

    Newcomer yafeee Member

    Joined:
    Oct 22, 2008
    Messages:
    43
    Country:
    France
    I tried with two different chip, on two different cartridge (Gold and Silver), and had the same issues. My Yellow moded cartridge is fully working, using one of the chip I used on Gold, so the chip is not faulty.

    The original S-RAM chips are:

    - lh52256cn-10ll on Blue, Red and Yellow

    - bs62lv256sc-70 on Gold, Silver and Crystal

    Oh ! Where did you found FM18W08 ? Actually, I buy FM1808 chips from ebay at 9.6 USD.
     
  7. pyromaniac123

    Member pyromaniac123 ส็็็็็็็็็็็็็็็็็็็(ಠ益ಠส็็็็็็็็็็็็็็็็็็็

    Joined:
    Sep 24, 2011
    Messages:
    2,000
    Country:
    United Kingdom
    http://www.aliexpress.com/item/FM18W08-FM18W08-SG-FM18W08-SGTR-RAMTRON-STOCK-IN-CHINA/667731292.html

    If you are planning to do this to more than 1 cart.

    http://www.aliexpress.com/item/FM18W08-SG-FM18W08-RAMTRON-SOP28-Free-shipping/751079156.html

    More expensive but quicker than ordering 1 at a time.
     
  8. yafeee
    OP

    Newcomer yafeee Member

    Joined:
    Oct 22, 2008
    Messages:
    43
    Country:
    France
    Thank you ! I think I will buy the second one (5pieces). But before, I will try to understand why the FM18W08 should work instead of the FM1808.

    Edit: I just bought 5 FM18W08 from Aliexpress, I'll post the results when I'll receive my order.
     
  9. Rabby250

    Newcomer Rabby250 Newbie

    Joined:
    Jun 9, 2013
    Messages:
    4
    Country:
    Taiwan
    Hello,

    Sorry to bump this, but I had also run into exactly the same problem with FM18W08.

    The detailed issues are:
    1. After selecting "CONTINUE" from the menu after splash screen, the game will show that the save file you're going to load has "no player name (blank or null string), no badges and 0:00 play time". Pressing A afterwards will bring you to a blank screen where the game freezes (therefore the save file can never be loaded successfully). This is kinda strange, as in usual cases of corrupted saves the game will inform you when you select "CONTINUE", and force you back to the menu.
    2. Almost all full-scale sprites (Trainers, Characters and Pokémons) and visual effects in battle (move appearances) will be displayed in black-and-white (not even gray-scale), but map sprites and palettes are normal. The main character sprite in the trainer info screen (where you check your badges) is the only known exception, which will be shown in color for unknown reasons.
    3. The screen will show glitches during save overwrite confirmation dialog (the second yes/no option in a save), some other dialog (for example, when you're setting the day of week of your Pokéwatch) and between battle animations. In addition, the warning info - which should show up only if you are going to overwrite a previous save with a new game - will always show up, even when you are overwriting your current save.
    4. The game will never ask you to reset your clock even if your battery was dead; instead, it automatically "sets" the time with a random (?) value dependent of the console you are using (for me, the time is always Thu. 10:15 for my GBA #1, Mon. 02:07 for my GBC, and Thu. 06:07 for my GBA #2 when testing with identical game cart and save file).

    I believe this is not an issue related to the original SRAM, as the original SRAM on my testing cart (a Japanese Gold) was LH52256CN - the same one used in yafeee's RBY.
    In fact, I've checked all my Gen I/II carts and found SRAM chips from 4 different manufacturers which share most of the specs, so the chip compatibility issues should be little to none.
    (The only exception in all Gen I/II carts is Japanese Crystal, which uses 1Mbit SRAM. It's a pity that I couldn't find a matching FRAM to replace it.)

    Guess we have to contact the guys who succeeded in the original thread to figure out what went wrong.

    BTW yafeee, is the FRAM you're using a FM1808B? I'm considering one of those, but maybe I'll put it on hold if 1808B also fails. (Too bad I wasn't able to stop you from getting FM18W08.)
     
  10. yafeee
    OP

    Newcomer yafeee Member

    Joined:
    Oct 22, 2008
    Messages:
    43
    Country:
    France
    Hi Rabby !

    I sent a message to the author of the original thread (on mod retro forum, I don't find how to register on benheck), but he didn't respond for the moment. I will post his answer here if I'll receive a response from him.

    About the FM1808B, I didn't use that one. I have 1808 only !
     
  11. qwertymodo

    Member qwertymodo GBAtemp Advanced Fan

    Joined:
    Feb 1, 2010
    Messages:
    778
    Country:
    United States
    I'm a member here as well, you could've PM'd me ;)

    It's hard to say what the issue is... first of all, buying IC's from AliExpress is hit-or-miss. Especially when they're offering them at 50-75% off wholesale prices. I'd start by ordering from one of their official distributors to ensure that the product is legit. Also, as has been stated here, they used several different SRAM IC's at various points in their production, and they are interchangeable, but different games did sometimes use larger capacity chips. The FM18W08 is 256Kbit, so if a game uses 1Mbit, you're out of luck, since I don't know of anybody that manufactures 5V F-RAM in 1Mbit capacities, and certainly not in a SO-28 package. Check to make sure that the game you're transplanting is 256Kbit. If it's 64Kbit instead, the FM16W08 should work. The only other issue I know of has to do with the way the chip enable signals differ between asynchronous SRAM and F-RAM. I know that for the games I've tested, the MBC pulses the /CE signal for every R/W cycle, but if it holds the /CE signal low for multiple consecutive R/W cycles, it won't work, because although SRAM allows that, F-RAM requires a falling edge for each cycle. If that's the case, then you'll have to cut a trace and add some glue logic. Sorry, I don't really have time to test it out myself, but I'm happy to answer any questions for anybody who wants to try it for themselves.

    Edit: Didn't realize how old this thread was... sorry :/ Any way, if anybody who has tried this can tell me where the earliest point where you experience glitches on a brand new game is, I may be able to do some testing, but I need to know where the glitches occur or I'll just be poking around in the dark...
     
  12. Rabby250

    Newcomer Rabby250 Newbie

    Joined:
    Jun 9, 2013
    Messages:
    4
    Country:
    Taiwan
    Hello qwertymodo, thanks for the reply.

    For my attempts, I purchased 5 FM18W08 directly from Mouser and fully reproduced yafeee's issue with them, so I think it could hardly be an FRAM-side issue.

    All Pokémon games except Japanese Crystal use 256Kb SRAMs, so the root cause wasn't related to this either.
    (For 1Mb games, the most possible candidate I could find was Everspin's MRAM, although it only comes in 3.3V .)

    Is it possible that different MBC chips of the same kind (for example, different MBC3 chips) could generate different pulse patterns?
    I'm asking this because in my current attempts so far, all Pokémon games with MBC3 will (and will only) run into this issue,
    and the only success case was Pokémon Yellow, which uses MBC5.
    However you did succeed on Pokémon Red (U) (should be an MBC3), which made me very confused.

    And BTW, after getting frustrated, I tried a bizarre combo of Pokémon Gold ROM + MBC5-based main board,
    and it actually worked - until I found out that you could never use Box 7 (or 8) in Bill's PC.

    You can reproduce this issue easily by following the steps below:
    1. Find a Pokémon game with MBC3 and replace the RAM:
    • Yellow in Japanese region
    • Red/Blue in US region
    • Gold/Silver in any region
    • Crystal in any region except Japanese
    2. Play the game until Professor Oak shows up for the first time;
    you will know that you have ran into the issue if you see:
    • In RBY, nothing (the dialog was running, but no sprite)
    • In GSC, Oak's sprite in binary black and white (see yafeee's DSC01858.JPG)
    3. Try to save once and restart to load your game:
    • In RBY, you can load your game (only the sprites are gone)
    • In GSC, you save will be corrupted
    Thanks again for helping out!
     
  13. qwertymodo

    Member qwertymodo GBAtemp Advanced Fan

    Joined:
    Feb 1, 2010
    Messages:
    778
    Country:
    United States
    Thanks for the details, I'll look into it when I get a chance, but it's finals week right now, and I have a ton of projects on my plate. Also, I don't come around here very often, so chances are, I will forget about this thread. If you want, feel free to hit me up by emailing to my username at yahoo. That's kind of my junk email account, but I do still check it regularly. Like I said, I have a ton of projects, but I tend to gravitate towards the ones that generate the most interest, so if you start emailing me twice a week asking for updates I might actually get around to it :P

    Also, I did mod a USA Red version, but I only played it through the title screen (it was a mod for a friend, and I only tested so far as to confirm the game booted, naively believing that it would work consistently after that...). To be honest, the only game I've played for any length of time with the mod is Zelda DX, which is also MBC5... so maybe MBC3 doesn't work, but it's weird because stuntpenguin claimed the FM28V020 worked fine, and it uses the same input latching :( However, if I can test it out to confirm my suspicions, it may still be possible with the glue logic I posted above...
     
  14. loco365

    Member loco365 GBAtemp Guru

    Joined:
    Sep 1, 2010
    Messages:
    5,459
    I'm actually really curious as to whether this will work. I have a Japanese Crystal, however, the doofus that "repaired" it, shorted out the save chip, so it cannot save anymore. If I can replace the save chip with one of these, I'd gladly order one and replace it.
     
  15. Dym

    Newcomer Dym Member

    Joined:
    Nov 12, 2008
    Messages:
    12
    Location:
    Spain
    Country:
    Spain
    I have a few European Red, Yellow and Blue carts that are all MBC5, will the FM18W08 chip work with them? Thanks!
     
  16. yafeee
    OP

    Newcomer yafeee Member

    Joined:
    Oct 22, 2008
    Messages:
    43
    Country:
    France
    Yes, it will work !
     
  17. Notanyonewhocares

    Newcomer Notanyonewhocares Newbie

    Joined:
    Jul 26, 2014
    Messages:
    1
    Country:
    United States

Share This Page