My display is upside-down (turned 90 degrees to right or left).

Some integrated Intel graphic cards (common on Dell Optiplexes) allow you to flip your display 180 degrees with a key stroke. Ctrl-Alt-UpArrow will put you back in the normal upright mode.