Problem solved

Thank Youki ever so much
made a batch file
C:
cd \
cd mame
mame32.exe roms\mspacman.zip -ror -joystick
put in startup folder
I have joy to mouse in startup
mame.exe shortcut in startup
on boot up pivot pro flips my screen ( I only have this for exiting windows)
any one know how I can get windows to shut down with a Microsoft sidewinder button?
joy to mouse lets me use my joystick as a mouse ( only needed to pick games in mame 56. ) ( mame 56 will not use game pick with joystick that I know of)
bat file takes over as mouse to joystick is setting up
ms pack finally starts.
works perfect
If I did not have the shortcut to mame .exe in start up , I would hit escape and be back to desktop
now with mame in start up after I hit escape ,I get Mame32's menu
I am going with gamepad hack because this PC is a real piece of crap
USB port will not work
PS2 keyboard port has the black plastic piece to the keyboard broke inside it.
I have the keyboard the broke off still plugged in . so I am stuck with this keyboard only
sidewinder hack seemed the best option for this PC