1) Have the front end (MameWah) send a -rol or -ror command line option to Mame when starting the vertical games. (Rotate left/rotate right)
2) Use the drivers for your video card rotate the XP desktop to be 3:4 instead of 4:3 (90 degree rotation), then rotate all games -rol or -ror appropriately