Cart-swap arbitrary code execution: Difference between revisions
no edit summary
>Torchickens No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Arbitrary code execution}}
{{Major glitches}}
'''Cart-swap arbitrary code execution''' is an exploit for Game Boy or Game Boy Color games running on a physical Game Boy Color or SNES; in which the player swaps one cartridge with another while the system is still running to transfer data or execute arbitrary code on the other.
Line 10 ⟶ 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.
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==
*Force load a game, including CGB games in DMG mode. The game may be loaded with the wrong palette.
Line 108 ⟶ 110:
1) Use a Game Boy program writing exploit to write data.
In this example we write [
For this example we write the Pocket Computer to data at DA80-DB7C using a modified version of TheZZAZZGlitch's method of writing and executing large programs.
Line 237 ⟶ 239:
Use 8F again and then swap the cartridge with a European version of Pokémon Trading Card Game and press any button. The game should boot to Pokémon Trading Card Game with Red/Blue's palette and you should be able to access the debug menu by choosing 'continue by diary'.
==External links==
*[
==YouTube video==
{{YouTube|SL_Zuc0tlvo|TheZZAZZGlitch}}
|