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]

Why do I have to lay the Wii controller on a flat surface? Why do I have to lay the Wii controller on a flat surface?

Posted On: March 24, 2023
When I start Skyward Sword (its the only MotionPlus game I have, others that use it are probably similar) it always asks me to lay the MotionPlus controller on a flat surface for a bit before it start...[More]


Differences between PS3 and Wii version of Rock Band The Beatles Differences between PS3 and Wii version of Rock Band The Beatles

Posted On: March 23, 2023
I'm considering buying Rock Band The Beatles for my only gaming console, the Nintendo Wii, but I was wondering if there are any big differences between the version on Wii and the version on Playst...[More]


How to farm large amount of studs in Lego Star Wars The Force Awakens How to farm large amount of studs in Lego Star Wars The Force Awakens

Posted On: March 25, 2023
I have been playing through Lego Star Wars: The Force Awakens. Once you get to the end of the game most of the characters are unlocked but you need to actually "buy" them in order to use ...[More]


EU4: Why is my personal union ending? EU4: Why is my personal union ending?

Posted On: August 5, 2023
I am playing as Aragon and I have a personal union with Castile. My ruler is called "Alfons VI de Trastámara". Everything is well, Castile's opinion of me is 200, and I have just ...[More]


Why will she not take Panteas Flute? Why will she not take Panteas Flute?

Posted On: January 17, 2023
I found Pantea's Flute before the quest was given to me. Now she will not accept it from me, and it says I still need to go find it. What do I do now? Is this a glitch? I have the game on PC if th...[More]


What does the Reset button on an N64 actually do? What does the Reset button on an N64 actually do?

Posted On: August 17, 2023
The question struck me this morning when I saw my old N64; there's a reset button on it. What does it actually do? Can't remember a moment where I did have to push it. Is it simply a button...[More]


Haunted Hogsmede - Minding Your Own Business Haunted Hogsmede - Minding Your Own Business

Posted On: June 7, 2023
Am I the only one who found this incredibly difficult?. Maybe it was because I was on edge the whole time, but I feel like this is definitely the hardest quest I've done so far. I can't ...[More]


How can I play .dcr Shockwave games? How can I play .dcr Shockwave games?

Posted On: January 17, 2023
I found this set of old games, that I would really like to play, that use adobe shockwave. Specifically, "World Builder" from "game archive 3". I am using XAMPP as it said to do in...[More]


Whats wrong with my Pokemon Go curveball? Whats wrong with my Pokemon Go curveball?

Posted On: May 10, 2023
So I've got pretty good at landing curveballs. Well, according to How to throw a curveball that's what I think I'm doing. But I never seem to get the 10xp bonus for curveball, whether I hi...[More]


Stuck with the conjuration curse Stuck with the conjuration curse

Posted On: August 22, 2023
I have got 139/140 conjurations and I am missing the medium constructed decorations. All my collection chests are completed across the maps, I have checked the butterfly missions more than 5 times,...[More]