joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.82k stars 383 forks source link

Request: Add some more CPU models to the Emulate CPU speed menu #2679

Open DSN9990 opened 3 years ago

DSN9990 commented 3 years ago

Describe the solution you'd like I will consider this a continuation of #1854, and I noticed this submenu is missing a few CPU speeds, though.

Describe alternatives you've considered They should be like this:

286 6Mhz 486DX 25Mhz 486DX 50Mhz 486DX4 75Mhz Pentium 150Mhz Pentium 200Mhz Pentium Pro 200Mhz Pentium MMX 233Mhz

Additional context @maximus105 may want to look at this once he has time, just like his awesome work in #1854.

usergithub64 commented 3 years ago

@DSN9990 This cannot be done for several reasons:

  1. I was guided by the performance indicators of real processors from the programs Norton Utilities System Information and NSSI (Navrаtil Software System Information), as well as screenshots of Norton Utilities System Information taken on real PCs found on the Internet. All the processor performance indicators that I managed to find I have provided and they have already been added to DOSBox-X. I did not find any other indicators.
  2. DOSBox-X cannot emulate processor speed higher than Pentium MMX-166 (cycles = 97240). Noticeable brakes appear in DOSBox-X: In Volkov Commander, the cursor in the panels began to move up / down noticeably slower. In Norton Utilities System Information, windows maximize noticeably more slowly. Or Norton Utilities might freeze and not launch at all. In NSSI, windows unfold noticeably slower, and the PC speaker stutters several times at startup. To emulate faster processors, there is a variant of AMD-K6-2-400 (cycles = max, core = dynamic, cputype = pentium_mmx), which I already added earlier.
joncampbell123 commented 3 years ago

DOSBox-X can emulate faster than a Pentium MMX-166, just not in real time :)

usergithub64 commented 3 years ago

I meant that setting cycles = 97240 is the maximum number at which programs or games work correctly. For example setting cycles = 100000 already gives noticeable brakes in DOSBox-X. The next number of cycles at which you can get an increase in the speed of the processor emulation without brakes in real time is cycles = max, core = dynamic, cputype = pentium_mmx. In this case, the emulation of the processor speed in DOSBox-X will approximately correspond to the speed of a real AMD-K6-2-400 processor.