Electrical – Is it possible, and if so, how difficult would it be, to replace the volatile memory in Gameboy games with non-volatile memory

flashflash-memoriesmemorynon-volatile-memory

my working knowledge of electrical engineering is quite limited, so please excuse me if my question has been answered under different terminology!

I was looking at old Gameboy games, which require a CR1616 battery to keep their saved games, and then I noticed how cartridges for the N64 variously used the volatile memory in early releaes and EEPROM non-volatile memory in later cartidges, as weel as later era Gameboy Advance cartridges and pretty much any modern solid state memory, thumb drives all that do not require a current to keep the data.

So Is it possible, or plausible, to take an old Gameboy cartridge requiring the CR1616 cell and replace it's memory with something non-volatile in the average hobbyist's home workshop?

I do not intend to do this, I only ask if it is possible to replace only the save memory keeping all the rest of the original hardware intact. I am aware there are many ways to accomplish something similar, such as an adapter for SD cards and then running some sort of emulation, but that is too un-original (hardware wise) for what I am thinking.

Thanks for any input folks!

Edit:
If memory is memory (so long as the capacity is recognized by the system using it), and memory with a compatible number of pins isn't able to be acquired, would some fancy soldering be a way to either bridge or split pins from the IC to the board of the cartridge?

Edit 2:
It appears that what I am talking about is replacing "SRAM" with "nvSRAM". Not much help to me, but at least I understand some terminology better.

Also, here is aq link to the inside of the exact cartridge I had in mind when thinking about this question:
https://en.wikipedia.org/wiki/ROM_cartridge#/media/File:PokemonSilverBoard.jpg

Best Answer

As long as your EEPROM has sufficiently fast IO, I don't see why not. The nvSRAM option is also a possibility, although they're certainly not common parts and you'd likely run into similar design problems as an EEPROM.

The primary problem would be the fact that any replacement IC is unlikely to have the same electrical interface as the traditional volatile memory, but you could emulate that using a microcontroller or perhaps a small CPLD as an intermediary translator.

Another way to do it is to engineer a completely new cartridge which emulates the behaviour of the original but with modern parts of your choosing. There are commercial products (e.g. the Everdrive GB) which do this so that you can load ROM files off of an SD card.

The hardware of the Gameboy has been documented extensively by hobbyists, so you can easily look up how the interface works in exquisite detail.