Cart-swap arbitrary code execution: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Text replacement - "http://forums.glitchcity.info" to "https://forums.glitchcity.info")
No edit summary
 
Line 11: Line 11:
During cart swap arbitrary code execution, interrupts usually must be disabled to prevent the game running code from the ROM which doesn't exist when the cartridge is removed.
During cart swap arbitrary code execution, interrupts usually must be disabled to prevent the game running code from the ROM which doesn't exist when the cartridge is removed.


On physical hardware, there is a possible failure where the Game Boy Color restarts to the boot ROM, but this can be avoided by trying again. Also this exploit does not work on a Game Boy Advance or Game Boy Advance SP.
==Applications==
==Applications==
*Force load a game, including CGB games in DMG mode. The game may be loaded with the wrong palette.
*Force load a game, including CGB games in DMG mode. The game may be loaded with the wrong palette.