Enter the Options menu and put the cursor next to "EXIT". Press Left 40 times and a sound will confirm correct code entry. Now when you die you can Continue instead. There are infinite continues.
On the menu screen, hold down J and then start the game by pressing 1 for keyboard controls, or 2 for joystick controls. If entered correctly, you'll now have infinite lives. You can still die, but ...