vorob: Hi, i’ve got a very weird question regarding understanding how dosbox work. I’ve got 2 PC’s with quad core i7 cpu, one is mobile with 2300mhz, and another one is desktop, with 3300mhz. I’m testing Daggerfall, on default settings with 100% cycles my character won’t run backwards and jump like a crippled guy, but when i lower cpu cycles in dosbox, all starts to work better.
Why it is so? What’s the reason and why dosbox can’t calculate necessary cycles but himself?
Also! If i lover cpu frequency to 900mhz problem goes away. Why?
Reason for asking? Its hard to understand sometimes (in games which you didn't play back then) either its a developers idea or its just an emulation bug.
This problem occurs with Daggerfall when the cycles are set too high. The game's movement mechanics simply break, somehow. It's best to set the cycles to a fixed value rather than max. Just change the "cycles" setting in the Dosbox .conf file to
fixed 50000, or simply type
cycles=fixed 50000 in Dosbox's main screen each time before you run the game.
Here is the Daggerfall episode of "Ancient Dos Games", where I found this solution. I find that this series is pretty helpful in these matters all around.
The max setting, from what I understand, basically uses as much CPU as possible, which means that Daggerfall may work on slower (or slowed down) PCs even with max cycles, but it gets crippled on faster ones. Unfortunately, this "minor" issue with this game was also overlooked in the otherwise excellent
"DaggerfallSetup", where the default setting is also "cycles=max". Hilariously, their setup for
"Arena"does come with a fixed cycles setting, making it far too slow, as it works best on maximum.
A lot of DOS games are programmed to limit their speed and thus work fine with the "auto" or "max" settings, but those that aren't usually require fixed cycles, which is often a bit of experimentation and guesswork.