Game Genie ROM replacement

Discuss hardware-related topics, such as development cartridges, CopyNES, PowerPak, EPROMs, or whatever.

Moderators: B00daW, Moderators

Tom_Servo
Posts: 3
Joined: Mon Nov 08, 2010 11:58 am

Post by Tom_Servo »

A few years ago I did something pretty similar. Here's a list:

1. Replaced the ROM on the Game Genie with an EEprom. The EEPROM I used has 2 to 4 more pins because programming something smaller would have been a pain for me.

2. On power on it bootstraps and waits for input. The bootstrap does not exit Game genie mode so that the user can still "enter" cheats if they design code to do so.

3. The data comes in via the second controller port. The serial data cable is bit banged and gets a decent speed of 115200 bps. The software checks for errors in data transmission and corrects when needed.

4. I also made a MMC1 flashrom (with CHR RAM) cart that is programmable in system. It does work but I stopped deving it when the powerpak came out.

5. I think I rearranged the memory map in a way that is CopyNES friendly. Started on getting the game genie to work with CopyNES a while back but stopped.

I did create some routines to dump a few Mappers/SRAM. Here's most of the code I wrote. A tad messy but eh!

http://0wnag3.biz/NES/GG

I can post the plans for the data cable later, but that was pretty simple.

Added a picture of my cable to that directory. Looks like the run of the mill max232CPE. You can use MAX233 to avoid having to have so many external caps. I think the pins on the NES used are D0, CLK, +5, and GND, but not 100% sure.
Last edited by Tom_Servo on Wed Sep 02, 2015 7:10 pm, edited 1 time in total.
User avatar
Memblers
Site Admin
Posts: 3901
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Post by Memblers »

This is a pretty cool trick. I wonder how common this version of the Game Genie is? I haven't used mine in ages.
User avatar
blargg
Posts: 3717
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Post by blargg »

I found a picture of an older version that also has a 2732 ROM chip. So at least two revs of it use a discrete ROM.
User avatar
blargg
Posts: 3717
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Post by blargg »

clueless wrote: When you first publicized your boot loader idea I had an idea: Build a RAM cart (like the power-pack lite), and include a small E(E)PROM on it. Tweak the mapper so that this ROM is in charge when it boots up, but the ROM can be switched out to run the game. The boot rom would use your method to pull in a stage-2 loader, which would then chain-load the entire development cart image to the (bankable) RAM at $8000-$ffff + char-ram (acting as char-ram or char-rom).
That's the idea of the Munchausen cartridge, which is moving along, just going slowly at the moment, working out final details.
Like a hybrid mapper or something. Writing to $5fff would swap in the MMC1 / other mapper and the normal game in RAM. Writing to $5ffe would reset the cart back to the boot rom. For those of us developing new games, avoiding writing to $5xxx does not sound too burdensome, as most mappers used for homebrew won't use that range anyway.
The Game Genie approach seems most flexible. The programmable cartridge doesn't need any boot ROM, just programmable PRG/CHR, either SRAM or EEPROM/Flash. You program it using the Game Genie, and then play it normally once the Game Genie is disabled via its internal logic. This allows use with unmodified cartridges for testing of smaller programs on its mapper.
User avatar
MottZilla
Posts: 2835
Joined: Wed Dec 06, 2006 8:18 pm

Post by MottZilla »

Has there been any progress with the GG replacement ROM and serial cable? I haven't been keeping up lately so I'm not sure if I missed something or not.
arfink
Posts: 64
Joined: Fri Apr 28, 2006 7:07 pm
Location: MN, USA

Post by arfink »

There has been progress. Things have been slow on my end because of work. That should hopefully pick up soon. As for game genie, once I have a few other things out of the way and can get hold of one that might happen.
Post Reply