Unlimited Lives
At the Game Selection scree, press Up, Down, Left, Right, Up, Down, Left, Right, Up, Left, Down, A. If done correctly, you will hear a sound.
Unlimited Weapons
At the Game Selection screen, press Up, Down, Left, Right, Up, Down, Left, Right, Up, Left, Down B. If done correctly, you will hear a sound.