Why did Donkey Kong 64 require more than 4 MB of memory?

[BACK]
Why did Donkey Kong 64 require more than 4 MB of memory?
Posted On: August 1, 2023

As most of you know, the N64 Donkey Kong game had a game breaking bug on the 4 MB memory version. They needed to include the expansion memory just so that bug wouldn't happen.


I can imagine in the age of computers and emulation, we should by now have a pretty decent idea as to why this bug happened. As in, limit ram to 4 MB, see what tries to access outside there and why.


Sadly it probably is hard to figure that out, and I can imagine that at the moment of the development switch to 8 MB, they actually started using more of that ram since it was there anyway.


Does anyone know what exactly, nearly got that game pulled at all?


Question from user Smileynator at stackexchange.


Answer:

Does anyone know what exactly, nearly got that game pulled at all?


Unfortunately, the actual issue will likely never be known, at least not any time soon. I will detail several technical reasons for this which I believe are objectively compelling enough to base my answer upon.


The primary issue preventing the diagnosis of that glitch is a fundamental matter of hardware architecture, and how using software to force one architecture to behave another will more often than not be extremely difficult and sometimes completely impossible. This is the reason why emulators in general are difficult to develop, highly difficult to develop well, and darn near impossible to develop so well that they'll run all games for a given platform without issue. This is why there's so many crappy/unfinished/abandoned emulator programs out there and so few fantastic ones. .


The second issue is that emulators don't actually emulate the hardware components and chipsets of a console. They just duplicate enough of the high level functions of the components that they're able to play the games. Even the emulators regarded as "perfect" are only cycle-accurate (correct timing), which is plenty for playing games but still not 100% hardware simulation (chip-accurate emulation).


The Donkey Kong glitch had to have been the result of some freak error between the memory management coded into the game and the actual memory control unit of the N64, meaning that to try to debug it via emulation on a PC, we would need chip-accurate emulation to fully simulate each and every logic chip in the N64's ludicrously complex Reality Co-Processor, funky 9-bit memory bus, and every other component. Unfortunately, this is literally impossible with current technology. 


If the people who are the world's foremost experts on the DK64 software couldn't fix it when it was literally their job to do so, I doubt anyone else will discover the cause unless they just happen to by total accident.


Answer from user Barkode at stackexchange.



[BACK]
Why did Donkey Kong 64 require more than 4 MB of memory?
Posted On: August 1, 2023

As most of you know, the N64 Donkey Kong game had a game breaking bug on the 4 MB memory version. They needed to include the expansion memory just so that bug wouldn't happen.


I can imagine in the age of computers and emulation, we should by now have a pretty decent idea as to why this bug happened. As in, limit ram to 4 MB, see what tries to access outside there and why.


Sadly it probably is hard to figure that out, and I can imagine that at the moment of the development switch to 8 MB, they actually started using more of that ram since it was there anyway.


Does anyone know what exactly, nearly got that game pulled at all?


Question from user Smileynator at stackexchange.


Answer:

Does anyone know what exactly, nearly got that game pulled at all?


Unfortunately, the actual issue will likely never be known, at least not any time soon. I will detail several technical reasons for this which I believe are objectively compelling enough to base my answer upon.


The primary issue preventing the diagnosis of that glitch is a fundamental matter of hardware architecture, and how using software to force one architecture to behave another will more often than not be extremely difficult and sometimes completely impossible. This is the reason why emulators in general are difficult to develop, highly difficult to develop well, and darn near impossible to develop so well that they'll run all games for a given platform without issue. This is why there's so many crappy/unfinished/abandoned emulator programs out there and so few fantastic ones. .


The second issue is that emulators don't actually emulate the hardware components and chipsets of a console. They just duplicate enough of the high level functions of the components that they're able to play the games. Even the emulators regarded as "perfect" are only cycle-accurate (correct timing), which is plenty for playing games but still not 100% hardware simulation (chip-accurate emulation).


The Donkey Kong glitch had to have been the result of some freak error between the memory management coded into the game and the actual memory control unit of the N64, meaning that to try to debug it via emulation on a PC, we would need chip-accurate emulation to fully simulate each and every logic chip in the N64's ludicrously complex Reality Co-Processor, funky 9-bit memory bus, and every other component. Unfortunately, this is literally impossible with current technology. 


If the people who are the world's foremost experts on the DK64 software couldn't fix it when it was literally their job to do so, I doubt anyone else will discover the cause unless they just happen to by total accident.


Answer from user Barkode at stackexchange.



[BACK]

Can I install an old DirectX version without affecting the latest version? Can I install an old DirectX version without affecting the latest version?

Posted On: May 25, 2023
I'm attempting to run RetroArch for an old game , but it requires DirectX 9.0c. Will installing DirectX 9.0c overwrite or delete the current version I have installed (v12)? If so, can I subsequ...[More]


Is shoving enemies supposed to make you an oath breaker? Is shoving enemies supposed to make you an oath breaker?

Posted On: June 9, 2025
I'm confused. Got into a conflict in act one with zarys and her goons. They initiate combat and my paladin shoved one of them off a cliff. Immediate oathbreaker. I reloaded and just killed them normal...[More]


How to Farm and Harvest Crops Properly How to Farm and Harvest Crops Properly

Posted On: July 8, 2021
Mom always told me to eat my vegetables. Contrary to popular belief, a diet consisting entirely of steak is unhealthy and expensive. Eating meat is for rich people, and since you’re probably not...[More]


Can I go back for clues later if I confront Risky Boots now? Can I go back for clues later if I confront Risky Boots now?

Posted On: April 27, 2024
Near the end of Shantae: Half Genie Hero, Uncle Mimic tells Shantae that she can either confront Risky Boots head on or search for four clues first to formulate a plan. I've been told that searching f...[More]


Craziest take you've heard in the BG3 community? Craziest take you've heard in the BG3 community?

Posted On: June 14, 2025
I just saw someone argue unironically that Wyll is meaner than Astarion and Minthara.Question from user DearPersimmon8155 at BaldursGate3 at reddit.com.Answer:evil Durge murder hobo is actuelly the mo...[More]


Are there enemies immune to quickhacks in Cyberpunk 2077? Are there enemies immune to quickhacks in Cyberpunk 2077?

Posted On: May 20, 2023
I'm pretty deep into the game, relying on quickhacks for damage so far, and I've yet to encounter enemies immune to quickhacks entirely. This seems to indicate that I don't need any other ...[More]


which companions do you use as healer? which companions do you use as healer?

Posted On: December 11, 2023
I'm playing a creature master and want to try different companions out but I feel like I am forced keeping Shadowheart to keep the party rolling along. Maybe I could just do 4 dps and just go camp...[More]


Poppy - Natsai Quest? Poppy - Natsai Quest?

Posted On: June 18, 2023
Good evening!. I have a short question: when do the quests from Poppy/Natsai continue? I got to the quest: "The Poachers House Call" with Poppy and to "Mum's the Word" with ...[More]


How does durability work in Breath of the Wild? How does durability work in Breath of the Wild?

Posted On: January 15, 2023
In the tool tips, the game always says to "keep an eye on your durability" or that certain actions might "knock off some durability", but so far I have only seen 3 stages of durabi...[More]


What does the Auto icon do? What does the Auto icon do?

Posted On: January 24, 2023
When you're playing a Yu-Gi-Oh! Master Duel game, there are three icons in the bottom right (by default).On the far right is a battle log which lists every action taken by both players (log icon).In t...[More]