I have tried to change the following from file dosbox.cpp and compile a new dosbox-x.exe
from:
static void CheckX86ExtensionsSupport()
{
#if defined(__GNUC__) && !defined(EMSCRIPTEN)
sse2_available = __builtin_cpu_supports("sse2");
avx2_available = __builtin_cpu_supports("avx2");
#elif (_MSC_VER) && !defined(EMSCRIPTEN)
Bitu a, b, c, d;
cpuid(1, a, b, c, d);
sse2_available = ((d >> 26) & 1)?true:false;
avx2_available = ((b >> 5) & 1)?true:false;
#endif
}
to:
static void CheckX86ExtensionsSupport()
{
#if defined(__GNUC__) && !defined(EMSCRIPTEN)
sse2_available = false;
avx2_available = false;
#elif (_MSC_VER) && !defined(EMSCRIPTEN)
sse2_available = false;
avx2_available = false;
#endif
}
unfortunately the resultant dosbox-x.exe does not run in Windows XP with Pentium III CPU, it is not as easy to change the above lines