How do you get 99 lives on Contra?

Select the « Arcade Game » option at the main menu. Then, press Up(2), Down(2), Left, Right, Left, Right, B, A to get unlimited lives and an unlimited Super Machinegun.