At the halfway point in the 3rd level, where the ship alternates between dropping grenades and soldiers, stand all the way to the left and aim your gun to the
right (You might want a turbo controller for this one). Fire to the right and leave the game running. If you leave and come back atleast a half hour later, you should have 30 lives on the counter.
During a game press & hold START & SELECT.