Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
  • Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

DOSBox - number of CPU cycles for various games

Revenant

Guest
So I have recently been playing the first Ultimas in DOSBox and noticed the uneven system requirements between different Ultimas. For example, 1000 cycles is quite good for Ultima V, yet in Ultima II this seems too much as the auto end of turn apparently happens too frequently. That being said, have you ever experimented with various numbers of CPU cycles for different games and found some optimum values? Maybe you even did some research as to what number of CPU cycles recreates the original experience of a game on its original hardware? If so, post your findings in this thread!
 

spekkio

Arcane
Joined
Sep 16, 2009
Messages
8,288
AFAIK it depends on the speed of your CPU, so 3000 can be good for you, but not for a fag with slower/faster CPU.

In before somebody proving me wrong.

:oops:
 

Revenant

Guest
AFAIK it depends on the speed of your CPU, so 3000 can be good for you, but not for a fag with slower/faster CPU.
If the "cycles" variable indicates how many instructions DOSBox tries to emulate per second, this variable should be system-invariant, if I understand correctly.
 

Zed

Codex Staff
Patron
Staff Member
Joined
Oct 21, 2002
Messages
17,068
Codex USB, 2014
Moving to General Gaming.
I've never changed CPU cycles in DOS box. Maybe that's why Wasteland keeps crashing on me.
 

JarlFrank

I like Thief THIS much
Patron
Joined
Jan 4, 2007
Messages
33,136
Location
KA.DINGIR.RA.KI
Steve gets a Kidney but I don't even get a tag.
Sometimes it lags, sometimes it's too fast with the default 3000 cycles or whatever the default is. For most early 90's games I use somewhat around 6000 cycles, and I still do this with my new CPU which is quite a bit faster than my old one and the performance is the same, so it's probably system-irrelevant. I haven't played anything on my netbook in a long time but I remember setting the cycles for M&M World of Xeen to about the same amount as I use on my desktop, so yeah.
 

Revenant

Guest
For most early 90's games I use somewhat around 6000 cycles <...>
Yup, pretty much the same here even on my old outdated Celeron M notebook. For Dark Sun, I remember setting cycles to 7000 or so. However, Black Thorne seems a very demanding game and requires about 13000 cycles to run fluently.
 
Self-Ejected

Excidium

P. banal
Joined
Aug 14, 2009
Messages
13,696
Location
Third World
Depends on the system and also the game. Mess around with increments of 1000 until you find an amount that makes the game run well.

Some will always run poorly, like Dark Sun. It's always either too slow or too fast for me...
 

sgc_meltdown

Arcane
Joined
May 8, 2003
Messages
6,000
Syndicate Wars on glorious ingame 640X480 high res: 120,000 cycles :M

That's for the actual missions to run smoothly, but animations and those little briefing cutscenes play very quickly on the management screen and you need only wait about two seconds for the intro to start on the login screen :P
 

Astral Rag

Arcane
Joined
Feb 1, 2012
Messages
7,771
:love:Bullfrog


I'm using the same setting for SWARS, it runs great but the frame rate does plummet temporarily when I level buildings.

OP are you aware that you can adjust cpu cycles in realtime with ctrl+F11 and ctrl+F12?
 

Revenant

Guest
Of course I am aware of that, as I am also aware that you can set cycles to Max. to make full use of your CPU. I am specifically referring to games that rely on CPU cycles to determine time (like old Ultimas) and thus may run too fast if the CPU cycles are set too high. I guess back then programmers couldn't use the system clock that easily in their software, otherwise devs of those days deserve a punch in the face.
 

Thrasher

Erudite
Joined
Jan 17, 2008
Messages
1,407
This is what I have used recently with excellent results:

- XCOM UFO Defense - auto limit 10K
- Master of Magic - 10k
- Master of Orion - 10k
- Pool of Radiance - auto
- Curse of the Azure Bonds - auto
- Secret of the Silver Blades - auto
- Pools of Darkness - auto
- World of Xeen - 7k
- Ultima 7 - 7k

But it also depends on the scaler and renderer you choose, I think. Probably the sound emulator, too. They have to be given enough time to do their job between each cycle, which depends on your CPU/GPU.
 

Sigourn

uooh afficionado
Joined
Feb 6, 2016
Messages
5,656
:necro:

Testing out DOOM, Eye of the Beholder, The Magic Candle on DOSBox, I have to ask a question: how do you tell a given speed is the accurate speed?
 

ebPD8PePfC

Savant
Joined
May 13, 2018
Messages
225
Testing out DOOM, Eye of the Beholder, The Magic Candle on DOSBox, I have to ask a question: how do you tell a given speed is the accurate speed?
Assuming you're a normal user who just wants to play the game and doesn't care too much for accurate emulation, use ctrl + f11 and ctrl + f12 to change the cpu cycles until everything seems to be working properly.

Aiming for an "authentic" and accurate emulation of the cpu is pointless to a degree, since that didn't really exist back in the day. Games ran at the speed of the CPU, and once newer models came out the games broke down since they ran too fast. A Turbo button was added to solve this issue, that told the CPU to run at a speed of 4.77 MHz, which was the standard game devs used. You can find guides online how to emulate this speed:
https://www.dosbox.com/wiki/4.77_MHz
But I doubt it's worth the trouble.
 

Goi~Yaas~Dinn

Savant
Joined
Nov 25, 2018
Messages
786
Location
A derelict.
DOS emulation is shit anyway, just play on period correct hardware.
This is the only true answer. DOSBox has done everything possible to:

1. Be just good enough to discourage a true competitor.
2. But not good good enough to obviate the need for one.
3. Have a core so shitty (a la ZSNES) that it is pretty much impossible to properly refactor.
4. Adopted only the very worst practices of FOSS, thereby becoming user-hostile by default.

I'd say it was the ePSXe of its field, but that would actually be doing ePSXe a disservice.
 

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.
Back
Top Bottom