Pause the game and press R1, R2, R1, R2, R1, R2.
Pause the game and press L1, L2, L1, L2, L1, L2. If you entered the code correctly, the words "Hey, throw 'em the tatter!" will be spoken. Unpause the game and the ball cannon coordinates will be displayed at the top of the screen. Press Up and Down to increase and decrease the vertical angle. Press Left and Right to increase and decrease the horizontal (field) angle. Press Triangle and X to increase and decrease the initial velocity. Press L1 + L2 + R1 + R2 to increase in increments of .1 degree.
If you were looking for Sammy Sosa Softball Slam for PSX cheats, then you might also want cheats for: