dosemu too fast

Ralf Engels
2004-05-06T13:57:01Z

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