Well this is awesome: dosemu2 seems to work well in 64-bit Linux. I just tried it with old DOS OrCAD (a schematic design tool).

32-bit Windows-XP still works a little better in one way: OrCAD has a plug-in graphics driver architecture. Some sneaky person wrote a driver that uses DPMI to make Windows graphics calls. The result is that you can do things like resize the window or switch to full screen mode and the ancient DOS program thinks it's attached to a monitor of that size. So dosemu2 needs to merge with Wine for this work properly...

Some screen shots of Old DOS OrCAD:

https://visio-for-engineers.blogspot.com/2019/11/old-but-not...

It'd be interesting to read more on that DPMI driver, do you have any links?

Well it's here, but you probably have to join the group to get access:

https://groups.io/g/dosOrCAD/files/OrCAD%20driver%20without%...

I put a copy in one of my github repositories:

https://github.com/jhallen/joes-sandbox/blob/master/pcb/orca...

I think this is a description of what's going on:

https://airborn.com.au/layout/vddtest.html

Well this is getting really off topic, but it appears that you can run DOS programs in 64-bit Windows 10:

http://www.columbia.edu/~em36/ntvdmx64.html

https://github.com/leecher1337/ntvdmx64