Ultima 7 is actually very easy to run in Magic Dosbox. It’s all built around mouse input, so you can control it really well. I think I’ve posted my layout here a couple of years ago already.
The Underworld games are trickier, they are quite a pain in the butt to control even on real pc hardware. I started working on a portrait mode layout some time ago, but somehow never got round to finishing it. 🤷♂️