A Deep Dive into a Donkey Kong Country 2 Bug in ZSNES
An obscure bug in the aging SNES emulator ZSNES affects the spinning barrels in certain levels of Donkey Kong Country 2. The author investigated, discovering the root cause lies in ZSNES's improper emulation of open bus behavior. By disassembling the game code and analyzing the 65816 processor's operation, the author pinpointed a single instruction's incorrect addressing mode – absolute instead of immediate. Correcting this simple error fixes the barrel mechanics.
Read more