Super Mario 64 DS (NTSC-U/C; v1.1)

All Secret Stars [hawkeye2777]
22096103 000000FF
12096110 0000FFFF
02096104 FFFFFFFF

Your Secret Star count goes over 30 (the max); however it does not seem to cause any glitches.

More Time in VS Mode (Press Select) [hawkeye2777]
94000130 FFFB0000
221789C8 0000001E
2217904C 0000001E
22173FF4 0000001E
2217888C 0000001E
D2000000 00000000

Yoshi Mini Game codes:

For all minigame codes, press L OR R to activiate them.

Wanted! - Infinite Time [hawkeye2777]
6218050E 00000000
94000130 FDFF0000
2218050E 00000063
D0000000 00000000
94000130 FEFF0000
2218050E 00000063
D2000000 00000000

Hide and Boo Seek - Infinite Time [hawkeye2777]
621807E4 00000000
94000130 FDFF0000
221807E4 00000063
D0000000 00000000
94000130 FEFF0000
221807E4 00000063
D2000000 00000000

Puzzle Panel/Panic - Infinite Hearts/Retries [hawkeye2777]
621807EE 00000000
94000130 FDFF0000
221807EE 00000002
D0000000 00000000
94000130 FEFF0000
221807EE 00000002
D2000000 00000000

Boom Box - Infinite Hearts/Retries [hawkeye2777]
621807F2 00000000
94000130 FDFF0000
221807F2 00000002
D0000000 00000000
94000130 FEFF0000
221807F2 00000002
D2000000 00000000

Tox Box Shuffle - Infinite Hearts/Retries [hawkeye2777]
6217B430 00000000
94000130 FDFF0000
2217B430 00000001
D0000000 00000000
94000130 FEFF0000
2217B430 00000001
D2000000 00000000

Which Wiggler? - Infinite Time [hawkeye2777]
6217FF00 00000000
94000130 FDFF0000
2217FF00 00000063
D0000000 00000000
94000130 FEFF0000
2217FF00 00000063
D2000000 00000000

Mix-a-Mug - 1000 coins [hawkeye2777]
6217B85C 00000000
94000130 FDFF0000
1217B85C 000003E8
D0000000 00000000
94000130 FEFF0000
1217B85C 000003E8
D2000000 00000000

Loves me...? - End at any time [hawkeye2777]
621807D8 00000000
94000130 FDFF0000
221807D8 00000000
D0000000 00000000
94000130 FEFF0000
221807D8 00000000
D2000000 00000000

Mario Minigame codes:

Bounce and Pounce/Trounce - Infinite Lives [hawkeye2777]
2213A268 00000003
6213A268 00000000
94000130 FDFF0000
2213A268 00000001
D0000000 00000000
94000130 FEFF0000
2213A268 00000001
D2000000 00000000

If all three Marios die at the same time (or close to the same time), you'll still lose.

Bounce and Pounce - One Shy Guy to Stomp [hawkeye2777]
6213A144 00000000
94000130 FDFF0000
2213A144 00000001
D0000000 00000000
94000130 FEFF0000
2213A144 00000001
D2000000 00000000

3 shy guys will still show on screen, you only need to stomp one of them to win.

Bounce and Pounce - Instant Win [hawkeye2777]
6213A144 00000000
94000130 FDFF0000
2213A144 00000000
D0000000 00000000
94000130 FEFF0000
2213A144 00000000
D2000000 00000000

Same code as above, except you automatically win when you activate the code. Do NOT use this code if you are using the code above it (you'll freeze the game) and vice versa.

Trampoline Time - Infinite Lives [hawkeye2777]
62135290 00000000
94000130 FDFF0000
22135290 00000003
D0000000 00000000
94000130 FEFF0000
22135290 00000003
D2000000 00000000

Trampoline Terror - Infinite Lives [hawkeye2777]
62135294 00000000
94000130 FDFF0000
22135294 00000003
D0000000 00000000
94000130 FEFF0000
22135294 00000003
D2000000 00000000

Luigi Minigame codes:

Memory Match - 1000 coins [hawkeye2777]
6217B560 00000000
94000130 FDFF0000
2217B560 000003E8
D0000000 00000000
94000130 FEFF0000
2217B560 000003E8
D2000000 00000000

Memory Match - 1000 stars [hawkeye2777]
6217B56C 00000000
94000130 FDFF0000
2217B56C 000003E8
D0000000 00000000
94000130 FEFF0000
2217B56C 000003E8
D2000000 00000000

Picture Poker - 1000 coins [hawkeye2777]
6217B504 00000000
94000130 FDFF0000
2217B504 000003E8
D0000000 00000000
94000130 FEFF0000
2217B504 000003E8
D2000000 00000000

Picture Poker - 1000 stars [hawkeye2777]
6217B510 00000000
94000130 FDFF0000
2217B510 000003E8
D0000000 00000000
94000130 FEFF0000
2217B510 000003E8
D2000000 00000000

Pair-a-Gone - 1000 coins [hawkeye2777]
6217A7F0 00000000
94000130 FDFF0000
2217A7F0 000003E8
D0000000 00000000
94000130 FEFF0000
2217A7F0 000003E8
D2000000 00000000

Pair-a-Gone - 1000 stars [hawkeye2777]
6217A7FC 00000000
94000130 FDFF0000
2217A7FC 000003E8
D0000000 00000000
94000130 FEFF0000
2217A7FC 000003E8
D2000000 00000000

Mushroom Roulette - 1000 coins [hawkeye2777]
6217B4A0 00000000
94000130 FDFF0000
2217B4A0 000003E8
D0000000 00000000
94000130 FEFF0000
2217B4A0 000003E8
D2000000 00000000

Mario Slot - 1000 coins [hawkeye2777]
6217C190 00000000
94000130 FDFF0000
2217C190 000003E8
D0000000 00000000
94000130 FEFF0000
2217C190 000003E8
D2000000 00000000

Lucky Stars - 1000 coins [hawkeye2777]
6217B6D0 00000000
94000130 FDFF0000
2217B6D0 000003E8
D0000000 00000000
94000130 FEFF0000
2217B6D0 000003E8
D2000000 00000000

Lucky Stars - 1000 stars [hawkeye2777]
6217B6DC 00000000
94000130 FDFF0000
2217B6DC 000003E8
D0000000 00000000
94000130 FEFF0000
2217B6DC 000003E8
D2000000 00000000

Memory Master - 1000 coins [hawkeye2777]
6217B490 00000000
94000130 FDFF0000
2217B490 000003E8
D0000000 00000000
94000130 FEFF0000
2217B490 000003E8
D2000000 00000000

Memory Master - 1000 stars [hawkeye2777]
6217B49C 00000000
94000130 FDFF0000
2217B49C 000003E8
D0000000 00000000
94000130 FEFF0000
2217B49C 000003E8
D2000000 00000000

Super Mario Slot - 1000 coins [hawkeye2777]
6217C190 00000000
94000130 FDFF0000
2217C190 000003E8
D0000000 00000000
94000130 FEFF0000
2217C190 000003E8
D2000000 00000000

Wario Minigame: (Giant) Snowball Slalom:

Freeze Minigame Timer [hawkeye2777]
6217FC38 00000000
1217FC38 000004B0
D2000000 00000000

This freezes the timer you see while you're playing the minigame.

Freeze Scores Timer [hawkeye2777]
4217FC3C 00000000
1217FC3C 00000000
D2000000 00000000

This freezes the timer that sets your scores (not visible).

Freeze Both Timers [hawkeye2777]
6217FC38 00000000
1217FC38 000004B0
D2000000 00000000
4217FC3C 00000000
1217FC3C 00000000
D2000000 00000000

Course Modifier (Press X+L/X+R to modify lives) [hawkeye2777]
74000100 00000030
72098930 FF000063
94000130 FEFF0000
927FFFA8 FBFF0000
DA000000 02098930
D4000000 00000001
D7000000 02098930
D2000000 00000000
74000100 00000030
82098930 FF000001
94000130 FDFF0000
927FFFA8 FBFF0000
DA000000 02098930
D4000000 FFFFFFFF
D7000000 02098930
D2000000 00000000
94000130 FFFB0000
D3000000 02098930
F20988A4 00000001
D2000000 00000000

The level that loads is based on your # of lives. Press Select when loading another level to load the level of your choice. THIS CODE IS VERY BUGGY; USE AT YOUR OWN RISK. Credit to Parasyte for the Course Address, credit to Datel/CJ for the Lives address.

Course Values
00 - Test Map
01 - Castle Grounds
02 - Main Lobby
03 - Back Courtyard
04 - Basement
05 - Stairwell (going up to 2nd floor)
06 - Bomb Battlefield
07 - Whomp's Fortress
08 - Jolly Roger Bay
09 - Jolly Roger Bay: Inside the Sunken Ship
10 - Cool, Cool Mountain
11 - Cool, Cool Mountain: Slide
12 - Big Boo's Haunt
13 - Hazy Maze Cave
14 - Lethal Lava Land
15 - Lethal Lava Land: Inside the Volcano
16 - Shifting Sand Land
17 - Shifting Sand Land: Inside the Pyramid
18 - Dire Dire Docks
19 - Snowman's Land
20 - Snowman's Land: Inside the Igloo
21 - Wet-Dry World
22 - Tall, Tall Mountain
23 - Tall, Tall Mountain: Slide
24 - Tiny-Huge Island (Huge)
25 - Tiny-Huge Island (Tiny)
26 - Tiny-Huge Island (Huge): Inside the Mountain
27 - Tick Tock Clock
28 - Rainbow Ride
29 - The Princess's Secret Slide
30 - The Secret Aquarium
31 - ? Switch
32 - The Secret under the Moat
33 - Behind the Waterfall
34 - Over the Rainbows
35 - Bowser in the Dark World
36 - Bowser in the Dark World: Bowser Fight
37 - Bowser in the Fire Sea
38 - Bowser in the Fire Sea: Bowser Fight
39 - Bowser in the Sky
40 - Bowser in the Sky: Bowser Fight
41 - Map with moving blocks
42 - The Secret of Battle Fort
43 - Sunshine Isles
44 - Goomboss Battle
45 - Goomboss Battle: Goomboss Fight
46 - Big Boo Battle
47 - Big Boo Battle: Big Boo Fight
48 - Chief Chilly Challenge
49 - Chief Chilly Challenge: Chief Chilly Fight
50 - Castle Room with each character's doors
51 - Castle Grounds (VS) --> Getting a star freezes the game
52+ - FREEZE

Alt Course Modifier (Press Select when loading a file/level) [Parasyte]
94000130 FFFB0000
020988A4 000000XX
D2000000 00000000

Credit to Parasyte for the code. I just found the values for each course.

Course Values
00 - Test Map
01 - Castle Grounds
02 - Main Lobby
03 - Back Courtyard
04 - Basement
05 - Stairwell (going up to 2nd floor)
06 - Bomb Battlefield
07 - Whomp's Fortress
08 - Jolly Roger Bay
09 - Jolly Roger Bay: Inside the Sunken Ship
0A - Cool, Cool Mountain
0B - Cool, Cool Mountain: Slide
0C - Big Boo's Haunt
0D - Hazy Maze Cave
0E - Lethal Lava Land
0E - Lethal Lava Land: Inside the Volcano
10 - Shifting Sand Land
11 - Shifting Sand Land: Inside the Pyramid
12 - Dire Dire Docks
13 - Snowman's Land
14 - Snowman's Land: Inside the Igloo
15 - Wet-Dry World
16 - Tall, Tall Mountain
17 - Tall, Tall Mountain: Slide
18 - Tiny-Huge Island (Huge)
19 - Tiny-Huge Island (Tiny)
1A - Tiny-Huge Island (Huge): Inside the Mountain
1B - Tick Tock Clock
1C - Rainbow Ride
1D - The Princess's Secret Slide
1E - The Secret Aquarium
1F - ? Switch
20 - The Secret under the Moat
21 - Behind the Waterfall
22 - Over the Rainbows
23 - Bowser in the Dark World
24 - Bowser in the Dark World: Bowser Fight
25 - Bowser in the Fire Sea
26 - Bowser in the Fire Sea: Bowser Fight
27 - Bowser in the Sky
28 - Bowser in the Sky: Bowser Fight
29 - Map with moving blocks
2A - The Secret of Battle Fort
2B - Sunshine Isles
2C - Goomboss Battle
2D - Goomboss Battle: Goomboss Fight
2E - Big Boo Battle
2F - Big Boo Battle: Big Boo Fight
30 - Chief Chilly Challenge
31 - Chief Chilly Challenge: Chief Chilly Fight
32 - Castle Room with each character's doors
33 - Castle Grounds (VS) --> Getting a star freezes the game
34+ - FREEZE