snes ram dumping

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
Posts: 1
Joined: Thu Jan 11, 2018 1:09 pm

snes ram dumping

Post by Amelia » Fri Jan 12, 2018 3:17 pm

Hello. I have taken an interest into the way action replays work. They are essentially rewriting some adresses in the RAM.
In theory, the action replay seems to be able to read the memory, while constantling sending rewriting instructions at the chosen adresses.
I was wondering about reaching the same result with an outside device, arduino or raspberry.
Is there an input / output "channel" for data on the snes ?
Does anybody ever succeeded in dumping the ram in some way ?

I am starting in this and am not an native english speaker, please be patient.


User avatar
Posts: 760
Joined: Wed Feb 13, 2008 9:10 am
Location: Estonia, Rapla city (50 and 60Hz compatible :P)

Re: snes ram dumping

Post by TmEE » Fri Jan 12, 2018 4:07 pm

The device hijacks an interrupt vector and does some of its own work (such as overwriting RAM) prior to handing control over to original target code in the game.

User avatar
Posts: 228
Joined: Sun Dec 13, 2009 11:37 am
Location: Wisconsin

Re: snes ram dumping

Post by whicker » Sun Jan 14, 2018 1:11 pm


The S-CPU is always driving the address bus. Any writes to in-console RAM or registers must be done with this CPU. You cannot cause the CPU to pause and tri-state its bus to do your own writes. The CPU drives the signals very strongly, and will burn up after a minute if you try to force opposite logic states.

Contents of memory can be snooped on (copied) externally, by watching the CPU interact with its data and address bus.

Here is a project that uses the sd2snes for this, which could conceivably connect to a raspi over USB:
sd2snes usb support

Post Reply