Public bug reported: QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.11) included in Ubuntu emulates X86 code incorrectly, resulting in wrong behaviour notably in some DOS QuickBASIC programs where functions such as STR$() produce incorrect results. This also affects old DOS binaries compiled in 1980s that are using QB runtime. The bug is present when -enable-kvm is not used.
Details: https://bugs.launchpad.net/qemu/+bug/1888165 The fix is one line change, see QEMU upstream commit commit 3cb3a7720b01830abd5fbb81819dbb9271bf7821 Author: Richard Henderson <richard.hender...@linaro.org> Date: Mon Jul 20 08:30:40 2020 -0700 target/i386: Save cc_op before loop insns This fix should be backported to Ubuntu version. ** Affects: qemu (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915065 Title: qemu-system-x86 code emulation bug To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1915065/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs