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]

Whats the quickest way to get all of the achievements in StarCraft 2? Whats the quickest way to get all of the achievements in StarCraft 2?

Posted On: February 24, 2023
As the title says, are there any shortcuts to getting all of the achievements in the game (preferably without cheesing through games, etc.)? Question from user happy_soil at gaming.stackexchange.co...[More]


Where can I check spell hunger for my Dungeon Crawl spells? Where can I check spell hunger for my Dungeon Crawl spells?

Posted On: May 8, 2023
Where, in game, can I check how much hunger each of my spells will cost me? I know I can check my morgue file by dumping with # but that's tedious. (Note that this applies to versions prior ...[More]


I get huge FPS drops when I move my mouse in certain games I get huge FPS drops when I move my mouse in certain games

Posted On: May 19, 2023
As the title says, I am getting huge FPS drop in some games. Currently, I'm having issues in:. Apex Legends. Marauders. 7 Days to Die. What's happening is, when I'm not movi...[More]


Can you delete or overwrite HM moves in Pokemon RGBY? Can you delete or overwrite HM moves in Pokemon RGBY?

Posted On: February 26, 2023
Is there any way to remove HM moves from a Pokemon in the first generation games? This includes learning and overwriting the HM or using a move deleter. Question from user zero298 at gaming.stackex...[More]


I cant find Manaphy in Pokemon Legends Arceus I cant find Manaphy in Pokemon Legends Arceus

Posted On: July 13, 2023
I finished all the tasks, even unlocked the cave, but Manaphy isn't there. I already repeated the process many times, he's not there. Any help? Question from user Maria Zapata at stackex...[More]


Where does the name Yiga come from? Where does the name Yiga come from?

Posted On: June 15, 2023
I've been told that the Sheikah race in the Legend of Zelda series were originally named the "Seekers"; when adapted to Japanese phonology that becomes Shiikaa which was transcribed back...[More]


Are my Assassins Creed experience levels bugged? Are my Assassins Creed experience levels bugged?

Posted On: July 8, 2023
I'm confused. In Assassins Creed: Revelations I have lots of assassins which I've sent off on missions, however their XP to next level is less than their current XP (i.e, XP of 13k, next level...[More]


in Zelda, Are the names of lightroots the names of shrines spelled backwards? in Zelda, Are the names of lightroots the names of shrines spelled backwards?

Posted On: June 22, 2023
Looking at your map in Tears of the Kingdom, you might notice that each lightroot is directly beneath a shrine. However, something I noticed when watching a video on Youtube is that the Nisoij lightro...[More]


How do I beat level 31 in Worms 2 Armageddon? How do I beat level 31 in Worms 2 Armageddon?

Posted On: August 7, 2023
As a lifelong gamer, I was amazed by the difficulty of Worms 2: Armageddon on the Android platform. After a long struggle, I was finally able to finish level 30, which is basically the end of the camp...[More]


How do I make it so that a command only runs when Im at a certain position How do I make it so that a command only runs when Im at a certain position

Posted On: February 14, 2023
I'm trying to make it so that if someone goes to a certain coordinate, it will trigger a boss fight. I have a chain of commands set up to do this, but it can only activate when I pull a lever. ...[More]