So I'm playing around with this 139 decoder and a couple 27c322's to try and make an 8MB Genesis cart but so far have not got it to work. Some questions have come to mind about how this should be wired up. This is going off a setup for a 6MB Snes game as a reference which has the address input line connected to A19 on each of the two flash chips. Then it uses the OE lines, one output to each chips line, to control which rom to enable. Pin 1 on the 139, which I believe just enables that side of the chips decoder outputs, is tied to mad-1 pin which is OE. Couldn't this pin just be tied to any 5v source though? Also the decoder output are setup so the first output goes to the second rom, and the second output goes to rom 1, why is that? I tried swapping these just to see if it would work the other way but it wouldn't.
Furthermore after looking at a Genesis pcb with 2 rom chips that uses a 139 to decode it's using the CE lines on the outputs instead of the OE lines. I'm just going off of pictures from romlab so it's hard to tell exactly how it's setup though. I have tried using both the OE, and then the CE for outputs to the 27c322s but it's hasn't made a difference. For the address input I've tried A19, A18, A20, both A20 and A19 together, A21, A22, A23, A24 and AS. Gave it my best shot, any advice?
Pictures for reference:
http://imgur.com/a/98uL5#5
Data Sheets:
http://www.nxp.com/documents/data_sheet ... 39_CNV.pdf
Understanding a 139 decoder to wire up 2 roms.
-
- Newbie
- Posts: 4
- Joined: Mon Apr 06, 2015 7:04 am
-
- Very interested
- Posts: 53
- Joined: Mon Mar 07, 2011 12:58 am
Re:
Better wording for this ...bastien wrote:/CE is not enough for a 8Mb Cart.
/CE gives you 4MB of memory window.
If you ignore /CE you will have bus conflict problems on systems with MEGA/SEGA-CD unit attached.
That's why very big games like Super Street Fighter have mapper chip in them. Pier Solar, too, for example. (Pier Solar actually need to be compatible with MEGA-CD for the additional features with the extended music CD)
Bus conflict is a bad thing, which can result on hardware damage.
-
- Very interested
- Posts: 746
- Joined: Sat Dec 15, 2007 7:49 am
- Location: Kazakhstan, Pavlodar
Re:
M68K address bus contains A1 thru A23 (total 23 lines). A0 doesn't exists but M68K have LDS/UDS strobe signals for that. All of this signals are exists on cartridge slot.bastien wrote:A23 and A24 does not exist in the adress bus.