Famicom World

Family Computer => Technical & Repair Assistance => Topic started by: Arkanix38 on November 24, 2015, 06:19:25 pm

Title: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on November 24, 2015, 06:19:25 pm
Hi,

I programmed my 29F033c and popped it in the cart and got a black screen. I then realised that the translated patch is 12Mbit and the original cart only supports an 8Mbit ROM. Is there a way to address A20 using the 74LS139 on the board, or will I have to use the FF2(US) Rom on the board instead?

Post Merge: November 24, 2015, 07:20:17 pm

I tied A20 to Pin 3 of the 74LS139 on the board and I can hear the opening screen music but am getting no graphics on screen and the controller is unresponsive
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: HVC-Man on November 24, 2015, 09:53:30 pm
I tried and couldn't figure out how to shoehorn a larger ROM onto a smaller SNES board. It is clearly possible somehow though, feel free to dig up some pinouts or trace out a larger SNES board (like one with a 36 pin ROM socket).
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on November 24, 2015, 10:25:38 pm
according to THIS (http://www.snescentral.com/pcbboards.php?chip=SHVC-1A3B-11) 16Mbit should be supported. I've read about and Super Mario World peeps seem to think that pin 3 of the 74LS139 decoder is A20 and others seem to think that pin 2 is A20 in LoROM boards. I've tried to tie A20 to both (one at a time) and still seem to be getting a black nonresponsive screen with music.

I am currently pulling A21,22 high (as VCC is in the vicinity) and have altered the ROM to suit. I pulled it into XVI32 and copied the last 4 Mbit to expand the rom to 16Mbit then doubled the ROM up in Command Prompt using
copy /b file1.bin+file1.bin file2.bin

Post Merge: November 24, 2015, 10:34:18 pm

I derped, A20 goes to pin 14 of the 74LS139. Still not working
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: xIceMan on November 25, 2015, 02:37:31 am
Sent you a PM to your question.

Here's how to rewire a 74LS139 to make it compatible with up to 32MB LoROM games:
                                   __  __
 SNES #49 |01\/16| +5V
 SNES #40 |02  15| Pin 04
 SNES #40 |03  14| A20
        Pin 15 |04  13| A21
     NC |05  12| NC
     NC |06  11| NC
   ROM /OE |07  10| NC
  GND |08  09| RAM /CE
              ------


Don't forget, when using 29F033 to connect the adapter pins A20,A21 to the decoder as well. Pin 36 is to be connected to VCC from the adapter and R2 and R3 are to be closed.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on November 25, 2015, 03:43:31 am
(http://i.imgur.com/0hzlemE.jpg)
(http://i.imgur.com/zwvdzAb.jpg)

Now i have all of my FF carts translated!

SNES #46 is routed to Pin 2 of the 74LS139 for future reference.

Unfortunately SNES #40 isn't routed to the board so I had to solder the very edge of the pin (not as much give as the NES and Famicom!)

Having an issue with the ROM though, as it seems to freeze during the first dialog box in the beginning. Should have checked on an emulator first :/
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: xIceMan on November 25, 2015, 03:49:15 am
Glad you got it "working"
Ya, SNES #40 isnt connected on those boards and you have to connect it on the connector's edge. :(
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on November 25, 2015, 04:47:03 am
I give up for the night, swapped the ROM and now im back to a black screen :/

EDIT: it appears that the pre-patched ROM download doesn't like hardware, and the IPS available at ROMHacking freezes at the first dialogue box. Anyone have a source for a good version of the J2E Rom Patch?
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: xIceMan on November 25, 2015, 05:03:38 am
ROM works fine. Check your soldering on the 29F033.
For the latest patch: http://www.romhacking.net/translations/352/
Works fine for me. o_O

Sent you a PM.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on November 25, 2015, 05:15:44 am
That's the one I used. Patched with snesROMUtil. Maybe could have been a dodgy FF IV Rom? I'll have to give it a go tomorrow its getting late  :-[
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: xIceMan on November 26, 2015, 08:55:18 am
Not sure, but possible. Does it work now?
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on November 26, 2015, 02:16:45 pm
Haven't had the time to try it yet, will get onto it this weekend. Also have to fix my Chrono Trigger cart. It crashed while i was playing yesterday (was about 4 hours into it) and the next time i loaded my game up it refuses to load indoor spaces. I've even deleted all my saves and shorted the battery and it still wont load interior spaces.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: xIceMan on November 26, 2015, 02:19:50 pm
Aww, that sucks. Since you're also using TSOP ICs I suggest checking each pin with magnifying glasses just in case there's a short or something. I've had many games working but suddenly crashing cause of adress lines being connected togehter or the R2/R3 jumpers weren't set for games with SRAM. Good luck!

EDIT: Just saw you're not using Adapter Board Type III. This is what I use and it's pretty good!
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on November 26, 2015, 02:40:27 pm
I use the Type III (v2) which is exactly the same but without the unnecessary J3 and with the corner already shaved off so you dont have to remove the plastic post in the cart. Its from buyicnow.com like the Type III but it means i don't have to remove the post.

Post Merge: November 27, 2015, 11:23:58 pm

Got it working.

Both the ROM i was using and the ROM xIceMan helped me find work.

YOU MUST wire A21 (pin 2) AND A22 (pin 35) to GND. A21 CANNOT go to pin 13 on the 74LS139 or the game will not boot.

Post Merge: November 28, 2015, 12:59:16 am

For future reference.

Using an original FFIV cart with a 32 pin ROM chip:

Desolder 74LS139 and lift ALL pins EXCEPT 1,8,9,16 (Four Corners)

Solder the 74LS139 back in the socket and connect the pins as below.


                                     __  __
       LEAVE |01\/16| LEAVE
Cart Pin 40 |02  15| 74LS Pin 04
Cart Pin 40 |03  14| ROM Pin 1
       74LS Pin 15 |04  13| NC
      NC |05  12| NC
      NC |06  11| NC
ROM Pin 33 |07  10| NC
       LEAVE |08  09| LEAVE
               ------


Cart Pin 40 isn't routed to the board so you must CAREFULLY solder to the top of the pin on the edge connector. Wick excess solder as you must ensure the solder will not interfere with the Cartridge Slot.

Now for the ROM

ROM Pin 1 (A20) -> 74LS139 Pin 15 AND Cart Pin 46**
ROM Pin 2 (A21) -> GND (ROM Pin 18)
ROM Pin 35 (A22) -> GND (ROM Pin 18)
ROM Pin 36 (VCC) -> ROM Pin 34 (VCC)

**NOTE: Cart Pin 46 is routed to PIN 2 of the 74LS139. As you have lifted this pin you can solder a wire to the vacant pinhole in the 74LS139 socket.

This should allow you to use an unmodified Patched ROM. You should not need to expand the ROM or double it up. Simply flash the ROM to your 29F032 or 29F033 and solder it down to your Type III board. (BE SURE TO CHECK YOUR ROM WORKS IN zSNES)

You will need to cut away or shave the corner of the adapter board as it will interfere with the board alignment tabs in the cart case.

Thanks to xIceMan for the help with the 74LS139! I hope this helps someone in the future.

Ark
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: wlfwood on January 22, 2016, 06:44:52 pm
Thanks Arkanix38!

Your post was very helpful to me. I'm interested to know how you figured out how to connect it up this way.

Do you have any sources that explain how the 74ls139, the rom, and snes work together to map the desired memory size?

I seen something like this for the MAD-1 already, but not the 139.

~Thanks Again~
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on January 23, 2016, 01:17:39 am
This was the effort of a few people on FamicomWorld though private message who are considerably more knowledgeable than I in SNES cart decoding, namely xIceMan (seriously xIceMan is awesome). As this was not as straightforward as the MAD-1 Decoder rewiring I thought posting thorough instructions would be beneficial.

Experimentation helped, as did playing with the MAD-R in my Seiken Densetsu 2 cart. Hooked my oscilloscope up to pin 4 (used for single chip HIROM /CE on the MAD-1) and turns out it wouldn't work how I wanted it to because it was RESET (Inverted /RESET line) and not /CE. Some research in NESDEV backed that up as someone has posted the full logic tables of the MAD revisions.

Glad it helped!
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: wlfwood on January 25, 2016, 07:37:47 am
Do you have any insight on why the original pinning suggested by xIceMan didn't work with the 12mb rom? Maybe something that was said in PM?

Reason I ask, I'm planning to make a Super Metroid repro and was thinking I would try that pinning, but SM uses 24mb. I'm wondering if I should try his original pinout or something else for that...
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: xIceMan on January 25, 2016, 01:20:37 pm
Thanks, Arkanix38, glad if I can help since I know alot about SNES cart modding already. ;)

As for why my pinout didn't work, I don't know. I tested it with 27c322 and 29F032/29F033 just fine. :(
However, I had MAD-1 boards. MAD-R seems pretty rare.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: wlfwood on January 25, 2016, 03:03:32 pm
Quote from: xIceMan on November 25, 2015, 02:37:31 am
Sent you a PM to your question.

Here's how to rewire a 74LS139 to make it compatible with up to 32MB LoROM games:
                                   __  __
 SNES #49 |01\/16| +5V
 SNES #40 |02  15| Pin 04
 SNES #40 |03  14| A20
        Pin 15 |04  13| A21
     NC |05  12| NC
     NC |06  11| NC
   ROM /OE |07  10| NC
  GND |08  09| RAM /CE
              ------


Don't forget, when using 29F033 to connect the adapter pins A20,A21 to the decoder as well. Pin 36 is to be connected to VCC from the adapter and R2 and R3 are to be closed.


I was talking about this pinout for the 74ls139 decoder, not mad-1. Any idea why it doesn't work for FFIV J2E, xIceMan?
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: xIceMan on January 25, 2016, 04:49:36 pm
My bad, but I have no answer to that. I could build a FFIV J2E if I find a donor and check it. Usually the wiring for the 74LS139 always helped me on 32MBit LoROM games.

Since FFIV J2E is 24MBit I assume you only need to access A19 and A20 and leave A21 on GND.
A22 shouldn't be connected on a TSOP Type III Adapter anyway.

In that case try to use A19 on Pin 14 and A20 on Pin 13 on the 74LS139.
No warranty though!
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on January 25, 2016, 07:55:54 pm
With Super Metroid, its considerably cheaper just to buy a Japanese Cart as it has an English Language option in the settings

Post Merge: January 25, 2016, 08:04:11 pm

Also I believe that the issue with the cart was the addition of A21 on Pin 13 of the 74LS139. As the 12Mbit FFIV cart does not use the upper 24Mbit of the chip there was an addressing problem with the 74LS139 trying to pull A21 High unnecessarily. From memory, doubling up the ROM didn't help as I have a feeling it was trying to initially address the 4Mbit of space above the 12Mbit ROM. Somehow, grounding A21 solved this and allowed the ROM to work.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: wlfwood on January 25, 2016, 11:49:49 pm
Thanks for the replies!   8)

I was considering the SFC version of SM already, but since I still have a lorom donor I want to try it first.

I should have time to wire it up in the next couple of days, I'll report back on how it turns out.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Rodragon on June 12, 2016, 05:49:02 am
Quote from: Arkanix38 on November 26, 2015, 02:40:27 pm
I use the Type III (v2) which is exactly the same but without the unnecessary J3 and with the corner already shaved off so you dont have to remove the plastic post in the cart. Its from buyicnow.com like the Type III but it means i don't have to remove the post.

Post Merge: November 27, 2015, 11:23:58 pm

Got it working.

Both the ROM i was using and the ROM xIceMan helped me find work.

YOU MUST wire A21 (pin 2) AND A22 (pin 35) to GND. A21 CANNOT go to pin 13 on the 74LS139 or the game will not boot.

Post Merge: November 28, 2015, 12:59:16 am

For future reference.

Using an original FFIV cart with a 32 pin ROM chip:

Desolder 74LS139 and lift ALL pins EXCEPT 1,8,9,16 (Four Corners)

Solder the 74LS139 back in the socket and connect the pins as below.


                                     __  __
       LEAVE |01\/16| LEAVE
Cart Pin 40 |02  15| 74LS Pin 04
Cart Pin 40 |03  14| ROM Pin 1
       74LS Pin 15 |04  13| NC
      NC |05  12| NC
      NC |06  11| NC
ROM Pin 33 |07  10| NC
       LEAVE |08  09| LEAVE
               ------


Cart Pin 40 isn't routed to the board so you must CAREFULLY solder to the top of the pin on the edge connector. Wick excess solder as you must ensure the solder will not interfere with the Cartridge Slot.

Now for the ROM

ROM Pin 1 (A20) -> 74LS139 Pin 15 AND Cart Pin 46**
ROM Pin 2 (A21) -> GND (ROM Pin 18)
ROM Pin 35 (A22) -> GND (ROM Pin 18)
ROM Pin 36 (VCC) -> ROM Pin 34 (VCC)

**NOTE: Cart Pin 46 is routed to PIN 2 of the 74LS139. As you have lifted this pin you can solder a wire to the vacant pinhole in the 74LS139 socket.

This should allow you to use an unmodified Patched ROM. You should not need to expand the ROM or double it up. Simply flash the ROM to your 29F032 or 29F033 and solder it down to your Type III board. (BE SURE TO CHECK YOUR ROM WORKS IN zSNES)

You will need to cut away or shave the corner of the adapter board as it will interfere with the board alignment tabs in the cart case.

Thanks to xIceMan for the help with the 74LS139! I hope this helps someone in the future.

Ark



Hi my friends,

I´m trying to make an Super Mario All Stars + Super Mario world (32mbit) on a 1A3B, and I tryed both of the sugestions of 74LS139 pinouts with no success.
Anyone that had success can post an image of the final board?

Thanks.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on June 12, 2016, 07:57:34 pm
Are you connecting A21 (SNES #46) to your ROM adapter board Pin 2? A 32 Mbit ROM will not work as intended unless A21 is connected properly.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Rodragon on June 13, 2016, 07:11:44 am
Quote from: Arkanix38 on June 12, 2016, 07:57:34 pm
Are you connecting A21 (SNES #46) to your ROM adapter board Pin 2? A 32 Mbit ROM will not work as intended unless A21 is connected properly.


Yes, please take a look:
(http://s32.postimg.org/fogi9kgyd/20160613_110529.jpg)
(http://s32.postimg.org/uqk0c53o5/20160613_110542.jpg)

Post Merge: June 15, 2016, 02:16:49 pm

I found the problem, it´s working now, thanks for the help.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Arkanix38 on June 22, 2016, 04:57:20 am
No problem! Sorry I didn't reply mate, what ended up being your problem?
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: Timstuff on April 07, 2018, 08:48:49 pm
Quote from: Arkanix38 on November 26, 2015, 02:40:27 pm[snip]


Hi, I just created an account so that I could say thank you for these great instructions! I followed them exactly, and for once in a blue moon I actually managed to get a cart working perfect on the first try! Here's my wiring, just in case anyone is curious to see how it turned out.

(https://i.imgur.com/V2HTnOc.jpg)

So happy to finally have my translated FF SNES Trilogy complete! Now I just need to find time to play them all.
Title: Re: Translating FFIV with J2E ROM Patch problem
Post by: xIceMan on April 08, 2018, 02:33:37 am
Very nice. Gratulations. :D