1

(38 replies, posted in Nintendo Handhelds)

Yes, it's a am29f016, I have some of them lying arround, but the cart also supports the am29f032 for 32mbit.

Video!:

http://www.youtube.com/watch?v=94JNGmD8vFc

2

(38 replies, posted in Nintendo Handhelds)

One picture of the WIP cart:

3

(38 replies, posted in Nintendo Handhelds)

Ok, it's been a while... :-)
A while after my last post, I received the PCBs and tested the CPLD design, and it had some bugs that made games work badly or not work at all, and the save games were also not working, so I redid the design several times, with no luck, looking at the MBC5 as a black box is difficult, but the problem was me, I was not discovering what I was doing bad, so I got frustated and stopped for a while. I tried to make it work from time to time, but I had several other projects and started a new job, so things got stalled.
Some days ago I tried again, searching information I found some guy at the nesdev forums also trying to make the MBC5 clone and a flashcart, so we talked a bit, and I remembered that I have a working flashcart with a mbc1 clone (just the rom mapping) using standard 74xxx logic chips. So i started from that design, and today I got it to work. I tried Super Mario Bros Deluxe DX and Zelda DX and both worked perfect, with savegames and everything.
I'll update soon, I'm going to test it a bit more, but I think it is a big milestone for this humble project. I'll make the MBC5 clone opensource as promised, so keep tuned.
Now I have to fix some errors I had on the prototype PCBs, order a new batch, and test everything, but I'm really happy right now!
big_smile big_smile big_smile

For the future I'll try to make a new design using 3.3v logic, that will enable us to use modern and on stock components (it's been a pain finding 5v flash chips), but for now I'll publish what I have righ now in a few days, once I'm sure the MBC5 clone implementation  works perfect.

Expect a video soon!

4

(38 replies, posted in Nintendo Handhelds)

I'm waiting for the prototype PCB's, will update soon smile

5

(38 replies, posted in Nintendo Handhelds)

I am testing the LED thing. I'm using bit 7 in 3000h-3FFFh register (high rom bank, only bit 0 is used in original MBC5), to control the LED.
Program is a simple timer, that changes the LED status each second:

http://www.vimeo.com/17726336

6

(38 replies, posted in Nintendo Handhelds)

TmTgr wrote:
someone wrote:

This cart features fantastic dual LEDs right in the cart, which is a must for performers!

MUST MUST MUST MUST MUST MUST MUST MUST MUST MUST MUST

Yes, and also, in the last design, I have connected the LED's to a spare pin on the CPLD, by default they will be turned on, but using some not used bits on MBC5 writes, you can turn them on and off, so perhaps we can ask for a LSDJ version that does blinking, it will be very easy to code.

7

(38 replies, posted in Nintendo Handhelds)

Next step, sending this to manufacture:

About designing the clone, yes, it was a combo between reading existing documentation and some reverse engineering  to get an idea of what it has to do,  and then designing a logic circuit that does that.
First, I designed it in a notebook using gates and registers, and then after having a global picture of the design, started coding it in VHDL.
I think I have a picture...


:-)

About consumption, Xilinx CPLDs are very nice, not used macrocells are turned off to save power, and you can also use some other tricks if timing is not critical.

8

(38 replies, posted in Nintendo Handhelds)

Hello, I am working in a MBC5 clone in VHDL, implemented on a small CPLD, like Xilinx xc9536.
Some days ago, I finished the first version of the code, and the simulations looked right.
So today, I took one of my flash cartridges and replaced the MBC5 with the xc9536... some pictures:

I heard you like wires:

Let's solder...

Small pause, breath, continue...
Ready:

Detail:

Ok, this cart had SuperKidFigher flashed, a Homebrew game,  MBC1, 4Mbit.... let's see...

It looks ok.... let's go on....

Its working!!!... big_smile big_smile big_smile big_smile

Ok, this is the first test, RAM writes not tested, because I left my programmer in the Lab at work, but tomorrow I'll update this testing ZeldaDX or another MBC5 intensive game.
Then I'll release the VHDL code and design like always :-)