VOGONS


DOSBOX heats up my Mac

Topic actions

First post, by ninad_in

User metadata
Rank Newbie
Rank
Newbie

Hello everyone! My MacBook Pro 13" 2.3GHz heats up significantly when I run DOSBox. I normally use DOSBox for running TurboC on my Mac. When I open Activity Monitor, it shows that DOSBox consumes a lot of CPU. Do I need to make any changes in the configuration file of DOSBox? Is anyone facing similar issues. Any kind of help would be appreciated. Thanks!

Reply 1 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Unfortunately, dosbox comsumes more cycles doing nithing on OSX than on Windows ;(
Make sure you reduce cycles in dosbox to the amount you actually need. Running them on max is not necessary for your stuff.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 6, by ninad_in

User metadata
Rank Newbie
Rank
Newbie

Thanks Dominus for your reply. But please tell me how do I get rid of it? Do I need to change anything in the configuration file? If yes, what kind of changes? Today, I fully charged my MBP and the battery drained completely within 2 and half hours since I was using TurboC on DOSBox. Normally, my battery lasts till 4 or 5 hours.

Reply 3 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

First look at the title bar of Dosbox when you run TurboC. Does it say "CPU SPEED: max" (among other things)?

Only if yes, edit the preference file (~/library/Preferences/Dosbox 0.74 Preferences) and look for the cycles= line in the [cpu] block. Change that to some cycles in the 1000s, perhaps 12000. Try out how well TurboC run, increase cycles, decrease cycles... (maybe change cycleup and cycledown to 500 to quickly chnage cycles while running dosbox).
Just be aware that even when you don't do annything in Dsobox it will happyly consume 16% of your real CPU at just a setting of 3000 cycles. Nothing you can do about it 🙁

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 4 of 6, by ninad_in

User metadata
Rank Newbie
Rank
Newbie

A world of thanks to you Dominus! You're a dude! 😁

I set cycle = 1500 and it keeps my MBP cool. No more heating! I first tried cycle = 1200 (By mistake, you have mentioned cycle = 12000. But that's okay. I have corrected it). I didn't change anything else. It serves my purpose. Only thing is it has become a bit 'laggy'. But I think that's fine. Not that 'laggy' also. Once again, many thanks to you, Dominus! God bless you! Tc 😀

Reply 5 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

you're welcome. IF it is too laggy, then increase cycles again until you have the perfect balance between snappiness and too much consumption of CPU power. You can monitor CPU usage with the activity monitor app.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 6 of 6, by ninad_in

User metadata
Rank Newbie
Rank
Newbie

Okay. Will try and get back to you! 😉