PDA

View Full Version : Reading Game Boy carts with I2C



wraggster
May 18th, 2013, 14:53
http://hackadaycom.files.wordpress.com/2013/05/rasgame.jpg?w=580&h=266
After seeing a Game Boy emulator for the first time, [Thijs] was amazed. A small box with just a handful of electronics that turns a Game Boy cartridge into a file able to be run on an emulator is simply magical. [Thijs] has learned a lot about GB and GBC cartridges in the mean time, but still thinks the only way to really learn something is to roll up your sleeves and get your hands dirty. Thus was born [Thijs]‘ Game Boy cartridge dumper (https://blog.thijsalkema.de/blog/2013/05/14/game-boy-cartridge-dumping-on-a-raspberry-pi-part-1/), powered by a pair of I2C port expanders and a Raspberry Pi.
Inspired by a build to dump ROMs off Super Nintendo games (http://hackaday.com/2013/01/04/turning-a-raspberry-pi-into-an-snes/) with the help of a Raspberry Pi, [Thijs] grabbed all the hardware necessary to create his own GB cart dumper. A DS Lite cartridge adapter (https://dx.com/p/repair-parts-replacement-gba-game-cart-slot-for-nds-lite-37787) provided the physical connection and a pair of MCP23017 I/O expanders – one soldered to a Slice of PI/O (https://www.modmypi.com/slice-of-pio-raspberry-pi-breakout-boad) board – provided the electrical connections.
In the end, [Thijs] managed to dump the ROMs off the Japanese editions of Pokemon Yellow and Gold in about 13 minutes. This is a much slower transfer rate of 26 minutes per SNES cart in the post that gave [Thijs] the inspiration (http://hackaday.com/2013/01/04/turning-a-raspberry-pi-into-an-snes/) for this build. Still, [Thijs] will probably be the first to say he’s learned a lot from this build, especially after some problems with dumping the right banks from the cartridge.

http://hackaday.com/2013/05/17/reading-game-boy-carts-with-i2c/