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]

What’s one line from the game you always seem to remember What’s one line from the game you always seem to remember

Posted On: March 10, 2026
Personally it’s “Listen here pipsqueak. Do not underestimate this opponent. At best you will have to blink of an eye to strike. Strike fist strike true defy the odds! For they are distinctly in it...[More]


Are the quiz answers included in Return To Monkey Island? Are the quiz answers included in Return To Monkey Island?

Posted On: March 3, 2023
Ahoy there, fancy pants.On my Return to Monkey Island I found a several quiz cards. As I don't remember all previous adventures in detail and looking up the answers feels like cheating, I'm wondering ...[More]


What is the meaning of the blue icon at the right-top corner in Far Cry: New Dawn? What is the meaning of the blue icon at the right-top corner in Far Cry: New Dawn?

Posted On: August 22, 2023
What is the meaning of the blue icon at the right-top corner in Far Cry: New Dawn? Question from user ÇaÄŸatay KAYA at stackexchange. Answer: These are "Far Cry Credits", a...[More]


How to turn off the Hey, look at that Points! notifications from Xbox Game Bar? How to turn off the Hey, look at that Points! notifications from Xbox Game Bar?

Posted On: March 17, 2023
Every once in a while on the PC, mostly when I start playing a game but sometimes if I'm not playing anything, I get a little popup from the Xbox Game Bar that says "Hey, look at that -- Poin...[More]


It’s cool to see My Chemical Romance’s lead singer in game! It’s cool to see My Chemical Romance’s lead singer in game!

Posted On: April 2, 2025
Question from user Tendas at BaldursGate3 at reddit.com.Answer:Look at that easy smile.Answer from user DearPersimmon8155 at BaldursGate3 at reddit.com....[More]


How do I quickly exit a stage? How do I quickly exit a stage?

Posted On: April 24, 2024
Is there a way to quickly exit a stage in Shantae: Half-Genie Hero? When I revisit stages to complete an objective or get collectibles, it's annoying to have to re-complete the entire stage.Question f...[More]


Minecraft Texture Pack on Server over FTP Minecraft Texture Pack on Server over FTP

Posted On: June 7, 2023
Today I tried to "install" a texture pack on my server (verygames) to let all my users use the same texture pack.To do this, I found a way with editing the server.properties at line "resource-pack=".I...[More]


How can you be immune to damage from bed explosions in the nether? How can you be immune to damage from bed explosions in the nether?

Posted On: April 11, 2023
In Minecraft, everyone seems to able to use beds for mining or killing the Ender Dragon, but whenever I use it I blow up instantly. Is this a bug, or how can I be immune to this damage? Question...[More]


Most efficient way to tile budding amethyst? Most efficient way to tile budding amethyst?

Posted On: March 5, 2024
While it isn't possible to place, craft, or move budding amethyst in vanilla, many mods allow the player to do one or more of these things. Assuming that the player is able to freely place budding ame...[More]


Using in game mod manager locks you out of achievements Using in game mod manager locks you out of achievements

Posted On: September 15, 2024
This is a major PSA for anyone thinking about using mods: If you still want to earn achievements, do not turn those mods on! Even if it's just for some hair or clothing. .As someone who has never used...[More]