Yeah it's pretty simple actually.... if you intend to keep it vertical and never rotate, simply go into your mame.ini and invert the aspect ratio. (tell it 3:4 instead of 4:3). That should solve all issues. If not you can also try inverting the screen resolution, which is what you must do for most other emulators, front-ends ect....