From: Ralf Engels <ralf-engels@gmx.de>
To: linux-msdos@vger.kernel.org
Subject: dosemu too fast
Date: Thu, 6 May 2004 15:57:01 +0200 [thread overview]
Message-ID: <200405061557.01266.ralf-engels@gmx.de> (raw)
Found a solution!
Who want's to implement it for real?
Dosbox was running a little bit too slow and Dosemu was running much too fast
for playing x-com.
So I tried to speed up dosbox (no success) and to slow down dosemu.
The following solution seems to be quite good. It does not waste processor
power and seems to be a general way to slow down almost every dos program
running in dosemu.
In /src/base/dev/timers.c add the following code to the function timer_tick
(around line 137)
#endif
// this function is called every 10 ms, so sleeping for 5ms slows down the
program by 50%
usleep(7000); // Ralf 70% slowdown
/* compute the number of 100ticks since we started */
So, I have no plan to implement this for real, e.g. make a dosemu-option. Who
want's to do it?
BR,
Ralf
________________________
Ralf Engels
Software design engineer
www.rengels.de
next reply other threads:[~2004-05-06 13:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-06 13:57 Ralf Engels [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-06 19:25 dosemu too fast Stas Sergeev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200405061557.01266.ralf-engels@gmx.de \
--to=ralf-engels@gmx.de \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox