Donkey Kong (Arcade)
Donkey Kong is the story of a guy named Jumpman, a giant gorilla, a girl named Pauline, and an endlessly looping set of buildings which may or may not contain a "pie factory".
The game will freeze after about four seconds of gameplay if the "INTEND" part of the "NINTENDO" string is altered in any way.
This freezing routine is actually connected to the rolling barrels: every time a barrel object is destroyed, the game does the above copyright string check. The reason this is guaranteed to stop the game at about four seconds in is that the first barrel Donkey Kong throws is always thrown directly downwards to ignite the oil can at the bottom.
This frame of the cement (or "pie") object is never used, and there's not really a place to use it since it never falls.
The logo for Ikegami Tsushinki Co., Ltd. can be found with the rest of the title graphics, but it's never used. ITC both developed the hardware and wrote the program code for Donkey Kong.
Their name is found again (hidden in 1BPP format) in c_5k_b, starting at 0xFA0, immediately following the message below.
Both music and sounds can be played in the MAME debugger by entering launching MAME using mame -debug, then entering the following commands:
focus soundcpu next pc = 156; r0 = [ID]
Replace [ID] with the ID of the tune or sound, e.g., r0 = 12. After putting in these commands once, the first two can be skipped if you want to play another tune or sound. Once you've put in the commands, press F5 to resume execution and it should play the sound. This method is not perfect and the game will almost certainly play random music or garbage afterward. Use the command pc = 0 to reset the sound CPU and resume normal operation.
Pauline theme (ID: 12)
This music would be played when you rescue Pauline. The first few notes are used in a different Pauline tune that is used in the game.
Cutscene theme 1 (ID: 0F)
This sounds like it was meant for some kind of intro or intermission cutscene.
Cutscene theme 2 (ID: 0C)
A shorter, more mischievous-sounding cutscene theme.
There are two unused voice samples.
Voice 1 (ID: FA)
Pauline saying something like "Hey!", or "Thanks!".
Voice 2 (ID: FC)
Pauline screaming "Help!"
The following text is hidden in the Japanese game (c_5k_b) at 0xF00:
The American build has most of this text, but the first three lines were overwritten.
There are five official Donkey Kong boards in MAME:
- dkong (US Set 1)
- dkongo (US Set 2)
- dkongj (JP Set 1)
- dkongjo (JP Set 2)
- dkongjo1 (JP Set 3)
The following table lists all of these sets in chronological order:
|Title Screen||Level Order||Pre-Round Message||25m Jump Bug||Safe Ladders||High Score
|JP Set 3||No Trademark||Fixed||How High Can You Try ?||Yes||Yes||12 Characters||60 seconds*|
|JP Set 1||No Trademark||Fixed||How High Can You Get ?||No*||Yes||12 Characters||60 Seconds|
|JP Set 2||No Trademark||Fixed||How High Can You Get ?||No||Yes||12 Characters||60 Seconds|
|US Set 2||No Trademark||Varies||How High Can You Get ?||No||Yes||3 Characters||30 Seconds|
|US Set 1||Trademark||Varies||How High Can You Get ?||No||No||3 Characters||30 Seconds|
US Set 1 adds a trademark symbol to the title screen and updates the copyright information. This code is what overwrites the first part of Ikegami's secret message.
All of the JP sets use a fixed level order. The US sets have a more complicated setup:
|Cycle 1||25m, 50m, 75m, 100m||25m, 100m|
|Cycle 2||25m, 50m, 75m, 100m||25m, 75m, 100m|
|Cycle 3||25m, 50m, 75m, 100m||25m, 50m, 75m, 100m|
|Cycle 4||25m, 50m, 75m, 100m||25m, 50m, 25m, 75m, 100m|
|25m, 50m, 75m, 100m||25m, 50m, 25m, 75m, 25m, 100m|
As the table shows, all of the Japan board sets do have a level order table, but it's just the 25-50-75-100 cycle copied five times.
The intermission message is different in JP Set 3.
25m Jump Bug
In JP Set 3, there's a level-breaking bug on 25m. If Mario is at X position 240 and jumps to the right, he'll bounce off the right side of the screen and fall through the floor. If he falls through the lowest set of construction beams, his Y position overflows to 0, which counts as beating the level.
In JP Set 1, this bug was fixed by changing Mario's maximum X position from 234 to 229. While this does fix this problem, it also makes the game more difficult by giving Mario slightly less space to move around.
In JP Set 2 and all other sets, the previous change was reverted. Instead, the routine at 1BEF was changed from jp $1C05 to jp $1DA6, fixing the problem without creating an increase in difficulty.
This is a special check for the barrels' ladder behavior. If Mario's climbing a ladder, and he's within 16 pixels of a barrel above the ladder, the barrel will not roll down that same ladder.
In US Set 1, this was changed from 16 pixels to 4 pixels, effectively making this check pointless – if the barrel is four pixels above Mario, he's going to get hit anyway.
High Score Entry
The player can enter up to 12 characters per name in the Japan board sets. This was shortened to just three characters in the US sets. Additionally, the "Regi Time" decreased from 60 seconds to 30 seconds.
In JP Set 3, the timer reads 30 at the start. This is just a harmless display bug; It goes to 59 seconds soon after.
The "NAME" header in the JP sets is center-aligned. Since high score names are shorter in the US sets, this header is now left-aligned.
|The Donkey Kong series|
|Arcade||Donkey Kong • Donkey Kong Jr. • Donkey Kong 3|
|Atari 400||Donkey Kong|
|NES||Donkey Kong • Donkey Kong Jr. Math|
|Game Boy (Color)||Donkey Kong • Donkey Kong Land • Donkey Kong Land 2 • Donkey Kong Land III (Prototype) • Donkey Kong Country|
|SNES||Donkey Kong Country • Donkey Kong Country 2 • Donkey Kong Country 3|
|Nintendo 64||Donkey Kong 64 (Prototype) • Diddy Kong Racing|
|Game Boy Advance||Donkey Kong Country • Donkey Kong Country 2 • Donkey Kong Country 3 • Mario vs. Donkey Kong • Diddy Kong Pilot (Banjo-Pilot Prototypes)|
|GameCube||Donkey Konga • Donkey Kong Jungle Beat|
|Wii||Donkey Kong Country Returns|
|Nintendo DS||DK Jungle Climber • Mario vs. Donkey Kong 2: March of the Minis (Prototype)|