VOGONS


Command-line

Topic actions

First post, by telanus

User metadata
Rank Newbie
Rank
Newbie

Hi all

Just a small question. I'm wondering is there a command-line argument that could be passed to dosbox to change the cpu_speed.

I'm creating a addition to emuControlCenter for the IBM PCjr. I would like to change the speed from the command-line as it would be easier to code.

Reply 1 of 3, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

dosbox -c "any command you like"

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 3, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

In case he means the command line inside of DOSBox, you can do it like this:

cycles <whatever>

In fact, a lot of the settings in dosbox.conf can be set from the "DOS" prompt inside DOSBox by typing their name followed by a value:

cycles 1000
core dynamic
scaler none

etc.

Reply 3 of 3, by telanus

User metadata
Rank Newbie
Rank
Newbie

Thank you it helped a lot