Forum rules

1. NO BLATANT PIRACY. This includes reproducing homebrew less than 10 years old, with the exception of free software.2. No advertising your reproductions, with the exception of free software.3. Be nice. See RFC 1855 if you aren't sure what this means.

I'm trying to make my own carts for 27c160/27c322 EPROM at the moment (flash will follow once SRAM works) with battery backup function. While the carts itself work fine, the SRAM doesn't.

I'm trying to use a 74LS139, Capacitors, Diodes, Resistors and of course the CR2032 battery.This is for LoROM but it doesn't work. Super Metroid for example gives me the Anti Piracy screen cause it can't find the SRAM.

Is there another way to do this? I've read about MAX795/STM795 or even BA6162 but those are nearly impossible to obtain nor would I know how to work with them properly.

Oh, just disregard the labeling. It is indeed CE2 or +CE as you name it.

Usually I never had any problems saving the games (tested Legend of Zelda and various SMW Hacks) when wiring the 74LS139 like this on original boards to allow games up to 32MBit (using 27c322) to be saved on the 64KB SRAM found on SHVC-1A3B-XX boards with just a 32 pin MaskROM.

I will test that tomorrow and see if A20 and A21 are high and A15 and /ROMSEL are low.

Though, the 1A3B board series had a transistor on board. Could that be the problem in my logic?

Note: this program actually tries to show the SST39 Identification page, by writing the correct unlock sequence to ROM. It shouldn't be a problem if you're either not using Flash, or if you disconnect /WR while using it.

For the moment, why don't you try entirely disabling the battery backup circuitry, and just connect the SRAM's Vcc and +CE to +5V directly? There's two variables here, and I'm not certain whether they've been decoupled.

In Super Metroid (JU), there's code starting at ROM 0x698 to copy 8K of cart RAM (from 0x700000) to SNES-internal RAM, then clears cart RAM, then fills the cart RAM mirror at at 0x702000 with garbage, then makes sure it can read the same garbage from 0x700000 (and here's when the anti-piracy warning would pop up), and finally copies the backup back to cart RAM.

It then calls a routine at ROM 0x80A0 (5a22 0x8180a0) to calculate the checksum of each of the save slots... and calls a routine at ROM 0x286 to initialize a save slot ... and after that "1994" should appear.

I dumped the game using a Retrode, checksum matches. Game works fine. No byte differences to the original ROM.Also dumped the game with an Arduino Cart Dumper from sanni. Same results. No byte differences.

I don't think it's the ROM now. I'm sure I'm missing something but I have yet to find out what.I will send you pictures of the current PCB. Maybe the error can be found that way.

EDIT: I mean it's unlikely but maybe I got 2 faulty RAMs here? Or can the EPROM still be defective even if I can dump the game just fine?Either way, I will try a new board as well.

EDIT2: Just noticed I grounded 27c322's /CE line. I added it back to SNES /CE line as well as RAM /OE but still freezes after the Nintendo logo. I'm starting to get lost here but I don't want to give up either. :'(

Who is online

Users browsing this forum: No registered users and 3 guests

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