Can the Snes be reset from the game cartridge?

Discussion of hardware and software development for Super NES and Super Famicom. See the SNESdev wiki for more information.
Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Markfrizb
Posts: 631
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Can the Snes be reset from the game cartridge?

Post by Markfrizb »

I want to be able to initiate a reset from the game cartridge. Is this possible?

Thanks
Shiru
Posts: 1161
Joined: Sat Jan 23, 2010 11:41 pm

Re: Can the Snes be reset from the game cartridge?

Post by Shiru »

Soft reset is just a jump to the beginning of the code.

To my knowledge there is no readily available way for software initiated hard reset, but it should be possible, as there is /RESET on the connector. Given that there is no RAM or other writeable hardware on the cart, you probably can do it just by a bit of extra hardware that would detect a write into ROM area using available signals.
Markfrizb
Posts: 631
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: Can the Snes be reset from the game cartridge?

Post by Markfrizb »

I was hoping for a harware solution... ground this ?? or put +5 to this point.....
I didn't think there was a way but thought I would ask just in case...

Thanks
User avatar
blargg
Posts: 3715
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA

Re: Can the Snes be reset from the game cartridge?

Post by blargg »

Ground the +5V line to the cartridge :)

But seriously, hard reset is the only way to get control of the SPC-700 if you've lost control.
Markfrizb
Posts: 631
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: Can the Snes be reset from the game cartridge?

Post by Markfrizb »

Markfrizb wrote:Ground the +5V line to the cartridge

I was hoping to not have to do a direct short. Thought this would be bad for the voltage regulator....
I did try that and yep, it definitly reset. But that can't be good for the console.

Thanks
User avatar
MottZilla
Posts: 2837
Joined: Wed Dec 06, 2006 8:18 pm

Re: Can the Snes be reset from the game cartridge?

Post by MottZilla »

Connecting pin 26 to Ground will cause a reset. http://www.caitsith2.net/snes/flashcart ... .html#cart

Ofcourse how you achieve temporarily connecting that pin to ground is up to you.
Markfrizb
Posts: 631
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: Can the Snes be reset from the game cartridge?

Post by Markfrizb »

I'll give it a try, thanks!
nocash
Posts: 1494
Joined: Fri Feb 24, 2012 12:09 pm

Re: Can the Snes be reset from the game cartridge?

Post by nocash »

Markfrizb wrote:
blarrg wrote:Ground the +5V line to the cartridge
I did try that and yep, it definitly reset. But that can't be good for the console.
I think blarrg has been joking there... good that he didn't say to ground the 230V pin :-)

Grounding /RESET should be legit. Nintendo's official japanese "Nintendo Power" flashcarts are doing that, too.
The PPUs aren't connected to that /RESET signal, so you won't get a complete reset, unless you do reset the PPU registers by software before doing the hard reset.
Markfrizb
Posts: 631
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: Can the Snes be reset from the game cartridge?

Post by Markfrizb »

Thanks! so i should find a 230V power source and attach that to the reset on the cart? Right?

No, just kidding! Thanks for the tip! I'll test it in a little bit to see if that works.... I thought that pin 26 was the sram reset for some reason....
ngevan2k
Posts: 26
Joined: Mon Jan 03, 2011 8:39 am

Re: Can the Snes be reset from the game cartridge?

Post by ngevan2k »

Hey I just got an idea how you could do a hardware reset through software. Connect a single de/multiplexer to A23 & /RESET. When you want to reset, you just need to access any space that uses A23.
Markfrizb
Posts: 631
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: Can the Snes be reset from the game cartridge?

Post by Markfrizb »

Ok. How would I do that? Which part would I use?

basicly, the SNES is inside a arcade cabinet and I didn't want to open up the cabinet everytime I need to do a reset. My goal is for a non-invasive reset through the cartridge (not cracking open the console with wires running out).

Thanks!
ngevan2k
Posts: 26
Joined: Mon Jan 03, 2011 8:39 am

Re: Can the Snes be reset from the game cartridge?

Post by ngevan2k »

In that case it should be much easier. Use a simple on/off switch, connect one pin to MAD-1 Pin 9 (/RESET) and the middle pin to ground.
Shiru
Posts: 1161
Joined: Sat Jan 23, 2010 11:41 pm

Re: Can the Snes be reset from the game cartridge?

Post by Shiru »

In this case you can still use power line, but don't short it - just disconnect and connect it back for a short period with a button.
Markfrizb
Posts: 631
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: Can the Snes be reset from the game cartridge?

Post by Markfrizb »

MottZilla wrote:Connecting pin 26 to Ground will cause a reset. http://www.caitsith2.net/snes/flashcart ... .html#cart

Ofcourse how you achieve temporarily connecting that pin to ground is up to you.


Update: This did indeed do a reset! Thanks guys!

I haven't tried the mad-1 pin 9 yet.......
ngevan2k wrote:In that case it should be much easier. Use a simple on/off switch, connect one pin to MAD-1 Pin 9 (/RESET) and the middle pin to ground.
User avatar
MottZilla
Posts: 2837
Joined: Wed Dec 06, 2006 8:18 pm

Re: Can the Snes be reset from the game cartridge?

Post by MottZilla »

Curious, what are you doing with a SNES in an arcade cabinet?