Doom gun:

On the title screen, press Up, Down, A, B, and Start.

 

Extra Game Continues:

When the title screen appears, press the B button 33 times and press Start afterward.

 

Sound Test:

Enter the Continues code, and on this screen, you also have access to a Sound Test.