My Mega Drive masterplan: electronics, EEPROM and whatnot

The Joy of Tech - Anything and everything about all things shiny..
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

My Mega Drive masterplan: electronics, EEPROM and whatnot

Post by Kamineko »

Eighteen months ago, I embarked on a quest to build a programmable Master System cartridge by gutting the insides of a terrible game, fitting a DIP socket in its place, and altering the PCBs traces to match the interface of the chips I had handy.

http://www.yakyak.org/viewtopic.php?f=33&t=82825

Now I'd like to do it again for the Mega Drive!

There's only a couple of snags. I'm not entirely certain that 16-bit data bus EEPROMs are still available/ever existed, and if they did my EEPROM writer will probably need an expensive adapter in order to fit 'em in.

I have several 32kBit 8-bit data bus 28c256 EEPROMs which I use for the Master System cart though, and I might be able to put two of them on a board to get the full 16-bits, but I'd have to duplicate over a dozen address lines aaaaaaaaa. There's no way I could simply plop it on top of an existing PCB. And I was looking forward to decapitating Ryan Giggs too. It would be a nice project if I could simply draw a PCB on my computer and plop it out for real, but if it were that simple all the kids would be doing it.

I can visualise it and by God it would be glorious, but actually building the damn thing is starting to sound like a lot of effort. Most of all I don't want to blow up my MD when I get it wrong.

* Yes, I love me EEPROMs. They call themselves Electrically Erasable Programmable Read Only Memories and that's what they do. That's all they do. And they WORK. They work, and they don't require you to have a box that emits blinding rays of evil. EPROMS are ghastly. If I wanted to blind myself, I'd buy Super Hexagon.
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Firefox »

The 16-bit parallel EEPROMs I've seen have all been very low capacity - bytes, not kilobytes or megabytes. I can't even find any as examples.

What you could use is an FRAM (ferroelectric RAM), which is a new-ish thing that's much like an SRAM but non-volatile and doesn't need a backup battery or anything.

https://uk.rs-online.com/web/p/fram-mem ... s/7165729/

They run on 3.3V plus/minus a bit, though, so you'd need level shifter chips to interface to a Megadrive's 5V logic.
"I am a very considerate person. If I want to go out all night on my miniature golf course and shoot lizards, well, no reason to keep the neighbours awake..."
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Dio »

Or piggyback the ROMs and just break-out the data bus :) .
User avatar
MegaZoid.
Baaaaa!
Baaaaa!
Posts: 1680
Joined: Mon Aug 15, 2005 7:02 pm 0
Location: Maidstone, Kent

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by MegaZoid. »

When you finish the megadrive cart can you make a jag one please :-)
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Kamineko »

Dio wrote:Or piggyback the ROMs and just break-out the data bus :) .
Do you mean make a completely custom board that sits in the cartridge slot and has the exact right interface I need? That'd be nice, wudnit?
MegaZoid. wrote:When you finish the megadrive cart can you make a jag one please :-)
With the Jag's 24 bit address bus and 32 bit data bus (I think), it'd have a feeble capacity and look like a truly ghastly wirewrapped monstrosity!

LET'S DO IT.
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Dio »

I meant sitting the two roms on top of each other, bending up the top 8 data bus pins and wiring them where you want :D .
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Kamineko »

Egads! That's horrible!

... I had the same idea when I was wondering how I could expand the capacity of my 256kbit Master System cart to 512kbit... all I'd have to do is put the two chips exactly one on top of the other and wiggle up the 'output enable' pin on the upper chip and wire them both up to respond to their correct halves of the address space.

Kinda glad I didn't do that. :lol:
User avatar
toxibunny
Baaaaaaa!
Baaaaaaa!
Posts: 5906
Joined: Thu Jun 17, 2004 11:59 pm 0
Location: limb clock land

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by toxibunny »

that's a popular way to make your own SNES carts, apparently...
I made a deviantart page.
'....The baron is a gay old rogue with an eye for the ladies....'
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Kamineko »

Well, simply decapitating Ryan Giggs and replacing his brain with a full 16bit wide EPROM isn't going to work, because the Mega Drive 1 has a very deep cartridge slot well. In fact, if you were to put the bare PCB from Ryan Giggs Championship World Soccer into the machine, it would be completely inside the plastic case. That makes cutting a chip window into the cart a no go idea unless I get a riser, like a Game Genie.

Dang...!

Maybe the new circuit board idea is the way to go.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Kamineko »

Image

According to Eagle, if I havent screwed it up, I have created a board that accepts a pair of 28c256s and has a Sega Mega Drive interface edge.

It's... beautiful,
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Kamineko »

Image
Just out of time to edit the post. Dang.

And this is why we always quadruple check!

The final (rightmost) pin on the -front facing- part of the cartridge (side B) needs to be grounded. It's the !CART_DETECT pin, and it oughta be ground. Those two pictures above don't do that, so I almost ordered a whole bunch of useless lumps.

http://www.gamesx.com/cartouts/gennycart.htm
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Firefox »

Kamineko wrote:I almost ordered a whole bunch of useless lumps.
Ooh, where from? (If you don't mind me asking.)
"I am a very considerate person. If I want to go out all night on my miniature golf course and shoot lizards, well, no reason to keep the neighbours awake..."
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Kamineko »

I'm not certain yet.

I'd been told about a site called BatchPCB where the organisers arrange all the fab requests behind the scenes into big fab jobs and sort it out so it's cheaper for everyone, but it doesn't look like it's running any more. "OSH Park" is the site I'm looking at now, and it's either the successor to BatchPCB or something along similar lines. To my eyes the prices look reasonable enough: us$5/square inch board area for a two layer PCB, worldwide shipping included, two week turnaround. Though I do wish they didn't make you take three boards at a time. (The us$5 is for three boards.)

I'm yet to decide which type of board design I'm going for. The board design up there should fit into a normal SMD cartridge casing, as it's just a little taller than a SMD PCB, but that's not very useful unless I was going to not use DIP sockets and solder my presssious EEPROMs directly into the board. I get the impression that the SMD's cart slot is a lot less forgiving in terms of size than the Master System's one and I don't really want my chips pressing against the interior of the well.

Image
I had another go and made a taller board (3.3 in square, about the limit of free EAGLE's board area) where the DIP sockets are vertical instead. It's more expensive, with this one I could take an EA cart and get rid of the top half of its front, leaving the two chips exposed for removal and sitting safely way above the dome surrounding the SMD's cart well.
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by Dio »

Kamineko wrote:The final (rightmost) pin on the -front facing- part of the cartridge (side B) needs to be grounded. It's the !CART_DETECT pin, and it oughta be ground. Those two pictures above don't do that, so I almost ordered a whole bunch of useless lumps.
Hardly useless, a one-wire soldering job to fix it :) .
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: My Mega Drive masterplan: electronics, EEPROM and whatno

Post by adam »

i was looking at a pcb site which sounds similarly priced but no need for bulk orders etc, no sign in my history though - there are people in china on ebay who do pcbs and also assembly quite reasonably if you wanted to use smd chips
Post Reply