While dosbox is great, ultima 7 is much better being played through exult
http://exult.sourceforge.net/
All you need to do is download it, and follow it's instructions in the readme file. It tells you where to put the game files and then all you do is run exult and choose which game you want to play.
Enjoy!