Push Up, Up, Down, Down, Left, Left, Right, Right in the title screen.
Gallery Corner Museum
You will need 60 Stars to unlock the nine titles for display only (not gameplay). They are, in order of appearance - Manhole, Tropical Fish, Mario's Bombs Away, Parachute, Bombsweeper, Climber, Safebuster, Lifeboat, Zelda.
Five extra games
As you gain more Stars, you can unlock Chef, Mario Bros., Donkey Kong, Octopus, and Fire Attack (in that order) for classic and modern game play.
Star features
The more stars you gain, the more features you will unlock. Note - Museum games are classic play only. You do not earn any Stars for the games in the museum.