That will be either Andosbox or Dosbox Turbo, I guess? All these ports share a lot of code. Magic Dosbox is by far the most advanced and complex one, but it sounds a bit like it.
That’s one for people with more insight than me. Tony, the dev, is around here often, so have a good night, and stay tuned tomorrow. ?