diff options
author | 2008-11-05 16:04:56 +0000 | |
---|---|---|
committer | 2008-11-05 16:04:56 +0000 | |
commit | a33640f46d16c62ace042db3d788279006e5319e (patch) | |
tree | 550b75365697963288c5abb3bb161aaa4f0d9732 /src/mame/machine/vertigo.c | |
parent | 82c3ffc15337feabd3407f3dc5fce04f98279f71 (diff) |
Added concept of scheduling quanta to the timer system. Also added
means of setting the minimum useful scheduling quantum, and clamping
all quanta to that value.
Changed interleave/boost handling to use scheduling quanta instead
of timers.
Added machine parameter to cpu_boost_interleave.
Updated cpuexec to compute the "perfect" interleave value taking into
account the minimum number of cycles per instruction specified by the
CPU core. Updated Z80 core to indicate that the minimum cpi is 2. Fixed
incorrect minimum cpi in the 68020+ cores.
Simplified a bit of logic in cpuexec_timeslice.
Diffstat (limited to 'src/mame/machine/vertigo.c')
-rw-r--r-- | src/mame/machine/vertigo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/vertigo.c b/src/mame/machine/vertigo.c index 66766023e0a..a58d5bf2872 100644 --- a/src/mame/machine/vertigo.c +++ b/src/mame/machine/vertigo.c @@ -181,7 +181,7 @@ static TIMER_CALLBACK( sound_command_w ) quickly. Otherwise the main CPU gives up with sound. Boosting the interleave for a while helps. */ - cpu_boost_interleave(attotime_zero, ATTOTIME_IN_USEC(100)); + cpu_boost_interleave(machine, attotime_zero, ATTOTIME_IN_USEC(100)); } |