I have been researching repro's and want to make myself a Zelda Paralell Worlds remodel cart.
I tried searching the forums and others for this info, but can't seem to find a definite answer.
I have some soldering experience, but not so much electronics like these snes carts. But it sure is fun to learn!
I have searched this and other forums for an answer to this question, but haven't been able to solve it, if it is possible.
I made one with a donor cart that had mad-1 and room for 2 27C801's and that worked fine.. Now I'm trying to make another using a donor with room for 2 roms, 64kb sram and battery, but only a 74LS139 decoder, no mad-1.
How would I rewire the 74LS139 to work with 27C801 eeproms? I tried just dropping them in, just rewiring the 24 and 31 pins as usual, but it won't work. I am sure the 27C801's have been programmed correctly, as I have verified them several times, and it's the same files I used for the mad-1 repro.
Any help would be much appreciated.
While we are waiting for someone to respond I have read on nesdev that 74LS139 can only handle:
1) One mask ROM and SRAM
OR
2) Two mask ROMs and no SRAM
* ROM size up to 16 MBit
Actually, it depends on how knowledgeable you are...
74LS139 is a dual 1 to 4 multiplexer. It takes the value on two inputs (binary) and take to an circuit where 1 input connect to one out of four outputs based on the binary number at the input. It means you can connect up to four unique things to it. Since it's a dual device you can do it twice.
So you could use half of it to make up to four EPROMs look like a single ROM and the other to create the ROM/SRAM selection circuit... So come boldly and claim it can only do a certain thing (well that is correct if you follow how the chip is connected on Nintendo boards) is quite "bold". lol
Now, for the OP:
Assuming you're building a "mode21"(HI-ROM) cart with four 27C801 chips and no SRAM:
Each 27C801 has 20 address lines marked A0 through A19. You connect everything together through to the cart slot and take the /CS of each EPROM chip in sequence to each of the four 74LS139 outputs.
The two selection inputs for the 74LS139 you connect to A20 and A21 at the cart slot. The enable input (the pin which get sent to the outputs) connects to the ROM enable pin on the cart slot. The state of A20 and A21 address lines will decide which of the four EPROMs will get enabled at any given time.
For "mode20" (LO-ROM) games, the A15 pin from cart slot is skipped (left unconnected) so you shift address lines 1 bit around...
I don't have any information about how to rig the SRAM circuitry but I suppose it can be inferred from any programming documentation.
Thank's for the replies, guys.
The solution L_oliveira suggests is the one I am after. I have looked at numerous schematics for the 74LS139, and there are many, but much of the information available on forums and other sites contradict each other, and some are plain wrong.
I actually thought that the board I am using (2A5B-01) which has 2 maskroms (32pin), 256k sram, battery, and a 74LS139 would be wired to use 2 roms, and doing the regular swapbin trick on each of the 27C801's would be all it took, but alas, there must be some more rewiring here. And I'm guessing it has to do with the decoder.
So.. How would one re-wire the 74LS139 on a lorom board with room for 2 maskrom, sram and battery?
I was looking at the super mario world schematic on the other thread and it looks like if you use it as is, connect the second chip to pin 5 of the 74LS139 it will work. Each pin makes for a 8MBIT window, which matches nicely the size of EPROM you want to use.
Well. I checked, and on the 2A5B-01 the second chip (/OE pin 24 on the swapbinned eeprom) is already connected to pin 5 of the 74LS139. It still won't properly work. I get the first screen (eg. euclid) and then it hangs with a sound like the sword-action of zelda).
I have re-checked the soldering and no bad solder joints. even tried another board I have, and soldered in some eeprom holders to easily check for bad burns, but here nothing comes up at all.
The cart itself work if I put a single 8mbit game in.
Strange.
Try pin 06 then I just noticed that A21 and A20 are backwards.
I wasn't claiming anything myself just something I read, don't know enough about it. Thanks for the explanation
Anyone have any experience with these boards? It's a 2A5B-01 board..
When I made my own repros I used bootlegs and that required full rewiring so I used my own design.
Own design pcb? Wow.. thats cool.. I as thinking about maybe trying to design a pcb that could use 27C801's and maybe some of the larger chips.. That may require some 16bit to 8bit magic.. Or maybe just make them use either 27C801's or TSOP's directly on the board..
How was your design? Care to share it?
It was for Tales of Phantasia, which is a weird game (has both hi and lo-rom banks).
Well for your problem I have a simpler solution:
Add a new 74LS139 to split the bank in two... What you think?