Saving Problems

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Saving Problems
by on (#131349)
Hello there,
I am currently making some SNES reproductions and while everything works fine for the most part I've stumbled across a weird situation.

I'm trying to make a game with SRAM saving (Super Mario World hacks for example).

While using a board labeled SHVC-1AxM-xx the saving function works just like it should.
But when using a board labeled SHVC-1AxB-xx the saving won't work.

I'm using a 27c322 EPROM with 2x74HC245 and 1x74LS139 to make 32MBit games.

According to SNESCentral 1AxB boards only support up to 16MBit games and 1AxM support up to 32MBit games. Can that be a problem? Since the game(s) work fine otherwise.

Also, everything is connected to the RAM chip like it should.
Did someone else have had this problem and know a way to fix this? I don't really feel like buying a bunch of 1AxM boards just to throw away the others. :/
Re: Saving Problems
by on (#131358)
The 1A3B-20 is a 36 pin cart with 64k SRAM. I think this one is capable of being a 32mbit game host.

No idea why it won't save unless you got your OE and CE mixed up maybe......
Re: Saving Problems
by on (#131376)
OE and CE wasn't mixed. I've found a site that tells me the decoders behavior.
Obviously SHVC-1A1B's 74LS139 connects pin 2 and 3 to A21/A22 while SHVC-1A3B's 74LS139 connects to A20/21 and leaves A22 disconnected. I guess those games rely on A22 being 1 in order to allow RAM /CE being activated. I'm going to try that method and resolder the 74ls139 to the board.

Edit: Turns out it wasn't A22 at all, neither A20/A21.

I had to connect A15 to the decoder as well. Here's the pinout of SHVC-1A3B-xx with 27c322 connected.

74LS139:
Pin 01 - SNES Cart #49
Pin 02 - SNES Cart #40
Pin 03 - SNES Cart #40
Pin 04 - Pin 15 of 74LS139
Pin 05 - NC
Pin 06 - NC
Pin 07 - ROM /OE
Pin 08 - GND
Pin 09 - RAM /CE
Pin 10 - NC
Pin 11 - NC
Pin 12 - NC
Pin 13 - A21
Pin 14 - A20
Pin 15 - Pin 04 of 74LS139
Pin 16 - VCC