Dr. Mario is Nintendo's own little action puzzle game, where Mario throws pills into a jar to get rid of viruses.
Sub-Pages
Unused Code
Unused Demo
Present within the ROM is a second gameplay demo meant for when the player idles at the title screen, though the demo recorder in this case does much worse than the standard one.
FFA9 "program number"
00/01 - player select
02 - demo 1
03 - demo 2 (unused)
04 - pill falling
05 - game end
06 - 2 player outcome screen (draw/win/lose)
07 - cutscene 1
08/09 - unknown
0A - pill dispensing
0F - miss
10 - clear
Fill Top
There is code that was supposed to fill the top part of the game board. It was "fixed" with a jr instruction.
Unused Level Configurations
For the virus placement algorithm, there are two tables filled with values that, when added together, do not surpass 0x66.
The index to these tables is the level selected. The base addresses are:
t1 = 0:311B
t2 = 0:313A
And the code that reads from these tables is at 0:3076.
These tables are side-by-side in the ROM, and each table is 31 (0x1F) entries, though only in Rev 1 (see below as to why). In code (located at 0:101C), the max level limit is 30 (0x1E).
Because there are only 20 selectable levels, it's a good guess that the developers probably didn't intend players to get too far past Level 20 (not helped by a bug related to the viruses that can softlock the game; see the Bugs page for more).
You can access this entry by changing the level selected byte (0xFFC3).
Revisional Differences
Rev 1 added six more levels, with the game looping Level 30 repeatedly. The original release had 24 levels (and looped Level 24 repeatedly), with an unused 25th.
Rev 1 also removed a duplicate "2 player GAME" and "(c) Nintendo 1990" tile map.
The other changes made with Rev 1 consist of minor offset calculations and header updates.
|
---|
NES/FDS | Super Mario Bros. (All Night Nippon) • Super Mario Bros. 2 (FDS) • Super Mario Bros. 2 (NES) (Prototype, Doki Doki Panic) • Super Mario Bros. 3 |
Game Boy (Color) | Super Mario Land • Super Mario Land 2: 6 Golden Coins • Wario Land: Super Mario Land 3 • Super Mario Bros. Deluxe |
SNES | Super Mario World (Localization Prototype) • Super Mario All-Stars • Super Mario World 2: Yoshi's Island (Prototypes) |
Satellaview | BS Super Mario USA • BS Super Mario Collection |
Nintendo 64(DD) | Super Mario 64 (iQue Prototypes, 64DD Version) |
Game Boy Advance | Super Mario Advance • Super Mario Advance 2 • Super Mario Advance 3 • Super Mario Advance 4 |
GameCube | Super Mario Sunshine (Demo) |
Nintendo DS | Super Mario 64 DS • New Super Mario Bros. |
Wii | Super Mario Galaxy • New Super Mario Bros. Wii • Super Mario Galaxy 2 • Super Mario All-Stars |
Nintendo 3DS | Super Mario 3D Land (Demo) • New Super Mario Bros. 2 |
Wii U | New Super Mario Bros. U (New Super Luigi U) • Super Mario 3D World |
iOS, Android | Super Mario Run |
Nintendo Switch | Super Mario Odyssey • New Super Mario Bros. U Deluxe • Super Mario 3D All-Stars • Super Mario Bros. 35 • Super Mario 3D World + Bowser's Fury • Super Mario Bros. Wonder |
Game & Watch | Game & Watch: Super Mario Bros. |
|
Mario Kart |
Console Games | Super Mario Kart (Prototypes) • Mario Kart 64 (iQue Prototype) • Mario Kart: Double Dash!! (Demos, Bonus Disc) • Mario Kart Wii (Mario Kart Channel) • Mario Kart 8 • Mario Kart 8 Deluxe (Prototype) |
Handheld Games | Mario Kart: Super Circuit • Mario Kart DS (Demos) • Mario Kart 7 • Mario Kart Tour (Closed Beta) |
Arcade Games | Mario Kart Arcade GP • Mario Kart Arcade GP 2 • Mario Kart Arcade GP DX |
|
RPGs |
Super Mario RPG | Legend of the Seven Stars (Switch) |
Paper Mario | Paper Mario • The Thousand-Year Door (Demos, Switch) • Super Paper Mario • Sticker Star • Color Splash • The Origami King |
Mario & Luigi | Superstar Saga (Prototype, + Bowser's Minions) • Partners in Time • Bowser's Inside Story (+ Bowser Jr.'s Journey) • Dream Team • Paper Jam |
Mario + Rabbids | Kingdom Battle • Sparks of Hope |
|
Mario Party |
Console Games | Mario Party • Mario Party 2 • Mario Party 3 (Prototype) • Mario Party 4 (Demo) • Mario Party 5 (Demo) • Mario Party 6 (Demo) • Mario Party 7 • Mario Party 8 Mario Party 9 • Mario Party 10 • Super Mario Party • Mario Party Superstars |
Handheld Games | Mario Party Advance • Mario Party DS • Mario Party: Island Tour |
Web Games | Mario Party 7: Bowser's Lair Hockey |
|
Sports |
Golf | NES Open Tournament Golf • Mario Golf (N64, GBC) • Mario Golf: Toadstool Tour • Mario Golf: Advance Tour • Mobile Golf |
Tennis | Mario's Tennis • Mario Tennis (N64, GBC) • Mario Power Tennis • Mario Tennis: Power Tour (Bicep Pump) • Mario Tennis Aces |
Strikers | Super Mario Strikers (Demo) • Mario Strikers Charged • Mario Strikers: Battle League |
Baseball | Mario Superstar Baseball (Mario Baseball Demo) • Mario Super Sluggers |
Mario & Sonic at the Olympic Games | Beijing 2008 (DS, Wii) • Vancouver 2010 (DS, Wii) • London 2012 • Rio 2016 (Wii U, Arcade) |
Other | Excitebike: Bun Bun Mario Battle • Mario Pinball Land • Dance Dance Revolution Mario Mix • Mario Sports Mix |
|
Dr. Mario |
Console Games | Dr. Mario (Prototypes) • Tetris & Dr. Mario • Dr. Mario 64 • Nintendo Puzzle Collection • Dr. Luigi |
Handheld Games | Dr. Mario • Dr. Mario & Puzzle League • Dr. Mario Express • Dr. Mario World |
Web Games | Dr. Mario: Vitamin Toss |
|
Super Mario Maker |
Wii U | Super Mario Maker |
Nintendo 3DS | Super Mario Maker for Nintendo 3DS |
Nintendo Switch | Super Mario Maker 2 |
|
Mario vs. Donkey Kong |
Handheld Games | Mario vs. Donkey Kong (Demo) • March of the Minis (Demo) • Minis March Again! • Mini Land Mayhem! • Tipping Stars • Mini Mario & Friends: amiibo Challenge |
Console Games | Tipping Stars • Mini Mario & Friends: amiibo Challenge |
|
Mario Bros. |
Arcade | Mario Bros. |
NES/FDS | Mario Bros. (Kaettekita) |
PC-88 | Punch Ball Mario Bros. |
Virtual Boy | Mario Clash |
Game Boy Advance | Mario Bros. Classic |
|
Mario's Picross |
Game Boy | Mario's Picross • Picross 2 |
SNES | Mario's Super Picross |
|
Captain Toad |
Wii U | Treasure Tracker |
Nintendo Switch, Nintendo 3DS | Treasure Tracker |
|
Donkey Kong |
Arcade | Donkey Kong • Donkey Kong Jr. |
Atari 8-bit family | Donkey Kong (Prototype) |
NES/FDS | Donkey Kong • Donkey Kong Jr. |
Game Boy | Donkey Kong |
|
Luigi's Mansion |
GameCube | Luigi's Mansion |
Nintendo 3DS | Dark Moon • Luigi's Mansion |
Arcade | Luigi's Mansion Arcade |
Nintendo Switch | Luigi's Mansion 3 • Luigi's Mansion 2 HD |
|
Princess Peach |
Nintendo DS | Super Princess Peach |
Adobe Flash | Super Princess Peach: Parasol Fall |
|
Wrecking Crew |
NES/FDS | Wrecking Crew |
SNES | Wrecking Crew '98 |
|
Art |
Console Games | Mario Paint (Prototype) • Mario Artist Paint Studio (Prototype) • Mario Artist Talent Studio • Mario Artist Communication Kit • Mario Artist Polygon Studio I am a Teacher: Super Mario no Sweater • Mario no Photopi |
Handheld Games | Jaguar Mishin Sashi Senyou Soft: Mario Family • Photos with Mario |
|
Educational |
Computer Games | Mario is Missing! • Mario's Early Years • Mario Teaches Typing |
Console Games | Mario is Missing! (SNES, NES) • Mario's Time Machine (SNES, NES) • Mario's Early Years |
|
Miscellaneous |
Arcade Games | Mario Roulette |
Computer Games | Mario's Game Gallery |
Console Games | Mario & Wario • Yoshi's Safari • Undake 30: Same Game Mario Version • Hotel Mario (Prototype) • Super Mario's Wacky Worlds • Fortune Street |
Handheld Games | Mario Clock • Puzzle & Dragons: Super Mario Bros. Edition |
Compilations | Donkey Kong, Donkey Kong Jr., Mario Bros. • 3-in-1 Super Mario Bros. / Duck Hunt / World Class Track Meet |
Competitions | Nintendo World Championships 1990 • Nintendo Campus Challenge 1991 • Nintendo Campus Challenge 1992 • Nintendo PowerFest '94 |
|
See Also |
Donkey Kong • Game & Watch • Wario • Yoshi |