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]

Cannot beat this fight to save my life, help? Cannot beat this fight to save my life, help?

Posted On: March 29, 2025
I’m at the Kethric/Myrkul fight and I am getting my ass beat. Level 8 Warlock main with Shadowheart on support, Karlach as melee, and Gale as range/distraction. .I’ve read the tips, I go free Nigh...[More]


In Super Mario Odyssey, How often vibration is used to indicate item locations? In Super Mario Odyssey, How often vibration is used to indicate item locations?

Posted On: March 22, 2023
Since Switch Lite doesn't have vibration motors, Nintendo has an alternative for the rumble in a form of visual "screen-shake" in Odyssey. The indicator is subtle, challenging to notice ...[More]


How do I destroy the Harley Heads? How do I destroy the Harley Heads?

Posted On: September 5, 2023
I'm talking about the Harley Heads in the Steel Mill where if you press the button, you hear Harley talking through the intercom. I know I have to do something to them, because there's a count...[More]


What does the red line on the turbine tower mean? What does the red line on the turbine tower mean?

Posted On: March 6, 2024
Some missions in Splatoon 3 Side Order have a turbine tower you need to continually attack and fill with ink to make it move. There is a red line on the tower's container, similar to the line on an in...[More]


I’m getting bored in Hogwarts Legacy I’m getting bored in Hogwarts Legacy

Posted On: August 8, 2023
I’ve been waiting for this game since 2021 when it got announced and was honestly so hyped, but now I’m getting insanely bored. I got the game 3 months ago, then played for 26 hours total,...[More]


Are there any games - tactics where infestor controlled units are used to build foreign units? Are there any games - tactics where infestor controlled units are used to build foreign units?

Posted On: January 12, 2023
I recently completed the "Zerglot" achievement, as described here. In short, you have to warp in a Zealot, while playing Zerg. You can do this, by using neural parasite (Infestor) on an e...[More]


Does Flash make a champion untargetable for a moment? Does Flash make a champion untargetable for a moment?

Posted On: April 18, 2024
There are some effects in the game which remove a champion's sprite from the map, rendering them untargetable for a moment, such as Elise's Rappel. Does the Summoner Spell Flash do this as well, even...[More]


How to connect storage items with stills? How to connect storage items with stills?

Posted On: January 17, 2023
I'm pretty new to dwarf fortress, so sorry if this question doesn't make sense. I've been trying to use a still, but most of the options are unavailable because it needs an empty storage i...[More]


Does being in full darkness prevent you from being detected in ToTK? Does being in full darkness prevent you from being detected in ToTK?

Posted On: May 16, 2023
* minor spoilers *. I'm trying to sneak my way underground early to try to find some goodies, and there's a lot. Fortunately it's not densely populated with enemies everywhere. Came acr...[More]


What is the origin of the Qin Shi Huang theme music in Civilization IV? What is the origin of the Qin Shi Huang theme music in Civilization IV?

Posted On: July 10, 2023
I've been trying to identify the music that is heard while one talks diplomacy with Qin Shi Huang in Civilization IV. The melody has been stuck in my head for a while now, and I'd like to k...[More]