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]

How are the structure decks in Yu-Gi-Oh 5Ds World Championship 2010: Reverse of Arcadia unlocked? How are the structure decks in Yu-Gi-Oh 5Ds World Championship 2010: Reverse of Arcadia unlocked?

Posted On: April 2, 2023
In Yu-Gi-Oh! 5D's World Championship 2010: Reverse of Arcadia, I've unlocked a couple randomly (as far as I can tell), but I'd like to be able to buy them all. Does anyone know a way to un...[More]


What is the record word size for a gaming system? What is the record word size for a gaming system?

Posted On: February 20, 2023
I remember the "bit wars" of the late 1980s and early 1990s. The Genesis/Mega Drive and the PC Engine/Turbografx-16 were heavily marketed in the very early 90's as having twice as many &...[More]


BG3 Community, things just got out hand BG3 Community, things just got out hand

Posted On: May 20, 2024
So the BG3 twitter is in the middle of a drama because you should not get the Astarion scars as a tattoo as it is considered disrespectful and/or downright racist towards the black community because t...[More]


How to enable redstone wiring with a flick of a lever? How to enable redstone wiring with a flick of a lever?

Posted On: March 30, 2024
I'm looking for a solution to enable redstone wiring (completing a circuit) by flicking a lever. If you don't know what I'm asking for, imagine that sticky pistons could push redstone dust, and flicki...[More]


What do the numbers next to the achievements mean in Overwatch? What do the numbers next to the achievements mean in Overwatch?

Posted On: May 18, 2023
Next to each achievement in Overwatch there's a little number in a circle, what does that mean? Question from user Wrigglenite at gaming.stackexchange.com. Answer: The number signifies th...[More]


Is there enough Greenshine for every upgrade? Is there enough Greenshine for every upgrade?

Posted On: April 30, 2023
Horizon Forbidden West introduced a new precious resource, Greenshine, which is used to trade for rare items and as a upgrading material for some gears and weapons. I suppose that there is a finite...[More]


Did any of Metagaming Concepts board games make it to the PC? Did any of Metagaming Concepts board games make it to the PC?

Posted On: June 11, 2023
I loved Metagaming Concepts' board games like Ogre and WarpWar and always thought that they could have been made into PC games. Did any of Metagaming Concepts' board games make it to the PC...[More]


Quidditch Gameplay Help in Hogwarts Legacy Quidditch Gameplay Help in Hogwarts Legacy

Posted On: July 14, 2023
I started playing this amazing game from last 2 days and I remember that when last time I started this game I got to play quidditch match which was amazing. As of now i’m level 12 and still did ...[More]


How do monsters in NetHack attack? How do monsters in NetHack attack?

Posted On: April 25, 2024
There is much information about how the player attacks (or attempts to attack) in the weapon spoiler. But there is no information on how monsters attack.How is the monsters value of to-Hit* calculated...[More]


How do I sell off the junk in my ship for good? How do I sell off the junk in my ship for good?

Posted On: September 12, 2023
My current home ship was confiscated from some baddies and has some shielded cargo. I have upgraded a bit to increase my cargo capacity to safely store my belongings. However, I like collecting rocks ...[More]