Donkey Kong Country RAM Map

Text Size

Text Colour

Heading Size

Heading Colour

Collapse

CategoriesSectionsActionInstructionNotesASM

Address

SNES

Length

Type

Description

---

---

---

Category

Life Counter

7E0575

2 bytes

ASM

Counter Display Digit Values

Action:

Changes the counter display digit values. Defualt is 5.

Notes:

Change 7E0575

xx,xx

to change the value of the life display counter.

Instructions that read values from RAM

Instruction:

B6A83B AD 75 05 LDA $0575
B89314 BD 6F 05 LDA $056F

7E0577

2 bytes

ASM

Counter Value

Action:

Changes the life counter value. Defualt is 5.

Notes:

Change 7E0577

xx,xx

to change the counter value.

Instructions that read values from RAM

Instruction:

B6A83E 8D 77 05 STA $0577

---

---

---

Category

Banana Counter

7E052B

3 bytes

ASM

Counter Display Digit Values

Action:

Changes the value of the banana counter display.

Notes:

7E052B

zz,yy,xx

. Defualt is 0, 3 byte value? or 3 one byte values? xx represents the first digit, yy the second and zz the last digit.

Counter Display Timer

Action:

Changes the length of time the banana counter displays for.

Decrement Timer Routine

Instruction:

80A3B7 A9 3C 00 LDA #$003C
80A3BA 8D 2F 05 STA $052F
80A3BD CE 2F 05 DEC $052F

7E057B

2 bytes

ASM

Defualt number of bananas

Action:

Specifies the defualt number of bananas.

Notes:

Change 7E057B

xx

to specify the defualt number of bananas.

Instruction:

B882A1 9C 7B 05 STZ $057B

7E0529

2 bytes

ASM

Add X Number of bananas to Display Counter

Notes:

7E0529

xx,xx

. Defualt is 0.
The the values are reversed. To add '1' to the banana counter use 7E0529

FF FF

. 7E0529

00 00

would add 65535. This will not add lives to the life counter.

Instructions that write values to RAM.

Instruction:

7E0529 $80/A38A EE 29 05 INC $0529
7E052B $80/A3B4 9D 2B 05 STA $052B
7E057B $BF/D8EA 8D 7B 05 STA $057B c

7E052F

3 bytes

ASM

Instructions that read values from RAM

Instruction:

$80A350 AD 2F 05 LDA $052F (Occurs when level is loaded.)

Instructions that read write values to RAM

Instruction:

80A3BD CE 2F 05 DEC $052F

---

---

---

Category

Baddie Hit Counter

7E1E17

2 bytes

ASM

Instructions that read values from RAM.

Instruction:

These occurs when the player collides with a badies hit box?
BFFA6C AD 17 1E LDA $1E17
BFFA7B EE 17 1E INC $1E17

Instructions that write values to RAM.

Instruction:

These instructions occur when the Baddie Hit Counter is incremented\reset.
BFB97D 9C 17 1E STZ $1E17
$BF/FA7B EE 17 1E INC $1E17

7E0577

2 bytes

ASM

Instructions that write values to RAM

Instruction:

Occurs when the Baddie Hit Counter adds one life to the Life Counter.
B6A83E 8D 77 05 STA $0577
B6A8E8 EE 77 05 INC $0577

---

---

---

Category

Start Menu

7E056E?

?

ASM

Start Menu Timer?

Action:

Start menu timer for when the intro animations start playing?