appreciation of clothing category

appreciation of clothing category

GAME young boy CARTRIDGE EMULATOR uses STM32

game young boys may be old tech, but they still offer challenges to modern hackers. [Dhole] has come up with a cartridge emulator which uses an STMicroelectronics STM32F4 discovery board to do all the work. until now, many flash cartridges used programmable logic devices, either CPLDs or FPGAs to deal with the high-speed logic requirements. [Alex] shown that a microcontroller could emulate a cartridge by using an Arduino to display the “Nintendo” game young boy boot logo. The Arduino wasn’t fast enough to actually deal with high-speed accesses required for game play.

[Dhole] kicked the speed up by moving to the ARM Cortex-M4 based 168 MHz STM32F4. The F4’s  70 GPIO pins can run through internal peripherals at up to 100MHz, which is plenty to deal with the 1MHz clock speed of the game Boy’s bus. Logic levels are an issue, as the STM32 uses 3.3V logic while the game young boy is a 5V device. Thankfully the STM32’s inputs are 5V tolerant, so things worked just fine.

Simple game young boy cartridges like Tetris were able to directly map a ROM device into the game young boys memory space. much more complex titles used Memory block Controller (MBC) chips to map sections of ROM and carry out other duties. There were several MBC chips used for various titles, but [Dhole] can emulate MBC1, which is compatible with the largest code base.

One of the coolest tricks [Dhole] implemented was displaying a customized boot logo. The game young boy used the “Nintendo” logo as a method of copyright protection. If a cartridge didn’t have the logo, the game young boy wouldn’t run. The logo is actually read twice – once to check the copyright info, and once to display it on the screen. By telling the emulator to change the data available at those addresses after the first read, any graphic can be displayed.

If you’re wondering what a cartridge emulator would be helpful for (other than pirating games), you ought to check out [Jeff Frohwein’s] Gameboy Dev page! [Jeff] has been involved in game young boy development because the early days. There are literally decades of demos and homebrew games out there for the game young boy and various derivatives. .

Leave a Reply

Your email address will not be published. Required fields are marked *