It is currently Mon Dec 10, 2018 9:29 pm

All times are UTC - 7 hours



Forum rules





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: snes ram dumping
PostPosted: Fri Jan 12, 2018 3:17 pm 
Offline

Joined: Thu Jan 11, 2018 1:09 pm
Posts: 1
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.

-A


Top
 Profile  
 
 Post subject: Re: snes ram dumping
PostPosted: Fri Jan 12, 2018 4:07 pm 
Offline
User avatar

Joined: Wed Feb 13, 2008 9:10 am
Posts: 667
Location: Estonia, Rapla city (50 and 60Hz compatible :P)
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.

_________________
http://www.tmeeco.eu


Top
 Profile  
 
 Post subject: Re: snes ram dumping
PostPosted: Sun Jan 14, 2018 1:11 pm 
Offline
User avatar

Joined: Sun Dec 13, 2009 11:37 am
Posts: 221
Location: Wisconsin
Amelia

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group