SBEMU icon indicating copy to clipboard operation
SBEMU copied to clipboard

Command & Conquer freezes - FreeDOS in x86box with SBEMU -> It could potentially be useful for debugging.

Open ThingUroboros opened this issue 1 year ago • 1 comments

I've discovered that it's possible to run FreeDOS in x86box with SBEMU. It seems like a good environment for debugging.

For instance, I successfully installed and launched game Command & Conquer. However, after completing the first mission, right before the statistics menu where you're supposed to enter your username, the game freezes.

Snímek obrazovky 2024-08-06 v 15 48 45

I've encountered the same issue on a real PC as well.

If I set the emulation to SB16 in x86box or disable SBEMU on a real PC, the game continues normally.

Snímek obrazovky 2024-08-06 v 15 41 05 Snímek obrazovky 2024-08-06 v 15 42 06 Snímek obrazovky 2024-08-06 v 15 41 55 Snímek obrazovky 2024-08-06 v 15 41 38

ThingUroboros avatar Aug 06 '24 13:08 ThingUroboros

Hi @ThingUroboros. Thanks for the report, and the suggestion.

I've been trying to get an automated CI/CD test to work with QEMU (with hardware-assisted virtualization through KVM), but that has proven to be a bit unreliable. Your suggestion to use 86Box with its high accuracy in emulating actual specific hardware is a good one. Of course, full and accurate emulation does take up more CPU resources. But if that at least would result in more reliable emulation, as well as a means to emulate more output devices than just HDA and ICHx AC'97, that might indeed be worth it.

I'll have to dig into the 86Box documentation to find out to what extent it has a proper API to allow it to be used in a CI/CD pipeline.

Your help would absolutely be welcome! Having automated tests for basic functionality and compatibility would allow us to immediately detect any breaking changes in any commits and Pull Requests.

Would you be willing to help me out with that?

In the meantime, can you perhaps also test this with older versions of SBEMU? Notably beta 4 and beta 3, even though those are quite old at this point? Just so we can establish a baseline and rule out that this issue you reported is a regression in later versions.

Thanks again, and Happy New Year!

volkertb avatar Jan 02 '25 01:01 volkertb