22.10.2019 01:36, Dominique Michel пишет:
asm56000 take forever to compile something, with a cpu usage of dosbox around 12%. With dosemu, the same compilation takes max 1 sec with around 48% cpu. The dsp56k terminal takes around 84% cpu when it is loading a file into the dsp board, and around 63% cpu when it is just waiting, which imply it seam to exercise dosemu quite a lot,
It simply means that your prog executes busy loops while waiting, and dosemu can't reliably detect that to drop the cpu usage. This is a common problem with DOS programs. dosemu2 it trying to detect the common loop patterns (like kbd polling) to release some CPU, but it can't be tuned for every particular program.