Assuming this is a Nintendo upright cab with an original PCB and sanyo EZ monitor?
If dipswitch P is off it's in cocktail mode and might flip the screen. Flip it to on.
Start a 2 player game and kill the first man. If the screen flips the correct way up for player 2 then you've got it in cocktail mode.