diff --git a/CHANGELOG b/CHANGELOG index a061a7939..bc58cd580 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,10 @@ 0.83.20 + - Add MSR register 0x0000001B to Pentium II + emulation. DOSBox-X does not emulate a local + APIC but Windows Millenium Edition assumes that + MSR is present and reads/writes it on startup + if DOSBox-X reports itself as a Pentium II. + (joncampbell123) - While CPU "debug spew" is silenced by default, remove silencing for RDMSR/WRMSR and SYSENTER/SYSEXIT debug messages (joncampbell123). diff --git a/src/cpu/cpu.cpp b/src/cpu/cpu.cpp index 5d0363d74..b43311405 100644 --- a/src/cpu/cpu.cpp +++ b/src/cpu/cpu.cpp @@ -4128,6 +4128,13 @@ bool CPU_RDMSR() { if (!enable_msr) return false; switch (reg_ecx) { + case 0x0000001b: /* Local APIC */ + /* NTS: Windows ME assumes this MSR is present if we report ourself as a Pentium II, + * instead of, you know, using CPUID */ + if (CPU_ArchitectureType