VOGONS


First post, by DoSi

User metadata
Rank Newbie
Rank
Newbie

Hi,
Is there a way to change the CPU cycles from within dosbox?

At least for me, this would be useful.
I would like to create .bat files to run games..
For example:

Arkanoid.bat
---------------
z:\CPUCYCLE.COM 250 # Set the CPU cycles to 250
ark.com
z:\CPUCYCLE.COM 3000 # Return to default

Or something like that...
-----------------------------------------------
Or.. is there a way to update it programatically from within DosBox using a int command or something of the sort?

Thanks,

Reply 1 of 5, by Freddo

User metadata
Rank Oldbie
Rank
Oldbie

cycles 250

Reply 2 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

config -set "cpu cycles=fixed 250"

Water flows down the stream
How to ask questions the smart way!

Reply 3 of 5, by DoSi

User metadata
Rank Newbie
Rank
Newbie

Thanks. Exactly.

Reply 4 of 5, by SKARDAVNELNATE

User metadata
Rank Oldbie
Rank
Oldbie

From the readme:

To set the cpu cycles to 10000:
config -set "cpu cycles=10000"

What does adding fixed do?

Reply 5 of 5, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Nothing, but it's the official way.

1+1=10