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]

Is there an easy way to distinguish suspicious blocks? Is there an easy way to distinguish suspicious blocks?

Posted On: June 14, 2023
Minecraft 1.20 version introduced two new blocks called Suspicious Sand and Suspicious Gravel, which can be brushed to discover items. Those blocks are very fragile, because you lose their loot when b...[More]


What is your favorite companion voice line? What is your favorite companion voice line?

Posted On: September 13, 2025
I'm a bit in my cups tonight. I've played this game now for about 500 hours, rookie numbers, I know. After all this time I still chuckle every time Astarion say, "Into my pocket." His inflection on th...[More]


How is the additional damage from Chosen weaknesses calculated? How is the additional damage from Chosen weaknesses calculated?

Posted On: January 18, 2023
Some of the Chosens' possible weaknesses make them take additional damage from particular damage sources. These are:.Shell-shocked - additional damage from explosives.Brittle - additional damage from ...[More]


How do I remove market listings in Farmville Country Escape? How do I remove market listings in Farmville Country Escape?

Posted On: April 13, 2023
Pretty much self-explanatory. As you can see, I have a really stupid lineup of listings:. When I attempt to click on them, which should retract the item back into my Barn (inventory), which has ...[More]


Is there any way to increase charisma in The Dark Spire? Is there any way to increase charisma in The Dark Spire?

Posted On: May 22, 2023
I wanted to make my warrior character a Paladin, but apparently, he requires a high charisma attribute.   . The other attributes can be increased by training; is there no way to incr...[More]


Is reload cancelling faster in Overwatch? Is reload cancelling faster in Overwatch?

Posted On: July 14, 2023
Today I learned that, for all heroes with limited ammunition, they can reload cancel their weapons with a melee attack. What I'm curious about is, does it really save time? Is it really a "...[More]


Change installation path of Minecraft Launcher? (Not the game) Change installation path of Minecraft Launcher? (Not the game)

Posted On: June 22, 2023
When downloading and installing the minecraft launcher from the offical website, there is no step for me to choose the install path and its always in C:XboxGames. Anyway for me to change the path into...[More]


This is terrible in Hogwarts Legacy This is terrible in Hogwarts Legacy

Posted On: August 10, 2023
I just started playing today and after pretty much playing all day and after getting to the map chamber my computer said low battery so i plugged it in and went and did some stuff and i came back and ...[More]


What would the purpose of a 0 tick pulse redstone design be? What would the purpose of a 0 tick pulse redstone design be?

Posted On: February 9, 2023
Situation.I accidentally made a redstone design that generates 0 tick pulses.Here is my setup:.It is a very interesting build, but what can I do with it?How does it work?It seems to generate redstone ...[More]


Do the tiles in Bounce n Trounce fall in a random order? Do the tiles in Bounce n Trounce fall in a random order?

Posted On: October 17, 2023
In the minigame Bounce 'n' Trounce, do the floor tiles fall away in a random order? Or is there a predetermined order every time? Question from user Stevoisiak at stackexchange. Answer: ...[More]