PS/2 Mouse

I have a Computer witha a PS/2 style mouse port.
Is there any way of directly accessing it through normal port routines.
I'm trying to write a custom mouse handler, and need some way of
bypassing the current mouse driver.
                        -Augusto de la Torre