Game-Genie-like device with arduino

Discussion of hardware and software development for Super NES and Super Famicom. See the SNESdev wiki for more information.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
trianon
Posts: 1
Joined: Sun Apr 14, 2013 8:29 am

Game-Genie-like device with arduino

Post by trianon »

Hello there,

In the goal of improving my understanding of the SNES, I want to design a kind of Game Genie, using an Arduino.

The SNES sends request for data (placing an address on the Address Bus). I would think the GG tests this address against the address of the data to patch, then patches it if matched, otherwise the GG fetches the data from the ROM.

The Arduino Uno clock speed is 16 MHz. I expect to have problems as far as timings are concerned, what do you think ?
I'm a noob when it comes to hardware, so feel free to suggest your way of doing this project.
User avatar
blargg
Posts: 3715
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Re: Game-Genie-like device with arduino

Post by blargg »

The Game Genie has to respond within nanoseconds, not microseconds. It's probably got an address comparator that selects between the normal ROM's chip select and that of its internal patches, before the read/write signal comes in.
User avatar
infiniteneslives
Posts: 2104
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Re: Game-Genie-like device with arduino

Post by infiniteneslives »

yeah a microcontroller isn't going to be fast enough to do it how you're proposing. You'd need programmable logic (FPGA or CPLD) to patch in values on the fly.

If you're limited to using a mcu because they're more 'noob freindly' than programmable logic there is a less time intensive approach you could take using a mcu. You could use a mcu to read from the original cart, modify the rom image, and store it onto a flash/SRAM cartridge. Then put the flash/sram cart in your SNES and play.

There are a few discussions around here recently discussing the idea of a 'hardware patcher' that might give you some valuable input if you dig around for them.
If you're gonna play the Game Boy, you gotta learn to play it right. -Kenny Rogers
Post Reply