The fundamental representation of a regular semigroup